YARA · Trellix Advanced Research Center
TRELLIX_ARC_Ransom_Conti
Conti ransomware is havnig capability too scan and encrypt oover the network
- Author
- McAfee ATR team
- Date
- 2020-07-09
- Modified
- 2020-10-12
- Score / Quality
- 75 / 70
What this rule detects
Conti ransomware is havnig capability too scan and encrypt oover the network
Associated malware family: Conti.
Targets: Windows PE.
It defines 6 patterns (3 text, 3 hex, 0 regex). YARA modules used: pe.
YARA-X says: warning[deprecated_field]: field `number_of_sections` is deprecated
Summary generated from the rule's metadata and condition.
Rule source
Includes the imports needed to compile it on its own.
import "pe"
rule TRELLIX_ARC_Ransom_Conti : RANSOMWARE FILE
{
meta:
= "Conti ransomware is havnig capability too scan and encrypt oover the network"
= "McAfee ATR team"
= "8fc6943d-fb99-5957-929b-4c264d9fba2d"
= "2020-07-09"
= "2020-10-12"
= "https://www.carbonblack.com/blog/tau-threat-discovery-conti-ransomware/"
= "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/Ransom_Conti.yar#L3-L37"
= "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE"
= "eae876886f19ba384f55778634a35a1d975414e83f22f6111e3e792f706301fe"
= "953471c130309bbc712197d49d2072bd45838f49d2b25f86273a15c6baa87354"
= 75
= 70
= "RANSOMWARE, FILE"
= "v1"
= "ransomware"
= "Ransom:W32/Conti"
= "Cybercrime"
= "Unknown"
strings:
$string1 = "HOW_TO_DECRYPTP" fullword ascii
$string2 = "The system is LOCKED." fullword ascii
$string3 = "The network is LOCKED." fullword ascii
$code1 = { ff b4 b5 48 ff ff ff 53 ff 15 bc b0 41 00 85 c0 }
$code2 = { 6a 02 6a 00 6a ff 68 ec fd ff ff ff 76 0c ff 15 }
$code3 = { 56 8d 85 38 ff ff ff 50 ff d7 85 c0 0f 84 f2 01 }
condition:
uint16( 0 ) == 0x5a4d and filesize < 300KB and pe.number_of_sections == 5 and ( pe.imphash ( ) == "30fe3f044289487cddc09bfb16ee1fde" or ( all of them and all of ( $code* ) ) )
}
Strings (6 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $string1 | text | "HOW_TO_DECRYPTP" | fullword ascii |
| $string2 | text | "The system is LOCKED." | fullword ascii |
| $string3 | text | "The network is LOCKED." | fullword ascii |
| $code1 | hex | { ff b4 b5 48 ff ff ff 53 ff 15 bc b0 41 00 85 c0 } | |
| $code2 | hex | { 6a 02 6a 00 6a ff 68 ec fd ff ff ff 76 0c ff 15 } | |
| $code3 | hex | { 56 8d 85 38 ff ff ff 50 ff d7 85 c0 0f 84 f2 01 } |
Condition
uint16( 0 ) == 0x5a4d and filesize < 300KB and pe.number_of_sections == 5 and ( pe.imphash ( ) == "30fe3f044289487cddc09bfb16ee1fde" or ( all of them and all of ( $code* ) ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 300KB (a cheap guard that skips large files).
- All patterns in the rule must match.
- All patterns in ( $code* ) must match.
- Uses the pe module.
- Checks the PE import hash (imphash).
- Checks PE sections (names, count or properties).
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).
- eae876886f19ba384f55778634a35a1d975414e83f22f6111e3e792f706301fe
Licence & attribution
Author: McAfee ATR team
Source repository: Trellix Advanced Research Center @ 1919562a59
Licence: Apache License 2.0 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 8fc6943d-fb99-5957-929b-4c264d9fba2d
Metadata
| rule_version | v1 |
|---|---|
| malware_type | ransomware |
| malware_family | Ransom:W32/Conti |
| actor_type | Cybercrime |
| actor_group | Unknown |
Tags:RANSOMWAREFILE
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· James Quinn, Binary Defense· 2021-03-17
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2020-10-19
- ARKBIRD_SOLG_RAN_Conti_Dec_2021_1Metadata onlyMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-12-16
- ARKBIRD_SOLG_RAN_Conti_May_2021_2Metadata onlyMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-05-20
- MalwareTrellix Advanced Research Center· McAfee ATR team· 2026-09-01
- MalwareTrellix Advanced Research Center· McAfee ATR team· 2020-06-14
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2026-09-01