YARA · BlackBerry Research & Intelligence (via Open-Source-YARA-rules)
BLACKBERRY_Boratrat
Detects BoratRAT.exe
- Author
- BlackBerry Threat Research Team
- Date
- 2022-04-13
- Modified
- 2022-07-07
- Score / Quality
- 75 / 85
What this rule detects
Detects BoratRAT.exe
Targets: Windows PE.
It defines 10 patterns (10 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule BLACKBERRY_Boratrat : FILE
{
meta:
= "Detects BoratRAT.exe"
= "BlackBerry Threat Research Team"
= "d3c73c3b-885a-5fc2-a1bd-a05cadf1512f"
= "2022-04-13"
= "2022-07-07"
= "https://blogs.blackberry.com/en/2022/04/threat-thursday-boratrat"
= "https://github.com/mikesxrs/Open-Source-YARA-rules/blob/ec0056f767db98bf6d5fd63877ad51fb54d350e9/Blackberry/BoratRAT.yar#L1-L41"
= "N/A"
= "3141300495288a96b48cfea491683042d172143295135ff82c058200c8d5108d"
= 75
= 85
= "FILE"
= "This Yara rule is provided under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0) and open to any user or organization, as long as you use it under this license and ensure originator credit in any derivative to The BlackBerry Research & Intelligence Team"
strings:
$s1 = "enigma1"
$s2 = "enigma2"
$s3 = "Server.Forms.FormFileManager.resources"
$s4 = "Server.Forms.FormFileSearcher.resources"
$s5 = "Server.Forms.FormKeylogger.resources"
$s6 = "Server.Forms.FormNetstat.resources"
$s7 = "Server.Forms.FormFun.resources"
$s8 = "Server.Forms.FormWebcam.resources"
$s9 = "BoratRat"
$s10 = "Keylogger.exe"
condition:
uint16( 0 ) == 0x5a4d and all of them
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "enigma1" | |
| $s2 | text | "enigma2" | |
| $s3 | text | "Server.Forms.FormFileManager.resources" | |
| $s4 | text | "Server.Forms.FormFileSearcher.resources" | |
| $s5 | text | "Server.Forms.FormKeylogger.resources" | |
| $s6 | text | "Server.Forms.FormNetstat.resources" | |
| $s7 | text | "Server.Forms.FormFun.resources" | |
| $s8 | text | "Server.Forms.FormWebcam.resources" | |
| $s9 | text | "BoratRat" | |
| $s10 | text | "Keylogger.exe" |
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.
Licence & attribution
Author: BlackBerry Threat Research Team
Source repository: BlackBerry Research & Intelligence (via Open-Source-YARA-rules) @ ec0056f767
Licence: Apache License 2.0 (stated in the rule's own meta)
“This Yara rule is provided under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0) and open to any user or organization, as long as you use it under this license and ensure originator credit in any derivative to The BlackBerry Research & Intelligence Team”
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: d3c73c3b-885a-5fc2-a1bd-a05cadf1512f
Tags:FILE
Related rules
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-04-06
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-06-14
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-06-14
- GenericBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-05-22
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-05-22
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-05-22
- GenericBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-05-22
- GenericBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-06-03