YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_APT_NK_Andariel_Sockstroy_Strings_Opcodes
Detects a variant of the SocksTroy malware family
- Auteur
- CISA.gov
- Date
- 2024-07-25
- Modifiée
- 2026-01-29
- Score / Qualité
- 80 / 85
Ce que détecte cette règle
Detects a variant of the SocksTroy malware family
Cibles : PE Windows.
Elle définit 4 motifs (3 texte, 1 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
mal-apt-nk-andariel-sockstroy-strings-opcodes.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_APT_NK_Andariel_Sockstroy_Strings_Opcodes : FILE
{
meta:
= "Detects a variant of the SocksTroy malware family"
= "CISA.gov"
= "9e7fb6ba-771e-5cae-a0d5-c0b95ee6d4e9"
= "2024-07-25"
= "2026-01-29"
= "https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-207a"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_nk_andariel_jul24.yar#L180-L199"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "6ab31b285d0dba1745a2d8b172bd02931c6138e2b8e541203b88f111d179549b"
= 80
= 85
= "FILE"
strings:
$strHost = "-host" wide
$strAuth = "-auth" wide
$SocksTroy = "SocksTroy"
$cOpCodeCheck = { 81 E? A0 00 00 00 0F 84 ?? ?? ?? ?? 83 E? 03 74 ?? 83 E? 02 74 ?? 83 F? 0B }
condition:
uint16( 0 ) == 0x5a4d and ( 1 of ( $str* ) and all of ( $c* ) or all of ( $Socks* ) )
}
Chaînes (4 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $strHost | texte | "-host" | wide |
| $strAuth | texte | "-auth" | wide |
| $SocksTroy | texte | "SocksTroy" | |
| $cOpCodeCheck | hex | { 81 E? A0 00 00 00 0F 84 ?? ?? ?? ?? 83 E? 03 74 ?? 83 E? 02 74 ?? 83 F? 0B } |
Condition
uint16( 0 ) == 0x5a4d and ( 1 of ( $str* ) and all of ( $c* ) or all of ( $Socks* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $c* ) doivent être trouvés.
- Tous les motifs de ( $Socks* ) doivent être trouvés.
- Au moins 1 motifs de ( $str* ) doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Licence et attribution
Auteur : CISA.gov
Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 9e7fb6ba-771e-5cae-a0d5-c0b95ee6d4e9
Tags:FILE
Règles liées
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov· 2024-07-25