Linux Analysis Report
zmap.sh4.elf

Overview

General Information

Sample name: zmap.sh4.elf
Analysis ID: 1546742
MD5: ecc739c8c89f908e6265e3fafe726f9a
SHA1: 40d488c8da7d8e33df240e1074c446692f1bb57c
SHA256: f9057b0cae91b1661f034c8ab604519cbed370328c268fc8be3c5fd59d0b4076
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.sh4.elf Avira: detected
Source: zmap.sh4.elf ReversingLabs: Detection: 57%
Source: global traffic TCP traffic: 192.168.2.23:35764 -> 154.216.16.38:59962
Source: /tmp/zmap.sh4.elf (PID: 6240) 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:42836 -> 91.189.91.43:443
Source: global traffic TCP traffic: 192.168.2.23:42516 -> 109.202.202.202:80
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: 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: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
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.sh4.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6245.1.00007f1b2c400000.00007f1b2c410000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6240.1.00007f1b2c400000.00007f1b2c410000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: zmap.sh4.elf PID: 6240, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: zmap.sh4.elf PID: 6245, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: ELF static info symbol of initial sample .symtab present: no
Source: zmap.sh4.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: 6245.1.00007f1b2c400000.00007f1b2c410000.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: 6240.1.00007f1b2c400000.00007f1b2c410000.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.sh4.elf PID: 6240, 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.sh4.elf PID: 6245, 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@1/0

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/zmap.sh4.elf (PID: 6240) File: /tmp/zmap.sh4.elf Jump to behavior
Source: /tmp/zmap.sh4.elf (PID: 6240) Queries kernel information via 'uname': Jump to behavior
Source: zmap.sh4.elf, 6240.1.00007ffdea121000.00007ffdea142000.rw-.sdmp, zmap.sh4.elf, 6245.1.00007ffdea121000.00007ffdea142000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-sh4/tmp/zmap.sh4.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.sh4.elf
Source: zmap.sh4.elf, 6240.1.00007ffdea121000.00007ffdea142000.rw-.sdmp, zmap.sh4.elf, 6245.1.00007ffdea121000.00007ffdea142000.rw-.sdmp Binary or memory string: /usr/bin/qemu-sh4
Source: zmap.sh4.elf, 6240.1.0000556d4974b000.0000556d497ae000.rw-.sdmp, zmap.sh4.elf, 6245.1.0000556d4974b000.0000556d497ae000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/sh4
Source: zmap.sh4.elf, 6240.1.0000556d4974b000.0000556d497ae000.rw-.sdmp, zmap.sh4.elf, 6245.1.0000556d4974b000.0000556d497ae000.rw-.sdmp Binary or memory string: tImU5!/etc/qemu-binfmt/sh4

Stealing of Sensitive Information

barindex
Source: Yara match File source: zmap.sh4.elf, type: SAMPLE
Source: Yara match File source: 6245.1.00007f1b2c400000.00007f1b2c410000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6240.1.00007f1b2c400000.00007f1b2c410000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.sh4.elf PID: 6240, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.sh4.elf PID: 6245, type: MEMORYSTR
Source: Yara match File source: zmap.sh4.elf, type: SAMPLE
Source: Yara match File source: 6245.1.00007f1b2c400000.00007f1b2c410000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6240.1.00007f1b2c400000.00007f1b2c410000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.sh4.elf PID: 6240, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.sh4.elf PID: 6245, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: zmap.sh4.elf, type: SAMPLE
Source: Yara match File source: 6245.1.00007f1b2c400000.00007f1b2c410000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6240.1.00007f1b2c400000.00007f1b2c410000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.sh4.elf PID: 6240, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.sh4.elf PID: 6245, type: MEMORYSTR
Source: Yara match File source: zmap.sh4.elf, type: SAMPLE
Source: Yara match File source: 6245.1.00007f1b2c400000.00007f1b2c410000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6240.1.00007f1b2c400000.00007f1b2c410000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.sh4.elf PID: 6240, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.sh4.elf PID: 6245, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs