Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_SUSP_LNX_SH_Disk_Wiper_Script_Jun25

Detects unknown disk wiper script for Linux systems

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 unknown disk wiper script for Linux systems

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

Summary generated from the rule's metadata and condition.

Rule source

susp-lnx-sh-disk-wiper-script-jun25.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_LNX_SH_Disk_Wiper_Script_Jun25 : FILE
{
	meta:
		description = "Detects unknown disk wiper script for Linux systems"
		author = "Florian Roth"
		id = "aad68277-4889-512d-b8b3-a4c4706fbc9e"
		date = "2025-06-19"
		modified = "2026-05-15"
		reference = "Internal Research"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_wipers_jun25.yar#L24-L41"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "f662f69fc7f4240cd8c00661db9484e76b5d02f903590140b4086fefcf9d9331"
		logic_hash = "99a0a393c2a636c10195c7ad85f3b282a30ba05fbc0f0db7fc04b0f79fbc6760"
		score = 65
		quality = 85
		tags = "FILE"

	strings:
		$s1 = "THIS SCRIPT IS LIVE AND ARMED!" ascii fullword
		$s2 = "FAIR WARNING!" ascii fullword
		$s3 = "lists devices" ascii fullword

	condition:
		uint16( 0 ) == 0x2123 and filesize < 2KB and all of them
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$s1text"THIS SCRIPT IS LIVE AND ARMED!"ascii fullword
$s2text"FAIR WARNING!"ascii fullword
$s3text"lists devices"ascii fullword

Condition

uint16( 0 ) == 0x2123 and filesize < 2KB and all of them

In plain words (Heuristic)

  • The file must start with “#!” — a script with a shebang.
  • The file must be smaller than 2KB (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

Sample hashes

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

  • f662f69fc7f4240cd8c00661db9484e76b5d02f903590140b4086fefcf9d9331

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: aad68277-4889-512d-b8b3-a4c4706fbc9e

Tags:FILE