YARA · SEKOIA.IO Community
SEKOIA_Rat_Lin_Gobrat_2023
This rule detect samples that are downloaded on the GobRAT C2 URL path /a, /b and /c.
- Author
- Sekoia.io
- Date
- 2023-06-09
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
This rule detect samples that are downloaded on the GobRAT C2 URL path /a, /b and /c.
Associated malware family: Gobrat.
Targets: Linux ELF.
It defines 1 patterns (1 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SEKOIA_Rat_Lin_Gobrat_2023 : FILE
{
meta:
= "This rule detect samples that are downloaded on the GobRAT C2 URL path /a, /b and /c."
= "Sekoia.io"
= "ca36a586-f87f-445f-95dc-52d447c1d2a2"
= "2023-06-09"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rat_lin_gobrat_2023.yar#L1-L20"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "36cb17d9d118bd9692106c8aafab2462aacf1cdad3a6afb0e4f1de898a7db0e1"
= "28a714f7cec4445dbd507b85016c8e96ed5e378bcabe2e422c499975122b3f03"
= "1e80a084ab89da2375bc3cc2f5a37975edff709ef29a3fa2b4df4ccb6d5afe10"
= "b9831cefded9e48ef169aa56c18628a9871760ae613f75b232019b4798944e16"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "Z:/Go/awesomeProject3/main.go" wide ascii
condition:
uint32( 0 ) == 0x464c457f and filesize < 4000KB and $s1
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "Z:/Go/awesomeProject3/main.go" | wide ascii |
Condition
uint32( 0 ) == 0x464c457f and filesize < 4000KB and $s1In plain words (Heuristic)
- The file must start with the ELF header — a Linux/Unix executable.
- The file must be smaller than 4000KB (a cheap guard that skips large files).
- Pattern $s1 must be present.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 36cb17d9d118bd9692106c8aafab2462aacf1cdad3a6afb0e4f1de898a7db0e1
- 28a714f7cec4445dbd507b85016c8e96ed5e378bcabe2e422c499975122b3f03
- 1e80a084ab89da2375bc3cc2f5a37975edff709ef29a3fa2b4df4ccb6d5afe10
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: ca36a586-f87f-445f-95dc-52d447c1d2a2
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- 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