YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_HKTL_Natbypass_Dec22_1
Detects NatBypass tool (also used by APT41)
- Auteur
- Florian Roth (Nextron Systems)
- Date
- 2022-12-27
- Modifiée
- 2023-12-05
- Score / Qualité
- 80 / 85
Ce que détecte cette règle
Detects NatBypass tool (also used by APT41)
Elle définit 5 motifs (5 texte, 0 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
rule SIGNATURE_BASE_HKTL_Natbypass_Dec22_1 : T1090 FILE
{
meta:
= "Detects NatBypass tool (also used by APT41)"
= "Florian Roth (Nextron Systems)"
= "54af4d84-72f7-5ec4-b0bf-7ba228fdf508"
= "2022-12-27"
= "2023-12-05"
= "https://github.com/cw1997/NATBypass"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/hktl_natbypass.yar#L2-L24"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "4550635143c9997d5499d1d4a4c860126ee9299311fed0f85df9bb304dca81ff"
= "8af76d7d9d4500dc219090fbd8ca8cd9fd17bfc224f14a411febfd6f75b92206"
= 80
= 85
= "T1090, FILE"
strings:
$x1 = "nb -slave 127.0.0.1:3389 8.8.8.8:1997" ascii
$x2 = "| Welcome to use NATBypass Ver" ascii
$s1 = "main.port2host.func1" ascii fullword
$s2 = "start to transmit address:" ascii
$s3 = "^(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])"
condition:
filesize < 8000KB and ( 1 of ( $x* ) or 2 of them ) or 3 of them
}
Chaînes (5 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x1 | texte | "nb -slave 127.0.0.1:3389 8.8.8.8:1997" | ascii |
| $x2 | texte | "| Welcome to use NATBypass Ver" | ascii |
| $s1 | texte | "main.port2host.func1" | ascii fullword |
| $s2 | texte | "start to transmit address:" | ascii |
| $s3 | texte | "^(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])" |
Condition
filesize < 8000KB and ( 1 of ( $x* ) or 2 of them ) or 3 of themEn clair (Heuristique)
- Le fichier doit faire moins de 8000KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
- Au moins 2 motifs de la règle doivent être trouvés.
- Au moins 3 motifs de la règle 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é.
Références
MITRE ATT&CK
Hashes d’échantillons
Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).
- 4550635143c9997d5499d1d4a4c860126ee9299311fed0f85df9bb304dca81ff
Licence et attribution
Auteur : Florian Roth (Nextron Systems)
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: 54af4d84-72f7-5ec4-b0bf-7ba228fdf508
Règles liées
- Outil offensifSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-08-09
- Outil offensifSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-09-08
- Outil offensifSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-09-15
- Outil offensifSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-03
- Outil offensifSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-02
- Outil offensifSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-04-07
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16