YARA · Mandiant red team tool countermeasures
FIREEYE_RT_APT_Trojan_Win_REDFLARE_8
No description has been set in the source file - FireEye-RT
- Author
- FireEye
- Date
- 2020-12-02
- Modified
- 2020-12-09
- Score / Quality
- 75 / 75
What this rule detects
No description has been set in the source file - FireEye-RT
Targets: Windows PE.
It defines 7 patterns (6 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-trojan-win-redflare-8.yarBSD 2-Clause License
rule FIREEYE_RT_APT_Trojan_Win_REDFLARE_8 : FILE
{
meta:
= "No description has been set in the source file - FireEye-RT"
= "FireEye"
= "b090df60-8f4e-51ca-944c-6f9ce2d9c913"
= "2020-12-02"
= "2020-12-02"
= "2020-12-09"
= "https://github.com/mandiant/red_team_tool_countermeasures/"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/REDFLARE/production/yara/APT_Trojan_Win_REDFLARE_8.yar#L4-L22"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
= "9c8eb908b8c1cda46e844c24f65d9370, 9e85713d615bda23785faf660c1b872c"
= "5b8a0402886daebefb995e7df0877d51727c5b8dc58eeb8ff16ceec5e7811a20"
= 75
= 75
= "FILE"
= 1
strings:
$1 = "PSRunner.PSRunner" fullword
$2 = "CorBindToRuntime" fullword
$3 = "ReportEventW" fullword
$4 = "InvokePS" fullword wide
$5 = "runCommand" fullword
$6 = "initialize" fullword
$trap = { 03 40 00 80 E8 [4] CC }
condition:
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and all of them
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $1 | text | "PSRunner.PSRunner" | fullword |
| $2 | text | "CorBindToRuntime" | fullword |
| $3 | text | "ReportEventW" | fullword |
| $4 | text | "InvokePS" | fullword wide |
| $5 | text | "runCommand" | fullword |
| $6 | text | "initialize" | fullword |
| $trap | hex | { 03 40 00 80 E8 [4] CC } |
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: b090df60-8f4e-51ca-944c-6f9ce2d9c913
Metadata
| rev | 1 |
|---|
Tags:FILE
Related rules
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-12-08
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-12-08
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-11-27
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-11-27