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
- 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
rule SIGNATURE_BASE_SUSP_PY_Pyinstaller_Swiper_Jun25 : FILE
{
meta:
= "Detects suspicious Python based executable with similarities to a known disk wiper"
= "Florian Roth"
= "049587a8-275d-59a6-bfbd-b72173d21a73"
= "2025-06-19"
= "2026-05-15"
= "https://x.com/cyb3rops/status/1935707307805134975"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_wipers_jun25.yar#L43-L62"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "4f669ecbe12e95d51f37be76933de4c2626d20bb01729086ce2efc603c4ffdf3"
= "824bdda031336b2d9a60b09bfa36e68a2e03159b217c9c25dd708df454144e1e"
= 65
= 85
= "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)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $a1 | text | "bzlib1.dll" | ascii fullword |
| $a2 | text | "VCRUNTIME140_1.dll" | wide fullword |
| $a3 | text | "%s%c%s.exe" | ascii fullword |
| $sc1 | hex | { 73 77 69 70 65 72 00 00 00 } |
Condition
uint16( 0 ) == 0x5a4d and filesize < 40000KB and all of themIn 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.
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)
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
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-10-25
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-08-04
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-08-07
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-02-14