YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_NK_MAL_M_Hunting_VEILEDSIGNAL_3
Detects VEILEDSIGNAL malware
- Author
- Mandiant
- Date
- 2023-04-20
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects VEILEDSIGNAL malware
Associated malware family: Veiledsignal.
Targets: Windows PE.
It defines 5 patterns (4 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_APT_NK_MAL_M_Hunting_VEILEDSIGNAL_3 : FILE
{
meta:
= "Detects VEILEDSIGNAL malware"
= "Mandiant"
= "82790c65-1d93-509b-95df-841543943c30"
= "2023-04-20"
= "2023-12-05"
= "https://www.mandiant.com/resources/blog/3cx-software-supply-chain-compromise"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_nk_tradingtech_apr23.yar#L78-L96"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "c6441c961dcad0fe127514a918eaabd4"
= "2109340edfb1891baef5bd92ba3c9da77f891341de9e8094060a649de62fade2"
= 75
= 85
= "FILE"
= "This rule is meant for hunting and is not tested to run in a production environment"
strings:
$ss1 = { 61 70 70 6C 69 63 61 74 69 6F 6E 2F 6A 73 6F 6E 2C 20 74 65 78 74 2F 6A 61 76 61 73 63 72 69 70 74 2C 20 2A 2F 2A 3B 20 71 3D 30 2E 30 31 00 00 61 63 63 65 70 74 00 00 65 6E 2D 55 53 2C 65 6E 3B 71 3D 30 2E 39 00 00 61 63 63 65 70 74 2D 6C 61 6E 67 75 61 67 65 00 63 6F 6F 6B 69 65 00 00 }
$si1 = "HttpSendRequestW" fullword
$si2 = "CreateNamedPipeW" fullword
$si3 = "CreateThread" fullword
$se1 = "DllGetClassObject" fullword
condition:
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and ( uint16( uint32( 0x3C ) + 0x18 ) == 0x020B ) and all of them
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ss1 | hex | { 61 70 70 6C 69 63 61 74 69 6F 6E 2F 6A 73 6F 6E 2C 20 74 65 78 74 2F 6A 61 76 61 73 63 72 69 70 74 2C 20 2A 2F 2A 3B 20 71 3D 30 2E 30 31 00 00 61 63 63 65 70 … | |
| $si1 | text | "HttpSendRequestW" | fullword |
| $si2 | text | "CreateNamedPipeW" | fullword |
| $si3 | text | "CreateThread" | fullword |
| $se1 | text | "DllGetClassObject" | fullword |
Condition
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and ( uint16( uint32( 0x3C ) + 0x18 ) == 0x020B ) 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).
- c6441c961dcad0fe127514a918eaabd4
Licence & attribution
Author: Mandiant
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: 82790c65-1d93-509b-95df-841543943c30
Metadata
| disclaimer | This rule is meant for hunting and is not tested to run in a production environment |
|---|
Tags:FILE
Related rules
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· X__Junior· 2023-04-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· X__Junior· 2023-04-29
- APT / threat actorSignature Base (Florian Roth / Nextron)· X__Junior· 2023-04-29