Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_SUSP_PY_Pyinstaller_Swiper_Jun25

Detects suspicious Python based executable with similarities to a known disk wiper

Suspicious / huntingSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Florian Roth
Date
2025-06-19
Modified
2026-05-15
Score / Quality
65 / 85

What this rule detects

Detects suspicious Python based executable with similarities to a known disk wiper

Targets: Windows PE.

It defines 4 patterns (3 text, 1 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

susp-py-pyinstaller-swiper-jun25.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_PY_Pyinstaller_Swiper_Jun25 : FILE
{
	meta:
		description = "Detects suspicious Python based executable with similarities to a known disk wiper"
		author = "Florian Roth"
		id = "049587a8-275d-59a6-bfbd-b72173d21a73"
		date = "2025-06-19"
		modified = "2026-05-15"
		reference = "https://x.com/cyb3rops/status/1935707307805134975"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_wipers_jun25.yar#L43-L62"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "4f669ecbe12e95d51f37be76933de4c2626d20bb01729086ce2efc603c4ffdf3"
		logic_hash = "824bdda031336b2d9a60b09bfa36e68a2e03159b217c9c25dd708df454144e1e"
		score = 65
		quality = 85
		tags = "FILE"

	strings:
		$a1 = "bzlib1.dll" ascii fullword
		$a2 = "VCRUNTIME140_1.dll" wide fullword
		$a3 = "%s%c%s.exe" ascii fullword
		$sc1 = { 73 77 69 70 65 72 00 00 00 }

	condition:
		uint16( 0 ) == 0x5a4d and filesize < 40000KB and all of them
}

Strings (4 patterns)

IdentifierTypeValueModifiers
$a1text"bzlib1.dll"ascii fullword
$a2text"VCRUNTIME140_1.dll"wide fullword
$a3text"%s%c%s.exe"ascii fullword
$sc1hex{ 73 77 69 70 65 72 00 00 00 }

Condition

uint16( 0 ) == 0x5a4d and filesize < 40000KB and all of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must be smaller than 40000KB (a cheap guard that skips large files).
  • 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).

  • 4f669ecbe12e95d51f37be76933de4c2626d20bb01729086ce2efc603c4ffdf3

Licence & attribution

Author: Florian Roth

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: 049587a8-275d-59a6-bfbd-b72173d21a73

Tags:FILE