YARA · ditekSHen detection
DITEKSHEN_MALWARE_Linux_Ransomexx
Detects RansomEXX ransomware
- Author
- ditekshen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects RansomEXX ransomware
Associated malware family: Ransomexx.
It defines 15 patterns (15 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-linux-ransomexx.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Linux_Ransomexx : FILE
{
meta:
= "Detects RansomEXX ransomware"
= "ditekshen"
= "b449afc7-9055-55ed-a876-316d1aea8fee"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L3834-L3858"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "c233ccc3e741cb2c53f182c48093e41595a82a3f4e5bdb1dc0204f1f57b96c2a"
= 75
= 75
= "FILE"
= "MALWARE.Linux.Ransomware.RansomEXX"
strings:
$c1 = "crtstuff.c" fullword ascii
$c2 = "cryptor.c" fullword ascii
$c3 = "ransomware.c" fullword ascii
$c4 = "logic.c" fullword ascii
$c5 = "enum_files.c" fullword ascii
$c6 = "readme.c" fullword ascii
$c7 = "ctr_drbg.c" fullword ascii
$s1 = "regenerate_pre_data" fullword ascii
$s2 = "g_RansomHeader" fullword ascii
$s3 = "CryptOneBlock" fullword ascii
$s4 = "RansomLogic" fullword ascii
$s5 = "CryptOneFile" fullword ascii
$s6 = "encrypt_worker" fullword ascii
$s7 = "list_dir" fullword ascii
$s8 = "ctr_drbg_update_internal" fullword ascii
condition:
uint16( 0 ) == 0x457f and ( 5 of ( $c* ) or 6 of ( $s* ) or ( 3 of ( $c* ) and 3 of ( $s* ) ) )
}
Strings (15 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $c1 | text | "crtstuff.c" | fullword ascii |
| $c2 | text | "cryptor.c" | fullword ascii |
| $c3 | text | "ransomware.c" | fullword ascii |
| $c4 | text | "logic.c" | fullword ascii |
| $c5 | text | "enum_files.c" | fullword ascii |
| $c6 | text | "readme.c" | fullword ascii |
| $c7 | text | "ctr_drbg.c" | fullword ascii |
| $s1 | text | "regenerate_pre_data" | fullword ascii |
| $s2 | text | "g_RansomHeader" | fullword ascii |
| $s3 | text | "CryptOneBlock" | fullword ascii |
| $s4 | text | "RansomLogic" | fullword ascii |
| $s5 | text | "CryptOneFile" | fullword ascii |
| $s6 | text | "encrypt_worker" | fullword ascii |
| $s7 | text | "list_dir" | fullword ascii |
| $s8 | text | "ctr_drbg_update_internal" | fullword ascii |
Condition
uint16( 0 ) == 0x457f and ( 5 of ( $c* ) or 6 of ( $s* ) or ( 3 of ( $c* ) and 3 of ( $s* ) ) )In plain words (Heuristic)
- At least 5 patterns in ( $c* ) must match.
- At least 6 patterns in ( $s* ) must match.
- At least 3 patterns in ( $c* ) must match.
- At least 3 patterns in ( $s* ) must match.
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: b449afc7-9055-55ed-a876-316d1aea8fee
Metadata
| clamav_sig | MALWARE.Linux.Ransomware.RansomEXX |
|---|
Tags:FILE
Related rules
- MalwareditekSHen detection· ditekshen· 2020-11-06
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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