Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_Sliver_Implant_32Bit_1

Sliver 32-bit implant (with and without --debug flag at compile)

Hack toolSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X (with warnings)
Author
gssincla@google.com
Date
2022-11-18
Modified
2025-03-21
Score / Quality
75 / 85

What this rule detects

Sliver 32-bit implant (with and without --debug flag at compile)

Targets: Windows PE.

It defines 8 patterns (2 text, 6 hex, 0 regex). YARA modules used: pe.

YARA-X says: warning[deprecated_field]: field `number_of_signatures` is deprecated

Summary generated from the rule's metadata and condition.

Rule source

Includes the imports needed to compile it on its own.

sliver-implant-32bit-1.yarDetection Rule License 1.1
import "pe"

rule SIGNATURE_BASE_Sliver_Implant_32Bit_1
{
	meta:
		description = "Sliver 32-bit implant (with and without --debug flag at compile)"
		author = "gssincla@google.com"
		id = "6bc4d7d1-64cf-5920-8f07-54a8a7a94f26"
		date = "2022-11-18"
		modified = "2025-03-21"
		reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_gcti_sliver.yar#L26-L94"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "911f4106350871ddb1396410d36f2d2eadac1166397e28a553b28678543a9357"
		logic_hash = "3fec6fbba86a24b395e58f02fb35a60b1b9a4b941b4d85c060cc6159c6aa8265"
		score = 75
		quality = 85
		tags = ""

	strings:
		$s_tcppivot = { 81 ?? 74 63 70 70 [2-20] 81 ?? 04 69 76 6F 74  }
		$s_wg = { 66 81 ?? 77 67 }
		$s_dns = { 66 81 ?? 64 6E [2-20] 80 ?? 02 73 }
		$s_http = { 81 ?? 68 74 74 70 }
		$s_https = { 81 ?? 68 74 74 70 [2-20] 80 ?? 04 73 }
		$s_mtls = { 81 ?? 6D 74 6C 73 }
		$fp1 = "cloudfoundry" ascii fullword
		$fp2 = "googleapi.Error" ascii

	condition:
		4 of ( $s* ) and not 1 of ( $fp* ) and not pe.number_of_signatures > 0
}

Strings (8 patterns)

IdentifierTypeValueModifiers
$s_tcppivothex{ 81 ?? 74 63 70 70 [2-20] 81 ?? 04 69 76 6F 74 }
$s_wghex{ 66 81 ?? 77 67 }
$s_dnshex{ 66 81 ?? 64 6E [2-20] 80 ?? 02 73 }
$s_httphex{ 81 ?? 68 74 74 70 }
$s_httpshex{ 81 ?? 68 74 74 70 [2-20] 80 ?? 04 73 }
$s_mtlshex{ 81 ?? 6D 74 6C 73 }
$fp1text"cloudfoundry"ascii fullword
$fp2text"googleapi.Error"ascii

Condition

4 of ( $s* ) and not 1 of ( $fp* ) and not pe.number_of_signatures > 0

In plain words (Heuristic)

  • At least 4 patterns in ( $s* ) must match.
  • At least 1 patterns in ( $fp* ) must match.
  • Uses the pe module.
  • Checks the Authenticode signature.

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

  • 911f4106350871ddb1396410d36f2d2eadac1166397e28a553b28678543a9357

Licence & attribution

Author: gssincla@google.com

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: 6bc4d7d1-64cf-5920-8f07-54a8a7a94f26