YARA · WithSecure Labs IOCs
WITHSECURELABS_Andariel_Gopherrat
Detects GopherRAT samples
- Autor
- WithSecure
- Datum
- 2026-01-22
- Score / Qualität
- 75 / 75
Was diese Regel erkennt
Detects GopherRAT samples
Ziele: Windows-PE.
Sie definiert 8 Muster (7 Text, 1 Hex, 0 Regex). Verwendete YARA-Module: pe.
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
Enthält die Imports, die zum eigenständigen Kompilieren nötig sind.
import "pe"
rule WITHSECURELABS_Andariel_Gopherrat
{
meta:
= "Detects GopherRAT samples"
= "WithSecure"
= "88627e61-43fa-5d5b-94f3-77d540131f90"
= "2026-01-22"
= "2026-01-22"
= "https://github.com/WithSecureLabs/iocs"
= "https://github.com/WithSecureLabs/iocs/blob/1a8384468dd292c6d2c5114c32e42dc0da1f5ae1/Andariel2025/andariel.yara#L86-L105"
= "https://github.com/WithSecureLabs/iocs/blob/1a8384468dd292c6d2c5114c32e42dc0da1f5ae1/LICENSE"
= "2a42590be19b4b9a258c63f683c724165d64cc7bf22e4b7e7dec3ff73ea9175c"
= 75
= 75
= ""
strings:
$cmdName1 = "GetMACHashID"
$cmdName2 = "startHeartbeat"
$cmdName3 = "encodeTo949"
$cmdName4 = "xorDecrypt"
$cmdName5 = "StartShell"
$cmdName6 = "getLogicalDrives"
$cmdName7 = "sendSocksCommand"
$xorKey = {357095A221F033AC}
condition:
pe.is_pe and ( 3 of ( $cmdName* ) or $xorKey )
}
Strings (8 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $cmdName1 | Text | "GetMACHashID" | |
| $cmdName2 | Text | "startHeartbeat" | |
| $cmdName3 | Text | "encodeTo949" | |
| $cmdName4 | Text | "xorDecrypt" | |
| $cmdName5 | Text | "StartShell" | |
| $cmdName6 | Text | "getLogicalDrives" | |
| $cmdName7 | Text | "sendSocksCommand" | |
| $xorKey | Hex | {357095A221F033AC} |
Bedingung
pe.is_pe and ( 3 of ( $cmdName* ) or $xorKey )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Mindestens 3 Muster aus ( $cmdName* ) müssen treffen.
- Nutzt das Modul pe.
- Muster $xorKey muss vorhanden sein.
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.
Referenzen
Lizenz & Namensnennung
Autor: WithSecure
Quell-Repository: WithSecure Labs IOCs @ 1a8384468d
Lizenz: BSD 2-Clause License (Repository-Lizenz)
Copyright-Hinweis: Copyright (c) 2022, WithSecure Oyj
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 88627e61-43fa-5d5b-94f3-77d540131f90
Verwandte Regeln
- Verdächtig / HuntingWithSecure Labs IOCs· WithSecure· 2026-01-22
- MalwareWithSecure Labs IOCs· WithSecure· 2026-01-22
- MalwareWithSecure Labs IOCs· WithSecure· 2022-11-17
- GenerischWithSecure Labs IOCs· WithSecure· 2026-01-22
- GenerischWithSecure Labs IOCs· WithSecure· 2026-01-22
- GenerischWithSecure Labs IOCs· WithSecure· 2026-01-22
- GenerischWithSecure Labs IOCs· WithSecure· 2026-01-22
- GenerischWithSecure Labs IOCs· WithSecure· 2026-01-22