YARA · Cado Security (via Open-Source-YARA-rules)
CADOSECURITY_Linux_Wiper_AWFULSHRED
Detects AWFULSHRED wiper used against Ukrainian ICS
- Author
- mmuir@cadosecurity.com
- Date
- 2022-04-12
- Modified
- 2022-07-06
- Score / Quality
- 75 / 80
What this rule detects
Detects AWFULSHRED wiper used against Ukrainian ICS
It defines 12 patterns (12 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule CADOSECURITY_Linux_Wiper_AWFULSHRED
{
meta:
= "Detects AWFULSHRED wiper used against Ukrainian ICS"
= "mmuir@cadosecurity.com"
= "0328f0d9-3c73-5d13-bf32-8a25139cf3cf"
= "2022-04-12"
= "2022-07-06"
= "https://github.com/cado-security/DFIR_Resources_Industroyer2"
= "https://github.com/mikesxrs/Open-Source-YARA-rules/blob/ec0056f767db98bf6d5fd63877ad51fb54d350e9/Cado Security/Linux_Wiper_AWFULSHRED.yar#L1-L26"
= "N/A"
= "bcdf0bd8142a4828c61e775686c9892d89893ed0f5093bdc70bde3e48d04ab99"
= "796dfdc4238e3d729180657b7bc79464003434c73568b49895cb8d37ce1a5499"
= 75
= 80
= ""
= "Apache License 2.0"
strings:
$isBash = "/bin/bash" ascii
$a1 = "declare -r" ascii
$a2 = "bash_history" ascii
$a3 = "bs=1k if=/dev/urandom of=" ascii
$a4 = "systemd" ascii
$a5 = "apache http ssh" ascii
$a6 = "shred" ascii
$var1 = "iwljzfkg" ascii
$var2 = "yrkdrrue" ascii
$var3 = "agzerlyf" ascii
$var4 = "rggygzny" ascii
$var5 = "zubzgnvp" ascii
condition:
$isBash and 3 of ( $a* ) and 4 of ( $var* )
}
Strings (12 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $isBash | text | "/bin/bash" | ascii |
| $a1 | text | "declare -r" | ascii |
| $a2 | text | "bash_history" | ascii |
| $a3 | text | "bs=1k if=/dev/urandom of=" | ascii |
| $a4 | text | "systemd" | ascii |
| $a5 | text | "apache http ssh" | ascii |
| $a6 | text | "shred" | ascii |
| $var1 | text | "iwljzfkg" | ascii |
| $var2 | text | "yrkdrrue" | ascii |
| $var3 | text | "agzerlyf" | ascii |
| $var4 | text | "rggygzny" | ascii |
| $var5 | text | "zubzgnvp" | ascii |
Condition
$isBash and 3 of ( $a* ) and 4 of ( $var* )In plain words (Heuristic)
- At least 3 patterns in ( $a* ) must match.
- At least 4 patterns in ( $var* ) must match.
- Pattern $isBash must be present.
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).
- bcdf0bd8142a4828c61e775686c9892d89893ed0f5093bdc70bde3e48d04ab99
Licence & attribution
Author: mmuir@cadosecurity.com
Source repository: Cado Security (via Open-Source-YARA-rules) @ ec0056f767
Licence: Apache License 2.0 (stated in the rule's own meta)
“Apache License 2.0”
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 0328f0d9-3c73-5d13-bf32-8a25139cf3cf
Related rules
- MalwareCado Security (via Open-Source-YARA-rules)· mmuir@cadosecurity.com· 2022-04-12
- MalwareCado Security (via Open-Source-YARA-rules)· mmuir@cadosecurity.com· 2022-04-12
- MalwareCado Security (via Open-Source-YARA-rules)· mmuir@cadosecurity.com· 2022-04-12
- MalwareCado Security (via Open-Source-YARA-rules)· mmuir@cadosecurity.com· 2022-01-17