Concrete signature match: Trojan - Appears legitimate but performs malicious actions for Linux platform, family Mirai
Trojan:Linux/Mirai.X!MTB is a concrete detection of a Mirai botnet variant specifically targeting Linux-based IoT devices. This malware compromises vulnerable systems, enlists them into a botnet, and leverages them to launch distributed denial-of-service (DDoS) attacks.
No specific strings found for this threat
rule Trojan_Linux_Mirai_X_2147906333_0
{
meta:
author = "threatcheck.sh"
detection_name = "Trojan:Linux/Mirai.X!MTB"
threat_id = "2147906333"
type = "Trojan"
platform = "Linux: Linux platform"
family = "Mirai"
severity = "Critical"
info = "MTB: Microsoft Threat Behavior"
signature_type = "SIGNATURE_TYPE_ELFHSTR_EXT"
threshold = "6"
strings_accuracy = "High"
strings:
$x_5_1 = "-r /vi/mips.bushido" ascii //weight: 5
$x_5_2 = "/bin/busybox chmod 777 * /tmp/" ascii //weight: 5
$x_1_3 = "POST /ctrlt/DeviceUpgrade_1 HTTP/1.1" ascii //weight: 1
$x_1_4 = "loadURL>$(echo HUAWEIUPNP)</NewDownloadURL></u:Upgrade></s:Body></s:Envelope>" ascii //weight: 1
$x_1_5 = "POST /cdn-cgi/" ascii //weight: 1
condition:
(filesize < 20MB) and
(
((1 of ($x_5_*) and 1 of ($x_1_*))) or
((2 of ($x_5_*))) or
(all of ($x*))
)
}7a6ee78590313d7bb4d4a874cf76c71634e49939abfacbd34faba205b74e4063bda8da9591a4cddac8c94a60a84c012f7686855b8444465ec9b43a1b5b17eac1974dfaab25bc4d94c689627e71183c128e6480f7cf1de13da329d4286a459dd96e6a2aa1f7858271d1926469a933bee846f5abf1da1661fc86d6954e885020a5Immediately isolate the infected Linux device. Update all device firmware and apply security patches, change default and weak credentials, disable unnecessary services, and implement network segmentation for IoT devices. Continuously monitor network traffic for suspicious activity.