YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_RANSOM_COVID19_Apr20_1
Detects ransomware distributed in COVID-19 theme
- Author
- Florian Roth (Nextron Systems)
- Date
- 2020-04-15
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects ransomware distributed in COVID-19 theme
Targets: Windows PE.
It defines 4 patterns (1 text, 3 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_MAL_RANSOM_COVID19_Apr20_1 : FILE
{
meta:
= "Detects ransomware distributed in COVID-19 theme"
= "Florian Roth (Nextron Systems)"
= "fc723d1f-e969-5af6-af57-70d00bf797f4"
= "2020-04-15"
= "2023-12-05"
= "https://unit42.paloaltonetworks.com/covid-19-themed-cyber-attacks-target-government-and-medical-organizations/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_covid_ransom.yar#L2-L20"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "2779863a173ff975148cb3156ee593cb5719a0ab238ea7c9e0b0ca3b5a4a9326"
= "9b32ce1dff9d27c5f7541de97cd1198b0d837a69ee260b327c66a22ca6f30091"
= 75
= 85
= "FILE"
strings:
$s1 = "/savekey.php" wide
$op1 = { 3f ff ff ff ff ff 0b b4 }
$op2 = { 60 2e 2e 2e af 34 34 34 b8 34 34 34 b8 34 34 34 }
$op3 = { 1f 07 1a 37 85 05 05 36 83 05 05 36 83 05 05 34 }
condition:
uint16( 0 ) == 0x5a4d and filesize < 700KB and 2 of them
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "/savekey.php" | wide |
| $op1 | hex | { 3f ff ff ff ff ff 0b b4 } | |
| $op2 | hex | { 60 2e 2e 2e af 34 34 34 b8 34 34 34 b8 34 34 34 } | |
| $op3 | hex | { 1f 07 1a 37 85 05 05 36 83 05 05 36 83 05 05 34 } |
Condition
uint16( 0 ) == 0x5a4d and filesize < 700KB and 2 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 700KB (a cheap guard that skips large files).
- At least 2 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 2779863a173ff975148cb3156ee593cb5719a0ab238ea7c9e0b0ca3b5a4a9326
Licence & attribution
Author: Florian Roth (Nextron Systems)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: fc723d1f-e969-5af6-af57-70d00bf797f4
Tags:FILE
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-03-15
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-03-03
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-05-10
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-05-04
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-01-29
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-10-13
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-08-03