YARA · SEKOIA.IO Community
SEKOIA_Tool_Xiebroc2_Strings
Detects XiebroC2 based on strings
- Author
- Sekoia.io
- Date
- 2024-09-11
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects XiebroC2 based on strings
It defines 9 patterns (9 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
tool-xiebroc2-strings.yarDetection Rule License 1.1
rule SEKOIA_Tool_Xiebroc2_Strings
{
meta:
= "Detects XiebroC2 based on strings"
= "Sekoia.io"
= "8451878e-5371-440b-b8ac-f9e6f7643d3c"
= "2024-09-11"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_xiebroc2_strings.yar#L1-L40"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "84e665bcbf963a2cf67d879aa3422d79"
= "3558c376420724694ba244a2e2acd20c"
= "e29fb9cd825db51a7a2e519f188e61ba"
= "a3b31739ad5eed51277c8478a83160a3"
= "d6e2499ea7fe8f047da1a95dae16d2c3"
= "1616818b65bf49d985bb1816461a4a75"
= "2e72d3ef2492088a4623d77d5e419ab8"
= "351770f860507d652ec3644ed1988f7f"
= "58fa6ad96028753ba8b0b0ed8fa6dccb"
= "607b541525b27eeefbef1455397bff35"
= "c2a242612468814e2e951e4db3762059"
= "431e275f4e43ec4ef7c2cc8ba126e9d3"
= "ace54bd32c226a7b9a6d4d53791e4021"
= "f22c21ed7bba1ddfc42ffdc66da3a4dd"
= "9a5ff9e07ed04cb0e71102cf1aae380c"
= "d20e01a1af3f40a7a9646d7e7df1b42e"
= "5544b621c9772cd32c4db77a0e59515a"
= "f3be31e0f1ad8e8bce132d861de5068340653547d786378f9b8045382f40939f"
= 75
= 80
= ""
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "RemarkClientColor"
$s2 = "HandlePacket"
$s3 = "-hide"
$s4 = "Failed to send data:"
$s5 = "Pac_ket"
$s6 = "WANip"
$s7 = "%s %s && Kernel: %s"
$g1 = "go.buildid"
$g2 = "dep golang.org"
condition:
3 of ( $s* ) and any of ( $g* )
}
Strings (9 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "RemarkClientColor" | |
| $s2 | text | "HandlePacket" | |
| $s3 | text | "-hide" | |
| $s4 | text | "Failed to send data:" | |
| $s5 | text | "Pac_ket" | |
| $s6 | text | "WANip" | |
| $s7 | text | "%s %s && Kernel: %s" | |
| $g1 | text | "go.buildid" | |
| $g2 | text | "dep golang.org" |
Condition
3 of ( $s* ) and any of ( $g* )In plain words (Heuristic)
- At least one pattern in ( $g* ) must match.
- At least 3 patterns in ( $s* ) 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
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 84e665bcbf963a2cf67d879aa3422d79
- 3558c376420724694ba244a2e2acd20c
- e29fb9cd825db51a7a2e519f188e61ba
- a3b31739ad5eed51277c8478a83160a3
- d6e2499ea7fe8f047da1a95dae16d2c3
- 1616818b65bf49d985bb1816461a4a75
- 2e72d3ef2492088a4623d77d5e419ab8
- 351770f860507d652ec3644ed1988f7f
- 58fa6ad96028753ba8b0b0ed8fa6dccb
- 607b541525b27eeefbef1455397bff35
- c2a242612468814e2e951e4db3762059
- 431e275f4e43ec4ef7c2cc8ba126e9d3
- ace54bd32c226a7b9a6d4d53791e4021
- f22c21ed7bba1ddfc42ffdc66da3a4dd
- 9a5ff9e07ed04cb0e71102cf1aae380c
- d20e01a1af3f40a7a9646d7e7df1b42e
- 5544b621c9772cd32c4db77a0e59515a
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: 8451878e-5371-440b-b8ac-f9e6f7643d3c
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Related rules
- Hack toolSEKOIA.IO Community· Sekoia.io· 2024-09-06
- Hack toolSEKOIA.IO Community· Sekoia.io· 2024-02-29
- Hack toolSEKOIA.IO Community· Sekoia.io· 2023-12-05
- Hack toolSEKOIA.IO Community· Sekoia.io· 2023-11-15
- Hack toolSEKOIA.IO Community· Sekoia.io· 2023-08-23
- Hack toolSEKOIA.IO Community· Sekoia.io· 2022-02-08
- Hack toolSEKOIA.IO Community· Sekoia.io· 2022-07-22
- Hack toolSEKOIA.IO Community· Sekoia.io· 2022-09-09