YARA · SEKOIA.IO Community
SEKOIA_Rootkit_Win_Purplefox_360_Tct
Detects Purple Fox payloads used during end-2021 and 2022 campaigns based on characteristics shared by TrendMicro details.
- Author
- Sekoia.io
- Date
- 2022-03-28
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects Purple Fox payloads used during end-2021 and 2022 campaigns based on characteristics shared by TrendMicro details.
Associated malware family: Purplefox.
It defines 4 patterns (4 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SEKOIA_Rootkit_Win_Purplefox_360_Tct : FILE
{
meta:
= "Detects Purple Fox payloads used during end-2021 and 2022 campaigns based on characteristics shared by TrendMicro details."
= "Sekoia.io"
= "e992d574-6a44-4bea-97e2-6d5579ce8d01"
= "2022-03-28"
= "2024-12-19"
= "https://www.trendmicro.com/en_us/research/22/c/purple-fox-uses-new-arrival-vector-and-improves-malware-arsenal.html"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rootkit_win_purplefox_360_tct.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "6b4ca65bc05ea1e8036140a62b94c8b75afe30a5e37cae9a5ae2a9c828cd6275"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$rar = "Rar!"
$str0 = "svchost.txt"
$str1 = "rundll3222.exe"
$str2 = "ojbkcg.exe"
condition:
$rar at 0 and all of ( $str* ) and filesize > 800KB and filesize < 2800KB
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $rar | text | "Rar!" | |
| $str0 | text | "svchost.txt" | |
| $str1 | text | "rundll3222.exe" | |
| $str2 | text | "ojbkcg.exe" |
Condition
$rar at 0 and all of ( $str* ) and filesize > 800KB and filesize < 2800KBIn plain words (Heuristic)
- The file must be smaller than 2800KB (a cheap guard that skips large files).
- The file must be larger than 800KB.
- All patterns in ( $str* ) must match.
- Pattern $rar must be found at offset 0.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
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: e992d574-6a44-4bea-97e2-6d5579ce8d01
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-03-28
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-03-28
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20