Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Tool_Win_Driverjack

No description has been set in the source file - SEKOIA

Hack toolSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2024-09-11
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

No description has been set in the source file - SEKOIA

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

tool-win-driverjack.yarDetection Rule License 1.1
rule SEKOIA_Tool_Win_Driverjack : FILE
{
	meta:
		description = "No description has been set in the source file - SEKOIA"
		author = "Sekoia.io"
		id = "08bc0fe8-38f1-4c73-99c8-2659b4a55815"
		date = "2024-09-11"
		modified = "2024-12-19"
		reference = "https://github.com/klezVirus/DriverJack/blob/master/DriverJack"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_win_driverjack.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "649fc12915bdcdebbc3798a8ad0b9b32"
		logic_hash = "0ea81c32b75ff66434f0c949be7d1478ce9268eb1b67dc5b7d6c7604cedcd72c"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "(*) Decrypting %llu bytes of file content using key '%s' of length %u..."
		$ = "(*) Modifying file %s in mapped drive..."
		$ = "(*) Checking file %s in mapped drive..."
		$ = "(-) CreateProcess failed '%s' (%08x)."
		$ = "(*) Mounted Drive Letter: %s"

	condition:
		uint16be( 0 ) == 0x4d5a and all of them
}

Strings (5 patterns)

IdentifierTypeValueModifiers
$text"(*) Decrypting %llu bytes of file content using key '%s' of length %u..."
$text"(*) Modifying file %s in mapped drive..."
$text"(*) Checking file %s in mapped drive..."
$text"(-) CreateProcess failed '%s' (%08x)."
$text"(*) Mounted Drive Letter: %s"

Condition

uint16be( 0 ) == 0x4d5a and all of them

In plain words (Heuristic)

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

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • 649fc12915bdcdebbc3798a8ad0b9b32

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: 08bc0fe8-38f1-4c73-99c8-2659b4a55815

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE