YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_MAL_CISA_10365227_02_Clientuploader_Dec21
Detects ClientUploader_mqsvn
- Author
- CISA Code & Media Analysis
- Date
- 2021-12-23
- Modified
- 2021-12-24
- Score / Quality
- 80 / 81
What this rule detects
Detects ClientUploader_mqsvn
Targets: Windows PE.
It defines 6 patterns (4 text, 2 hex, 0 regex).
YARA-X says: warning[text_as_hex]: hex pattern could be written as text literal
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_APT_MAL_CISA_10365227_02_Clientuploader_Dec21 : FILE
{
meta:
= "Detects ClientUploader_mqsvn"
= "CISA Code & Media Analysis"
= "84351df9-e225-5c3f-9385-523246681a97"
= "2021-12-23"
= "2021-12-24"
= "https://www.cisa.gov/uscert/ncas/analysis-reports/ar22-277a"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_stealer_cisa_ar22_277a.yar#L48-L67"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "3585c3136686d7d48e53c21be61bb2908d131cf81b826acf578b67bb9d8e9350"
= "f9f82b4577568d0bd60bac0d3132ed7ffcb338f508a8689f3126f3d2440432ef"
= 80
= 81
= "FILE"
strings:
$s1 = "UploadSmallFileWithStopWatch"
$s2 = "UploadPartWithStopwatch"
$s3 = "AppVClient"
$s4 = "ClientUploader"
$s5 = { 46 69 6C 65 43 6F 6E 74 61 69 6E 65 72 2E 46 69 6C 65 41 72 63 68 69 76 65 }
$s6 = { 4F 6E 65 44 72 69 76 65 43 6C 69 65 6E 74 2E 4F 6E 65 44 72 69 76 65 }
condition:
uint16( 0 ) == 0x5a4d and all of them
}
Strings (6 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "UploadSmallFileWithStopWatch" | |
| $s2 | text | "UploadPartWithStopwatch" | |
| $s3 | text | "AppVClient" | |
| $s4 | text | "ClientUploader" | |
| $s5 | hex | { 46 69 6C 65 43 6F 6E 74 61 69 6E 65 72 2E 46 69 6C 65 41 72 63 68 69 76 65 } | |
| $s6 | hex | { 4F 6E 65 44 72 69 76 65 43 6C 69 65 6E 74 2E 4F 6E 65 44 72 69 76 65 } |
Condition
uint16( 0 ) == 0x5a4d and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All 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).
- 3585c3136686d7d48e53c21be61bb2908d131cf81b826acf578b67bb9d8e9350
Licence & attribution
Author: CISA Code & Media Analysis
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: 84351df9-e225-5c3f-9385-523246681a97
Tags:FILE
Related rules
- APT / threat actorSignature Base (Florian Roth / Nextron)· CISA Code & Media Analysis· 2021-12-23
- APT / threat actorSignature Base (Florian Roth / Nextron)· CISA Code & Media Analysis· 2021-12-23