YARA · SEKOIA.IO Community
SEKOIA_Implant_Mul_Alchimist
Detect the Alchimist implant based on strings
- Author
- Sekoia.io
- Date
- 2022-10-18
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detect the Alchimist implant based on strings
Targets: Windows PE, Linux ELF.
It defines 7 patterns (7 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
implant-mul-alchimist.yarDetection Rule License 1.1
rule SEKOIA_Implant_Mul_Alchimist : FILE
{
meta:
= "Detect the Alchimist implant based on strings"
= "Sekoia.io"
= "66330cc6-a7da-4717-9977-0cede48f46f5"
= "2022-10-18"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/implant_mul_alchimist.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "d4a5338c502b145a1d7ad9f35779e24d66ee2d11bf760d498aab39e2c62fbeb4"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "POST /users/loginpage.html HTTP/1.1" ascii
$str02 = "pm3/apps/Insekt/main.go" ascii
$str03 = "generate new insekt err" ascii
$str04 = "[SHELLCODE][filesize]:[scan]" ascii
$str05 = "\\Device\\NamedPipe\\cygwinbad" ascii
$str06 = "pm3/utils.GetTmpDir" ascii
$str07 = "os/exec.Command" ascii
condition:
( uint16( 0 ) == 0x5A4D or uint32( 0 ) == 0x464C457F ) and 5 of them
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "POST /users/loginpage.html HTTP/1.1" | ascii |
| $str02 | text | "pm3/apps/Insekt/main.go" | ascii |
| $str03 | text | "generate new insekt err" | ascii |
| $str04 | text | "[SHELLCODE][filesize]:[scan]" | ascii |
| $str05 | text | "\\Device\\NamedPipe\\cygwinbad" | ascii |
| $str06 | text | "pm3/utils.GetTmpDir" | ascii |
| $str07 | text | "os/exec.Command" | ascii |
Condition
( uint16( 0 ) == 0x5A4D or uint32( 0 ) == 0x464C457F ) and 5 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must start with the ELF header — a Linux/Unix executable.
- At least 5 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: 66330cc6-a7da-4717-9977-0cede48f46f5
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