yara/rules/Windows_Ransomware_Maze.yar (91 lines of code) (raw):
rule Windows_Ransomware_Maze_61254061 : beta {
meta:
author = "Elastic Security"
id = "61254061-e8af-47ab-9cce-96debd99a80a"
fingerprint = "670d9abbdea153ca66f24ef6806f97e9af3efb73f621167e95606da285627d1b"
creation_date = "2020-04-18"
last_modified = "2021-08-23"
description = "Identifies MAZE ransomware"
threat_name = "Windows.Ransomware.Maze"
reference = "https://www.bleepingcomputer.com/news/security/it-services-giant-cognizant-suffers-maze-ransomware-cyber-attack/"
severity = 100
arch_context = "x86"
scan_context = "file, memory"
license = "Elastic License v2"
os = "windows"
strings:
$c1 = { FC 8B 55 08 8B 44 8A 10 C1 E0 09 8B 4D FC 8B 55 08 8B 4C 8A 10 C1 }
$c2 = { 72 F0 0C 66 0F 72 D4 14 66 0F EB C4 66 0F 70 E0 39 66 0F FE E6 66 0F 70 }
condition:
1 of ($c*)
}
rule Windows_Ransomware_Maze_46f40c40 : beta {
meta:
author = "Elastic Security"
id = "46f40c40-05a4-4163-a62d-675882149781"
fingerprint = "efe1e0d23fbfd72fd2843a9c8d5e62394ef8c75b9a7bd03fdbb36e2cf97bf12e"
creation_date = "2020-04-18"
last_modified = "2021-10-04"
description = "Identifies MAZE ransomware"
threat_name = "Windows.Ransomware.Maze"
reference = "https://www.bleepingcomputer.com/news/security/it-services-giant-cognizant-suffers-maze-ransomware-cyber-attack/"
severity = 100
arch_context = "x86"
scan_context = "file, memory"
license = "Elastic License v2"
os = "windows"
strings:
$b1 = "Dear %s, your files have been encrypted by RSA-2048 and ChaCha algorithms" wide fullword
$b2 = "Maze Ransomware" wide fullword
$b3 = "%s! Alert! %s! Alert! Dear %s Your files have been encrypted by %s! Attention! %s" wide fullword
condition:
2 of ($b*)
}
rule Windows_Ransomware_Maze_20caee5b : beta {
meta:
author = "Elastic Security"
id = "20caee5b-cf7f-4db7-8c3b-67baf63bfc32"
fingerprint = "47525839e0800f6edec6ad4580682a336e36f7d13bd9e7214eca0f16941016b8"
creation_date = "2020-04-18"
last_modified = "2021-08-23"
description = "Identifies MAZE ransomware"
threat_name = "Windows.Ransomware.Maze"
reference = "https://www.bleepingcomputer.com/news/security/it-services-giant-cognizant-suffers-maze-ransomware-cyber-attack/"
severity = 100
arch_context = "x86"
scan_context = "file, memory"
license = "Elastic License v2"
os = "windows"
strings:
$a1 = "Win32_ShadowCopy.id='%s'" wide fullword
$a2 = "\"%s\" shadowcopy delete" wide fullword
$a3 = "%spagefile.sys" wide fullword
$a4 = "%sswapfile.sys" wide fullword
$a5 = "Global\\%s" wide fullword
$a6 = "DECRYPT-FILES.txt" wide fullword
$a7 = "process call create \"cmd /c start %s\"" wide fullword
condition:
4 of ($a*)
}
rule Windows_Ransomware_Maze_f88f136f : beta {
meta:
author = "Elastic Security"
id = "f88f136f-755c-46d6-9dbe-243342ae315a"
fingerprint = "3fa065d28d864868e49b394e895207c8be2252a9e211ac4bacce10d9ff04607e"
creation_date = "2020-04-18"
last_modified = "2021-08-23"
description = "Identifies MAZE ransomware"
threat_name = "Windows.Ransomware.Maze"
reference = "https://www.bleepingcomputer.com/news/security/it-services-giant-cognizant-suffers-maze-ransomware-cyber-attack/"
severity = 100
arch_context = "x86"
scan_context = "file, memory"
license = "Elastic License v2"
os = "windows"
strings:
$d1 = { 00 67 00 20 00 69 00 6E 00 73 00 74 00 72 00 75 00 63 00 74 00 69 00 6F 00 6E 00 73 00 20 00 69 00 6E 00 20 00 44 00 45 00 43 00 52 00 59 00 50 00 54 00 2D 00 46 00 49 00 4C 00 45 00 53 00 2E }
$d2 = { 70 C7 8B 75 6D 97 7E FC 19 2A 39 8C A4 AE AD 9C 62 05 B7 68 47 7D 02 F7 D3 0A DA 20 82 AE A8 E7 B2 26 E1 A0 5B 4E 17 09 A6 94 74 CA B6 0B 88 B0 5F 6E 11 E3 B0 EA 2F 40 D7 A2 AB 59 52 E0 F2 C2 19 24 14 95 01 7F CA }
$d3 = { 77 B3 50 3C B1 9B 5D D4 87 F5 17 DB E1 C7 42 D8 53 24 C2 E2 6A A8 9B 1E FB E5 48 EB 10 48 44 28 64 F8 B6 A1 41 44 D0 42 FA 85 6F 17 57 09 C4 66 93 D2 21 C5 19 71 3A A1 C5 68 2E 67 B1 02 DC D1 }
condition:
1 of ($d*)
}