Linux Analysis Report
2cZvbPkMmG.elf

Overview

General Information

Sample name: 2cZvbPkMmG.elf
renamed because original name is a hash value
Original sample name: 058fc8bb4590363d6c09b119b7415088.elf
Analysis ID: 1428692
MD5: 058fc8bb4590363d6c09b119b7415088
SHA1: 387867077bbaf53ef445cb144bd0cd7269abe8ed
SHA256: ea57fa334604df65decd6595d2a332b9941affbe712e43164851e0674f81732d
Tags: 32armelfmirai
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
Found strings indicative of a multi-platform dropper
Sample contains strings indicative of BusyBox which embeds multiple Unix commands in a single executable
Sample has stripped symbol table
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: 2cZvbPkMmG.elf Avira: detected
Source: 2cZvbPkMmG.elf ReversingLabs: Detection: 57%
Source: 2cZvbPkMmG.elf Virustotal: Detection: 47% Perma Link
Source: 2cZvbPkMmG.elf String: HTTP/1.1 200 OKtop1hbt.armtop1hbt.arm5top1hbt.arm6top1hbt.arm7top1hbt.mipstop1hbt.mpsltop1hbt.x86_64top1hbt.sh4/proc/proc/%d/cmdlinenetstatwgetcurlbusybox/bin/busybox/proc//proc/%s/exe/proc/self/exevar/Challengeapp/hi3511gmDVRiboxusr/dvr_main _8182T_1108mnt/mtd/app/guivar/Kylinl0 c/udevdanko-app/ankosample _8182T_1104var/tmp/soniahicorestm_hi3511_dvr/usr/lib/systemd/systemd/usr/libexec/openssh/sftp-serverusr/shellmnt/sys/bin/boot/media/srv/var/run/sbin/lib/etc/dev/home/Davincitelnetsshwatchdog/var/spool/var/Sofiasshd/usr/compress/bin//compress/bin/compress/usr/bashhttpdtelnetddropbearropbearencodersystem/root/dvr_gui//root/dvr_app//anko-app//opt/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ3f
Source: unknown UDP traffic detected without corresponding DNS query: 1.1.1.1
Source: unknown UDP traffic detected without corresponding DNS query: 1.1.1.1
Source: unknown DNS traffic detected: queries for: daisy.ubuntu.com

System Summary

barindex
Source: 2cZvbPkMmG.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 2cZvbPkMmG.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: 5486.1.00007f7b94017000.00007f7b94036000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5486.1.00007f7b94017000.00007f7b94036000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: Process Memory Space: 2cZvbPkMmG.elf PID: 5486, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: 2cZvbPkMmG.elf PID: 5486, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: Initial sample String containing 'busybox' found: busybox
Source: Initial sample String containing 'busybox' found: /bin/busybox
Source: Initial sample String containing 'busybox' found: HTTP/1.1 200 OKtop1hbt.armtop1hbt.arm5top1hbt.arm6top1hbt.arm7top1hbt.mipstop1hbt.mpsltop1hbt.x86_64top1hbt.sh4/proc/proc/%d/cmdlinenetstatwgetcurlbusybox/bin/busybox/proc//proc/%s/exe/proc/self/exevar/Challengeapp/hi3511gmDVRiboxusr/dvr_main _8182T_1108mnt/mtd/app/guivar/Kylinl0 c/udevdanko-app/ankosample _8182T_1104var/tmp/soniahicorestm_hi3511_dvr/usr/lib/systemd/systemd/usr/libexec/openssh/sftp-serverusr/shellmnt/sys/bin/boot/media/srv/var/run/sbin/lib/etc/dev/home/Davincitelnetsshwatchdog/var/spool/var/Sofiasshd/usr/compress/bin//compress/bin/compress/usr/bashhttpdtelnetddropbearropbearencodersystem/root/dvr_gui//root/dvr_app//anko-app//opt/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ3f
Source: ELF static info symbol of initial sample .symtab present: no
Source: 2cZvbPkMmG.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: 2cZvbPkMmG.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_ea92cca8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = aa4aee9f3d6bedd8234eaf8778895a0f5d71c42b21f2a428f01f121e85704e8e, id = ea92cca8-bba7-4a1c-9b88-a2d051ad0021, last_modified = 2021-09-16
Source: 5486.1.00007f7b94017000.00007f7b94036000.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: 5486.1.00007f7b94017000.00007f7b94036000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = aa4aee9f3d6bedd8234eaf8778895a0f5d71c42b21f2a428f01f121e85704e8e, id = ea92cca8-bba7-4a1c-9b88-a2d051ad0021, last_modified = 2021-09-16
Source: Process Memory Space: 2cZvbPkMmG.elf PID: 5486, 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: 2cZvbPkMmG.elf PID: 5486, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = aa4aee9f3d6bedd8234eaf8778895a0f5d71c42b21f2a428f01f121e85704e8e, id = ea92cca8-bba7-4a1c-9b88-a2d051ad0021, last_modified = 2021-09-16
Source: classification engine Classification label: mal88.troj.linELF@0/0@2/0
Source: /tmp/2cZvbPkMmG.elf (PID: 5486) Queries kernel information via 'uname': Jump to behavior
Source: 2cZvbPkMmG.elf, 5486.1.000055ec0f92b000.000055ec0fa59000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/arm
Source: 2cZvbPkMmG.elf, 5486.1.000055ec0f92b000.000055ec0fa59000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: 2cZvbPkMmG.elf, 5486.1.00007fff15506000.00007fff15527000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: 2cZvbPkMmG.elf, 5486.1.00007fff15506000.00007fff15527000.rw-.sdmp Binary or memory string: qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Source: 2cZvbPkMmG.elf, 5486.1.00007fff15506000.00007fff15527000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/2cZvbPkMmG.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/2cZvbPkMmG.elf

Stealing of Sensitive Information

barindex
Source: Yara match File source: 2cZvbPkMmG.elf, type: SAMPLE
Source: Yara match File source: 5486.1.00007f7b94017000.00007f7b94036000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: 2cZvbPkMmG.elf PID: 5486, type: MEMORYSTR
Source: Yara match File source: 2cZvbPkMmG.elf, type: SAMPLE
Source: Yara match File source: 5486.1.00007f7b94017000.00007f7b94036000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: 2cZvbPkMmG.elf PID: 5486, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: 2cZvbPkMmG.elf, type: SAMPLE
Source: Yara match File source: 5486.1.00007f7b94017000.00007f7b94036000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: 2cZvbPkMmG.elf PID: 5486, type: MEMORYSTR
Source: Yara match File source: 2cZvbPkMmG.elf, type: SAMPLE
Source: Yara match File source: 5486.1.00007f7b94017000.00007f7b94036000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: 2cZvbPkMmG.elf PID: 5486, type: MEMORYSTR
No contacted IP infos