YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_MAL_SLOTHFULMEDIA_Oct20_1
Detects SLOTHFULMEDIA malware
- Author
- Florian Roth (Nextron Systems)
- Date
- 2020-10-01
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects SLOTHFULMEDIA malware
Associated malware family: Slothfulmedia.
Targets: Windows PE.
It defines 11 patterns (6 text, 5 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_APT_MAL_SLOTHFULMEDIA_Oct20_1 : FILE
{
meta:
= "Detects SLOTHFULMEDIA malware"
= "Florian Roth (Nextron Systems)"
= "cc413225-f084-5859-bc27-04eb018d8894"
= "2020-10-01"
= "2023-12-05"
= "https://us-cert.cisa.gov/ncas/analysis-reports/ar20-275a"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_iamtheking.yar#L2-L48"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "64d78eec46c9ddd4b9a366de62ba0f2813267dc4393bc79e4c9a51a9bb7e6273"
= "927d945476191a3523884f4c0784fb71c16b7738bd7f2abd1e3a198af403f0ae"
= "f0503f0131040b805e106eafe64a65d9404a0e279f052237b868e456c34d36e6"
= "ed5258306c06d6fac9b13c99c7c8accc7f7fa0de4cf4de4f7d9eccad916555f5"
= "04ca010f4c8997a023fabacae230698290e3ff918a86703c5e0a2a6983b039eb"
= "cb2adcaaa25bb6b8a9f1c685c219f8d6d78aa5cfd65c633f4d255ff81da2c517"
= "e50bda40eb05767e0903c3d8dd62b4e0290d89740c82c8b7f391d5763dc35156"
= 75
= 85
= "FILE"
strings:
$xc1 = { 25 73 26 69 3D 25 64 00 48 54 54 50 2F 31 2E 31
00 00 00 00 50 4F 53 54 00 00 00 00 43 6F 6E 74
65 6E 74 2D 4C 65 6E 67 74 68 3A 20 25 64 00 00
5C 00 53 00 65 00 74 00 75 00 70 00 55 00 69 00
00 00 00 00 25 00 73 00 25 00 73 00 5F 00 25 00
64 00 2E 00 64 00 61 00 74 }
$xc2 = { 2F 76 3F 6D 3D 00 00 00 35 30 31 00 32 30 30 00
2A 00 2E 00 2A 00 00 00 25 00 73 00 00 00 00 00
53 00 65 00 44 00 65 00 62 00 75 00 67 00 50 00
72 00 69 00 76 00 69 00 6C 00 65 00 67 00 65 }
$xc3 = { 00 25 00 73 00 7C 00 25 00 73 00 7C 00 25 00 73
00 7C 00 25 00 73 00 00 00 5C 00 46 00 69 00 6C
00 74 00 65 00 72 00 33 00 2E 00 6A 00 70 00 67 }
$sc1 = { 25 74 65 6D 70 25 00 00 25 73 5C 25 73 2E 65 78
65 00 00 00 25 74 65 6D 70 25 00 00 25 73 5C 25
73 2E 65 78 65 }
$sc2 = { 61 70 70 6C 69 63 61 74 69 6F 6E 2F 6F 63 74 65
74 2D 73 74 72 65 61 6D 2C 61 70 70 6C 69 63 61
74 69 6F 6E 2F 78 68 74 6D 6C 00 00 25 73 26 69
3D 25 64 00 48 54 54 50 2F 31 2E 31 00 00 00 00
50 4F 53 54 }
$s1 = "%s%s_%d.dat" wide fullword
$s2 = "Local Security Process" wide fullword
$s3 = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75" ascii fullword
$s4 = "Global%s%d" wide fullword
$s5 = "ExtKeyloggerStart" ascii fullword
$s6 = "GetExtendedTcpTable" ascii fullword
condition:
uint16( 0 ) == 0x5a4d and filesize < 400KB and ( 1 of ( $x* ) or 3 of them ) or 4 of them
}
Strings (11 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $xc1 | hex | { 25 73 26 69 3D 25 64 00 48 54 54 50 2F 31 2E 31 00 00 00 00 50 4F 53 54 00 00 00 00 43 6F 6E 74 65 6E 74 2D 4C 65 6E 67 74 68 3A … | |
| $xc2 | hex | { 2F 76 3F 6D 3D 00 00 00 35 30 31 00 32 30 30 00 2A 00 2E 00 2A 00 00 00 25 00 73 00 00 00 00 00 53 00 65 00 44 00 65 00 62 00 75 … | |
| $xc3 | hex | { 00 25 00 73 00 7C 00 25 00 73 00 7C 00 25 00 73 00 7C 00 25 00 73 00 00 00 5C 00 46 00 69 00 6C 00 74 00 65 00 72 00 33 00 2E 00 … | |
| $sc1 | hex | { 25 74 65 6D 70 25 00 00 25 73 5C 25 73 2E 65 78 65 00 00 00 25 74 65 6D 70 25 00 00 25 73 5C 25 73 2E 65 78 65 } | |
| $sc2 | hex | { 61 70 70 6C 69 63 61 74 69 6F 6E 2F 6F 63 74 65 74 2D 73 74 72 65 61 6D 2C 61 70 70 6C 69 63 61 74 69 6F 6E 2F 78 68 74 6D 6C 00 … | |
| $s1 | text | "%s%s_%d.dat" | wide fullword |
| $s2 | text | "Local Security Process" | wide fullword |
| $s3 | text | "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75" | ascii fullword |
| $s4 | text | "Global%s%d" | wide fullword |
| $s5 | text | "ExtKeyloggerStart" | ascii fullword |
| $s6 | text | "GetExtendedTcpTable" | ascii fullword |
Condition
uint16( 0 ) == 0x5a4d and filesize < 400KB and ( 1 of ( $x* ) or 3 of them ) or 4 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 400KB (a cheap guard that skips large files).
- At least 1 patterns in ( $x* ) must match.
- At least 3 patterns in the rule must match.
- At least 4 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).
- 64d78eec46c9ddd4b9a366de62ba0f2813267dc4393bc79e4c9a51a9bb7e6273
- 927d945476191a3523884f4c0784fb71c16b7738bd7f2abd1e3a198af403f0ae
- f0503f0131040b805e106eafe64a65d9404a0e279f052237b868e456c34d36e6
- ed5258306c06d6fac9b13c99c7c8accc7f7fa0de4cf4de4f7d9eccad916555f5
- 04ca010f4c8997a023fabacae230698290e3ff918a86703c5e0a2a6983b039eb
- cb2adcaaa25bb6b8a9f1c685c219f8d6d78aa5cfd65c633f4d255ff81da2c517
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: cc413225-f084-5859-bc27-04eb018d8894
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- ARKBIRD_SOLG_MAL_Slothfulmedia_Jul_2021_1Metadata onlyMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-07-09
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-03-31
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-25