YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Ratty
Detects Ratty Java RAT
- Auteur
- ditekshen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects Ratty Java RAT
Famille de malware associée : Ratty.
Cibles : PE Windows.
Elle définit 12 motifs (12 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
malware-win-ratty.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Ratty : FILE
{
meta:
= "Detects Ratty Java RAT"
= "ditekshen"
= "87719e28-dfe7-5366-8d90-65e6c0c6fb4f"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L3910-L3929"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "d90bca1b18023da8e60cb6ca86d1c562bff3867c6d5cf893dce605ebb92b9637"
= 75
= 75
= "FILE"
strings:
$s1 = "/rat/RattyClient.class" ascii
$s2 = "/rat/ActiveConnection.class" ascii
$s3 = "/rat/attack/" ascii
$s4 = "/rat/gui/swing/Ratty" ascii
$s5 = "/rat/packet/PasswordPacket" ascii
$s6 = "/rat/packet/" ascii
$e1 = "/engine/Keyboard.class" ascii
$e2 = "/engine/IMouseListener.class" ascii
$e3 = "/engine/Screen$ResizeBehavior.class" ascii
$e4 = "/engine/fx/ISoundListener.class" ascii
$e5 = "/engine/net/TCPServer.class" ascii
$e6 = "/engine/noise/PerlinNoise.class" ascii
condition:
( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0xcfd0 or uint16( 0 ) == 0x4b50 ) and ( 3 of ( $s* ) or all of ( $e* ) )
}
Chaînes (12 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "/rat/RattyClient.class" | ascii |
| $s2 | texte | "/rat/ActiveConnection.class" | ascii |
| $s3 | texte | "/rat/attack/" | ascii |
| $s4 | texte | "/rat/gui/swing/Ratty" | ascii |
| $s5 | texte | "/rat/packet/PasswordPacket" | ascii |
| $s6 | texte | "/rat/packet/" | ascii |
| $e1 | texte | "/engine/Keyboard.class" | ascii |
| $e2 | texte | "/engine/IMouseListener.class" | ascii |
| $e3 | texte | "/engine/Screen$ResizeBehavior.class" | ascii |
| $e4 | texte | "/engine/fx/ISoundListener.class" | ascii |
| $e5 | texte | "/engine/net/TCPServer.class" | ascii |
| $e6 | texte | "/engine/noise/PerlinNoise.class" | ascii |
Condition
( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0xcfd0 or uint16( 0 ) == 0x4b50 ) and ( 3 of ( $s* ) or all of ( $e* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit commencer par « PK » — une archive ZIP (aussi Office Open XML, JAR, APK).
- Tous les motifs de ( $e* ) doivent être trouvés.
- Au moins 3 motifs de ( $s* ) 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.
Références
Licence et attribution
Auteur : ditekshen
Dépôt source : ditekSHen detection @ e76c93dcde
Licence : BSD 2-Clause License (licence du dépôt)
Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
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: 87719e28-dfe7-5366-8d90-65e6c0c6fb4f
Tags:FILE
Règles liées
- MalwareditekSHen detection· ditekshen· 2020-11-06
- MalwareditekSHen detection· ditekshen· 2020-11-06
- MalwareditekSHen detection· ditekshen· 2020-11-06
- MalwareditekSHen detection· ditekshen· 2020-11-06
- MalwareditekSHen detection· ditekshen· 2020-11-06
- MalwareditekSHen detection· ditekshen· 2020-11-06
- MalwareditekSHen detection· ditekshen· 2020-11-06
- MalwareditekSHen detection· ditekshen· 2020-11-06