Loading Joe Sandbox Report ...

Edit tour

Linux Analysis Report
na.elf

Overview

General Information

Sample name:na.elf
Analysis ID:1528839
MD5:ba6476ccebe39c991d26ce01d22034f6
SHA1:f93b6e91622b988c4f8c25d9ec575e24f48e0806
SHA256:19ba720d0c97aa13da6d1822986fb66d0915b300c140ba2bfe6e6cfd10b87b40
Tags:elfMiraiuser-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
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:1528839
Start date and time:2024-10-08 11:35:55 +02: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:na.elf
Detection:MAL
Classification:mal76.troj.evad.linELF@0/0@2/0
Command:/tmp/na.elf
PID:5489
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
  • na.elf (PID: 5489, Parent: 5414, MD5: 0083f1f0e77be34ad27f849842bbb00c) Arguments: /tmp/na.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
na.elfJoeSecurity_Mirai_5Yara detected MiraiJoe Security
    na.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
    5489.1.00007f6cd0400000.00007f6cd0422000.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: na.elfAvira: detected
    Source: na.elfReversingLabs: Detection: 57%
    Source: na.elfVirustotal: Detection: 65%Perma Link
    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: na.elfString found in binary or memory: http://127.0.0.1
    Source: na.elfString found in binary or memory: http://127.0.0.1sendcmd
    Source: na.elfString found in binary or memory: http://baidu.com/%s/%s/%d/%s/%s/%s/%s)
    Source: na.elfString found in binary or memory: http://ipinfo.io/ip
    Source: na.elfString found in binary or memory: http://upx.sf.net

    System Summary

    barindex
    Source: na.elf, type: SAMPLEMatched rule: Linux_Packer_Patched_UPX_62e11c64 Author: unknown
    Source: 5489.1.00007f6cd0400000.00007f6cd0422000.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: busybox
    Source: Initial sampleString containing 'busybox' found: ..%s/%s/proc/haha/tmp/var/lib/dev/syscfgtool set /mnt/jffs2/hw_ctree.xml InternetGatewayDevice.ManagementServer URL "http://127.0.0.1"cfgtool set /mnt/jffs2/hw_ctree.xml InternetGatewayDevice.ManagementServer ConnectionRequestPassword "acsMozi"iptables -I INPUT -p tcp --destination-port 35000 -j DROPiptables -I INPUT -p tcp --destination-port 50023 -j DROPiptables -I OUTPUT -p tcp --source-port 50023 -j DROPiptables -I OUTPUT -p tcp --source-port 35000 -j DROPiptables -I INPUT -p tcp --destination-port 7547 -j DROPiptables -I OUTPUT -p tcp --source-port 7547 -j DROPiptables -I INPUT -p tcp --dport 35000 -j DROPiptables -I INPUT -p tcp --dport 50023 -j DROPiptables -I OUTPUT -p tcp --sport 50023 -j DROPiptables -I OUTPUT -p tcp --sport 35000 -j DROPiptables -I INPUT -p tcp --dport 7547 -j DROPiptables -I OUTPUT -p tcp --sport 7547 -j DROP/mnt/jffs2/Equip.sh%s%s%s%s#!/bin/sh/mnt/jffs2/wifi.sh/mnt/jffs2/WifiPerformance.shbusybox%255s %255s %255s %255s
    Source: na.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: 5489.1.00007f6cd0400000.00007f6cd0422000.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@2/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: na.elfSubmission file: segment LOAD with 7.8156 entropy (max. 8.0)
    Source: /tmp/na.elf (PID: 5489)Queries kernel information via 'uname': Jump to behavior
    Source: na.elf, 5489.1.00005555f5b88000.00005555f5c0f000.rw-.sdmpBinary or memory string: UU!/etc/qemu-binfmt/mips
    Source: na.elf, 5489.1.00007ffca3bbf000.00007ffca3be0000.rw-.sdmpBinary or memory string: ix86_64/usr/bin/qemu-mips/tmp/na.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/na.elf
    Source: na.elf, 5489.1.00005555f5b88000.00005555f5c0f000.rw-.sdmpBinary or memory string: /etc/qemu-binfmt/mips
    Source: na.elf, 5489.1.00007ffca3bbf000.00007ffca3be0000.rw-.sdmpBinary or memory string: /usr/bin/qemu-mips
    Source: na.elf, 5489.1.00007ffca3bbf000.00007ffca3be0000.rw-.sdmpBinary or memory string: qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped

    Stealing of Sensitive Information

    barindex
    Source: Yara matchFile source: na.elf, type: SAMPLE

    Remote Access Functionality

    barindex
    Source: Yara matchFile source: na.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
    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
    SourceDetectionScannerLabelLink
    na.elf58%ReversingLabsLinux.Trojan.Dakkatoni
    na.elf66%VirustotalBrowse
    na.elf100%AviraEXP/ELF.Agent.L.26
    No Antivirus matches
    SourceDetectionScannerLabelLink
    daisy.ubuntu.com0%VirustotalBrowse
    SourceDetectionScannerLabelLink
    http://upx.sf.net0%URL Reputationsafe
    http://upx.sf.net0%URL Reputationsafe
    NameIPActiveMaliciousAntivirus DetectionReputation
    daisy.ubuntu.com
    162.213.35.25
    truefalseunknown
    NameSourceMaliciousAntivirus DetectionReputation
    http://upx.sf.netna.elftrue
    • URL Reputation: safe
    • URL Reputation: safe
    unknown
    http://ipinfo.io/ipna.elffalse
      unknown
      http://127.0.0.1na.elffalse
        unknown
        http://baidu.com/%s/%s/%d/%s/%s/%s/%s)na.elffalse
          unknown
          http://127.0.0.1sendcmdna.elffalse
            unknown
            No contacted IP infos
            No context
            MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
            daisy.ubuntu.comna.elfGet hashmaliciousUnknownBrowse
            • 162.213.35.24
            na.elfGet hashmaliciousMiraiBrowse
            • 162.213.35.25
            na.elfGet hashmaliciousUnknownBrowse
            • 162.213.35.25
            na.elfGet hashmaliciousUnknownBrowse
            • 162.213.35.25
            na.elfGet hashmaliciousUnknownBrowse
            • 162.213.35.24
            na.elfGet hashmaliciousUnknownBrowse
            • 162.213.35.24
            na.elfGet hashmaliciousUnknownBrowse
            • 162.213.35.25
            na.elfGet hashmaliciousUnknownBrowse
            • 162.213.35.25
            na.elfGet hashmaliciousUnknownBrowse
            • 162.213.35.25
            na.elfGet hashmaliciousUnknownBrowse
            • 162.213.35.24
            No context
            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):6.094579158583427
            TrID:
            • ELF Executable and Linkable format (Linux) (4029/14) 50.16%
            • ELF Executable and Linkable format (generic) (4004/1) 49.84%
            File name:na.elf
            File size:218'960 bytes
            MD5:ba6476ccebe39c991d26ce01d22034f6
            SHA1:f93b6e91622b988c4f8c25d9ec575e24f48e0806
            SHA256:19ba720d0c97aa13da6d1822986fb66d0915b300c140ba2bfe6e6cfd10b87b40
            SHA512:b79adc5fb8e2d0ce955d6707593791c9e6416fc39af89f2f44a397f759ee7aae1b52330d4b98f41c5bff79575f4d2ff9b7629cdf588a956b11d1c758e17a94ae
            SSDEEP:3072:phNlHuBafLeBtfCzpta8xlBIOdVo3/4sxLJ10xiohw+:p3lOYoaja8xzx/0wsxzSiWr
            TLSH:4B241246EE229E27EBD419BB2FCF078D7D662F55D2C7B064E4C1C24F1791189AE63018
            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
            Oct 8, 2024 11:36:40.348042965 CEST3966053192.168.2.141.1.1.1
            Oct 8, 2024 11:36:40.348202944 CEST4659353192.168.2.141.1.1.1
            Oct 8, 2024 11:36:40.355292082 CEST53465931.1.1.1192.168.2.14
            Oct 8, 2024 11:36:40.355971098 CEST53396601.1.1.1192.168.2.14
            TimestampSource IPDest IPTrans IDOP CodeNameTypeClassDNS over HTTPS
            Oct 8, 2024 11:36:40.348042965 CEST192.168.2.141.1.1.10xbec8Standard query (0)daisy.ubuntu.comA (IP address)IN (0x0001)false
            Oct 8, 2024 11:36:40.348202944 CEST192.168.2.141.1.1.10xc4b3Standard query (0)daisy.ubuntu.com28IN (0x0001)false
            TimestampSource IPDest IPTrans IDReply CodeNameCNameAddressTypeClassDNS over HTTPS
            Oct 8, 2024 11:36:40.355971098 CEST1.1.1.1192.168.2.140xbec8No error (0)daisy.ubuntu.com162.213.35.25A (IP address)IN (0x0001)false
            Oct 8, 2024 11:36:40.355971098 CEST1.1.1.1192.168.2.140xbec8No error (0)daisy.ubuntu.com162.213.35.24A (IP address)IN (0x0001)false

            System Behavior

            Start time (UTC):09:36:37
            Start date (UTC):08/10/2024
            Path:/tmp/na.elf
            Arguments:/tmp/na.elf
            File size:5777432 bytes
            MD5 hash:0083f1f0e77be34ad27f849842bbb00c