YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_ARM_LNX_Mirai_Mar13_2022
Detects new ARM Mirai variant
- Author
- Mehmet Ali Kerimoglu a.k.a. CYB3RMX
- Date
- 2022-03-16
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects new ARM Mirai variant
Associated malware family: Mirai.
It defines 12 patterns (12 text, 0 hex, 0 regex).
YARA-X says: warning[duplicate_pattern_value]: duplicate pattern value
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_MAL_ARM_LNX_Mirai_Mar13_2022 : FILE
{
meta:
= "Detects new ARM Mirai variant"
= "Mehmet Ali Kerimoglu a.k.a. CYB3RMX"
= "54d8860e-fc45-5571-b68c-66590c67a705"
= "2022-03-16"
= "2023-12-05"
= "https://github.com/Neo23x0/signature-base"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_mirai.yar#L159-L181"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "0283b72913b8a78b2a594b2d40ebc3c873e4823299833a1ff6854421378f5a68"
= "a44a6174a198a658c8a5e2da50192da20bae7f8ed4e4f212c9eebb29fa4b0dd0"
= 75
= 85
= "FILE"
strings:
$str1 = "/home/landley/aboriginal/aboriginal/build/temp-armv6l/gcc-core/gcc/config/arm/lib1funcs.asm"
$str2 = "/home/landley/aboriginal/aboriginal/build/temp-armv6l/gcc-core/gcc/config/arm/lib1funcs.asm"
$str3 = "/home/landley/aboriginal/aboriginal/build/temp-armv6l/gcc-core/gcc/config/arm"
$str4 = "/home/landley/aboriginal/aboriginal/build/simple-cross-compiler-armv6l/bin/../cc/include"
$attck1 = "attack.c"
$attck2 = "attacks.c"
$attck3 = "anti_gdb_entry"
$attck4 = "resolve_cnc_addr"
$attck5 = "attack_gre_eth"
$attck6 = "attack_udp_generic"
$attck7 = "attack_get_opt_ip"
$attck8 = "attack_icmpecho"
condition:
uint16( 0 ) == 0x457f and ( 3 of ( $str* ) or 4 of ( $attck* ) )
}
Strings (12 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str1 | text | "/home/landley/aboriginal/aboriginal/build/temp-armv6l/gcc-core/gcc/config/arm/lib1funcs.asm" | |
| $str2 | text | "/home/landley/aboriginal/aboriginal/build/temp-armv6l/gcc-core/gcc/config/arm/lib1funcs.asm" | |
| $str3 | text | "/home/landley/aboriginal/aboriginal/build/temp-armv6l/gcc-core/gcc/config/arm" | |
| $str4 | text | "/home/landley/aboriginal/aboriginal/build/simple-cross-compiler-armv6l/bin/../cc/include" | |
| $attck1 | text | "attack.c" | |
| $attck2 | text | "attacks.c" | |
| $attck3 | text | "anti_gdb_entry" | |
| $attck4 | text | "resolve_cnc_addr" | |
| $attck5 | text | "attack_gre_eth" | |
| $attck6 | text | "attack_udp_generic" | |
| $attck7 | text | "attack_get_opt_ip" | |
| $attck8 | text | "attack_icmpecho" |
Condition
uint16( 0 ) == 0x457f and ( 3 of ( $str* ) or 4 of ( $attck* ) )In plain words (Heuristic)
- At least 3 patterns in ( $str* ) must match.
- At least 4 patterns in ( $attck* ) 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 0283b72913b8a78b2a594b2d40ebc3c873e4823299833a1ff6854421378f5a68
Licence & attribution
Author: Mehmet Ali Kerimoglu a.k.a. CYB3RMX
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: 54d8860e-fc45-5571-b68c-66590c67a705
Tags:FILE
Related rules
- MalwareCostin Raiu yararules· Costin G. Raiu, Art of Noh, craiu@noh.ro· 2024-01-11
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04