Skip to content

YARA · ditekSHen detection

DITEKSHEN_INDICATOR_TOOL_PWS_Blackbone

detects Blackbone password dumping tool on Windows 7-10 operating system.

Suspicious / huntingditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekSHen
Date
2020-11-06
Modified
2024-09-25
Score / Quality
75 / 75

What this rule detects

detects Blackbone password dumping tool on Windows 7-10 operating system.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

indicator-tool-pws-blackbone.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_TOOL_PWS_Blackbone : FILE
{
	meta:
		description = "detects Blackbone password dumping tool on Windows 7-10 operating system."
		author = "ditekSHen"
		id = "a6d9f9d1-75fb-51af-87ad-80b4e135e759"
		date = "2020-11-06"
		modified = "2024-09-25"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L112-L129"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "e9dacd28accaef8a93ff8d3b5cf9437b3848791711a4a7118ab46d2bb6ca42d3"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "BlackBone: %s: " ascii
		$s2 = "\\BlackBoneDrv\\" ascii
		$s3 = "\\DosDevices\\BlackBone" fullword wide
		$s4 = "\\Temp\\BBImage.manifest" wide
		$s5 = "\\Device\\BlackBone" fullword wide
		$s6 = "BBExecuteInNewThread" fullword ascii
		$s7 = "BBHideVAD" fullword ascii
		$s8 = "BBInjectDll" fullword ascii
		$s9 = "ntoskrnl.exe" fullword ascii
		$s10 = "WDKTestCert Ton," ascii

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

Strings (10 patterns)

IdentifierTypeValueModifiers
$s1text"BlackBone: %s: "ascii
$s2text"\\BlackBoneDrv\\"ascii
$s3text"\\DosDevices\\BlackBone"fullword wide
$s4text"\\Temp\\BBImage.manifest"wide
$s5text"\\Device\\BlackBone"fullword wide
$s6text"BBExecuteInNewThread"fullword ascii
$s7text"BBHideVAD"fullword ascii
$s8text"BBInjectDll"fullword ascii
$s9text"ntoskrnl.exe"fullword ascii
$s10text"WDKTestCert Ton,"ascii

Condition

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

In plain words (Heuristic)

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

Source repository: ditekSHen detection @ e76c93dcde

Licence: BSD 2-Clause License (repository licence)

Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Original rule

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

Rule id: a6d9f9d1-75fb-51af-87ad-80b4e135e759

Tags:FILE