Linux Analysis Report
KMrX1mg0wr.elf

Overview

General Information

Sample name: KMrX1mg0wr.elf
renamed because original name is a hash value
Original sample name: 271d5e510ce4ba9f4d8fa664fd609bbf.elf
Analysis ID: 1430933
MD5: 271d5e510ce4ba9f4d8fa664fd609bbf
SHA1: 2ba6a9effe2f0e1d6d630ec14dff9b5930cc78b0
SHA256: f18c16800421122049ea5f35479b1d1eb0f5082412ce838a09c797c4675f47c9
Tags: 32armelfgafgyt
Infos:

Detection

Gafgyt
Score: 72
Range: 0 - 100
Whitelisted: false

Signatures

Antivirus / Scanner detection for submitted sample
Multi AV Scanner detection for submitted file
Yara detected Gafgyt
Connects to many ports of the same IP (likely port scanning)
Opens /proc/net/* files useful for finding connected devices and routers
Detected TCP or UDP traffic on non-standard ports
Sample and/or dropped files contains symbols with suspicious names
Sample contains strings that are user agent strings indicative of HTTP manipulation
Uses the "uname" system call to query kernel version information (possible evasion)

Classification

Name Description Attribution Blogpost URLs Link
Bashlite, Gafgyt Bashlite is a malware family which infects Linux systems in order to launch distributed denial-of-service attacks (DDoS). Originally it was also known under the name Bashdoor, but this term now refers to the exploit method used by the malware. It has been used to launch attacks of up to 400 Gbps. No Attribution https://malpedia.caad.fkie.fraunhofer.de/details/elf.bashlite

AV Detection

barindex
Source: KMrX1mg0wr.elf Avira: detected
Source: KMrX1mg0wr.elf ReversingLabs: Detection: 63%
Source: KMrX1mg0wr.elf Virustotal: Detection: 57% Perma Link

Spreading

barindex
Source: /tmp/KMrX1mg0wr.elf (PID: 5520) Opens: /proc/net/route Jump to behavior

Networking

barindex
Source: global traffic TCP traffic: 2.58.95.131 ports 0,4,5,6,8,65480
Source: global traffic TCP traffic: 192.168.2.15:42224 -> 2.58.95.131:65480
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown TCP traffic detected without corresponding DNS query: 2.58.95.131
Source: unknown DNS traffic detected: queries for: daisy.ubuntu.com
Source: KMrX1mg0wr.elf ELF static info symbol of initial sample: __gnu_unwind_execute
Source: classification engine Classification label: mal72.spre.troj.linELF@0/0@2/0
Source: /tmp/KMrX1mg0wr.elf (PID: 5520) Queries kernel information via 'uname': Jump to behavior
Source: KMrX1mg0wr.elf, 5520.1.00005646ac439000.00005646ac567000.rw-.sdmp, KMrX1mg0wr.elf, 5522.1.00005646ac439000.00005646ac567000.rw-.sdmp Binary or memory string: FV!/etc/qemu-binfmt/arm
Source: KMrX1mg0wr.elf, 5520.1.00005646ac439000.00005646ac567000.rw-.sdmp, KMrX1mg0wr.elf, 5522.1.00005646ac439000.00005646ac567000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: KMrX1mg0wr.elf, 5520.1.00007fff7e6e5000.00007fff7e706000.rw-.sdmp, KMrX1mg0wr.elf, 5522.1.00007fff7e6e5000.00007fff7e706000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm
Source: KMrX1mg0wr.elf, 5520.1.00007fff7e6e5000.00007fff7e706000.rw-.sdmp, KMrX1mg0wr.elf, 5522.1.00007fff7e6e5000.00007fff7e706000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/KMrX1mg0wr.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/KMrX1mg0wr.elf

Stealing of Sensitive Information

barindex
Source: Yara match File source: KMrX1mg0wr.elf, type: SAMPLE
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 5.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36

Remote Access Functionality

barindex
Source: Yara match File source: KMrX1mg0wr.elf, type: SAMPLE
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs