YARA · ESET malware-ioc
ESET_Mozi_Killswitch
Mozi botnet kill switch
- Author
- Ivan Besina
- Date
- 2023-09-29
- Modified
- 2023-10-31
- Score / Quality
- 75 / 80
What this rule detects
Mozi botnet kill switch
It defines 4 patterns (4 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
mozi-killswitch.yarBSD 2-Clause License
rule ESET_Mozi_Killswitch : FILE
{
meta:
= "Mozi botnet kill switch"
= "Ivan Besina"
= "e3d34ae0-de06-5ff4-b44b-44d264b6dd29"
= "2023-09-29"
= "2023-10-31"
= "https://github.com/eset/malware-ioc/"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/mozi/mozi.yar#L32-L51"
= "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
= "90eaed2f7f5595b145b2678a46ef6179082192215369fa9235024b0ce1574a49"
= 75
= 80
= "FILE"
= "BSD 2-Clause"
= "1"
strings:
$iptables1 = "iptables -I INPUT -p tcp --destination-port 7547 -j DROP"
$iptables2 = "iptables -I OUTPUT -p tcp --sport 30005 -j DROP"
$haha = "/haha"
$networks = "/usr/networks"
condition:
all of them and filesize < 500KB
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $iptables1 | text | "iptables -I INPUT -p tcp --destination-port 7547 -j DROP" | |
| $iptables2 | text | "iptables -I OUTPUT -p tcp --sport 30005 -j DROP" | |
| $haha | text | "/haha" | |
| $networks | text | "/usr/networks" |
Condition
all of them and filesize < 500KBIn plain words (Heuristic)
- The file must be smaller than 500KB (a cheap guard that skips large files).
- All 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: Ivan Besina
Source repository: ESET malware-ioc @ 17baf44964
Licence: BSD 2-Clause License (stated in the rule's own meta)
“BSD 2-Clause”
Copyright notice: Copyright (c) 2014-2018 ESET spol. s r.o.
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: e3d34ae0-de06-5ff4-b44b-44d264b6dd29
Metadata
| version | 1 |
|---|
Tags:FILE