Linux Analysis Report
Kxc3PFrEoj.elf

Overview

General Information

Sample Name: Kxc3PFrEoj.elf
Analysis ID: 756321
MD5: d790095da735a92872f4abb60901581b
SHA1: 3400e00ec10bc8c3de98735e114c58b6f518bda1
SHA256: d7162b8aa754ff4f004c48448a3829084088985d6196d441bc27d14fc7e1eaad
Tags: 32armelfgafgyt
Infos:

Detection

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

Signatures

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

Classification

AV Detection

barindex
Source: Kxc3PFrEoj.elf Avira: detected
Source: Kxc3PFrEoj.elf ReversingLabs: Detection: 73%
Source: Kxc3PFrEoj.elf Virustotal: Detection: 66% Perma Link

Spreading

barindex
Source: /tmp/Kxc3PFrEoj.elf (PID: 6230) Opens: /proc/net/route Jump to behavior
Source: global traffic TCP traffic: 192.168.2.23:42836 -> 91.189.91.43:443
Source: global traffic TCP traffic: 192.168.2.23:42516 -> 109.202.202.202:80
Source: global traffic TCP traffic: 192.168.2.23:43928 -> 91.189.91.42:443
Source: global traffic TCP traffic: 192.168.2.23:38500 -> 47.87.197.232:576
Source: unknown Network traffic detected: HTTP traffic on port 43928 -> 443
Source: unknown Network traffic detected: HTTP traffic on port 42836 -> 443
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
Source: unknown TCP traffic detected without corresponding DNS query: 47.87.197.232
Source: unknown TCP traffic detected without corresponding DNS query: 109.202.202.202
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 47.87.197.232
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
Source: unknown TCP traffic detected without corresponding DNS query: 109.202.202.202
Source: unknown TCP traffic detected without corresponding DNS query: 47.87.197.232
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.42
Source: unknown TCP traffic detected without corresponding DNS query: 47.87.197.232
Source: unknown TCP traffic detected without corresponding DNS query: 91.189.91.43
Source: unknown TCP traffic detected without corresponding DNS query: 47.87.197.232
Source: unknown TCP traffic detected without corresponding DNS query: 47.87.197.232
Source: unknown TCP traffic detected without corresponding DNS query: 47.87.197.232
Source: unknown TCP traffic detected without corresponding DNS query: 47.87.197.232
Source: unknown TCP traffic detected without corresponding DNS query: 47.87.197.232
Source: unknown TCP traffic detected without corresponding DNS query: 47.87.197.232
Source: unknown TCP traffic detected without corresponding DNS query: 47.87.197.232

System Summary

barindex
Source: Kxc3PFrEoj.elf, type: SAMPLE Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6233.1.00007f4548017000.00007f454802e000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6232.1.00007f4548017000.00007f454802e000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: 6230.1.00007f4548017000.00007f454802e000.r-x.sdmp, type: MEMORY Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: Kxc3PFrEoj.elf PID: 6230, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: Kxc3PFrEoj.elf PID: 6232, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Process Memory Space: Kxc3PFrEoj.elf PID: 6233, type: MEMORYSTR Matched rule: Linux_Trojan_Gafgyt_28a2fe0c Author: unknown
Source: Kxc3PFrEoj.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: 6233.1.00007f4548017000.00007f454802e000.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: 6232.1.00007f4548017000.00007f454802e000.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: 6230.1.00007f4548017000.00007f454802e000.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: Kxc3PFrEoj.elf PID: 6230, 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: Kxc3PFrEoj.elf PID: 6232, 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: Kxc3PFrEoj.elf PID: 6233, 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: mal76.spre.troj.linELF@0/0@0/0
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: /home/firmware/build/temp-armv4l/gcc-core/gcc/config/arm/lib1funcs.asm
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: /home/firmware/build/temp-armv4l/gcc-core/gcc/config/arm/lib1funcs.asm
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: /home/firmware/build/temp-armv4l/gcc-core/gcc/config/arm/lib1funcs.asm
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: /home/firmware/build/temp-armv4l/gcc-core/gcc/config/arm/lib1funcs.asm
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: /home/firmware/build/temp-armv4l/gcc-core/gcc/config/arm/lib1funcs.asm
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: /home/firmware/build/temp-armv4l/gcc-core/gcc/config/arm/lib1funcs.asm
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: /home/firmware/build/temp-armv4l/gcc-core/gcc/config/arm/lib1funcs.asm
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: /home/firmware/build/temp-armv4l/gcc-core/gcc/config/arm/lib1funcs.asm
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: /home/firmware/build/temp-armv4l/gcc-core/gcc/config/arm/lib1funcs.asm
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: libc/string/arm/_memcpy.S
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: libc/string/arm/bcopy.S
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: libc/string/arm/memcpy.S
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: libc/string/arm/memmove.S
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: libc/string/arm/memset.S
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: libc/string/arm/strcmp.S
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: libc/string/arm/strlen.S
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: libc/sysdeps/linux/arm/crt1.S
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: libc/sysdeps/linux/arm/crti.S
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: libc/sysdeps/linux/arm/crtn.S
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: libc/sysdeps/linux/arm/sigrestorer.S
Source: Kxc3PFrEoj.elf ELF static info symbol of initial sample: libc/sysdeps/linux/arm/vfork.S
Source: /tmp/Kxc3PFrEoj.elf (PID: 6230) Queries kernel information via 'uname': Jump to behavior
Source: Kxc3PFrEoj.elf, 6230.1.000055f6ce37e000.000055f6ce4cd000.rw-.sdmp, Kxc3PFrEoj.elf, 6232.1.000055f6ce37e000.000055f6ce4cd000.rw-.sdmp, Kxc3PFrEoj.elf, 6233.1.000055f6ce37e000.000055f6ce4cd000.rw-.sdmp Binary or memory string: U!/etc/qemu-binfmt/arm
Source: Kxc3PFrEoj.elf, 6230.1.00007ffd77d62000.00007ffd77d83000.rw-.sdmp, Kxc3PFrEoj.elf, 6232.1.00007ffd77d62000.00007ffd77d83000.rw-.sdmp, Kxc3PFrEoj.elf, 6233.1.00007ffd77d62000.00007ffd77d83000.rw-.sdmp Binary or memory string: x86_64/usr/bin/qemu-arm/tmp/Kxc3PFrEoj.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/Kxc3PFrEoj.elf
Source: Kxc3PFrEoj.elf, 6230.1.000055f6ce37e000.000055f6ce4cd000.rw-.sdmp, Kxc3PFrEoj.elf, 6232.1.000055f6ce37e000.000055f6ce4cd000.rw-.sdmp, Kxc3PFrEoj.elf, 6233.1.000055f6ce37e000.000055f6ce4cd000.rw-.sdmp Binary or memory string: /etc/qemu-binfmt/arm
Source: Kxc3PFrEoj.elf, 6230.1.00007ffd77d62000.00007ffd77d83000.rw-.sdmp, Kxc3PFrEoj.elf, 6232.1.00007ffd77d62000.00007ffd77d83000.rw-.sdmp, Kxc3PFrEoj.elf, 6233.1.00007ffd77d62000.00007ffd77d83000.rw-.sdmp Binary or memory string: /usr/bin/qemu-arm

Stealing of Sensitive Information

barindex
Source: Yara match File source: Kxc3PFrEoj.elf, type: SAMPLE
Source: Yara match File source: 6233.1.00007f4548017000.00007f454802e000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6232.1.00007f4548017000.00007f454802e000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6230.1.00007f4548017000.00007f454802e000.r-x.sdmp, type: MEMORY
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; de) Opera 11.01
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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Source: Initial sample User agent string found: Mozilla/5.0 (iPhone; CPU iPhone OS 8_4 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12H143 Safari/600.1.4
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 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/46.0.2490.80 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56
Source: Initial sample User agent string found: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.7 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.7
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
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: 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 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A
Source: Initial sample User agent string found: Mozilla/5.0 (Windows NT 10.0; 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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Linux; Android 4.4.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36
Source: Initial sample User agent string found: Mozilla/5.0 (Linux; Android 4.4.3; HTC_0PCV2 Build/KTU84L) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/33.0.0.0 Mobile Safari/537.36
Source: Initial sample User agent string found: Mozilla/4.0 (compatible; MSIE 8.0; X11; Linux x86_64; pl) Opera 11.00
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/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0
Source: Initial sample User agent string found: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Firefox/24.0
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: Kxc3PFrEoj.elf, type: SAMPLE
Source: Yara match File source: 6233.1.00007f4548017000.00007f454802e000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6232.1.00007f4548017000.00007f454802e000.r-x.sdmp, type: MEMORY
Source: Yara match File source: 6230.1.00007f4548017000.00007f454802e000.r-x.sdmp, type: MEMORY
  • No. of IPs < 25%
  • 25% < No. of IPs < 50%
  • 50% < No. of IPs < 75%
  • 75% < No. of IPs