Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Rat_Win_Lilith

Detect the Lilith malware

MalwareLilithSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X (with warnings)
Author
Sekoia.io
Date
2023-02-23
Modified
2024-12-19
Score / Quality
75 / 76

What this rule detects

Detect the Lilith malware

Associated malware family: Lilith.

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

YARA-X says: warning[text_as_hex]: hex pattern could be written as text literal

Summary generated from the rule's metadata and condition.

Rule source

rat-win-lilith.yarDetection Rule License 1.1
rule SEKOIA_Rat_Win_Lilith
{
	meta:
		description = "Detect the Lilith malware"
		author = "Sekoia.io"
		id = "944637e6-c4e4-423f-9f4c-a26b4fce3729"
		date = "2023-02-23"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rat_win_lilith.yar#L1-L18"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "ac2ad9e68616e6e7d07e105293545c96b72c956dbcf3c3bf317460cafc13be48"
		score = 75
		quality = 76
		tags = ""
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = {55 6d 56 6e 55 58 56 6c 63 6e 6c 57 59 57 78 31 5a 55 56 34 51 51 3d 3d}
		$ = {67 65 74 61 64 64 72 69 6e 66 6f 3a 20 25 73}

	condition:
		all of them
}

Strings (2 patterns)

IdentifierTypeValueModifiers
$hex{55 6d 56 6e 55 58 56 6c 63 6e 6c 57 59 57 78 31 5a 55 56 34 51 51 3d 3d}
$hex{67 65 74 61 64 64 72 69 6e 66 6f 3a 20 25 73}

Condition

all of them

In plain words (Heuristic)

  • 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

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: 944637e6-c4e4-423f-9f4c-a26b4fce3729

Metadata

version1.0
classificationTLP:CLEAR