YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_NK_MAL_M_Hunting_VEILEDSIGNAL_5
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 10 patterns (9 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_5 : FILE
{
meta:
= "Detects VEILEDSIGNAL malware"
= "Mandiant"
= "7d0718fc-4f1c-5293-8dc4-81a5783fbfb2"
= "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#L120-L143"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "6727284586ecf528240be21bb6e97f88"
= "5d43b8198ad224bee8d290dd7031d73f76a7d957a2e3b44d89e7aaf5f2c94c65"
= 75
= 85
= "FILE"
= "This rule is meant for hunting and is not tested to run in a production environment"
strings:
$sb1 = { 48 8D 15 [4] 48 8D 4C 24 4C E8 [4] 85 C0 74 ?? 48 8D 15 [4] 48 8D 4C 24 4C E8 [4] 85 C0 74 ?? 48 8D 15 [4] 48 8D 4C 24 4C E8 [4] 85 C0 74 ?? 48 8D [3] 48 8B CB FF 15 [4] EB }
$ss1 = "chrome.exe" wide fullword
$ss2 = "firefox.exe" wide fullword
$ss3 = "msedge.exe" wide fullword
$ss4 = "\\\\.\\pipe\\*" ascii fullword
$ss5 = "FindFirstFileA" ascii fullword
$ss6 = "Process32FirstW" ascii fullword
$ss7 = "RtlAdjustPrivilege" ascii fullword
$ss8 = "GetCurrentProcess" ascii fullword
$ss9 = "NtWaitForSingleObject" ascii fullword
condition:
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and ( uint16( uint32( 0x3C ) + 0x18 ) == 0x020B ) and all of them
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sb1 | hex | { 48 8D 15 [4] 48 8D 4C 24 4C E8 [4] 85 C0 74 ?? 48 8D 15 [4] 48 8D 4C 24 4C E8 [4] 85 C0 74 ?? 48 8D 15 [4] 48 8D 4C 24 4C E8 [4] 85 C0 74 ?? 48 8D [3] 48 8B C … | |
| $ss1 | text | "chrome.exe" | wide fullword |
| $ss2 | text | "firefox.exe" | wide fullword |
| $ss3 | text | "msedge.exe" | wide fullword |
| $ss4 | text | "\\\\.\\pipe\\*" | ascii fullword |
| $ss5 | text | "FindFirstFileA" | ascii fullword |
| $ss6 | text | "Process32FirstW" | ascii fullword |
| $ss7 | text | "RtlAdjustPrivilege" | ascii fullword |
| $ss8 | text | "GetCurrentProcess" | ascii fullword |
| $ss9 | text | "NtWaitForSingleObject" | ascii 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).
- 6727284586ecf528240be21bb6e97f88
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: 7d0718fc-4f1c-5293-8dc4-81a5783fbfb2
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