YARA · Mandiant red team tool countermeasures
FIREEYE_RT_APT_Backdoor_Win_GORAT_1
This detects if a sample is less than 50KB and has a number of strings found in the Gorat shellcode (stage0 loader). The loader contains an embedded DLL (stage0.dll) that contains a number of unique strings. The 'Cookie' string found in this loader is important as this cookie is needed by the C2 server to download the Gorat implant (stage1 payload).
- Autor
- FireEye
- Datum
- 2020-12-08
- Geändert
- 2020-12-09
- Score / Qualität
- 75 / 75
Was diese Regel erkennt
This detects if a sample is less than 50KB and has a number of strings found in the Gorat shellcode (stage0 loader). The loader contains an embedded DLL (stage0.dll) that contains a number of unique strings. The 'Cookie' string found in this loader is important as this cookie is needed by the C2 server to download the Gorat implant (stage1 payload).
Sie definiert 9 Muster (9 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule FIREEYE_RT_APT_Backdoor_Win_GORAT_1 : FILE
{
meta:
= "This detects if a sample is less than 50KB and has a number of strings found in the Gorat shellcode (stage0 loader). The loader contains an embedded DLL (stage0.dll) that contains a number of unique strings. The 'Cookie' string found in this loader is important as this cookie is needed by the C2 server to download the Gorat implant (stage1 payload)."
= "FireEye"
= "5ac84cf1-49fb-533d-b211-b1a92239063b"
= "2020-12-08"
= "2020-12-09"
= "https://github.com/mandiant/red_team_tool_countermeasures/"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/REDFLARE (Gorat)/production/yara/APT_Backdoor_Win_GORAT_1.yar#L4-L23"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
= "66cdaa156e4d372cfa3dea0137850d20"
= "f6a0a923f64375e7ffdc080aec41db19a9e162405f1290ed0bbcce5a342bdadb"
= 75
= 75
= "FILE"
= 4
strings:
$s1 = "httpComms.dll" ascii wide
$s2 = "Cookie: SID1=%s" ascii wide
$s3 = "Global\\" ascii wide
$s4 = "stage0.dll" ascii wide
$s5 = "runCommand" ascii wide
$s6 = "getData" ascii wide
$s7 = "initialize" ascii wide
$s8 = "Windows NT %d.%d;" ascii wide
$s9 = "!This program cannot be run in DOS mode." ascii wide
condition:
filesize < 50KB and all of them
}
Strings (9 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "httpComms.dll" | ascii wide |
| $s2 | Text | "Cookie: SID1=%s" | ascii wide |
| $s3 | Text | "Global\\" | ascii wide |
| $s4 | Text | "stage0.dll" | ascii wide |
| $s5 | Text | "runCommand" | ascii wide |
| $s6 | Text | "getData" | ascii wide |
| $s7 | Text | "initialize" | ascii wide |
| $s8 | Text | "Windows NT %d.%d;" | ascii wide |
| $s9 | Text | "!This program cannot be run in DOS mode." | ascii wide |
Bedingung
filesize < 50KB and all of themIn Worten (Heuristik)
- Die Datei muss kleiner als 50KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Alle Muster aus der Regel müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- 66cdaa156e4d372cfa3dea0137850d20
Lizenz & Namensnennung
Autor: FireEye
Quell-Repository: Mandiant red team tool countermeasures @ 3561b71724
Lizenz: BSD 2-Clause License (Repository-Lizenz)
Copyright-Hinweis: Copyright (c) 2023, MANDIANT
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 5ac84cf1-49fb-533d-b211-b1a92239063b
Metadaten
| rev | 4 |
|---|
Tags:FILE
Verwandte Regeln
- APT / AkteurMandiant red team tool countermeasures· FireEye· 2020-12-08
- APT / AkteurMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / AkteurMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / AkteurMandiant red team tool countermeasures· FireEye· 2020-11-27
- APT / AkteurMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / AkteurMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / AkteurMandiant red team tool countermeasures· FireEye· 2020-11-27
- APT / AkteurMandiant red team tool countermeasures· FireEye· 2020-11-27