Linux Analysis Report
xi.arm7.elf

Overview

General Information

Sample name: xi.arm7.elf
Analysis ID: 1542669
MD5: 4faf69f1d1778a554c514070119a9ad2
SHA1: 166beda0494432d0d4706044274721b14c405f10
SHA256: a2a8e7bbfa73d3ef11b8f18957fbd0810255b29d85b3f3684a5649eb8ea649a5
Tags: elfuser-abuse_ch
Infos:

Detection

Mirai, Moobot
Score: 100
Range: 0 - 100
Whitelisted: false

Signatures

Antivirus / Scanner detection for submitted sample
Detected Mirai
Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for submitted file
Suricata IDS alerts for network traffic
Yara detected Mirai
Yara detected Moobot
Connects to many ports of the same IP (likely port scanning)
Contains symbols with names commonly found in malware
Sample deletes itself
Detected TCP or UDP traffic on non-standard ports
Enumerates processes within the "proc" file system
Sample and/or dropped files contains symbols with suspicious names
Uses the "uname" system call to query kernel version information (possible evasion)
Yara signature match

Classification

Name Description Attribution Blogpost URLs Link
Mirai Mirai is one of the first significant botnets targeting exposed networking devices running Linux. Found in August 2016 by MalwareMustDie, its name means "future" in Japanese. Nowadays it targets a wide range of networked embedded devices such as IP cameras, home routers (many vendors involved), and other IoT devices. Since the source code was published on "Hack Forums" many variants of the Mirai family appeared, infecting mostly home networks all around the world. No Attribution https://malpedia.caad.fkie.fraunhofer.de/details/elf.mirai
Name Description Attribution Blogpost URLs Link
MooBot No Attribution https://malpedia.caad.fkie.fraunhofer.de/details/elf.moobot

AV Detection

barindex
Source: xi.arm7.elf Avira: detected
Source: xi.arm7.elf ReversingLabs: Detection: 50%

Networking

barindex
Source: Network traffic Suricata IDS: 2030491 - Severity 1 - ET MALWARE ELF/MooBot Mirai DDoS Variant CnC Checkin M2 (Group String Len 2+) : 192.168.2.13:33146 -> 103.135.101.188:10496
Source: Network traffic Suricata IDS: 2030489 - Severity 1 - ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response : 103.135.101.188:10496 -> 192.168.2.13:33146
Source: global traffic TCP traffic: 103.135.101.188 ports 0,1,4,6,9,10496
Source: global traffic TCP traffic: 192.168.2.13:33146 -> 103.135.101.188:10496
Source: global traffic DNS traffic detected: DNS query: js.liveya.org

System Summary

barindex
Source: xi.arm7.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5411.1.00007f25b0017000.00007f25b002b000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: xi.arm7.elf PID: 5411, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: ELF static info symbol of initial sample Name: attack.c
Source: ELF static info symbol of initial sample Name: attack_get_opt_int
Source: ELF static info symbol of initial sample Name: attack_get_opt_ip
Source: ELF static info symbol of initial sample Name: attack_init
Source: ELF static info symbol of initial sample Name: attack_kill_all
Source: ELF static info symbol of initial sample Name: attack_method_nudp
Source: ELF static info symbol of initial sample Name: attack_method_stdhex
Source: ELF static info symbol of initial sample Name: attack_method_tcp
Source: ELF static info symbol of initial sample Name: attack_ongoing
Source: ELF static info symbol of initial sample Name: attack_parse
Source: xi.arm7.elf ELF static info symbol of initial sample: __gnu_unwind_execute
Source: xi.arm7.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = a2c6beaec18ca876e8487c11bcc7a29279669588aacb7d3027d8d8df8f5bcead, id = 28a2fe0c-eed5-4c79-81e6-3b11b73a4ebd, last_modified = 2021-09-16
Source: 5411.1.00007f25b0017000.00007f25b002b000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = a2c6beaec18ca876e8487c11bcc7a29279669588aacb7d3027d8d8df8f5bcead, id = 28a2fe0c-eed5-4c79-81e6-3b11b73a4ebd, last_modified = 2021-09-16
Source: Process Memory Space: xi.arm7.elf PID: 5411, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = a2c6beaec18ca876e8487c11bcc7a29279669588aacb7d3027d8d8df8f5bcead, id = 28a2fe0c-eed5-4c79-81e6-3b11b73a4ebd, last_modified = 2021-09-16
Source: classification engine Classification label: mal100.troj.evad.linELF@0/0@1/0
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/230/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/110/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/231/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/111/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/232/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/3639/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/112/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/233/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/113/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/234/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/114/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/235/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/115/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/236/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/116/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/237/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/117/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/238/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/118/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/239/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/5258/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/119/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/914/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/10/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/917/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/11/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/5393/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/12/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/13/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/14/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/15/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/16/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/17/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/18/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/19/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/240/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/3095/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/120/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/241/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/5392/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/121/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/242/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/1/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/122/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/243/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/2/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/123/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/244/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/3/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/124/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/245/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/1588/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/125/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/4/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/246/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/126/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/5/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/247/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/127/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/6/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/248/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/128/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/7/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/249/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/129/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/8/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/800/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/9/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/1906/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/802/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/803/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/20/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/21/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/22/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/23/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/24/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/25/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/26/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/27/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/28/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/29/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/3420/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/1482/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/490/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/1480/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/250/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/371/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/130/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/251/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/131/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/252/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/132/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/253/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/254/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/1238/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/134/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/255/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/256/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/257/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/378/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/3413/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/258/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/259/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/1475/cmdline Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5415) File opened: /proc/3774/cmdline Jump to behavior

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/xi.arm7.elf (PID: 5411) File: /tmp/xi.arm7.elf Jump to behavior
Source: /tmp/xi.arm7.elf (PID: 5411) Queries kernel information via 'uname': Jump to behavior
Source: xi.arm7.elf, 5411.1.00007ffca3b75000.00007ffca3b96000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/xi.arm7.elfSUDO_USER=saturninoPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/binDISPLAY=:1.0XAUTHORITY=/run/user/1000/gdm/XauthoritySUDO_UID=1000TERM=xterm-256colorCOLORTERM=truecolorLOGNAME=rootUSER=rootLANG=en_US.UTF-8SUDO_COMMAND=/bin/bashHOME=/rootMAIL=/var/mail/rootSUDO_GID=1000SHELL=/bin/bash/tmp/xi.arm7.elf
Source: xi.arm7.elf, 5411.1.000055f03a86e000.000055f03a9bd000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/arm
Source: xi.arm7.elf, 5411.1.000055f03a86e000.000055f03a9bd000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: xi.arm7.elf, 5411.1.00007ffca3b75000.00007ffca3b96000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm

Stealing of Sensitive Information

barindex
Source: Yara match File source: xi.arm7.elf, type: SAMPLE
Source: Yara match File source: 5411.1.00007f25b0017000.00007f25b002b000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: xi.arm7.elf PID: 5411, type: MEMORYSTR
Source: Yara match File source: xi.arm7.elf, type: SAMPLE
Source: Yara match File source: 5411.1.00007f25b0017000.00007f25b002b000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: xi.arm7.elf PID: 5411, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant CnC Checkin M2 (Group String Len 2+)
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response
Source: Traffic Suricata IDS: ET MALWARE ELF/MooBot Mirai DDoS Variant Server Response
Source: Yara match File source: xi.arm7.elf, type: SAMPLE
Source: Yara match File source: 5411.1.00007f25b0017000.00007f25b002b000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: xi.arm7.elf PID: 5411, type: MEMORYSTR
Source: Yara match File source: xi.arm7.elf, type: SAMPLE
Source: Yara match File source: 5411.1.00007f25b0017000.00007f25b002b000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: xi.arm7.elf PID: 5411, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs