YARA · Mandiant red team tool countermeasures
FIREEYE_RT_APT_Builder_PY_REDFLARE_1
No description has been set in the source file - FireEye-RT
- Author
- FireEye
- Date
- 2020-11-27
- Modified
- 2020-12-09
- Score / Quality
- 75 / 75
What this rule detects
No description has been set in the source file - FireEye-RT
It defines 7 patterns (7 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule FIREEYE_RT_APT_Builder_PY_REDFLARE_1
{
meta:
= "No description has been set in the source file - FireEye-RT"
= "FireEye"
= "3b5ad25d-ce66-572e-9a91-40a73b8fd447"
= "2020-11-27"
= "2020-11-27"
= "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_Builder_PY_REDFLARE_1.yar#L4-L22"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
= "d0a830403e56ebaa4bfbe87dbfdee44f"
= "1948cadb7242eb69bffbc222802ce9c1af38d7a846da09b6343b1449fe054e42"
= 75
= 75
= ""
= 1
strings:
$1 = "LOAD_OFFSET_32 = 0x612"
$2 = "LOAD_OFFSET_64 = 0x611"
$3 = "class RC4:"
$4 = "struct.pack('<Q' if is64b else '<L'"
$5 = "stagerConfig['comms']['config']"
$6 = "_x86.dll"
$7 = "_x64.dll"
condition:
all of them and @1 [ 1 ] < @2 [ 1 ] and @2 [ 1 ] < @3 [ 1 ] and @3 [ 1 ] < @4 [ 1 ] and @4 [ 1 ] < @5 [ 1 ]
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $1 | text | "LOAD_OFFSET_32 = 0x612" | |
| $2 | text | "LOAD_OFFSET_64 = 0x611" | |
| $3 | text | "class RC4:" | |
| $4 | text | "struct.pack('<Q' if is64b else '<L'" | |
| $5 | text | "stagerConfig['comms']['config']" | |
| $6 | text | "_x86.dll" | |
| $7 | text | "_x64.dll" |
Condition
all of them and @1 [ 1 ] < @2 [ 1 ] and @2 [ 1 ] < @3 [ 1 ] and @3 [ 1 ] < @4 [ 1 ] and @4 [ 1 ] < @5 [ 1 ]In plain words (Heuristic)
- 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).
- d0a830403e56ebaa4bfbe87dbfdee44f
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: 3b5ad25d-ce66-572e-9a91-40a73b8fd447
Metadata
| rev | 1 |
|---|
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-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-11-27