Linux Analysis Report
yakov.mips.elf

Overview

General Information

Sample name: yakov.mips.elf
Analysis ID: 1524328
MD5: 8e0bed7d1e22e8830d5b399c702a36e5
SHA1: 948723dd56d561b94d776136e99d218642ef71c3
SHA256: 0bbded326f0477af5e28f1af007d37662805b1016b7a37f771f2f7b6365ba097
Tags: botnetelfMiraiyakovYakuzauser-NDA0E
Infos:

Detection

Mirai
Score: 68
Range: 0 - 100
Whitelisted: false

Signatures

Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for submitted file
Yara detected Mirai
Sample is packed with UPX
Detected TCP or UDP traffic on non-standard ports
ELF contains segments with high entropy indicating compressed/encrypted content
Sample contains only a LOAD segment without any section mappings
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: yakov.mips.elf ReversingLabs: Detection: 39%
Source: global traffic TCP traffic: 192.168.2.14:56080 -> 87.120.114.147:3778
Source: /tmp/yakov.mips.elf (PID: 5491) Socket: 127.0.0.1:3296 Jump to behavior
Source: unknown TCP traffic detected without corresponding DNS query: 87.120.114.147
Source: unknown TCP traffic detected without corresponding DNS query: 112.93.131.203
Source: unknown TCP traffic detected without corresponding DNS query: 71.213.209.140
Source: unknown TCP traffic detected without corresponding DNS query: 118.71.51.27
Source: unknown TCP traffic detected without corresponding DNS query: 34.106.255.185
Source: unknown TCP traffic detected without corresponding DNS query: 203.202.227.119
Source: unknown TCP traffic detected without corresponding DNS query: 202.253.90.185
Source: unknown TCP traffic detected without corresponding DNS query: 146.93.60.244
Source: unknown TCP traffic detected without corresponding DNS query: 159.241.28.38
Source: unknown TCP traffic detected without corresponding DNS query: 113.46.94.88
Source: unknown TCP traffic detected without corresponding DNS query: 4.199.79.230
Source: unknown TCP traffic detected without corresponding DNS query: 4.192.11.192
Source: unknown TCP traffic detected without corresponding DNS query: 78.90.173.208
Source: unknown TCP traffic detected without corresponding DNS query: 14.5.169.80
Source: unknown TCP traffic detected without corresponding DNS query: 43.2.151.221
Source: unknown TCP traffic detected without corresponding DNS query: 134.253.136.109
Source: unknown TCP traffic detected without corresponding DNS query: 112.235.233.245
Source: unknown TCP traffic detected without corresponding DNS query: 207.221.178.125
Source: unknown TCP traffic detected without corresponding DNS query: 47.128.130.16
Source: unknown TCP traffic detected without corresponding DNS query: 107.13.6.79
Source: unknown TCP traffic detected without corresponding DNS query: 173.80.14.68
Source: unknown TCP traffic detected without corresponding DNS query: 121.185.152.184
Source: unknown TCP traffic detected without corresponding DNS query: 173.197.222.178
Source: unknown TCP traffic detected without corresponding DNS query: 34.188.68.105
Source: unknown TCP traffic detected without corresponding DNS query: 57.239.248.190
Source: unknown TCP traffic detected without corresponding DNS query: 106.79.101.130
Source: unknown TCP traffic detected without corresponding DNS query: 155.102.255.208
Source: unknown TCP traffic detected without corresponding DNS query: 186.177.194.241
Source: unknown TCP traffic detected without corresponding DNS query: 27.133.162.115
Source: unknown TCP traffic detected without corresponding DNS query: 182.204.28.56
Source: unknown TCP traffic detected without corresponding DNS query: 2.11.72.142
Source: unknown TCP traffic detected without corresponding DNS query: 27.183.34.239
Source: unknown TCP traffic detected without corresponding DNS query: 46.230.52.55
Source: unknown TCP traffic detected without corresponding DNS query: 217.133.128.225
Source: unknown TCP traffic detected without corresponding DNS query: 120.60.27.79
Source: unknown TCP traffic detected without corresponding DNS query: 183.159.132.236
Source: unknown TCP traffic detected without corresponding DNS query: 150.6.206.115
Source: unknown TCP traffic detected without corresponding DNS query: 175.152.177.195
Source: unknown TCP traffic detected without corresponding DNS query: 70.99.125.10
Source: unknown TCP traffic detected without corresponding DNS query: 111.186.117.200
Source: unknown TCP traffic detected without corresponding DNS query: 59.237.37.240
Source: unknown TCP traffic detected without corresponding DNS query: 194.204.4.167
Source: unknown TCP traffic detected without corresponding DNS query: 53.7.148.17
Source: unknown TCP traffic detected without corresponding DNS query: 240.160.59.85
Source: unknown TCP traffic detected without corresponding DNS query: 222.196.196.39
Source: unknown TCP traffic detected without corresponding DNS query: 38.185.38.99
Source: unknown TCP traffic detected without corresponding DNS query: 213.71.101.25
Source: unknown TCP traffic detected without corresponding DNS query: 8.148.235.25
Source: unknown TCP traffic detected without corresponding DNS query: 177.191.241.223
Source: unknown TCP traffic detected without corresponding DNS query: 243.57.197.182
Source: yakov.mips.elf String found in binary or memory: http://upx.sf.net

System Summary

barindex
Source: 5493.1.00007f0c54400000.00007f0c54410000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5493.1.00007f0c54400000.00007f0c54410000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: 5489.1.00007f0c54400000.00007f0c54410000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5489.1.00007f0c54400000.00007f0c54410000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: Process Memory Space: yakov.mips.elf PID: 5489, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: yakov.mips.elf PID: 5489, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: Process Memory Space: yakov.mips.elf PID: 5493, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: yakov.mips.elf PID: 5493, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: LOAD without section mappings Program segment: 0x100000
Source: 5493.1.00007f0c54400000.00007f0c54410000.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: 5493.1.00007f0c54400000.00007f0c54410000.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: 5489.1.00007f0c54400000.00007f0c54410000.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: 5489.1.00007f0c54400000.00007f0c54410000.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: yakov.mips.elf PID: 5489, 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: yakov.mips.elf PID: 5489, 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: Process Memory Space: yakov.mips.elf PID: 5493, 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: yakov.mips.elf PID: 5493, 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: mal68.troj.evad.linELF@0/0@0/0

Data Obfuscation

barindex
Source: initial sample String containing UPX found: $Info: This file is packed with the UPX executable packer http://upx.sf.net $
Source: initial sample String containing UPX found: $Info: This file is packed with the UPX executable packer http://upx.sf.net $
Source: initial sample String containing UPX found: $Id: UPX 3.94 Copyright (C) 1996-2017 the UPX Team. All Rights Reserved. $
Source: yakov.mips.elf Submission file: segment LOAD with 7.8719 entropy (max. 8.0)
Source: /tmp/yakov.mips.elf (PID: 5489) Queries kernel information via 'uname': Jump to behavior
Source: yakov.mips.elf, 5489.1.0000564e0371e000.0000564e037a5000.rw-.sdmp, yakov.mips.elf, 5493.1.0000564e0371e000.0000564e037a5000.rw-.sdmp Binary or memory string: NV!/etc/qemu-binfmt/mips
Source: yakov.mips.elf, 5489.1.00007ffd3852f000.00007ffd38550000.rw-.sdmp, yakov.mips.elf, 5493.1.00007ffd3852f000.00007ffd38550000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-mips/tmp/yakov.mips.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/yakov.mips.elf
Source: yakov.mips.elf, 5489.1.0000564e0371e000.0000564e037a5000.rw-.sdmp, yakov.mips.elf, 5493.1.0000564e0371e000.0000564e037a5000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/mips
Source: yakov.mips.elf, 5489.1.00007ffd3852f000.00007ffd38550000.rw-.sdmp, yakov.mips.elf, 5493.1.00007ffd3852f000.00007ffd38550000.rw-.sdmp Binary or memory string: /usr/bin/qemu-mips

Stealing of Sensitive Information

barindex
Source: Yara match File source: 5493.1.00007f0c54400000.00007f0c54410000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5489.1.00007f0c54400000.00007f0c54410000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: yakov.mips.elf PID: 5489, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: yakov.mips.elf PID: 5493, type: MEMORYSTR

Remote Access Functionality

barindex
Source: Yara match File source: 5493.1.00007f0c54400000.00007f0c54410000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5489.1.00007f0c54400000.00007f0c54410000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: yakov.mips.elf PID: 5489, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: yakov.mips.elf PID: 5493, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs