Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Clwiper_Strings

No description has been set in the source file - SEKOIA

GenericSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2022-09-15
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 6 patterns (6 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

clwiper-strings.yarDetection Rule License 1.1
rule SEKOIA_Clwiper_Strings : FILE
{
	meta:
		description = "No description has been set in the source file - SEKOIA"
		author = "Sekoia.io"
		id = "91e531e2-8548-460f-88a8-cc09abb901e0"
		date = "2022-09-15"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/clwiper_strings.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "b6bcd7e20b07ab8a9a54672f60a8ffe6d6bf787630f01b9dcefd1cbc78297050"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$w1 = "missing args"
		$w2 = "wp starts"
		$w3 = "Total Bytez : %lld"
		$w4 = "percent is %f spent time is %.2fs"
		$d1 = "\\\\?\\RawDisk3"
		$d2 = "B4B615C28CCD059CF8ED1ABF1C71FE03C0354522990AF63ADF3C911E2287A4B906D47D"

	condition:
		uint16be( 0 ) == 0x4d5a and ( 3 of ( $w* ) or all of ( $d* ) )
}

Strings (6 patterns)

IdentifierTypeValueModifiers
$w1text"missing args"
$w2text"wp starts"
$w3text"Total Bytez : %lld"
$w4text"percent is %f spent time is %.2fs"
$d1text"\\\\?\\RawDisk3"
$d2text"B4B615C28CCD059CF8ED1ABF1C71FE03C0354522990AF63ADF3C911E2287A4B906D47D"

Condition

uint16be( 0 ) == 0x4d5a and ( 3 of ( $w* ) or all of ( $d* ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in ( $d* ) must match.
  • At least 3 patterns in ( $w* ) 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: 91e531e2-8548-460f-88a8-cc09abb901e0

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE