Edit tour

Linux Analysis Report
mips.elf

Overview

General Information

Sample name:mips.elf
Analysis ID:1648469
MD5:55354689c5b76ed3bfd15326dbba12d4
SHA1:2abb7eb256c281aafcad26aa3052283e5d13b578
SHA256:8848320e98a186f104757ed892bc393bbe821df684c2078790f02566379d390d
Tags:elfuser-abuse_ch
Infos:

Detection

Mirai
Score:48
Range:0 - 100

Signatures

Yara detected Mirai
Executes the "rm" command used to delete files or directories
Uses the "uname" system call to query kernel version information (possible evasion)

Classification

RansomwareSpreadingPhishingBankerTrojan / BotAdwareSpywareExploiterEvaderMinercleansuspiciousmalicious
Joe Sandbox version:42.0.0 Malachite
Analysis ID:1648469
Start date and time:2025-03-25 21:07:37 +01:00
Joe Sandbox product:CloudBasic
Overall analysis duration:0h 4m 37s
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:mips.elf
Detection:MAL
Classification:mal48.troj.linELF@0/0@2/0
Command:/tmp/mips.elf
PID:5445
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
  • mips.elf (PID: 5445, Parent: 5367, MD5: 0083f1f0e77be34ad27f849842bbb00c) Arguments: /tmp/mips.elf
  • dash New Fork (PID: 5534, Parent: 3584)
  • rm (PID: 5534, Parent: 3584, MD5: aa2b5496fdbfd88e38791ab81f90b95b) Arguments: rm -f /tmp/tmp.nxVzS3cNsd /tmp/tmp.XOchbSzGAF /tmp/tmp.O6vDMfq5lu
  • dash New Fork (PID: 5535, Parent: 3584)
  • rm (PID: 5535, Parent: 3584, MD5: aa2b5496fdbfd88e38791ab81f90b95b) Arguments: rm -f /tmp/tmp.nxVzS3cNsd /tmp/tmp.XOchbSzGAF /tmp/tmp.O6vDMfq5lu
  • 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
mips.elfJoeSecurity_Mirai_8Yara detected MiraiJoe Security
    SourceRuleDescriptionAuthorStrings
    5445.1.00007fb4cc400000.00007fb4cc41c000.r-x.sdmpJoeSecurity_Mirai_8Yara detected MiraiJoe Security
      No Suricata rule has matched

      Click to jump to signature section

      Show All Signature Results
      Source: unknownTCP traffic detected without corresponding DNS query: 54.247.62.1
      Source: unknownTCP traffic detected without corresponding DNS query: 54.247.62.1
      Source: unknownTCP traffic detected without corresponding DNS query: 54.247.62.1
      Source: unknownTCP traffic detected without corresponding DNS query: 54.247.62.1
      Source: unknownTCP traffic detected without corresponding DNS query: 54.247.62.1
      Source: unknownTCP traffic detected without corresponding DNS query: 54.247.62.1
      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: unknownNetwork traffic detected: HTTP traffic on port 57224 -> 443
      Source: unknownNetwork traffic detected: HTTP traffic on port 443 -> 57224
      Source: classification engineClassification label: mal48.troj.linELF@0/0@2/0
      Source: /usr/bin/dash (PID: 5534)Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.nxVzS3cNsd /tmp/tmp.XOchbSzGAF /tmp/tmp.O6vDMfq5luJump to behavior
      Source: /usr/bin/dash (PID: 5535)Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.nxVzS3cNsd /tmp/tmp.XOchbSzGAF /tmp/tmp.O6vDMfq5luJump to behavior
      Source: /tmp/mips.elf (PID: 5445)Queries kernel information via 'uname': Jump to behavior
      Source: mips.elf, 5445.1.0000561c8b352000.0000561c8b3d9000.rw-.sdmpBinary or memory string: V!/etc/qemu-binfmt/mips
      Source: mips.elf, 5445.1.0000561c8b352000.0000561c8b3d9000.rw-.sdmpBinary or memory string: /etc/qemu-binfmt/mips
      Source: mips.elf, 5445.1.00007ffc32fd6000.00007ffc32ff7000.rw-.sdmpBinary or memory string: /usr/bin/qemu-mips
      Source: mips.elf, 5445.1.00007ffc32fd6000.00007ffc32ff7000.rw-.sdmpBinary or memory string: qemu: uncaught target signal 11 (Segmentation fault) - core dumped
      Source: mips.elf, 5445.1.00007ffc32fd6000.00007ffc32ff7000.rw-.sdmpBinary or memory string: Kx86_64/usr/bin/qemu-mips/tmp/mips.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/mips.elf

      Stealing of Sensitive Information

      barindex
      Source: Yara matchFile source: mips.elf, type: SAMPLE
      Source: Yara matchFile source: 5445.1.00007fb4cc400000.00007fb4cc41c000.r-x.sdmp, type: MEMORY

      Remote Access Functionality

      barindex
      Source: Yara matchFile source: mips.elf, type: SAMPLE
      Source: Yara matchFile source: 5445.1.00007fb4cc400000.00007fb4cc41c000.r-x.sdmp, type: MEMORY
      ReconnaissanceResource DevelopmentInitial AccessExecutionPersistencePrivilege EscalationDefense EvasionCredential AccessDiscoveryLateral MovementCollectionCommand and ControlExfiltrationImpact
      Gather Victim Identity InformationAcquire InfrastructureValid AccountsWindows Management InstrumentationPath InterceptionPath Interception1
      File Deletion
      OS Credential Dumping11
      Security Software Discovery
      Remote ServicesData from Local System1
      Encrypted Channel
      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 Drive2
      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: 1648469 Sample: mips.elf Startdate: 25/03/2025 Architecture: LINUX Score: 48 12 54.247.62.1, 443, 57224 AMAZON-02US United States 2->12 14 daisy.ubuntu.com 2->14 16 Yara detected Mirai 2->16 6 dash rm 2->6         started        8 dash rm 2->8         started        10 mips.elf 2->10         started        signatures3 process4
      SourceDetectionScannerLabelLink
      mips.elf6%ReversingLabsLinux.Trojan.Mirai
      No Antivirus matches
      No Antivirus matches
      No Antivirus matches

      Download Network PCAP: filteredfull

      NameIPActiveMaliciousAntivirus DetectionReputation
      daisy.ubuntu.com
      162.213.35.24
      truefalse
        high
        • No. of IPs < 25%
        • 25% < No. of IPs < 50%
        • 50% < No. of IPs < 75%
        • 75% < No. of IPs
        IPDomainCountryFlagASNASN NameMalicious
        54.247.62.1
        unknownUnited States
        16509AMAZON-02USfalse
        MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
        54.247.62.1boatnet.arm6.elfGet hashmaliciousMiraiBrowse
          arm6.elfGet hashmaliciousGafgyt, OkiruBrowse
            na.elfGet hashmaliciousPrometeiBrowse
              arm7.elfGet hashmaliciousMiraiBrowse
                na.elfGet hashmaliciousPrometeiBrowse
                  na.elfGet hashmaliciousPrometeiBrowse
                    arm6.elfGet hashmaliciousUnknownBrowse
                      na.elfGet hashmaliciousPrometeiBrowse
                        na.elfGet hashmaliciousPrometeiBrowse
                          sh4.elfGet hashmaliciousMiraiBrowse
                            MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
                            daisy.ubuntu.comppc.elfGet hashmaliciousUnknownBrowse
                            • 162.213.35.25
                            arm5.elfGet hashmaliciousUnknownBrowse
                            • 162.213.35.24
                            arm.elfGet hashmaliciousMiraiBrowse
                            • 162.213.35.24
                            arm7.elfGet hashmaliciousMiraiBrowse
                            • 162.213.35.24
                            boatnet.x86.elfGet hashmaliciousMiraiBrowse
                            • 162.213.35.24
                            boatnet.m68k.elfGet hashmaliciousMiraiBrowse
                            • 162.213.35.25
                            boatnet.mips.elfGet hashmaliciousMiraiBrowse
                            • 162.213.35.25
                            boatnet.mpsl.elfGet hashmaliciousMiraiBrowse
                            • 162.213.35.24
                            boatnet.arm6.elfGet hashmaliciousMiraiBrowse
                            • 162.213.35.24
                            boatnet.arm7.elfGet hashmaliciousMiraiBrowse
                            • 162.213.35.24
                            MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
                            AMAZON-02UShttps://protect.checkpoint.com/v2/r02/___https://lsems.gravityzone.bitdefender.com/xhfsdfMW5hMR*~*QDcqg1KugH/rhrqqgrWni2pyg1KugH/og75AgMRA37Cu37x!i2GzU2ZBRIJzYIFyRp4R0KWU0rWugMmJiYWAVpWKV1K4i6V8hIZ5SM0ZiLWEW1OmR5/DRLcQX0iG12ODR6m0Z2uCX54XhMGr31/03pyTfZ6rYZi*~*XpqUQYOHR1KUiJS11Z/0T2qVjY4XRZcYgpc9i5uJWYR7g20EjL0/YM46gJCqg7mLRrm6jJc4gn5DVr69X0OQV6WNfKt6Z1h7XJOYhqWIX20v3pR/S20XfZm6f1WH4qtBZKWOY6Wx4rKpZ0Onh80BSLOY4Mh83r/3ZsWx36GrQYOHS2SniIWZV507V1OzioqTfo0xY7S5jJhCSsiRhLiZZI4L35OUYZm*~*hJ/*~*js4tfpuWh5qOiIJ9fMm8gK0CTM04fsiv4555ipVyRpOyTY0xjK0AT1mQYYOfW5uUS842iqiCjr4qXIJ73o0Sg80RRoqYjI0*~*j0uN1qiWWpmz3sJBS6Z701OyRrSBfH5DWpWo3oSC02OW1JKCi5/DRsSt4KS/RImw1KZyRp49hsi*~*f6uZRsioj2uZR2mUg0KsQYOHiEK6RJ0/W8SoQYOHXZuJSoGRTMqP3rS2gr/t01xD4MF70sSmSLOOZ64Xh1/fi7bCW6G9f5OMVsGNgYW8XIqsSMq*~*TJR8RJxBgKq0XE09hr/5jqmJZ6mxR2STVryCZpC3WrcNf0JESsVDZM35QYOLRs0GRZc44pm4jYKUQYOLfM0xZ2W8X8iMf04SQYOLWIG7jpOt2EWBf1mNj1iTZ5NBhoqX4qhB4IV5Y5W7QYOHZZ/zgLb60KGB4sOxWZyqWqKnj1u01pWE3YOEiJms1MhB08uJjLiDZZBC00WSjMmq1ImDX6mPVYS0X0KYZ7yL4sKD3oGL4Jh912KMW2FDY0tBYEVE315DYZ65XZ4uTZiKXYixi6SOS5VDSZC5WsmSfKG5R53BjL6xfEKwSKuG12SX0KGAZ8W7R5WBSLl812iWf1Kq3r0vTLqHX5/LR50UWZ06TYKNRrcVd*~*FG88JcGJ/FGF88986aFHbKbb/JIIK/89KHGK8IHaG/I8KIcbba6c7cKI68GGKI7?h=6&fru;n=6&fru;ithx=6___.YzJlOmdhbmdzdGVyOmM6bzpiMTVjN2QxOWQyYmUwNTY1NzUzNWNiMjU5MjdlZDQxYTo3OjBjYTc6YjUxOGI0N2MzNmJhYjUzNGU2MzNkZWE3MDBkNGExYmIwNzljNzhmMDU2MmNkNzkwZDBhMjM3MDE5NjU0YTZkNTpoOlQ6VAGet hashmaliciousHTMLPhisher, Invisible JS, Tycoon2FABrowse
                            • 13.249.91.12
                            https://business.peppercontent.io/items/1EeoNExLmk9Get hashmaliciousUnknownBrowse
                            • 13.226.34.21
                            file.exeGet hashmaliciousFormBookBrowse
                            • 13.248.243.5
                            na.elfGet hashmaliciousPrometeiBrowse
                            • 54.170.242.139
                            na.elfGet hashmaliciousPrometeiBrowse
                            • 34.254.182.186
                            main_sh4.elfGet hashmaliciousMiraiBrowse
                            • 54.171.230.55
                            na.elfGet hashmaliciousPrometeiBrowse
                            • 54.170.242.139
                            main_mpsl.elfGet hashmaliciousMiraiBrowse
                            • 54.171.230.55
                            http://hak5.comGet hashmaliciousUnknownBrowse
                            • 34.251.101.162
                            na.elfGet hashmaliciousPrometeiBrowse
                            • 54.170.242.139
                            No context
                            No context
                            No created / dropped files found
                            File type:ELF 32-bit MSB executable, MIPS, MIPS-I version 1 (SYSV), dynamically linked, not stripped
                            Entropy (8bit):5.084734115701342
                            TrID:
                            • ELF Executable and Linkable format (generic) (4004/1) 100.00%
                            File name:mips.elf
                            File size:118'120 bytes
                            MD5:55354689c5b76ed3bfd15326dbba12d4
                            SHA1:2abb7eb256c281aafcad26aa3052283e5d13b578
                            SHA256:8848320e98a186f104757ed892bc393bbe821df684c2078790f02566379d390d
                            SHA512:c1331bc0bd8cea081a1a1dd9d1c01b0cb02b286f00b083d39759ea1544e247ee09824999c76720557238c1dbed619f9ab424887192853e712a8539bec80c8dd5
                            SSDEEP:3072:9h08hWwKAiWLm5qbXqLTbw9MgnkareSHOfuEFs:L08hbbLm5W6TM9MgTreGaFs
                            TLSH:05B3630E9D258F6FF229C33643F78960B36527D323D7E649D26CE5201E6434E681BBA4
                            File Content Preview:.ELF.....................@.`...4...`.....4. ...(.............@...@.....0...0.................E...E........nt............................................'.D|...!'.......................<...'.DX...!... ....'9... ......................<...'.D(...!........'9.

                            Download Network PCAP: filteredfull

                            • Total Packets: 8
                            • 443 (HTTPS)
                            • 53 (DNS)
                            TimestampSource PortDest PortSource IPDest IP
                            Mar 25, 2025 21:08:52.003246069 CET57224443192.168.2.1354.247.62.1
                            Mar 25, 2025 21:08:52.003341913 CET4435722454.247.62.1192.168.2.13
                            Mar 25, 2025 21:08:52.003495932 CET57224443192.168.2.1354.247.62.1
                            Mar 25, 2025 21:08:52.005146980 CET57224443192.168.2.1354.247.62.1
                            Mar 25, 2025 21:08:52.005179882 CET4435722454.247.62.1192.168.2.13
                            Mar 25, 2025 21:09:52.011904955 CET57224443192.168.2.1354.247.62.1
                            Mar 25, 2025 21:09:52.056277990 CET4435722454.247.62.1192.168.2.13
                            Mar 25, 2025 21:10:07.826308966 CET4435722454.247.62.1192.168.2.13
                            Mar 25, 2025 21:10:07.826455116 CET4435722454.247.62.1192.168.2.13
                            Mar 25, 2025 21:10:07.826857090 CET57224443192.168.2.1354.247.62.1
                            Mar 25, 2025 21:10:07.826857090 CET57224443192.168.2.1354.247.62.1
                            TimestampSource PortDest PortSource IPDest IP
                            Mar 25, 2025 21:08:30.512279987 CET4992553192.168.2.131.1.1.1
                            Mar 25, 2025 21:08:30.512279987 CET5487053192.168.2.131.1.1.1
                            Mar 25, 2025 21:08:30.614465952 CET53548701.1.1.1192.168.2.13
                            Mar 25, 2025 21:08:30.614628077 CET53499251.1.1.1192.168.2.13
                            TimestampSource IPDest IPTrans IDOP CodeNameTypeClassDNS over HTTPS
                            Mar 25, 2025 21:08:30.512279987 CET192.168.2.131.1.1.10xb7d6Standard query (0)daisy.ubuntu.comA (IP address)IN (0x0001)false
                            Mar 25, 2025 21:08:30.512279987 CET192.168.2.131.1.1.10x40b7Standard query (0)daisy.ubuntu.com28IN (0x0001)false
                            TimestampSource IPDest IPTrans IDReply CodeNameCNameAddressTypeClassDNS over HTTPS
                            Mar 25, 2025 21:08:30.614628077 CET1.1.1.1192.168.2.130xb7d6No error (0)daisy.ubuntu.com162.213.35.24A (IP address)IN (0x0001)false
                            Mar 25, 2025 21:08:30.614628077 CET1.1.1.1192.168.2.130xb7d6No error (0)daisy.ubuntu.com162.213.35.25A (IP address)IN (0x0001)false

                            System Behavior

                            Start time (UTC):20:08:28
                            Start date (UTC):25/03/2025
                            Path:/tmp/mips.elf
                            Arguments:/tmp/mips.elf
                            File size:5777432 bytes
                            MD5 hash:0083f1f0e77be34ad27f849842bbb00c

                            Start time (UTC):20:09:51
                            Start date (UTC):25/03/2025
                            Path:/usr/bin/dash
                            Arguments:-
                            File size:129816 bytes
                            MD5 hash:1e6b1c887c59a315edb7eb9a315fc84c

                            Start time (UTC):20:09:51
                            Start date (UTC):25/03/2025
                            Path:/usr/bin/rm
                            Arguments:rm -f /tmp/tmp.nxVzS3cNsd /tmp/tmp.XOchbSzGAF /tmp/tmp.O6vDMfq5lu
                            File size:72056 bytes
                            MD5 hash:aa2b5496fdbfd88e38791ab81f90b95b

                            Start time (UTC):20:09:51
                            Start date (UTC):25/03/2025
                            Path:/usr/bin/dash
                            Arguments:-
                            File size:129816 bytes
                            MD5 hash:1e6b1c887c59a315edb7eb9a315fc84c

                            Start time (UTC):20:09:51
                            Start date (UTC):25/03/2025
                            Path:/usr/bin/rm
                            Arguments:rm -f /tmp/tmp.nxVzS3cNsd /tmp/tmp.XOchbSzGAF /tmp/tmp.O6vDMfq5lu
                            File size:72056 bytes
                            MD5 hash:aa2b5496fdbfd88e38791ab81f90b95b