Linux Analysis Report
zmap.ppc.elf

Overview

General Information

Sample name: zmap.ppc.elf
Analysis ID: 1546745
MD5: 41d8e835241ede71aa23310974d4903f
SHA1: cf05a747ea4c6f73f98795a36d83660749bd581d
SHA256: 99adbbeb8974b3cf52714ce5c8e667a935e3135ef9e72ec6c305e6c9687a1105
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
Executes the "rm" command used to delete files or directories
Sample has stripped symbol table
Sample listens on a socket
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.ppc.elf Avira: detected
Source: zmap.ppc.elf ReversingLabs: Detection: 57%
Source: unknown HTTPS traffic detected: 54.171.230.55:443 -> 192.168.2.14:37902 version: TLS 1.2
Source: global traffic TCP traffic: 192.168.2.14:47356 -> 154.216.16.38:59962
Source: /tmp/zmap.ppc.elf (PID: 5480) Socket: 127.0.0.1:39148 Jump to behavior
Source: unknown TCP traffic detected without corresponding DNS query: 54.171.230.55
Source: unknown TCP traffic detected without corresponding DNS query: 54.171.230.55
Source: unknown TCP traffic detected without corresponding DNS query: 54.171.230.55
Source: unknown TCP traffic detected without corresponding DNS query: 54.171.230.55
Source: unknown TCP traffic detected without corresponding DNS query: 54.171.230.55
Source: unknown TCP traffic detected without corresponding DNS query: 54.171.230.55
Source: unknown TCP traffic detected without corresponding DNS query: 54.171.230.55
Source: unknown TCP traffic detected without corresponding DNS query: 54.171.230.55
Source: unknown TCP traffic detected without corresponding DNS query: 54.171.230.55
Source: unknown TCP traffic detected without corresponding DNS query: 54.171.230.55
Source: unknown TCP traffic detected without corresponding DNS query: 54.171.230.55
Source: global traffic DNS traffic detected: DNS query: server.dico-inside.com
Source: unknown Network traffic detected: HTTP traffic on port 37902 -> 443
Source: unknown Network traffic detected: HTTP traffic on port 443 -> 37902
Source: unknown HTTPS traffic detected: 54.171.230.55:443 -> 192.168.2.14:37902 version: TLS 1.2

System Summary

barindex
Source: zmap.ppc.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5480.1.00007f7b90001000.00007f7b90012000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5485.1.00007f7b90001000.00007f7b90012000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: zmap.ppc.elf PID: 5480, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: zmap.ppc.elf PID: 5485, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: ELF static info symbol of initial sample .symtab present: no
Source: zmap.ppc.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: 5480.1.00007f7b90001000.00007f7b90012000.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: 5485.1.00007f7b90001000.00007f7b90012000.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.ppc.elf PID: 5480, 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.ppc.elf PID: 5485, 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@3/0
Source: /usr/bin/dash (PID: 5525) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.r4ZsRGYnl7 /tmp/tmp.rfp6uBcgf2 /tmp/tmp.GiuztDFEu7 Jump to behavior
Source: /usr/bin/dash (PID: 5534) Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.r4ZsRGYnl7 /tmp/tmp.rfp6uBcgf2 /tmp/tmp.GiuztDFEu7 Jump to behavior

Hooking and other Techniques for Hiding and Protection

barindex
Source: /tmp/zmap.ppc.elf (PID: 5480) File: /tmp/zmap.ppc.elf Jump to behavior
Source: /tmp/zmap.ppc.elf (PID: 5480) Queries kernel information via 'uname': Jump to behavior
Source: zmap.ppc.elf, 5480.1.00005599dc96d000.00005599dca1d000.rw-.sdmp Binary or memory string: !/etc/qemu-binfmt/ppc11!hotpluggableq
Source: zmap.ppc.elf, 5485.1.00005599dc96d000.00005599dca1d000.rw-.sdmp Binary or memory string: !/etc/qemu-binfmt/ppc1
Source: zmap.ppc.elf, 5480.1.00005599dc96d000.00005599dca1d000.rw-.sdmp, zmap.ppc.elf, 5485.1.00005599dc96d000.00005599dca1d000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/ppc
Source: zmap.ppc.elf, 5480.1.00007ffc2761b000.00007ffc2763c000.rw-.sdmp, zmap.ppc.elf, 5485.1.00007ffc2761b000.00007ffc2763c000.rw-.sdmp Binary or memory string: /usr/bin/qemu-ppc
Source: zmap.ppc.elf, 5480.1.00007ffc2761b000.00007ffc2763c000.rw-.sdmp, zmap.ppc.elf, 5485.1.00007ffc2761b000.00007ffc2763c000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-ppc/tmp/zmap.ppc.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.ppc.elf

Stealing of Sensitive Information

barindex
Source: Yara match File source: zmap.ppc.elf, type: SAMPLE
Source: Yara match File source: 5480.1.00007f7b90001000.00007f7b90012000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5485.1.00007f7b90001000.00007f7b90012000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.ppc.elf PID: 5480, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.ppc.elf PID: 5485, type: MEMORYSTR
Source: Yara match File source: zmap.ppc.elf, type: SAMPLE
Source: Yara match File source: 5480.1.00007f7b90001000.00007f7b90012000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5485.1.00007f7b90001000.00007f7b90012000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.ppc.elf PID: 5480, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.ppc.elf PID: 5485, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: zmap.ppc.elf, type: SAMPLE
Source: Yara match File source: 5480.1.00007f7b90001000.00007f7b90012000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5485.1.00007f7b90001000.00007f7b90012000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.ppc.elf PID: 5480, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.ppc.elf PID: 5485, type: MEMORYSTR
Source: Yara match File source: zmap.ppc.elf, type: SAMPLE
Source: Yara match File source: 5480.1.00007f7b90001000.00007f7b90012000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5485.1.00007f7b90001000.00007f7b90012000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: zmap.ppc.elf PID: 5480, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: zmap.ppc.elf PID: 5485, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs