YARA · Mandiant red team tool countermeasures
FIREEYE_RT_Loader_MSIL_DUEDLLIGENCE_1
No description has been set in the source file - FireEye-RT
- Author
- FireEye
- Date
- 2020-12-18
- Score / Quality
- 75 / 75
What this rule detects
No description has been set in the source file - FireEye-RT
Targets: Windows PE.
It defines 3 patterns (0 text, 2 hex, 1 regex).
Summary generated from the rule's metadata and condition.
Rule source
loader-msil-duedlligence-1.yarBSD 2-Clause License
rule FIREEYE_RT_Loader_MSIL_DUEDLLIGENCE_1 : FILE
{
meta:
= "No description has been set in the source file - FireEye-RT"
= "FireEye"
= "d438575f-3cb2-5cff-b5d4-733044f62e61"
= "2020-12-18"
= "2020-12-18"
= "https://github.com/mandiant/red_team_tool_countermeasures/"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/DUEDLLIGENCE/production/yara/Loader_MSIL_DUEDLLIGENCE_1.yar#L5-L15"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
= "56237d686b954950849adeedc87d5f9fbff2335a0ff033ba8571b3e3b93f587c"
= 75
= 75
= "FILE"
strings:
$create_thread_injected = { 7E [2] 00 0A 0A 16 0B 16 8D [2] 00 01 0C 28 [2] 00 06 2? ?? 2A 28 [2] 00 0A 1E 3? ?? 7E [2] 00 04 7E [2] 00 04 28 [2] 00 0A 28 [2] 00 06 0C 2? ?? 7E [2] 00 04 7E [2] 00 04 28 [2] 00 0A 28 [2] 00 06 0C 7E [2] 00 0A 08 8E 69 7E [2] 00 04 7E [2] 00 04 28 [2] 00 06 0D 09 7E [2] 00 0A 28 [2] 00 0A }
$iz1 = /_Cor(Exe|Dll)Main/ fullword
$suspended_process = { 12 ?? FE 15 [2] 00 02 1? ?? FE 15 [2] 00 02 02 14 7E [2] 00 0A 7E [2] 00 0A 16 20 [2] 00 08 7E [2] 00 0A 14 12 ?? 12 ?? 28 [2] 00 06 }
condition:
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and all of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $create_thread_injected | hex | { 7E [2] 00 0A 0A 16 0B 16 8D [2] 00 01 0C 28 [2] 00 06 2? ?? 2A 28 [2] 00 0A 1E 3? ?? 7E [2] 00 04 7E [2] 00 04 28 [2] 00 0A 28 [2] 00 06 0C 2? ?? 7E [2] 00 04 … | |
| $iz1 | regex | /_Cor(Exe|Dll)Main/ | fullword |
| $suspended_process | hex | { 12 ?? FE 15 [2] 00 02 1? ?? FE 15 [2] 00 02 02 14 7E [2] 00 0A 7E [2] 00 0A 16 20 [2] 00 08 7E [2] 00 0A 14 12 ?? 12 ?? 28 [2] 00 06 } |
Condition
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
Licence & attribution
Author: FireEye
Source repository: Mandiant red team tool countermeasures @ 3561b71724
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright (c) 2023, MANDIANT
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: d438575f-3cb2-5cff-b5d4-733044f62e61
Tags:FILE
Related rules
- MalwareMandiant red team tool countermeasures· FireEye· 2020-12-08
- MalwareMandiant red team tool countermeasures· FireEye· 2020-12-18
- MalwareMandiant red team tool countermeasures· FireEye· 2020-12-18
- MalwareMandiant red team tool countermeasures· FireEye· 2020-12-08
- MalwareMandiant red team tool countermeasures· FireEye· 2020-12-03
- MalwareMandiant red team tool countermeasures· FireEye· 2020-12-03
- MalwareMandiant red team tool countermeasures· FireEye· 2020-11-25
- MalwareMandiant red team tool countermeasures· FireEye· 2020-11-25