Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_APT_NK_Andariel_Kaosrat_Yamabot

Detects the KaosRAT variant

MalwareSignature 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
70 / 85

What this rule detects

Detects the KaosRAT variant

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

Summary generated from the rule's metadata and condition.

Rule source

mal-apt-nk-andariel-kaosrat-yamabot.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_APT_NK_Andariel_Kaosrat_Yamabot
{
	meta:
		description = "Detects the KaosRAT variant"
		author = "CISA.gov"
		id = "cdde69cd-1b38-52f5-8552-cef2cf4ad69c"
		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#L20-L42"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "92182aac2e56041292102b0486b7de1ee6eb3d54a9fc6786c567acd92073cd84"
		score = 70
		quality = 85
		tags = ""

	strings:
		$str1 = "/kaos/"
		$str2 = "Abstand ["
		$str3 = "] anwenden"
		$str4 = "cmVjYXB0Y2hh"
		$str5 = "/bin/sh"
		$str6 = "utilities.CIpaddress"
		$str7 = "engine.NewEgg"
		$str8 = "%s%04x%s%s%s"
		$str9 = "Y2FwdGNoYV9zZXNzaW9u"
		$str10 = "utilities.EierKochen"
		$str11 = "kandidatKaufhaus"

	condition:
		3 of them
}

Strings (11 patterns)

IdentifierTypeValueModifiers
$str1text"/kaos/"
$str2text"Abstand ["
$str3text"] anwenden"
$str4text"cmVjYXB0Y2hh"
$str5text"/bin/sh"
$str6text"utilities.CIpaddress"
$str7text"engine.NewEgg"
$str8text"%s%04x%s%s%s"
$str9text"Y2FwdGNoYV9zZXNzaW9u"
$str10text"utilities.EierKochen"
$str11text"kandidatKaufhaus"

Condition

3 of them

In plain words (Heuristic)

  • At least 3 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: cdde69cd-1b38-52f5-8552-cef2cf4ad69c