Linux Analysis Report
zmap.arm.elf

Overview

General Information

Sample name: zmap.arm.elf
Analysis ID: 1546748
MD5: cdc46d2754ffaf581f0e011c4960332d
SHA1: 53657bd523faeea5d768a830412113fb46c39321
SHA256: 9f29e193d60134d76b92f383016a64f7eae0e500e561b203529564104b3fd101
Tags: elfuser-abuse_ch
Infos:

Detection

Mirai, Okiru
Score: 84
Range: 0 - 100
Whitelisted: false

Signatures

Antivirus / Scanner detection for submitted sample
Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for submitted file
Yara detected Mirai
Yara detected Okiru
Sample deletes itself
Detected TCP or UDP traffic on non-standard ports
Sample has stripped symbol table
Sample listens on a socket
Tries to connect to HTTP servers, but all servers are down (expired dropper behavior)
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

AV Detection

barindex
Source: zmap.arm.elf Avira: detected
Source: zmap.arm.elf ReversingLabs: Detection: 63%
Source: global traffic TCP traffic: 192.168.2.23:35784 -> 154.216.16.38:59962
Source: /tmp/zmap.arm.elf (PID: 6264) Socket: 127.0.0.1:39148 Jump to behavior
Source: global traffic TCP traffic: 192.168.2.23:43928 -> 91.189.91.42:443
Source: global traffic TCP traffic: 192.168.2.23:42516 -> 109.202.202.202:80
Source: global traffic TCP traffic: 192.168.2.23:42836 -> 91.189.91.43:443
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 109.202.202.202
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
Source: unknown TCP traffic detected without corresponding DNS query: 109.202.202.202
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: global traffic DNS traffic detected: DNS query: server.dico-inside.com
Source: unknown Network traffic detected: HTTP traffic on port 43928 -> 443
Source: unknown Network traffic detected: HTTP traffic on port 42836 -> 443

System Summary

barindex
Source: zmap.arm.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6268.1.00007ff4fc017000.00007ff4fc02a000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6264.1.00007ff4fc017000.00007ff4fc02a000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: zmap.arm.elf PID: 6264, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: zmap.arm.elf PID: 6268, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: ELF static info symbol of initial sample .symtab present: no
Source: zmap.arm.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: 6268.1.00007ff4fc017000.00007ff4fc02a000.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: 6264.1.00007ff4fc017000.00007ff4fc02a000.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: zmap.arm.elf PID: 6264, 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: Process Memory Space: zmap.arm.elf PID: 6268, 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: mal84.troj.evad.linELF@0/0@13/0

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/zmap.arm.elf (PID: 6264) File: /tmp/zmap.arm.elf Jump to behavior
Source: /tmp/zmap.arm.elf (PID: 6264) Queries kernel information via 'uname': Jump to behavior
Source: zmap.arm.elf, 6264.1.00007fff6b845000.00007fff6b866000.rw-.sdmp, zmap.arm.elf, 6268.1.00007fff6b845000.00007fff6b866000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/zmap.arm.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/zmap.arm.elf
Source: zmap.arm.elf, 6264.1.000055ce039c4000.000055ce03af2000.rw-.sdmp, zmap.arm.elf, 6268.1.000055ce039c4000.000055ce03af2000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/arm
Source: zmap.arm.elf, 6264.1.000055ce039c4000.000055ce03af2000.rw-.sdmp, zmap.arm.elf, 6268.1.000055ce039c4000.000055ce03af2000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: zmap.arm.elf, 6264.1.00007fff6b845000.00007fff6b866000.rw-.sdmp, zmap.arm.elf, 6268.1.00007fff6b845000.00007fff6b866000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm

Stealing of Sensitive Information

barindex
Source: Yara match File source: zmap.arm.elf, type: SAMPLE
Source: Yara match File source: 6268.1.00007ff4fc017000.00007ff4fc02a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6264.1.00007ff4fc017000.00007ff4fc02a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.arm.elf PID: 6264, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.arm.elf PID: 6268, type: MEMORYSTR
Source: Yara match File source: zmap.arm.elf, type: SAMPLE
Source: Yara match File source: 6268.1.00007ff4fc017000.00007ff4fc02a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6264.1.00007ff4fc017000.00007ff4fc02a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.arm.elf PID: 6264, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.arm.elf PID: 6268, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: zmap.arm.elf, type: SAMPLE
Source: Yara match File source: 6268.1.00007ff4fc017000.00007ff4fc02a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6264.1.00007ff4fc017000.00007ff4fc02a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.arm.elf PID: 6264, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.arm.elf PID: 6268, type: MEMORYSTR
Source: Yara match File source: zmap.arm.elf, type: SAMPLE
Source: Yara match File source: 6268.1.00007ff4fc017000.00007ff4fc02a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6264.1.00007ff4fc017000.00007ff4fc02a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.arm.elf PID: 6264, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.arm.elf PID: 6268, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs