Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_APT_NK_Andariel_Atharvan_3RAT

Detects a variant of the Atharvan 3RAT malware family

MalwareAtharvanSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
CISA.gov
Date
2024-07-25
Modified
2026-01-29
Score / Quality
80 / 85

What this rule detects

Detects a variant of the Atharvan 3RAT malware family

Associated malware family: Atharvan.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

mal-apt-nk-andariel-atharvan-3rat.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_APT_NK_Andariel_Atharvan_3RAT : FILE
{
	meta:
		description = "Detects a variant of the Atharvan 3RAT malware family"
		author = "CISA.gov"
		id = "9ff6998a-a2dd-5671-bd3f-ee69561f71ef"
		date = "2024-07-25"
		modified = "2026-01-29"
		reference = "https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-207a"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_nk_andariel_jul24.yar#L127-L141"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "741318234e245a35accc0b102a7891559ce5ef868ccdc3e6e4c8e59d8dea8b24"
		score = 80
		quality = 85
		tags = "FILE"

	strings:
		$3RAT = "D:\\rang\\TOOL\\3RAT"
		$atharvan = "Atharvan_dll.pdb"

	condition:
		uint16( 0 ) == 0x5a4d and 1 of them
}

Strings (2 patterns)

IdentifierTypeValueModifiers
$3RATtext"D:\\rang\\TOOL\\3RAT"
$atharvantext"Atharvan_dll.pdb"

Condition

uint16( 0 ) == 0x5a4d and 1 of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 1 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: CISA.gov

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

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: 9ff6998a-a2dd-5671-bd3f-ee69561f71ef

Tags:FILE

More Atharvan rules