YARA · Costin Raiu yararules
CRAIU_Crime_Lockbit3_Ransomware
Generic LockBit detection, also catches the version used in attacks in Indonesia.
- Auteur
- Costin G. Raiu, TLPBLACK, craiu@noh.ro
- Date
- 2024-07-03
- Score / Qualité
- 75 / 85
Ce que détecte cette règle
Generic LockBit detection, also catches the version used in attacks in Indonesia.
Famille de malware associée : Lockbit.
Cibles : PE Windows.
Elle définit 6 motifs (0 texte, 6 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 CRAIU_Crime_Lockbit3_Ransomware : FILE
{
meta:
= "Generic LockBit detection, also catches the version used in attacks in Indonesia."
= "Costin G. Raiu, TLPBLACK, craiu@noh.ro"
= "167788a4-a610-5770-9f51-aa4cc4d3d350"
= "2024-07-03"
= "2024-07-03"
= "https://www.bleepingcomputer.com/news/security/meet-brain-cipher-the-new-ransomware-behind-indonesia-data-center-attack/"
= "https://github.com/craiu/yararules/blob/23cf0ca22021fa3684e180a18416b9ae1b695243/files/crime_lockbit3_ransomware.yara#L2-L32"
= "https://github.com/craiu/yararules/blob/23cf0ca22021fa3684e180a18416b9ae1b695243/LICENSE"
= "eb82946fa0de261e92f8f60aa878c9fef9ebb34fdababa66995403b110118b12"
= "6e07da23603fbe5b26755df5b8fec19cadf1f7001b1558ea4f12e20271263417"
= "84efb899315379d85a03959359f89fbcb97cbb6477f1ec439380a4d15fed4f53"
= 75
= 85
= "FILE"
= "1.1"
strings:
$a1 = {C3 8BFF53 51 6A0158 0FA2F7C1000000400F95C0 84C074090FC7F0 0FC7F2 59 5B C3 }
$a2 = {C3 6A0758 33C90FA2F7C3000004000F95C0 84C074090FC7F8 0FC7FA 59 5B C3 }
$a3 = {C3 0F31 8BC8 C1C90D 0F31 8BD0 C1C20D 8BC1 59 5B C3 }
$a4 = {55 8BEC 51 52 56 33C0 8B550C 8B7508 AC 33C9 B930000000 8D0C4D01000000 02F1 2AF1 33C9 B906000000 8D0C4D01000000 D3CA 03D0 90 85C0}
$a5 = {E9 ?? ?? ?? ?? 6683F841 720C 6683F846 7706 6683E837 EB26 6683F861 720C 6683F866 7706 6683E857 EB14 6683F830 720C 6683F839 7706 6683E830 EB}
$a6 = {5D 8BC3 5F 5E 5B 5D C20C00 90 55 8BEC 53 56 57 33C0 8B5D14 33C9 33D2 8B750C 8B7D08 85F6 }
condition:
( filesize < 1MB ) and ( uint16( 0 ) == 0x5a4d ) and ( 2 of them )
}
Chaînes (6 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $a1 | hex | {C3 8BFF53 51 6A0158 0FA2F7C1000000400F95C0 84C074090FC7F0 0FC7F2 59 5B C3 } | |
| $a2 | hex | {C3 6A0758 33C90FA2F7C3000004000F95C0 84C074090FC7F8 0FC7FA 59 5B C3 } | |
| $a3 | hex | {C3 0F31 8BC8 C1C90D 0F31 8BD0 C1C20D 8BC1 59 5B C3 } | |
| $a4 | hex | {55 8BEC 51 52 56 33C0 8B550C 8B7508 AC 33C9 B930000000 8D0C4D01000000 02F1 2AF1 33C9 B906000000 8D0C4D01000000 D3CA 03D0 90 85C0} | |
| $a5 | hex | {E9 ?? ?? ?? ?? 6683F841 720C 6683F846 7706 6683E837 EB26 6683F861 720C 6683F866 7706 6683E857 EB14 6683F830 720C 6683F839 7706 6683E830 EB} | |
| $a6 | hex | {5D 8BC3 5F 5E 5B 5D C20C00 90 55 8BEC 53 56 57 33C0 8B5D14 33C9 33D2 8B750C 8B7D08 85F6 } |
Condition
( filesize < 1MB ) and ( uint16( 0 ) == 0x5a4d ) and ( 2 of them )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 1MB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 2 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é.
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).
- eb82946fa0de261e92f8f60aa878c9fef9ebb34fdababa66995403b110118b12
- 6e07da23603fbe5b26755df5b8fec19cadf1f7001b1558ea4f12e20271263417
Licence et attribution
Auteur : Costin G. Raiu, TLPBLACK, craiu@noh.ro
Dépôt source : Costin Raiu yararules @ 23cf0ca220
Licence : GNU General Public License v3.0 (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: 167788a4-a610-5770-9f51-aa4cc4d3d350
Métadonnées
| version | 1.1 |
|---|
Tags:FILE
Règles liées
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y· 2024-02-16
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y· 2024-02-16
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y· 2024-02-13
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-15
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2023-11-23
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2023-11-23
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2023-11-23
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2023-11-23