YARA · Cado Security (via Open-Source-YARA-rules)
CADOSECURITY_Powershell_Downloader_POWERGAP
Detects POWERGAP downloader 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 POWERGAP downloader used against Ukrainian ICS
It defines 8 patterns (8 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
powershell-downloader-powergap.yarApache License 2.0
rule CADOSECURITY_Powershell_Downloader_POWERGAP
{
meta:
= "Detects POWERGAP downloader used against Ukrainian ICS"
= "mmuir@cadosecurity.com"
= "d2a2604c-c558-5663-8dd3-44f3fdda1f71"
= "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/Powershell_Downloader_POWERGAP.yar#L1-L19"
= "N/A"
= "a9ef1d04ca921f285e973f6abcb2b355eae110678da866e3b6499aa0318338fd"
= 75
= 80
= ""
= "Apache License 2.0"
strings:
$a = "Start-work" ascii
$b = "$GpoGuid" ascii
$c = "$SourceFile" ascii
$d = "$DestinationFile" ascii
$e = "$appName" ascii
$f = "LDAP://ROOTDSE" ascii
$g = "GPT.INI" ascii
$h = "Get-WmiObject" ascii
condition:
5 of them
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $a | text | "Start-work" | ascii |
| $b | text | "$GpoGuid" | ascii |
| $c | text | "$SourceFile" | ascii |
| $d | text | "$DestinationFile" | ascii |
| $e | text | "$appName" | ascii |
| $f | text | "LDAP://ROOTDSE" | ascii |
| $g | text | "GPT.INI" | ascii |
| $h | text | "Get-WmiObject" | ascii |
Condition
5 of themIn plain words (Heuristic)
- At least 5 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.
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: d2a2604c-c558-5663-8dd3-44f3fdda1f71
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