YARA · SEKOIA.IO Community
SEKOIA_Loader_Win_Gcleaner
Detect the GCleaner loader using specific strings
- Author
- Sekoia.io
- Date
- 2022-10-11
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detect the GCleaner loader using specific strings
Associated malware family: Gcleaner.
Targets: Windows PE.
It defines 8 patterns (8 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
loader-win-gcleaner.yarDetection Rule License 1.1
rule SEKOIA_Loader_Win_Gcleaner : FILE
{
meta:
= "Detect the GCleaner loader using specific strings"
= "Sekoia.io"
= "0c085da3-ec77-4141-a927-bef1578a6dee"
= "2022-10-11"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_win_gcleaner.yar#L1-L22"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "f38aaab2911e4e901780bb6df2c58f02fa80d3e39fb56f60072285d0a929ba23"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "G-Cleaner can clean unneeded files, settings, and Registry entries" ascii
$str02 = "3. Click \"Run G-Cleaner\"" ascii
$str03 = "Garbage_Cleaner" ascii
$str04 = "GCleaner.Properties" ascii
$str05 = "SOFTWARE\\GCleaner\\Install" wide
$str06 = "SOFTWARE\\GCleaner\\Trial" wide
$str07 = "SOFTWARE\\GCleaner\\License" wide
$str08 = "G-Cleaner activation" wide
condition:
uint16( 0 ) == 0x5A4D and 6 of them
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "G-Cleaner can clean unneeded files, settings, and Registry entries" | ascii |
| $str02 | text | "3. Click \"Run G-Cleaner\"" | ascii |
| $str03 | text | "Garbage_Cleaner" | ascii |
| $str04 | text | "GCleaner.Properties" | ascii |
| $str05 | text | "SOFTWARE\\GCleaner\\Install" | wide |
| $str06 | text | "SOFTWARE\\GCleaner\\Trial" | wide |
| $str07 | text | "SOFTWARE\\GCleaner\\License" | wide |
| $str08 | text | "G-Cleaner activation" | wide |
Condition
uint16( 0 ) == 0x5A4D and 6 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 6 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: 0c085da3-ec77-4141-a927-bef1578a6dee
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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