YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Arcrypt
Detects ARCrypt / ChileLocker ransomware
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects ARCrypt / ChileLocker ransomware
Associated malware family: Arcrypt.
Targets: Windows PE.
It defines 19 patterns (18 text, 0 hex, 1 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-arcrypt.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Arcrypt : FILE
{
meta:
= "Detects ARCrypt / ChileLocker ransomware"
= "ditekSHen"
= "a53bbae6-a321-549d-9d45-e1a408d08740"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10373-L10399"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "cc9fa68d093fdf9745a06beb28e29108cb2ba846122ce097ad892213b1edba25"
= 75
= 75
= "FILE"
strings:
$c1 = "readme_for_unlock.txt" wide
$c2 = "vssadmin.exe delete shadows /all /quiet" wide
$c3 = "START /b \"\" cmd /c wmic /node:" wide
$c4 = "START /b \"\" cmd /c DEL \"" wide
$c5 = "process call create cmd /c START" wide
$c6 = "net config server /autodisconnect:" wide
$c7 = "/NOBREAK>NUL) ELSE (START /b \"\" cmd /c DEL \"%~f" ascii
$c8 = ":\\_ARC\\_WorkSolution\\cryptopp" ascii
$e1 = /\.crYpt([A-F]{0,1}(\d+)?)?/ fullword wide
$e2 = ".dnt___.crYpt" wide nocase
$s1 = "create_directory" fullword ascii
$s2 = "create_directories" fullword ascii
$s3 = "NoClose" fullword ascii
$s4 = "StartMenuLogOff" fullword ascii
$s5 = "NoLogOff" fullword ascii
$s6 = "DisableTaskMgr" fullword ascii
$s7 = "DisableChangePassword" fullword ascii
$s8 = "HideFastUserSwitching" fullword ascii
$s9 = "RemotePath" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( 5 of ( $c* ) or 7 of ( $s* ) or ( 3 of ( $c* ) and 4 of ( $s* ) ) or ( 1 of ( $e* ) and ( 1 of ( $c* ) and 1 of ( $s* ) ) ) or ( all of ( $e* ) and ( 1 of ( $c* ) or 1 of ( $s* ) ) ) )
}
Strings (19 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $c1 | text | "readme_for_unlock.txt" | wide |
| $c2 | text | "vssadmin.exe delete shadows /all /quiet" | wide |
| $c3 | text | "START /b \"\" cmd /c wmic /node:" | wide |
| $c4 | text | "START /b \"\" cmd /c DEL \"" | wide |
| $c5 | text | "process call create cmd /c START" | wide |
| $c6 | text | "net config server /autodisconnect:" | wide |
| $c7 | text | "/NOBREAK>NUL) ELSE (START /b \"\" cmd /c DEL \"%~f" | ascii |
| $c8 | text | ":\\_ARC\\_WorkSolution\\cryptopp" | ascii |
| $e1 | regex | /\.crYpt([A-F]{0,1}(\d+)?)?/ | fullword wide |
| $e2 | text | ".dnt___.crYpt" | wide nocase |
| $s1 | text | "create_directory" | fullword ascii |
| $s2 | text | "create_directories" | fullword ascii |
| $s3 | text | "NoClose" | fullword ascii |
| $s4 | text | "StartMenuLogOff" | fullword ascii |
| $s5 | text | "NoLogOff" | fullword ascii |
| $s6 | text | "DisableTaskMgr" | fullword ascii |
| $s7 | text | "DisableChangePassword" | fullword ascii |
| $s8 | text | "HideFastUserSwitching" | fullword ascii |
| $s9 | text | "RemotePath" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and ( 5 of ( $c* ) or 7 of ( $s* ) or ( 3 of ( $c* ) and 4 of ( $s* ) ) or ( 1 of ( $e* ) and ( 1 of ( $c* ) and 1 of ( $s* ) ) ) or ( all of ( $e* ) and ( 1 of ( $c* ) or 1 of ( $s* ) ) ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in ( $e* ) must match.
- At least 5 patterns in ( $c* ) must match.
- At least 7 patterns in ( $s* ) must match.
- At least 3 patterns in ( $c* ) must match.
- At least 4 patterns in ( $s* ) must match.
- At least 1 patterns in ( $e* ) must match.
- At least 1 patterns in ( $c* ) must match.
- At least 1 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: a53bbae6-a321-549d-9d45-e1a408d08740
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