Loading Joe Sandbox Report ...

Edit tour

Linux Analysis Report
sparc.elf

Overview

General Information

Sample name:sparc.elf
Analysis ID:1581993
MD5:c79185352a9a1ae393d3011c31c7c724
SHA1:099e8a77b2732d4181b961c37e8b003e1258e6e8
SHA256:bbf2e291c24c0da9bf0d0dbc018d0b2c45bb37fac7a7ad146ae74946bcf67fbd
Tags:elfuser-abuse_ch
Infos:

Detection

Mirai
Score:84
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 deletes itself
Detected TCP or UDP traffic on non-standard ports
Sample has stripped symbol table
Sample listens on a socket
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:1581993
Start date and time:2024-12-29 14:51:28 +01:00
Joe Sandbox product:CloudBasic
Overall analysis duration:0h 4m 21s
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:sparc.elf
Detection:MAL
Classification:mal84.troj.evad.linELF@0/0@0/0
Command:/tmp/sparc.elf
PID:5487
Exit Code:0
Exit Code Info:
Killed:False
Standard Output:
listening tun0
Standard Error:
  • system is lnxubuntu20
  • sparc.elf (PID: 5487, Parent: 5413, MD5: 7dc1c0e23cd5e102bb12e5c29403410e) Arguments: /tmp/sparc.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
sparc.elfJoeSecurity_Mirai_9Yara detected MiraiJoe Security
    sparc.elfJoeSecurity_Mirai_5Yara detected MiraiJoe Security
      sparc.elfLinux_Trojan_Gafgyt_ea92cca8unknownunknown
      • 0x12428:$a: 53 65 6C 66 20 52 65 70 20 46 75 63 6B 69 6E 67 20 4E 65 54 69 53 20 61 6E 64
      sparc.elfMirai_Botnet_MalwareDetects Mirai Botnet MalwareFlorian Roth
      • 0x120c0:$x1: POST /cdn-cgi/
      • 0x124b0:$x2: /dev/misc/watchdog
      • 0x124a0:$x3: /dev/watchdog
      • 0x12550:$s1: LCOGQGPTGP
      • 0x124f8:$s6: NKQVGLKLE
      sparc.elfMAL_ELF_LNX_Mirai_Oct10_2Detects ELF malware Mirai relatedFlorian Roth
      • 0x120c0:$c01: 50 4F 53 54 20 2F 63 64 6E 2D 63 67 69 2F 00 00 20 48 54 54 50 2F 31 2E 31 0D 0A 55 73 65 72 2D 41 67 65 6E 74 3A 20 00 0D 0A 48 6F 73 74 3A
      SourceRuleDescriptionAuthorStrings
      5487.1.00007f1c74011000.00007f1c74024000.r-x.sdmpJoeSecurity_Mirai_9Yara detected MiraiJoe Security
        5487.1.00007f1c74011000.00007f1c74024000.r-x.sdmpJoeSecurity_Mirai_5Yara detected MiraiJoe Security
          5487.1.00007f1c74011000.00007f1c74024000.r-x.sdmpLinux_Trojan_Gafgyt_ea92cca8unknownunknown
          • 0x12428:$a: 53 65 6C 66 20 52 65 70 20 46 75 63 6B 69 6E 67 20 4E 65 54 69 53 20 61 6E 64
          5487.1.00007f1c74011000.00007f1c74024000.r-x.sdmpMirai_Botnet_MalwareDetects Mirai Botnet MalwareFlorian Roth
          • 0x120c0:$x1: POST /cdn-cgi/
          • 0x124b0:$x2: /dev/misc/watchdog
          • 0x124a0:$x3: /dev/watchdog
          • 0x12550:$s1: LCOGQGPTGP
          • 0x124f8:$s6: NKQVGLKLE
          5487.1.00007f1c74011000.00007f1c74024000.r-x.sdmpMAL_ELF_LNX_Mirai_Oct10_2Detects ELF malware Mirai relatedFlorian Roth
          • 0x120c0:$c01: 50 4F 53 54 20 2F 63 64 6E 2D 63 67 69 2F 00 00 20 48 54 54 50 2F 31 2E 31 0D 0A 55 73 65 72 2D 41 67 65 6E 74 3A 20 00 0D 0A 48 6F 73 74 3A
          Click to see the 2 entries
          No Suricata rule has matched

          Click to jump to signature section

          Show All Signature Results

          AV Detection

          barindex
          Source: sparc.elfAvira: detected
          Source: sparc.elfVirustotal: Detection: 41%Perma Link
          Source: sparc.elfReversingLabs: Detection: 47%
          Source: global trafficTCP traffic: 192.168.2.14:36502 -> 185.196.10.127:8888
          Source: /tmp/sparc.elf (PID: 5487)Socket: 127.0.0.1:41286Jump to behavior

          System Summary

          barindex
          Source: sparc.elf, type: SAMPLEMatched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
          Source: sparc.elf, type: SAMPLEMatched rule: Detects Mirai Botnet Malware Author: Florian Roth
          Source: sparc.elf, type: SAMPLEMatched rule: Detects ELF malware Mirai related Author: Florian Roth
          Source: 5487.1.00007f1c74011000.00007f1c74024000.r-x.sdmp, type: MEMORYMatched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
          Source: 5487.1.00007f1c74011000.00007f1c74024000.r-x.sdmp, type: MEMORYMatched rule: Detects Mirai Botnet Malware Author: Florian Roth
          Source: 5487.1.00007f1c74011000.00007f1c74024000.r-x.sdmp, type: MEMORYMatched rule: Detects ELF malware Mirai related Author: Florian Roth
          Source: Process Memory Space: sparc.elf PID: 5487, type: MEMORYSTRMatched rule: Linux_Trojan_Gafgyt_ea92cca8 Author: unknown
          Source: ELF static info symbol of initial sample.symtab present: no
          Source: sparc.elf, type: SAMPLEMatched rule: Linux_Trojan_Gafgyt_ea92cca8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = aa4aee9f3d6bedd8234eaf8778895a0f5d71c42b21f2a428f01f121e85704e8e, id = ea92cca8-bba7-4a1c-9b88-a2d051ad0021, last_modified = 2021-09-16
          Source: sparc.elf, type: SAMPLEMatched rule: Mirai_Botnet_Malware date = 2016-10-04, hash5 = 420bf9215dfb04e5008c5e522eee9946599e2b323b17f17919cd802ebb012175, hash4 = 2efa09c124f277be2199bee58f49fc0ce6c64c0bef30079dfb3d94a6de492a69, hash3 = 20683ff7a5fec1237fc09224af40be029b9548c62c693844624089af568c89d4, hash2 = 05c78c3052b390435e53a87e3d31e9fb17f7c76bb4df2814313bca24735ce81c, hash1 = 05c78c3052b390435e53a87e3d31e9fb17f7c76bb4df2814313bca24735ce81c, author = Florian Roth, description = Detects Mirai Botnet Malware, hash10 = c61bf95146c68bfbbe01d7695337ed0e93ea759f59f651799f07eecdb339f83f, hash11 = d9573c3850e2ae35f371dff977fc3e5282a5e67db8e3274fd7818e8273fd5c89, hash12 = f1100c84abff05e0501e77781160d9815628e7fd2de9e53f5454dbcac7c84ca5, hash9 = bf0471b37dba7939524a30d7d5afc8fcfb8d4a7c9954343196737e72ea4e2dc4, hash8 = 89570ae59462e6472b6769545a999bde8457e47ae0d385caaa3499ab735b8147, hash7 = 70bb0ec35dd9afcfd52ec4e1d920e7045dc51dca0573cd4c753987c9d79405c0, hash6 = 62cdc8b7fffbaf5683a466f6503c03e68a15413a90f6afd5a13ba027631460c6, reference = Internal Research, license = https://creativecommons.org/licenses/by-nc/4.0/, hash13 = fb713ccf839362bf0fbe01aedd6796f4d74521b133011b408e42c1fd9ab8246b
          Source: sparc.elf, type: SAMPLEMatched rule: MAL_ELF_LNX_Mirai_Oct10_2 date = 2018-10-27, hash1 = fa0018e75f503f9748a5de0d14d4358db234f65e28c31c8d5878cc58807081c9, author = Florian Roth, description = Detects ELF malware Mirai related, reference = Internal Research
          Source: 5487.1.00007f1c74011000.00007f1c74024000.r-x.sdmp, type: MEMORYMatched rule: Linux_Trojan_Gafgyt_ea92cca8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = aa4aee9f3d6bedd8234eaf8778895a0f5d71c42b21f2a428f01f121e85704e8e, id = ea92cca8-bba7-4a1c-9b88-a2d051ad0021, last_modified = 2021-09-16
          Source: 5487.1.00007f1c74011000.00007f1c74024000.r-x.sdmp, type: MEMORYMatched rule: Mirai_Botnet_Malware date = 2016-10-04, hash5 = 420bf9215dfb04e5008c5e522eee9946599e2b323b17f17919cd802ebb012175, hash4 = 2efa09c124f277be2199bee58f49fc0ce6c64c0bef30079dfb3d94a6de492a69, hash3 = 20683ff7a5fec1237fc09224af40be029b9548c62c693844624089af568c89d4, hash2 = 05c78c3052b390435e53a87e3d31e9fb17f7c76bb4df2814313bca24735ce81c, hash1 = 05c78c3052b390435e53a87e3d31e9fb17f7c76bb4df2814313bca24735ce81c, author = Florian Roth, description = Detects Mirai Botnet Malware, hash10 = c61bf95146c68bfbbe01d7695337ed0e93ea759f59f651799f07eecdb339f83f, hash11 = d9573c3850e2ae35f371dff977fc3e5282a5e67db8e3274fd7818e8273fd5c89, hash12 = f1100c84abff05e0501e77781160d9815628e7fd2de9e53f5454dbcac7c84ca5, hash9 = bf0471b37dba7939524a30d7d5afc8fcfb8d4a7c9954343196737e72ea4e2dc4, hash8 = 89570ae59462e6472b6769545a999bde8457e47ae0d385caaa3499ab735b8147, hash7 = 70bb0ec35dd9afcfd52ec4e1d920e7045dc51dca0573cd4c753987c9d79405c0, hash6 = 62cdc8b7fffbaf5683a466f6503c03e68a15413a90f6afd5a13ba027631460c6, reference = Internal Research, license = https://creativecommons.org/licenses/by-nc/4.0/, hash13 = fb713ccf839362bf0fbe01aedd6796f4d74521b133011b408e42c1fd9ab8246b
          Source: 5487.1.00007f1c74011000.00007f1c74024000.r-x.sdmp, type: MEMORYMatched rule: MAL_ELF_LNX_Mirai_Oct10_2 date = 2018-10-27, hash1 = fa0018e75f503f9748a5de0d14d4358db234f65e28c31c8d5878cc58807081c9, author = Florian Roth, description = Detects ELF malware Mirai related, reference = Internal Research
          Source: Process Memory Space: sparc.elf PID: 5487, type: MEMORYSTRMatched rule: Linux_Trojan_Gafgyt_ea92cca8 os = linux, severity = x86, creation_date = 2021-01-12, scan_context = file, memory, license = Elastic License v2, threat_name = Linux.Trojan.Gafgyt, fingerprint = aa4aee9f3d6bedd8234eaf8778895a0f5d71c42b21f2a428f01f121e85704e8e, id = ea92cca8-bba7-4a1c-9b88-a2d051ad0021, last_modified = 2021-09-16
          Source: classification engineClassification label: mal84.troj.evad.linELF@0/0@0/0

          Hooking and other Techniques for Hiding and Protection

          barindex
          Source: /tmp/sparc.elf (PID: 5487)File: /tmp/sparc.elfJump to behavior
          Source: /tmp/sparc.elf (PID: 5487)Queries kernel information via 'uname': Jump to behavior
          Source: /tmp/sparc.elf (PID: 5489)Queries kernel information via 'uname': Jump to behavior
          Source: sparc.elf, 5487.1.00005567f4736000.00005567f479b000.rw-.sdmpBinary or memory string: /etc/qemu-binfmt/sparc
          Source: sparc.elf, 5487.1.00005567f4736000.00005567f479b000.rw-.sdmpBinary or memory string: gU!/etc/qemu-binfmt/sparc
          Source: sparc.elf, 5487.1.00007fff6bdf0000.00007fff6be11000.rw-.sdmpBinary or memory string: /usr/bin/qemu-sparc
          Source: sparc.elf, 5487.1.00007fff6bdf0000.00007fff6be11000.rw-.sdmpBinary or memory string: x86_64/usr/bin/qemu-sparc/tmp/sparc.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/sparc.elf

          Stealing of Sensitive Information

          barindex
          Source: Yara matchFile source: sparc.elf, type: SAMPLE
          Source: Yara matchFile source: 5487.1.00007f1c74011000.00007f1c74024000.r-x.sdmp, type: MEMORY
          Source: Yara matchFile source: Process Memory Space: sparc.elf PID: 5487, type: MEMORYSTR

          Remote Access Functionality

          barindex
          Source: Yara matchFile source: sparc.elf, type: SAMPLE
          Source: Yara matchFile source: 5487.1.00007f1c74011000.00007f1c74024000.r-x.sdmp, type: MEMORY
          Source: Yara matchFile source: Process Memory Space: sparc.elf PID: 5487, type: MEMORYSTR
          ReconnaissanceResource DevelopmentInitial AccessExecutionPersistencePrivilege EscalationDefense EvasionCredential AccessDiscoveryLateral MovementCollectionCommand and ControlExfiltrationImpact
          Gather Victim Identity InformationAcquire InfrastructureValid AccountsWindows Management InstrumentationPath InterceptionPath Interception1
          File Deletion
          OS Credential Dumping11
          Security Software Discovery
          Remote ServicesData from Local System1
          Non-Standard Port
          Exfiltration Over Other Network MediumAbuse Accessibility Features
          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
          sparc.elf41%VirustotalBrowse
          sparc.elf47%ReversingLabsLinux.Backdoor.Mirai
          sparc.elf100%AviraLINUX/Mirai.bonb
          No Antivirus matches
          No Antivirus matches
          No Antivirus matches
          No contacted domains info
          • No. of IPs < 25%
          • 25% < No. of IPs < 50%
          • 50% < No. of IPs < 75%
          • 75% < No. of IPs
          IPDomainCountryFlagASNASN NameMalicious
          185.196.10.127
          unknownSwitzerland
          42624SIMPLECARRIERCHfalse
          MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
          185.196.10.127armv6l.elfGet hashmaliciousMiraiBrowse
            sh4.elfGet hashmaliciousMiraiBrowse
              mips.elfGet hashmaliciousMiraiBrowse
                mipsel.elfGet hashmaliciousMiraiBrowse
                  x86_64.elfGet hashmaliciousMiraiBrowse
                    armv7l.elfGet hashmaliciousMiraiBrowse
                      i686.elfGet hashmaliciousMiraiBrowse
                        i586.elfGet hashmaliciousMiraiBrowse
                          powerpc.elfGet hashmaliciousMiraiBrowse
                            armv4l.elfGet hashmaliciousMiraiBrowse
                              No context
                              MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
                              SIMPLECARRIERCHarmv6l.elfGet hashmaliciousMiraiBrowse
                              • 185.196.10.127
                              sh4.elfGet hashmaliciousMiraiBrowse
                              • 185.196.10.127
                              mips.elfGet hashmaliciousMiraiBrowse
                              • 185.196.10.127
                              mipsel.elfGet hashmaliciousMiraiBrowse
                              • 185.196.10.127
                              x86_64.elfGet hashmaliciousMiraiBrowse
                              • 185.196.10.127
                              armv7l.elfGet hashmaliciousMiraiBrowse
                              • 185.196.10.127
                              i686.elfGet hashmaliciousMiraiBrowse
                              • 185.196.10.127
                              i586.elfGet hashmaliciousMiraiBrowse
                              • 185.196.10.127
                              powerpc.elfGet hashmaliciousMiraiBrowse
                              • 185.196.10.127
                              armv4l.elfGet hashmaliciousMiraiBrowse
                              • 185.196.10.127
                              No context
                              No context
                              No created / dropped files found
                              File type:ELF 32-bit MSB executable, SPARC, version 1 (SYSV), statically linked, stripped
                              Entropy (8bit):5.796571341551822
                              TrID:
                              • ELF Executable and Linkable format (generic) (4004/1) 100.00%
                              File name:sparc.elf
                              File size:83'728 bytes
                              MD5:c79185352a9a1ae393d3011c31c7c724
                              SHA1:099e8a77b2732d4181b961c37e8b003e1258e6e8
                              SHA256:bbf2e291c24c0da9bf0d0dbc018d0b2c45bb37fac7a7ad146ae74946bcf67fbd
                              SHA512:cf21d3432ed857e0027a3a47bba0cb92fbd7a995f5a908214972211b71ebd0a9e1c859fdfc3a4bed97ab2d1497e6d2ff88449a88c815c108d8c9c3558223df93
                              SSDEEP:1536:Fyg4zsJwmFkpZ0xZBsm/NeHy+SMNQRNl0JVI23NhX:F74oJ/5FYSM2p0h33X
                              TLSH:F8836C626A7A1B27C4E0A57D90E7875EF2FA478D2464C20F7EA10D4EBF5897031532F8
                              File Content Preview:.ELF...........................4..E......4. ...(......................,...,...............@...@...@.......7...............@H..@H..@H................dt.Q................................@..(....@.G.................#.....`...`.....!.....!l..@.....".........`

                              ELF header

                              Class:ELF32
                              Data:2's complement, big endian
                              Version:1 (current)
                              Machine:Sparc
                              Version Number:0x1
                              Type:EXEC (Executable file)
                              OS/ABI:UNIX - System V
                              ABI Version:0
                              Entry Point Address:0x101c4
                              Flags:0x0
                              ELF Header Size:52
                              Program Header Offset:52
                              Program Header Size:32
                              Number of Program Headers:4
                              Section Header Offset:83208
                              Section Header Size:40
                              Number of Section Headers:13
                              Header String Table Index:12
                              NameTypeAddressOffsetSizeEntSizeFlagsFlags DescriptionLinkInfoAlign
                              NULL0x00x00x00x00x0000
                              .initPROGBITS0x100b40xb40x1c0x00x6AX004
                              .textPROGBITS0x100d00xd00x11fa40x00x6AX004
                              .finiPROGBITS0x220740x120740x140x00x6AX004
                              .rodataPROGBITS0x220880x120880xc700x00x2A008
                              .eh_framePROGBITS0x340000x140000x480x00x3WA004
                              .tbssNOBITS0x340480x140480x80x00x403WAT004
                              .ctorsPROGBITS0x340480x140480x80x00x3WA004
                              .dtorsPROGBITS0x340500x140500x80x00x3WA004
                              .gotPROGBITS0x3405c0x1405c0x10c0x40x3WA004
                              .dataPROGBITS0x341680x141680x34c0x00x3WA004
                              .bssNOBITS0x344b80x144b40x33280x00x3WA008
                              .shstrtabSTRTAB0x00x144b40x530x00x0001
                              TypeOffsetVirtual AddressPhysical AddressFile SizeMemory SizeEntropyFlagsFlags DescriptionAlignProg InterpreterSection Mappings
                              LOAD0x00x100000x100000x12cf80x12cf86.02590x5R E0x10000.init .text .fini .rodata
                              LOAD0x140000x340000x340000x4b40x37e04.25310x6RW 0x10000.eh_frame .tbss .ctors .dtors .got .data .bss
                              TLS0x140480x340480x340480x00x80.00000x4R 0x4.tbss
                              GNU_STACK0x00x00x00x00x00.00000x6RW 0x4
                              TimestampSource PortDest PortSource IPDest IP
                              Dec 29, 2024 14:52:12.721682072 CET365028888192.168.2.14185.196.10.127
                              Dec 29, 2024 14:52:12.843379021 CET888836502185.196.10.127192.168.2.14
                              Dec 29, 2024 14:52:12.843427896 CET365028888192.168.2.14185.196.10.127
                              Dec 29, 2024 14:52:12.844557047 CET365028888192.168.2.14185.196.10.127
                              Dec 29, 2024 14:52:12.965442896 CET888836502185.196.10.127192.168.2.14
                              Dec 29, 2024 14:52:22.854650021 CET365028888192.168.2.14185.196.10.127
                              Dec 29, 2024 14:52:22.976397991 CET888836502185.196.10.127192.168.2.14
                              Dec 29, 2024 14:52:23.285206079 CET888836502185.196.10.127192.168.2.14
                              Dec 29, 2024 14:52:23.285295963 CET365028888192.168.2.14185.196.10.127
                              Dec 29, 2024 14:53:23.330167055 CET365028888192.168.2.14185.196.10.127
                              Dec 29, 2024 14:53:23.691009998 CET365028888192.168.2.14185.196.10.127
                              Dec 29, 2024 14:53:23.829760075 CET888836502185.196.10.127192.168.2.14
                              Dec 29, 2024 14:53:23.829773903 CET888836502185.196.10.127192.168.2.14
                              Dec 29, 2024 14:53:24.139144897 CET888836502185.196.10.127192.168.2.14
                              Dec 29, 2024 14:53:24.139374971 CET365028888192.168.2.14185.196.10.127

                              System Behavior

                              Start time (UTC):13:52:11
                              Start date (UTC):29/12/2024
                              Path:/tmp/sparc.elf
                              Arguments:/tmp/sparc.elf
                              File size:4379400 bytes
                              MD5 hash:7dc1c0e23cd5e102bb12e5c29403410e

                              Start time (UTC):13:52:11
                              Start date (UTC):29/12/2024
                              Path:/tmp/sparc.elf
                              Arguments:-
                              File size:4379400 bytes
                              MD5 hash:7dc1c0e23cd5e102bb12e5c29403410e