Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Apt_Darkpink_Kamikakabot_Strings

Detects KamiKakaBot strings (.NET sample of Dark Pink)

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

What this rule detects

Detects KamiKakaBot strings (.NET sample of Dark Pink)

Associated malware family: Darkpink.

It defines 16 patterns (12 text, 4 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

apt-darkpink-kamikakabot-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Darkpink_Kamikakabot_Strings
{
	meta:
		description = "Detects KamiKakaBot strings (.NET sample of Dark Pink)"
		author = "Sekoia.io"
		id = "0f5a7d72-81c8-4fdd-aefd-136bc6d48aa5"
		date = "2023-02-22"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_darkpink_kamikakabot_strings.yar#L1-L30"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "0bc37c96b591d8edb1fd288ef874b3cc31879ce166b8734a3dd0e29644cbea55"
		score = 75
		quality = 80
		tags = ""
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "Execute"
		$ = "f4869"
		$ = "getIndentifyName"
		$ = "getMessageAsync"
		$ = "requestMessageID"
		$ = "run_command"
		$ = "sendFile"
		$ = "sendMessage"
		$ = "send_brw_data"
		$ = "updateMessageID"
		$ = "update_new_token"
		$ = "update_new_xml"
		$ = {53 00 74 00 61 00 72 00 74 00 65 00 64 00 20 00 75 00 70 00 20 00 72 00 75 00 6e}
		$ = {20 00 72 00 65 00 63 00 6f 00 6e 00 6e 00 65 00 63 00 74 00 65 00 64 00 21}
		$ = {6e 00 65 00 77 00 20 00 63 00 6f 00 6e 00 6e 00 65 00 63 00 74 00 65 00 64 00 21}
		$ = {74 00 6f 00 6b 00 65 00 6e 00 20 00 75 00 70 00 64 00 61 00 74 00 65 00 20 00 73 00 75 00 63 00 63 00 65 00 73 00 73 00 21 00 21 00 21}

	condition:
		6 of them
}

Strings (16 patterns)

IdentifierTypeValueModifiers
$text"Execute"
$text"f4869"
$text"getIndentifyName"
$text"getMessageAsync"
$text"requestMessageID"
$text"run_command"
$text"sendFile"
$text"sendMessage"
$text"send_brw_data"
$text"updateMessageID"
$text"update_new_token"
$text"update_new_xml"
$hex{53 00 74 00 61 00 72 00 74 00 65 00 64 00 20 00 75 00 70 00 20 00 72 00 75 00 6e}
$hex{20 00 72 00 65 00 63 00 6f 00 6e 00 6e 00 65 00 63 00 74 00 65 00 64 00 21}
$hex{6e 00 65 00 77 00 20 00 63 00 6f 00 6e 00 6e 00 65 00 63 00 74 00 65 00 64 00 21}
$hex{74 00 6f 00 6b 00 65 00 6e 00 20 00 75 00 70 00 64 00 61 00 74 00 65 00 20 00 73 00 75 00 63 00 63 00 65 00 73 00 73 00 21 00 21 00 21}

Condition

6 of them

In plain words (Heuristic)

  • At least 6 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: 0f5a7d72-81c8-4fdd-aefd-136bc6d48aa5

Metadata

version1.0
classificationTLP:CLEAR

More Darkpink rules