Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Ransomware_Linux_Icefire_2023

Rule to detect Linux IceFire ransomware samples.

MalwareSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2023-02-13
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Rule to detect Linux IceFire ransomware samples.

Targets: Linux ELF.

It defines 9 patterns (9 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

ransomware-linux-icefire-2023.yarDetection Rule License 1.1
rule SEKOIA_Ransomware_Linux_Icefire_2023 : FILE
{
	meta:
		description = "Rule to detect Linux IceFire ransomware samples."
		author = "Sekoia.io"
		id = "b04964f4-3fdc-4745-9f4a-95a5a79bc7e1"
		date = "2023-02-13"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/ransomware_linux_icefire_2023.yar#L1-L24"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "e9cc7fdfa3cf40ff9c3db0248a79f4817b170f2660aa2b2ed6c551eae1c38e0b"
		logic_hash = "25033bd33311b070809d150f60803f32011d78a6a74d6b5f620a3216f0f95a6e"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$string01 = "********************Your network has been infected!!!********************"
		$string02 = "IMPORTANT : DO NOT DELETE THIS FILE UNTIL ALL YOUR DATA HAVE BEEN RECOVERED!!!"
		$string03 = "username:"
		$string04 = "password:"
		$string05 = ".cfg.o.sh.img.txt.xml.jar.pid.ini.pyc.a.so.run.env.cache.xmlb"
		$string06 = "./boot./dev./etc./lib./proc./srv./sys./usr./var./run"
		$string07 = "/iFire-readme.txt"
		$string08 = ".iFire"
		$string09 = "iFire.pid"

	condition:
		uint32be( 0 ) == 0x7F454C46 and all of them
}

Strings (9 patterns)

IdentifierTypeValueModifiers
$string01text"********************Your network has been infected!!!********************"
$string02text"IMPORTANT : DO NOT DELETE THIS FILE UNTIL ALL YOUR DATA HAVE BEEN RECOVERED!!!"
$string03text"username:"
$string04text"password:"
$string05text".cfg.o.sh.img.txt.xml.jar.pid.ini.pyc.a.so.run.env.cache.xmlb"
$string06text"./boot./dev./etc./lib./proc./srv./sys./usr./var./run"
$string07text"/iFire-readme.txt"
$string08text".iFire"
$string09text"iFire.pid"

Condition

uint32be( 0 ) == 0x7F454C46 and all of them

In plain words (Heuristic)

  • The file must start with the ELF header — a Linux/Unix executable.
  • All patterns in the rule must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • e9cc7fdfa3cf40ff9c3db0248a79f4817b170f2660aa2b2ed6c551eae1c38e0b

Licence & attribution

Author: Sekoia.io

Source repository: SEKOIA.IO Community @ a438a5901a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: b04964f4-3fdc-4745-9f4a-95a5a79bc7e1

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE