YARA · CAPE Sandbox (CAPEv2)
CAPE_Nemty
Nemty Ransomware Payload
- Author
- kevoreilly
- Date
- 2020-04-03
- Score / Quality
- 75 / 70
What this rule detects
Nemty Ransomware Payload
Associated malware family: Nemty.
Targets: Windows PE.
It defines 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
nemty.yarGNU General Public License v3.0
rule CAPE_Nemty : FILE
{
meta:
= "Nemty Ransomware Payload"
= "kevoreilly"
= "3aa8e1d7-f9cb-5b04-923d-7bed15ab8c3f"
= "2020-04-03"
= "2020-04-03"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/Nemty.yar#L1-L13"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "a05974b561c67b4f1e0812639b74831edcf65686a06c0d380f0b45739e342419"
= 75
= 70
= "FILE"
= "Nemty Payload"
strings:
$tordir = "TorDir"
$decrypt = "DECRYPT.txt"
$nemty = "NEMTY"
condition:
uint16( 0 ) == 0x5A4D and all of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $tordir | text | "TorDir" | |
| $decrypt | text | "DECRYPT.txt" | |
| $nemty | text | "NEMTY" |
Condition
uint16( 0 ) == 0x5A4D and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in the rule 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: kevoreilly
Source repository: CAPE Sandbox (CAPEv2) @ 6b15e76f28
Licence: GNU General Public License v3.0 (repository licence)
Copyright notice: Cuckoo Sandbox is copyrighted by the Cuckoo Foundation.
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 3aa8e1d7-f9cb-5b04-923d-7bed15ab8c3f
Metadata
| cape_type | Nemty Payload |
|---|
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-02-23
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-04-06
- ARKBIRD_SOLG_RAN_Nemty_June_2021_1Metadata onlyMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-06-12
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2026-07-31
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-02-26