← Back to SOC feed Coverage →

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

yara HIGH signature-base
florian-roth
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at signature-base →
Retrieved: 2026-08-06T23:00:00Z · Confidence: medium

Hunt Hypothesis

This hunt hypothesis targets adversaries deploying custom Python-based executables that mimic the behavior of known disk wipers to potentially destroy critical data or evade detection through obfuscation. Proactive hunting for this pattern in Azure Sentinel is essential because disk-wiping attacks can cause irreversible service disruption, and identifying these specific Python artifacts early allows the SOC team to isolate affected systems before data loss occurs.

YARA Rule

rule SUSP_PY_PYInstaller_Swiper_Jun25 {
   meta:
      description = "Detects suspicious Python based executable with similarities to a known disk wiper"
      author = "Florian Roth"
      reference = "https://x.com/cyb3rops/status/1935707307805134975"
      date = "2025-06-19"
      score = 65
      hash1 = "4f669ecbe12e95d51f37be76933de4c2626d20bb01729086ce2efc603c4ffdf3"
      id = "049587a8-275d-59a6-bfbd-b72173d21a73"
   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 } // "swiper\0\0\0"
   condition:
      uint16(0) == 0x5a4d
      and filesize < 40000KB
      and all of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 4 string patterns in its detection logic.

References

False Positive Guidance

Here are 5 specific false positive scenarios for the rule “Detects suspicious Python based executable with similarities to a known disk wiper,” including tailored filters and exclusions:

Original source: https://github.com/Neo23x0/signature-base/blob/main/yara/mal_wipers_jun25.yar