YARA · SEKOIA.IO Community
SEKOIA_Backdoor_Blueshell
Detects BlueShell backdoor
- Author
- Sekoia.io
- Date
- 2023-09-08
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects BlueShell backdoor
It defines 9 patterns (9 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
backdoor-blueshell.yarDetection Rule License 1.1
rule SEKOIA_Backdoor_Blueshell : FILE
{
meta:
= "Detects BlueShell backdoor"
= "Sekoia.io"
= "8f1cd966-c4d8-44f9-8cd5-4f5277332546"
= "2023-09-08"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/backdoor_blueshell.yar#L1-L23"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "348ae383f2aaef544951641dd7e2879afa23e37bdf429c6255254115bd3e10d5"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "BlueShell" ascii
$s2 = "client.go" ascii
$s3 = "server ip" ascii
$s4 = "server port" ascii
$s5 = "reconnect wait time" ascii
$s6 = "shell" ascii
$s7 = "socks" ascii
$s8 = "socks5" ascii
$s9 = "GetInteractiveShell" ascii
condition:
filesize < 11MB and all of them
}
Strings (9 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "BlueShell" | ascii |
| $s2 | text | "client.go" | ascii |
| $s3 | text | "server ip" | ascii |
| $s4 | text | "server port" | ascii |
| $s5 | text | "reconnect wait time" | ascii |
| $s6 | text | "shell" | ascii |
| $s7 | text | "socks" | ascii |
| $s8 | text | "socks5" | ascii |
| $s9 | text | "GetInteractiveShell" | ascii |
Condition
filesize < 11MB and all of themIn plain words (Heuristic)
- The file must be smaller than 11MB (a cheap guard that skips large files).
- 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: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 8f1cd966-c4d8-44f9-8cd5-4f5277332546
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20