YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Nibiru
Detects Nibiru ransomware
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects Nibiru ransomware
Associated malware family: Nibiru.
Targets: Windows PE.
It defines 10 patterns (10 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-nibiru.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Nibiru : FILE
{
meta:
= "Detects Nibiru ransomware"
= "ditekSHen"
= "78c3bf75-1ab3-5f88-ba4b-d5a0a906d57c"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L2486-L2504"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "f3718e9091b09e0f47ecd6715a3a2c160ede6ab9fb144e7ed115dd5a25c8e379"
= 75
= 75
= "FILE"
= "MALWARE.Win.Ransomware.Nibiru"
strings:
$s1 = ".encrypt" fullword wide
$s2 = "crypted" fullword wide
$s3 = ".Nibiru" fullword wide
$s4 = "Encryption Complete" fullword wide
$s5 = "All your files,documents,important datas,mp4,mp3 and anything valuable" ascii
$s6 = "EncryptOrDecryptFile" fullword ascii
$s7 = "get_hacker" ascii
$s8 = "/C choice /C Y /N /D Y /T 3 & Del \"" fullword wide
$s9 = "Once You pay,you get the KEY to decrypt files" ascii
$pdb = "\\Projects\\Nibiru\\Nibiru\\obj\\x86\\Release\\Nibiru.pdb" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 7 of them or ( $pdb and 2 of ( $s* ) ) )
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | ".encrypt" | fullword wide |
| $s2 | text | "crypted" | fullword wide |
| $s3 | text | ".Nibiru" | fullword wide |
| $s4 | text | "Encryption Complete" | fullword wide |
| $s5 | text | "All your files,documents,important datas,mp4,mp3 and anything valuable" | ascii |
| $s6 | text | "EncryptOrDecryptFile" | fullword ascii |
| $s7 | text | "get_hacker" | ascii |
| $s8 | text | "/C choice /C Y /N /D Y /T 3 & Del \"" | fullword wide |
| $s9 | text | "Once You pay,you get the KEY to decrypt files" | ascii |
| $pdb | text | "\\Projects\\Nibiru\\Nibiru\\obj\\x86\\Release\\Nibiru.pdb" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( 7 of them or ( $pdb and 2 of ( $s* ) ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 7 patterns in the rule must match.
- At least 2 patterns in ( $s* ) must match.
- Pattern $pdb must be present.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
References
Licence & attribution
Author: ditekSHen
Source repository: ditekSHen detection @ e76c93dcde
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 78c3bf75-1ab3-5f88-ba4b-d5a0a906d57c
Metadata
| clamav_sig | MALWARE.Win.Ransomware.Nibiru |
|---|
Tags:FILE
Related rules
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- 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