Skip to content

YARA · Google Cloud Threat Intelligence (GCTI)

GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_8

Cobalt Strike's resources/beacon.dll Versions 3.8

Hack toolCobalt StrikeGoogle Cloud Threat Intelligence (GCTI)Apache License 2.0Compiles with YARA-X
Author
gssincla@google.com
Date
2022-11-18
Modified
2023-12-04
Score / Quality
75 / 85

What this rule detects

Cobalt Strike's resources/beacon.dll Versions 3.8

Associated malware family: Cobalt Strike.

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

Summary generated from the rule's metadata and condition.

Rule source

cobaltstrike-resources-beacon-dll-v3-8.yarApache License 2.0
rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_8
{
	meta:
		description = "Cobalt Strike's resources/beacon.dll Versions 3.8"
		author = "gssincla@google.com"
		id = "f76712a4-df1c-5e6b-b5ac-9c74f2e202fc"
		date = "2022-11-18"
		modified = "2023-12-04"
		reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse"
		source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L691-L731"
		license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE"
		hash = "67b6557f614af118a4c409c992c0d9a0cc800025f77861ecf1f3bbc7c293d603"
		logic_hash = "a0c78dd7cda055bc76a8661b0416a302d7b05d03eeea483d2d1695093cd6dc90"
		score = 75
		quality = 85
		tags = ""

	strings:
		$version_sig = { 48 57 8B F9 83 F8 4B 0F 87 5D 03 00 00 FF 24 }
		$decoder = { 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 }
		$xmrig_srcpath = "C:/Users/SKOL-NOTE/Desktop/Loader/script.go"
		$c2_1 = "ns7.softline.top" xor
		$c2_2 = "ns8.softline.top" xor
		$c2_3 = "ns9.softline.top" xor

	condition:
		$version_sig and $decoder and not ( 2 of ( $c2_* ) or $xmrig_srcpath )
}

Strings (6 patterns)

IdentifierTypeValueModifiers
$version_sighex{ 48 57 8B F9 83 F8 4B 0F 87 5D 03 00 00 FF 24 }
$decoderhex{ 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 }
$xmrig_srcpathtext"C:/Users/SKOL-NOTE/Desktop/Loader/script.go"
$c2_1text"ns7.softline.top"xor
$c2_2text"ns8.softline.top"xor
$c2_3text"ns9.softline.top"xor

Condition

$version_sig and $decoder and not ( 2 of ( $c2_* ) or $xmrig_srcpath )

In plain words (Heuristic)

  • At least 2 patterns in ( $c2_* ) must match.
  • Pattern $version_sig must be present.
  • Pattern $decoder must be present.
  • Pattern $xmrig_srcpath must be present.

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).

  • 67b6557f614af118a4c409c992c0d9a0cc800025f77861ecf1f3bbc7c293d603

Licence & attribution

Author: gssincla@google.com

Source repository: Google Cloud Threat Intelligence (GCTI) @ 1c5fd42b18

Licence: Apache License 2.0 (repository licence)

Original rule

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

Rule id: f76712a4-df1c-5e6b-b5ac-9c74f2e202fc

More Cobalt Strike rules