YARA · SEKOIA.IO Community
SEKOIA_Malware_Httpshell_Strings
Detects HTTPShell based on URL patterns
- Author
- Sekoia.io
- Date
- 2024-01-08
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects HTTPShell based on URL patterns
It defines 6 patterns (6 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-httpshell-strings.yarDetection Rule License 1.1
rule SEKOIA_Malware_Httpshell_Strings : FILE
{
meta:
= "Detects HTTPShell based on URL patterns"
= "Sekoia.io"
= "58f25666-5dc2-4f4f-9fac-fc05d1e66945"
= "2024-01-08"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/malware_httpshell_strings.yar#L1-L20"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "8f6f6ad459cc6edd80432528a507ca2cb84e6859be94f2e1caaea801bf809375"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "/api/v1/Client/Info" wide ascii
$ = "/api/v1/Client/Download" wide ascii
$ = "/api/v1/Client/Upload" wide ascii
$ = "/api/v1/Client/Info" base64 base64wide
$ = "/api/v1/Client/Download" base64 base64wide
$ = "/api/v1/Client/Upload" base64 base64wide
condition:
3 of them and filesize < 5MB
}
Strings (6 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | "/api/v1/Client/Info" | wide ascii |
| $ | text | "/api/v1/Client/Download" | wide ascii |
| $ | text | "/api/v1/Client/Upload" | wide ascii |
| $ | text | "/api/v1/Client/Info" | base64 base64wide |
| $ | text | "/api/v1/Client/Download" | base64 base64wide |
| $ | text | "/api/v1/Client/Upload" | base64 base64wide |
Condition
3 of them and filesize < 5MBIn plain words (Heuristic)
- The file must be smaller than 5MB (a cheap guard that skips large files).
- At least 3 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: 58f25666-5dc2-4f4f-9fac-fc05d1e66945
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