YARA · SEKOIA.IO Community
SEKOIA_Apt_Luckymouse_Compromised_Electronapp
Detects compromised ElectronApp
- Author
- Sekoia.io
- Date
- 2022-08-05
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects compromised ElectronApp
It defines 1 patterns (1 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-luckymouse-compromised-electronapp.yarDetection Rule License 1.1
rule SEKOIA_Apt_Luckymouse_Compromised_Electronapp : FILE
{
meta:
= "Detects compromised ElectronApp"
= "Sekoia.io"
= "7702217d-771f-47af-8eaa-d5acf1e14f4d"
= "2022-08-05"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_luckymouse_compromised_electronapp.yar#L1-L15"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "939546b75d5f7161bb8eb1fd838a9a7c0c88cb58a0f01f67e687523e5b31b0aa"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s = "module.exports=function(t){eval(function(p,a,c,k,e,r)"
condition:
$s at 0 and filesize < 100KB
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s | text | "module.exports=function(t){eval(function(p,a,c,k,e,r)" |
Condition
$s at 0 and filesize < 100KBIn plain words (Heuristic)
- The file must be smaller than 100KB (a cheap guard that skips large files).
- Pattern $s must be found at offset 0.
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: 7702217d-771f-47af-8eaa-d5acf1e14f4d
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-03-06