Linux Analysis Report
QVorHPgh3b.elf

Overview

General Information

Sample name: QVorHPgh3b.elf
renamed because original name is a hash value
Original sample name: 479a59d369b590829900787ec24f57c2.elf
Analysis ID: 1430972
MD5: 479a59d369b590829900787ec24f57c2
SHA1: 80b7168501a5ce3133c45c7b0c1806b28df37240
SHA256: 6700fd45772662f76aed607a2549250c2e3c00da716b28d0de74e442cfe722ea
Tags: 32elfgafgytmips
Infos:

Detection

Gafgyt, Mirai
Score: 92
Range: 0 - 100
Whitelisted: false

Signatures

Antivirus / Scanner detection for submitted sample
Found malware configuration
Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for submitted file
Yara detected Gafgyt
Yara detected Mirai
Opens /proc/net/* files useful for finding connected devices and routers
Detected TCP or UDP traffic on non-standard ports
Sample contains strings that are user agent strings indicative of HTTP manipulation
Uses the "uname" system call to query kernel version information (possible evasion)
Yara signature match

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
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: QVorHPgh3b.elf Avira: detected
Source: QVorHPgh3b.elf Malware Configuration Extractor: Gafgyt {"C2 url": "93.123.85.78:55"}
Source: QVorHPgh3b.elf Virustotal: Detection: 60% Perma Link
Source: QVorHPgh3b.elf ReversingLabs: Detection: 50%

Spreading

barindex
Source: /tmp/QVorHPgh3b.elf (PID: 5585) Opens: /proc/net/route Jump to behavior
Source: global traffic TCP traffic: 192.168.2.13:40660 -> 93.123.85.78:55
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown TCP traffic detected without corresponding DNS query: 93.123.85.78
Source: unknown DNS traffic detected: queries for: daisy.ubuntu.com
Source: QVorHPgh3b.elf String found in binary or memory: http://fast.no/support/crawler.asp)
Source: QVorHPgh3b.elf String found in binary or memory: http://feedback.redkolibri.com/
Source: QVorHPgh3b.elf String found in binary or memory: http://www.baidu.com/search/spider.htm)
Source: QVorHPgh3b.elf String found in binary or memory: http://www.baidu.com/search/spider.html)
Source: QVorHPgh3b.elf String found in binary or memory: http://www.billybobbot.com/crawler/)

System Summary

barindex
Source: QVorHPgh3b.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: QVorHPgh3b.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: 5587.1.00007febf4400000.00007febf442a000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5587.1.00007febf4400000.00007febf442a000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: 5585.1.00007febf4400000.00007febf442a000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 5585.1.00007febf4400000.00007febf442a000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: Process Memory Space: QVorHPgh3b.elf PID: 5585, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: QVorHPgh3b.elf PID: 5585, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: Process Memory Space: QVorHPgh3b.elf PID: 5587, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: QVorHPgh3b.elf PID: 5587, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
Source: QVorHPgh3b.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: QVorHPgh3b.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: 5587.1.00007febf4400000.00007febf442a000.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: 5587.1.00007febf4400000.00007febf442a000.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: 5585.1.00007febf4400000.00007febf442a000.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: 5585.1.00007febf4400000.00007febf442a000.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: QVorHPgh3b.elf PID: 5585, 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: QVorHPgh3b.elf PID: 5585, 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: QVorHPgh3b.elf PID: 5587, 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: QVorHPgh3b.elf PID: 5587, 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: mal92.spre.troj.linELF@0/1@2/0
Source: /tmp/QVorHPgh3b.elf (PID: 5585) Queries kernel information via 'uname': Jump to behavior
Source: QVorHPgh3b.elf, 5585.1.0000557433a19000.0000557433aa0000.rw-.sdmp, QVorHPgh3b.elf, 5587.1.0000557433a19000.0000557433aa0000.rw-.sdmp Binary or memory string: 3tU!/etc/qemu-binfmt/mips
Source: QVorHPgh3b.elf, 5585.1.00007ffd9a6b3000.00007ffd9a6d4000.rw-.sdmp Binary or memory string: /tmp/qemu-open.UIx9yw
Source: QVorHPgh3b.elf, 5585.1.0000557433a19000.0000557433aa0000.rw-.sdmp, QVorHPgh3b.elf, 5587.1.0000557433a19000.0000557433aa0000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/mips
Source: QVorHPgh3b.elf, 5585.1.00007ffd9a6b3000.00007ffd9a6d4000.rw-.sdmp, QVorHPgh3b.elf, 5587.1.00007ffd9a6b3000.00007ffd9a6d4000.rw-.sdmp Binary or memory string: /usr/bin/qemu-mips
Source: QVorHPgh3b.elf, 5585.1.00007ffd9a6b3000.00007ffd9a6d4000.rw-.sdmp, QVorHPgh3b.elf, 5587.1.00007ffd9a6b3000.00007ffd9a6d4000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-mips/tmp/QVorHPgh3b.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/QVorHPgh3b.elf
Source: QVorHPgh3b.elf, 5585.1.00007ffd9a6b3000.00007ffd9a6d4000.rw-.sdmp Binary or memory string: /tU/tmp/qemu-open.UIx9yw\

Stealing of Sensitive Information

barindex
Source: Yara match File source: QVorHPgh3b.elf, type: SAMPLE
Source: Yara match File source: 5587.1.00007febf4400000.00007febf442a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5585.1.00007febf4400000.00007febf442a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: QVorHPgh3b.elf, type: SAMPLE
Source: Yara match File source: 5587.1.00007febf4400000.00007febf442a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5585.1.00007febf4400000.00007febf442a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: QVorHPgh3b.elf PID: 5585, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: QVorHPgh3b.elf PID: 5587, type: MEMORYSTR
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Source: Initial sample User agent string found: Opera/9.80 (X11; Linux i686; Ubuntu/14.10) Presto/2.12.388 Version/12.16
Source: Initial sample User agent string found: Mozilla/5.0 (Windows; U; Windows NT 6.1; rv:2.2) Gecko/20110201
Source: Initial sample User agent string found: Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; AS; rv:11.0) like Gecko
Source: Initial sample User agent string found: Mozilla/5.0 (Android; Linux armv7l; rv:9.0) Gecko/20111216 Firefox/9.0 Fennec/9.0
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5
Source: Initial sample User agent string found: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.229 Version/11.60
Source: Initial sample User agent string found: Mozilla/5.0 (iPad; U; CPU OS 5_1 like Mac OS X) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B367 Safari/531.21.10 UCBrowser/3.4.3.532
Source: Initial sample User agent string found: Mozilla/5.0 (Nintendo WiiU) AppleWebKit/536.30 (KHTML, like Gecko) NX/3.0.4.2.12 NintendoBrowser/4.3.1.11264.US
Source: Initial sample User agent string found: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:25.0) Gecko/20100101 Firefox/25.0
Source: Initial sample User agent string found: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; pl) Opera 11.00
Source: Initial sample User agent string found: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; en) Opera 11.00
Source: Initial sample User agent string found: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; ja) Opera 11.00
Source: Initial sample User agent string found: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; cn) Opera 11.00
Source: Initial sample User agent string found: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; fr) Opera 11.00
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
Source: Initial sample User agent string found: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1
Source: Initial sample User agent string found: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.289 Version/12.01
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.02
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 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/53.0.2785.116 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.11) Gecko/20071128 Camino/1.5.4
Source: Initial sample User agent string found: Mozilla/5.0 (Windows; U; Windows NT 6.1; cs; rv:1.9.2.6) Gecko/20100628 myibrow/4alpha2
Source: Initial sample User agent string found: Mozilla/5.0 (Windows; U; Win 9x 4.90; SG; rv:1.9.2.4) Gecko/20101104 Netscape/9.1.0285
Source: Initial sample User agent string found: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 Lightning/4.0.2
Source: Initial sample User agent string found: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10; rv:33.0) Gecko/20100101 Firefox/33.0

Remote Access Functionality

barindex
Source: Yara match File source: QVorHPgh3b.elf, type: SAMPLE
Source: Yara match File source: 5587.1.00007febf4400000.00007febf442a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5585.1.00007febf4400000.00007febf442a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: QVorHPgh3b.elf, type: SAMPLE
Source: Yara match File source: 5587.1.00007febf4400000.00007febf442a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 5585.1.00007febf4400000.00007febf442a000.r-x.sdmp, type: MEMORY
Source: Yara match File source: Process Memory Space: QVorHPgh3b.elf PID: 5585, type: MEMORYSTR
Source: Yara match File source: Process Memory Space: QVorHPgh3b.elf PID: 5587, type: MEMORYSTR
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs