YARA · ditekSHen detection
DITEKSHEN_MALWARE_PWSH_CUMII
Detects multi-dropper PowerShell
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects multi-dropper PowerShell
Associated malware family: PWSH.
It defines 8 patterns (8 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-pwsh-cumii.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_PWSH_CUMII
{
meta:
= "Detects multi-dropper PowerShell"
= "ditekSHen"
= "07b77251-1d79-5521-8c05-ecfc662f45cb"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L11070-L11086"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "ab9e59b0552718928d170a988d129b38352700076847f2f409976016858864eb"
= 75
= 75
= ""
= "ditekSHen.MALWARE.PWSH.CUMII"
strings:
$s1 = ".('{1}{$}'.replace('$','0')" ascii nocase
$s2 = ",'I').replace('!','ex')" ascii nocase
$s3 = "'.replace('*','0001')" ascii nocase
$s4 = "Remove-Item $" ascii nocase
$s5 = "the File will start cumiing" ascii nocase
$b1 = "011001100111010101101110011*" ascii
$b2 = "0101001000*1110110*010011111" ascii
$b3 = "01001101010110101001*11*0000" ascii
condition:
(3 of ( $s* ) and 1 of ( $b* ) )
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | ".('{1}{$}'.replace('$','0')" | ascii nocase |
| $s2 | text | ",'I').replace('!','ex')" | ascii nocase |
| $s3 | text | "'.replace('*','0001')" | ascii nocase |
| $s4 | text | "Remove-Item $" | ascii nocase |
| $s5 | text | "the File will start cumiing" | ascii nocase |
| $b1 | text | "011001100111010101101110011*" | ascii |
| $b2 | text | "0101001000*1110110*010011111" | ascii |
| $b3 | text | "01001101010110101001*11*0000" | ascii |
Condition
(3 of ( $s* ) and 1 of ( $b* ) )In plain words (Heuristic)
- At least 3 patterns in ( $s* ) must match.
- At least 1 patterns in ( $b* ) 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.
References
Licence & attribution
Author: ditekSHen
Source repository: ditekSHen detection @ e76c93dcde
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 07b77251-1d79-5521-8c05-ecfc662f45cb
Metadata
| clamav | ditekSHen.MALWARE.PWSH.CUMII |
|---|
Related rules
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06