YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Bluebot
Detects BlueBot
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects BlueBot
Associated malware family: Bluebot.
Targets: Windows PE.
It defines 20 patterns (19 text, 0 hex, 1 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-bluebot.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Bluebot : FILE
{
meta:
= "Detects BlueBot"
= "ditekSHen"
= "cddd40bb-c3c6-5c44-9cb1-480571375be8"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7306-L7333"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "04a19f649eb2fff7a5bc59ccead80cd0a04c4e5418cbc83e850045dba75b03e0"
= 75
= 75
= "FILE"
strings:
$x1 = "Blue_Botnet" wide
$x2 = "5-START-http" ascii
$x3 = "*300-END-" ascii
$x4 = "botlogger.php" wide
$s1 = "//TARGET//" wide
$s2 = "//BLOG//" wide
$s3 = "MCBOTALPHA" wide
$s4 = "//IPLIST//" wide
$s5 = "Host: //BLOG//" wide
$s6 = "User-Agent: //USERAGENT//" wide
$s7 = "<string>//TARGET//</string>" wide
$s8 = "POST //URL// HTTP/1.1/r/n" wide
$v1 = "<attack>b__" ascii
$v2 = "PressData" fullword ascii
$v3 = "POSTPiece" fullword ascii
$v4 = /(load|tcp|udp)Stuff/ fullword ascii
$v5 = "isAttacking" fullword ascii
$v6 = "DoSAttack" fullword ascii
$v7 = "prv_attack" fullword ascii
$v8 = "blogList" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 5 of ( $s* ) or 5 of ( $v* ) or 9 of them )
}
Strings (20 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "Blue_Botnet" | wide |
| $x2 | text | "5-START-http" | ascii |
| $x3 | text | "*300-END-" | ascii |
| $x4 | text | "botlogger.php" | wide |
| $s1 | text | "//TARGET//" | wide |
| $s2 | text | "//BLOG//" | wide |
| $s3 | text | "MCBOTALPHA" | wide |
| $s4 | text | "//IPLIST//" | wide |
| $s5 | text | "Host: //BLOG//" | wide |
| $s6 | text | "User-Agent: //USERAGENT//" | wide |
| $s7 | text | "<string>//TARGET//</string>" | wide |
| $s8 | text | "POST //URL// HTTP/1.1/r/n" | wide |
| $v1 | text | "<attack>b__" | ascii |
| $v2 | text | "PressData" | fullword ascii |
| $v3 | text | "POSTPiece" | fullword ascii |
| $v4 | regex | /(load|tcp|udp)Stuff/ | fullword ascii |
| $v5 | text | "isAttacking" | fullword ascii |
| $v6 | text | "DoSAttack" | fullword ascii |
| $v7 | text | "prv_attack" | fullword ascii |
| $v8 | text | "blogList" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 5 of ( $s* ) or 5 of ( $v* ) or 9 of them )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 2 patterns in ( $x* ) must match.
- At least 5 patterns in ( $s* ) must match.
- At least 5 patterns in ( $v* ) must match.
- At least 9 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: ditekSHen
Source repository: ditekSHen detection @ e76c93dcde
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: cddd40bb-c3c6-5c44-9cb1-480571375be8
Tags:FILE
Related rules
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06