YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_RANSOM_INC_Aug24
Detects INC ransomware and it's variants like Lynx
- Author
- X__Junior
- Date
- 2024-08-08
- Modified
- 2024-12-12
- Score / Quality
- 80 / 85
What this rule detects
Detects INC ransomware and it's variants like Lynx
Targets: Windows PE.
It defines 9 patterns (4 text, 5 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_MAL_RANSOM_INC_Aug24 : FILE
{
meta:
= "Detects INC ransomware and it's variants like Lynx"
= "X__Junior"
= "b776490b-f26a-55d9-bb26-ec3c617f070c"
= "2024-08-08"
= "2024-12-12"
= "https://twitter.com/rivitna2/status/1701739812733014313"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_inc_ransomware.yar#L1-L30"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "eaa0e773eb593b0046452f420b6db8a47178c09e6db0fa68f6a2d42c3f48e3bc"
= "1754c9973bac8260412e5ec34bf5156f5bb157aa797f95ff4fc905439b74357a"
= "335b92027c551d074015b830d137cf2fdee81d792cd7360f2499c83cc895fbbb"
= 80
= 85
= "FILE"
strings:
$s1 = "tarting full encryption in" wide
$s2 = "oad hidden drives" wide
$s3 = "ending note to printers" ascii
$s4 = "uccessfully delete shadow copies from %c:/" wide
$op1 = { 33 C9 03 C6 83 C0 02 0F 92 C1 F7 D9 0B C8 51 E8 }
$op2 = { 8B 44 24 [1-4] 6A 00 50 FF 35 ?? ?? ?? ?? 50 FF 15}
$op3 = { 57 50 8D 45 ?? C7 45 ?? 00 00 00 00 50 6A 00 6A 00 6A 02 6A 00 6A 02 C7 45 ?? 00 00 00 00 FF D6 FF 75 ?? E8 ?? ?? ?? ?? 83 C4 04 8B F8 8D 45 ?? 50 8D 45 ?? 50 FF 75 ?? 57 6A 02 6A 00 6A 02 FF D6 }
$op4 = { 6A FF 8D 4? ?? 5? 8D 4? ?? 5? 8D 4? ?? 5? 5? FF 15 ?? ?? ?? ?? 85 C0 }
$op5 = { 56 6A 00 68 01 00 10 00 FF 15 ?? ?? ?? ?? 8B F0 83 FE FF 74 ?? 6A 00 56 FF 15 ?? ?? ?? ?? 68 88 13 00 00 56 FF 15 ?? ?? ?? ?? 56 FF 15}
condition:
uint16( 0 ) == 0x5A4D and ( 3 of ( $s* ) or 3 of ( $op* ) or ( 2 of ( $s* ) and 2 of ( $op* ) ) )
}
Strings (9 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "tarting full encryption in" | wide |
| $s2 | text | "oad hidden drives" | wide |
| $s3 | text | "ending note to printers" | ascii |
| $s4 | text | "uccessfully delete shadow copies from %c:/" | wide |
| $op1 | hex | { 33 C9 03 C6 83 C0 02 0F 92 C1 F7 D9 0B C8 51 E8 } | |
| $op2 | hex | { 8B 44 24 [1-4] 6A 00 50 FF 35 ?? ?? ?? ?? 50 FF 15} | |
| $op3 | hex | { 57 50 8D 45 ?? C7 45 ?? 00 00 00 00 50 6A 00 6A 00 6A 02 6A 00 6A 02 C7 45 ?? 00 00 00 00 FF D6 FF 75 ?? E8 ?? ?? ?? ?? 83 C4 04 8B F8 8D 45 ?? 50 8D 45 ?? 50 … | |
| $op4 | hex | { 6A FF 8D 4? ?? 5? 8D 4? ?? 5? 8D 4? ?? 5? 5? FF 15 ?? ?? ?? ?? 85 C0 } | |
| $op5 | hex | { 56 6A 00 68 01 00 10 00 FF 15 ?? ?? ?? ?? 8B F0 83 FE FF 74 ?? 6A 00 56 FF 15 ?? ?? ?? ?? 68 88 13 00 00 56 FF 15 ?? ?? ?? ?? 56 FF 15} |
Condition
uint16( 0 ) == 0x5A4D and ( 3 of ( $s* ) or 3 of ( $op* ) or ( 2 of ( $s* ) and 2 of ( $op* ) ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 3 patterns in ( $s* ) must match.
- At least 3 patterns in ( $op* ) must match.
- At least 2 patterns in ( $s* ) must match.
- At least 2 patterns in ( $op* ) 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- eaa0e773eb593b0046452f420b6db8a47178c09e6db0fa68f6a2d42c3f48e3bc
- 1754c9973bac8260412e5ec34bf5156f5bb157aa797f95ff4fc905439b74357a
Licence & attribution
Author: X__Junior
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: b776490b-f26a-55d9-bb26-ec3c617f070c
Tags:FILE
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2026-02-02
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2026-02-02
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2026-02-02
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2026-02-02
- 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