Linux Analysis Report
zmap.arm7.elf

Overview

General Information

Sample name: zmap.arm7.elf
Analysis ID: 1546744
MD5: 229acf7569130751dd54b01eb3804958
SHA1: 7885cfb3f6bb30be8c87ffc365527c31b5e86649
SHA256: 4a6596028c781e73e24157ca252361eaae4be9307ad98c34586880b48b7d9df8
Tags: elfuser-abuse_ch
Infos:

Detection

Mirai, Okiru
Score: 88
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
Contains symbols with names commonly found in malware
Sample deletes itself
Detected TCP or UDP traffic on non-standard ports
Sample and/or dropped files contains symbols with suspicious names
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.arm7.elf Avira: detected
Source: zmap.arm7.elf ReversingLabs: Detection: 55%
Source: global traffic TCP traffic: 192.168.2.14:47356 -> 154.216.16.38:59962
Source: /tmp/zmap.arm7.elf (PID: 5496) Socket: 127.0.0.1:39148 Jump to behavior
Source: global traffic TCP traffic: 192.168.2.14:46540 -> 185.125.190.26:443
Source: unknown TCP traffic detected without corresponding DNS query: 185.125.190.26
Source: unknown TCP traffic detected without corresponding DNS query: 185.125.190.26
Source: global traffic DNS traffic detected: DNS query: server.dico-inside.com
Source: unknown Network traffic detected: HTTP traffic on port 46540 -> 443

System Summary

barindex
Source: zmap.arm7.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5501.1.00007ff434017000.00007ff43402f000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5496.1.00007ff434017000.00007ff43402f000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: zmap.arm7.elf PID: 5496, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: zmap.arm7.elf PID: 5501, 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_handshake
Source: ELF static info symbol of initial sample Name: attack_init
Source: ELF static info symbol of initial sample Name: attack_method_ipip
Source: ELF static info symbol of initial sample Name: attack_method_openvpn2
Source: ELF static info symbol of initial sample Name: attack_method_ovh
Source: ELF static info symbol of initial sample Name: attack_parse
Source: ELF static info symbol of initial sample Name: attack_socket
Source: zmap.arm7.elf ELF static info symbol of initial sample: __gnu_unwind_execute
Source: zmap.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: 5501.1.00007ff434017000.00007ff43402f000.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: 5496.1.00007ff434017000.00007ff43402f000.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.arm7.elf PID: 5496, 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.arm7.elf PID: 5501, 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: mal88.troj.evad.linELF@0/0@4/0

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/zmap.arm7.elf (PID: 5496) File: /tmp/zmap.arm7.elf Jump to behavior
Source: /tmp/zmap.arm7.elf (PID: 5496) Queries kernel information via 'uname': Jump to behavior
Source: zmap.arm7.elf, 5496.1.000055fafaf99000.000055fafb0ea000.rw-.sdmp, zmap.arm7.elf, 5501.1.000055fafaf99000.000055fafb0c7000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/arm
Source: zmap.arm7.elf, 5496.1.000055fafaf99000.000055fafb0ea000.rw-.sdmp, zmap.arm7.elf, 5501.1.000055fafaf99000.000055fafb0c7000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: zmap.arm7.elf, 5496.1.00007ffde457d000.00007ffde459e000.rw-.sdmp, zmap.arm7.elf, 5501.1.00007ffde457d000.00007ffde459e000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: zmap.arm7.elf, 5496.1.00007ffde457d000.00007ffde459e000.rw-.sdmp, zmap.arm7.elf, 5501.1.00007ffde457d000.00007ffde459e000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/zmap.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/zmap.arm7.elf

Stealing of Sensitive Information

barindex
Source: Yara match File source: zmap.arm7.elf, type: SAMPLE
Source: Yara match File source: 5501.1.00007ff434017000.00007ff43402f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5496.1.00007ff434017000.00007ff43402f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.arm7.elf PID: 5496, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.arm7.elf PID: 5501, type: MEMORYSTR
Source: Yara match File source: zmap.arm7.elf, type: SAMPLE
Source: Yara match File source: 5501.1.00007ff434017000.00007ff43402f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5496.1.00007ff434017000.00007ff43402f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.arm7.elf PID: 5496, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.arm7.elf PID: 5501, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: zmap.arm7.elf, type: SAMPLE
Source: Yara match File source: 5501.1.00007ff434017000.00007ff43402f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5496.1.00007ff434017000.00007ff43402f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.arm7.elf PID: 5496, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.arm7.elf PID: 5501, type: MEMORYSTR
Source: Yara match File source: zmap.arm7.elf, type: SAMPLE
Source: Yara match File source: 5501.1.00007ff434017000.00007ff43402f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5496.1.00007ff434017000.00007ff43402f000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.arm7.elf PID: 5496, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.arm7.elf PID: 5501, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs