Loading Joe Sandbox Report ...

Edit tour

Linux Analysis Report
na.elf

Overview

General Information

Sample name:na.elf
Analysis ID:1533409
MD5:942a4c72715f07a61b8b964496eceed0
SHA1:a854637de45fc554fb4a6a91041f22d21f7da229
SHA256:0312908f4074edd1b4078635da54c9a730f213c25b3b079d140f7a48e5c3448a
Tags:elfuser-abuse_ch
Infos:

Detection

Score:52
Range:0 - 100
Whitelisted:false

Signatures

Multi AV Scanner detection for submitted file
Sample is packed with UPX
ELF contains segments with high entropy indicating compressed/encrypted content
Executes the "rm" command used to delete files or directories
Sample contains only a LOAD segment without any section mappings
Uses the "uname" system call to query kernel version information (possible evasion)

Classification

Joe Sandbox version:41.0.0 Charoite
Analysis ID:1533409
Start date and time:2024-10-14 17:29:12 +02:00
Joe Sandbox product:CloudBasic
Overall analysis duration:0h 4m 28s
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:mal52.evad.linELF@0/0@2/0
  • VT rate limit hit for: na.elf
Command:/tmp/na.elf
PID:5437
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
  • dash New Fork (PID: 5413, Parent: 3587)
  • rm (PID: 5413, Parent: 3587, MD5: aa2b5496fdbfd88e38791ab81f90b95b) Arguments: rm -f /tmp/tmp.wLvzvVYRft /tmp/tmp.vP5TwQfjr0 /tmp/tmp.yrXQFuHbHk
  • dash New Fork (PID: 5414, Parent: 3587)
  • cat (PID: 5414, Parent: 3587, MD5: 7e9d213e404ad3bb82e4ebb2e1f2c1b3) Arguments: cat /tmp/tmp.wLvzvVYRft
  • dash New Fork (PID: 5415, Parent: 3587)
  • head (PID: 5415, Parent: 3587, MD5: fd96a67145172477dd57131396fc9608) Arguments: head -n 10
  • dash New Fork (PID: 5416, Parent: 3587)
  • tr (PID: 5416, Parent: 3587, MD5: fbd1402dd9f72d8ebfff00ce7c3a7bb5) Arguments: tr -d \\000-\\011\\013\\014\\016-\\037
  • dash New Fork (PID: 5417, Parent: 3587)
  • cut (PID: 5417, Parent: 3587, MD5: d8ed0ea8f22c0de0f8692d4d9f1759d3) Arguments: cut -c -80
  • dash New Fork (PID: 5418, Parent: 3587)
  • cat (PID: 5418, Parent: 3587, MD5: 7e9d213e404ad3bb82e4ebb2e1f2c1b3) Arguments: cat /tmp/tmp.wLvzvVYRft
  • dash New Fork (PID: 5419, Parent: 3587)
  • head (PID: 5419, Parent: 3587, MD5: fd96a67145172477dd57131396fc9608) Arguments: head -n 10
  • dash New Fork (PID: 5420, Parent: 3587)
  • tr (PID: 5420, Parent: 3587, MD5: fbd1402dd9f72d8ebfff00ce7c3a7bb5) Arguments: tr -d \\000-\\011\\013\\014\\016-\\037
  • dash New Fork (PID: 5421, Parent: 3587)
  • cut (PID: 5421, Parent: 3587, MD5: d8ed0ea8f22c0de0f8692d4d9f1759d3) Arguments: cut -c -80
  • dash New Fork (PID: 5422, Parent: 3587)
  • rm (PID: 5422, Parent: 3587, MD5: aa2b5496fdbfd88e38791ab81f90b95b) Arguments: rm -f /tmp/tmp.wLvzvVYRft /tmp/tmp.vP5TwQfjr0 /tmp/tmp.yrXQFuHbHk
  • na.elf (PID: 5437, Parent: 5351, MD5: 5ebfcae4fe2471fcc5695c2394773ff1) Arguments: /tmp/na.elf
  • cleanup
No yara matches
No Suricata rule has matched

Click to jump to signature section

Show All Signature Results

AV Detection

barindex
Source: na.elfReversingLabs: Detection: 75%
Source: global trafficDNS traffic detected: DNS query: daisy.ubuntu.com
Source: na.elfString found in binary or memory: http://upx.sf.net
Source: LOAD without section mappingsProgram segment: 0x8000
Source: classification engineClassification label: mal52.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: /usr/bin/dash (PID: 5413)Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.wLvzvVYRft /tmp/tmp.vP5TwQfjr0 /tmp/tmp.yrXQFuHbHkJump to behavior
Source: /usr/bin/dash (PID: 5422)Rm executable: /usr/bin/rm -> rm -f /tmp/tmp.wLvzvVYRft /tmp/tmp.vP5TwQfjr0 /tmp/tmp.yrXQFuHbHkJump to behavior
Source: na.elfSubmission file: segment LOAD with 7.9739 entropy (max. 8.0)
Source: /tmp/na.elf (PID: 5437)Queries kernel information via 'uname': Jump to behavior
Source: na.elf, 5437.1.00007ffe9f8f2000.00007ffe9f913000.rw-.sdmpBinary or memory string: 8qx86_64/usr/bin/qemu-arm/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, 5437.1.0000560faa7d2000.0000560faa900000.rw-.sdmpBinary or memory string: /etc/qemu-binfmt/arm
Source: na.elf, 5437.1.0000560faa7d2000.0000560faa900000.rw-.sdmpBinary or memory string: V!/etc/qemu-binfmt/arm
Source: na.elf, 5437.1.00007ffe9f8f2000.00007ffe9f913000.rw-.sdmpBinary or memory string: /usr/bin/qemu-arm
Source: na.elf, 5437.1.00007ffe9f8f2000.00007ffe9f913000.rw-.sdmpBinary or memory string: qemu: uncaught target signal 11 (Segmentation fault) - core dumped
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 Scripts1
File Deletion
LSASS 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
behaviorgraph top1 dnsIp2 2 Behavior Graph ID: 1533409 Sample: na.elf Startdate: 14/10/2024 Architecture: LINUX Score: 52 14 daisy.ubuntu.com 2->14 16 Multi AV Scanner detection for submitted file 2->16 18 Sample is packed with UPX 2->18 6 dash rm na.elf 2->6         started        8 dash rm 2->8         started        10 dash cut 2->10         started        12 7 other processes 2->12 signatures3 process4
SourceDetectionScannerLabelLink
na.elf75%ReversingLabsLinux.Trojan.Mirai
No Antivirus matches
No Antivirus matches
SourceDetectionScannerLabelLink
http://upx.sf.net0%URL Reputationsafe
NameIPActiveMaliciousAntivirus DetectionReputation
daisy.ubuntu.com
162.213.35.24
truefalse
    unknown
    NameSourceMaliciousAntivirus DetectionReputation
    http://upx.sf.netna.elftrue
    • URL Reputation: safe
    unknown
    No contacted IP infos
    No context
    MatchAssociated Sample Name / URLSHA 256DetectionThreat NameLinkContext
    daisy.ubuntu.comna.elfGet hashmaliciousMirai, MoobotBrowse
    • 162.213.35.25
    na.elfGet hashmaliciousGafgyt, MiraiBrowse
    • 162.213.35.25
    na.elfGet hashmaliciousGafgyt, MiraiBrowse
    • 162.213.35.25
    na.elfGet hashmaliciousGafgyt, MiraiBrowse
    • 162.213.35.24
    na.elfGet hashmaliciousGafgyt, MiraiBrowse
    • 162.213.35.25
    na.elfGet hashmaliciousGafgyt, MiraiBrowse
    • 162.213.35.25
    na.elfGet hashmaliciousGafgyt, MiraiBrowse
    • 162.213.35.24
    na.elfGet hashmaliciousGafgyt, MiraiBrowse
    • 162.213.35.25
    na.elfGet hashmaliciousGafgyt, MiraiBrowse
    • 162.213.35.24
    na.elfGet hashmaliciousUnknownBrowse
    • 162.213.35.25
    No context
    No context
    No context
    No created / dropped files found
    File type:ELF 32-bit LSB executable, ARM, EABI4 version 1 (GNU/Linux), statically linked, no section header
    Entropy (8bit):7.982959745814702
    TrID:
    • ELF Executable and Linkable format (generic) (4004/1) 100.00%
    File name:na.elf
    File size:59'796 bytes
    MD5:942a4c72715f07a61b8b964496eceed0
    SHA1:a854637de45fc554fb4a6a91041f22d21f7da229
    SHA256:0312908f4074edd1b4078635da54c9a730f213c25b3b079d140f7a48e5c3448a
    SHA512:03bb381dbb3e38f46167083b062139eeb4c841531d625331458de75457b80ea9c998a18d2c08869ae88fbeafbd09a4947879bdf197beadc31df3e6fb3eb43f95
    SSDEEP:1536:CsiKu8lNkFCpjmo777/BfX9IM3/AosCiTBX:Nu8l6F0Cozp+O49CgX
    TLSH:6843F2F0E18B25B2AA301C739D2710D39679F9F49DF5986A780549FB7B8B4822638C47
    File Content Preview:.ELF..............(.....d...4...........4. ...(.....................g...g...............................,U..........Q.td............................x.?.UPX!........bu..bu......m..........?.E.h;....#..$...o...G...1XfO....S..p.ouAT..lo../4..S ..J.....k...V.

    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 - Linux
    ABI Version:0
    Entry Point Address:0x11964
    Flags:0x4000002
    ELF Header Size:52
    Program Header Offset:52
    Program Header Size:32
    Number of Program Headers:3
    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
    LOAD0x00x80000x80000xab670xab677.97390x5R E0x8000
    LOAD0x00x180000x180000x00x1552c0.00000x6RW 0x8000
    GNU_STACK0x00x00x00x00x00.00000x7RWE0x4
    TimestampSource PortDest PortSource IPDest IP
    Oct 14, 2024 17:30:02.248428106 CEST3612453192.168.2.138.8.8.8
    Oct 14, 2024 17:30:02.248477936 CEST4330753192.168.2.138.8.8.8
    Oct 14, 2024 17:30:03.041325092 CEST53433078.8.8.8192.168.2.13
    Oct 14, 2024 17:30:03.042274952 CEST53361248.8.8.8192.168.2.13
    TimestampSource IPDest IPTrans IDOP CodeNameTypeClassDNS over HTTPS
    Oct 14, 2024 17:30:02.248428106 CEST192.168.2.138.8.8.80x27deStandard query (0)daisy.ubuntu.comA (IP address)IN (0x0001)false
    Oct 14, 2024 17:30:02.248477936 CEST192.168.2.138.8.8.80x19fcStandard query (0)daisy.ubuntu.com28IN (0x0001)false
    TimestampSource IPDest IPTrans IDReply CodeNameCNameAddressTypeClassDNS over HTTPS
    Oct 14, 2024 17:30:03.042274952 CEST8.8.8.8192.168.2.130x27deNo error (0)daisy.ubuntu.com162.213.35.24A (IP address)IN (0x0001)false
    Oct 14, 2024 17:30:03.042274952 CEST8.8.8.8192.168.2.130x27deNo error (0)daisy.ubuntu.com162.213.35.25A (IP address)IN (0x0001)false

    System Behavior

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/dash
    Arguments:-
    File size:129816 bytes
    MD5 hash:1e6b1c887c59a315edb7eb9a315fc84c

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/rm
    Arguments:rm -f /tmp/tmp.wLvzvVYRft /tmp/tmp.vP5TwQfjr0 /tmp/tmp.yrXQFuHbHk
    File size:72056 bytes
    MD5 hash:aa2b5496fdbfd88e38791ab81f90b95b

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/dash
    Arguments:-
    File size:129816 bytes
    MD5 hash:1e6b1c887c59a315edb7eb9a315fc84c

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/cat
    Arguments:cat /tmp/tmp.wLvzvVYRft
    File size:43416 bytes
    MD5 hash:7e9d213e404ad3bb82e4ebb2e1f2c1b3

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/dash
    Arguments:-
    File size:129816 bytes
    MD5 hash:1e6b1c887c59a315edb7eb9a315fc84c

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/head
    Arguments:head -n 10
    File size:47480 bytes
    MD5 hash:fd96a67145172477dd57131396fc9608

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/dash
    Arguments:-
    File size:129816 bytes
    MD5 hash:1e6b1c887c59a315edb7eb9a315fc84c

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/tr
    Arguments:tr -d \\000-\\011\\013\\014\\016-\\037
    File size:51544 bytes
    MD5 hash:fbd1402dd9f72d8ebfff00ce7c3a7bb5

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/dash
    Arguments:-
    File size:129816 bytes
    MD5 hash:1e6b1c887c59a315edb7eb9a315fc84c

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/cut
    Arguments:cut -c -80
    File size:47480 bytes
    MD5 hash:d8ed0ea8f22c0de0f8692d4d9f1759d3

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/dash
    Arguments:-
    File size:129816 bytes
    MD5 hash:1e6b1c887c59a315edb7eb9a315fc84c

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/cat
    Arguments:cat /tmp/tmp.wLvzvVYRft
    File size:43416 bytes
    MD5 hash:7e9d213e404ad3bb82e4ebb2e1f2c1b3

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/dash
    Arguments:-
    File size:129816 bytes
    MD5 hash:1e6b1c887c59a315edb7eb9a315fc84c

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/head
    Arguments:head -n 10
    File size:47480 bytes
    MD5 hash:fd96a67145172477dd57131396fc9608

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/dash
    Arguments:-
    File size:129816 bytes
    MD5 hash:1e6b1c887c59a315edb7eb9a315fc84c

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/tr
    Arguments:tr -d \\000-\\011\\013\\014\\016-\\037
    File size:51544 bytes
    MD5 hash:fbd1402dd9f72d8ebfff00ce7c3a7bb5

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/dash
    Arguments:-
    File size:129816 bytes
    MD5 hash:1e6b1c887c59a315edb7eb9a315fc84c

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/cut
    Arguments:cut -c -80
    File size:47480 bytes
    MD5 hash:d8ed0ea8f22c0de0f8692d4d9f1759d3

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/dash
    Arguments:-
    File size:129816 bytes
    MD5 hash:1e6b1c887c59a315edb7eb9a315fc84c

    Start time (UTC):15:29:49
    Start date (UTC):14/10/2024
    Path:/usr/bin/rm
    Arguments:rm -f /tmp/tmp.wLvzvVYRft /tmp/tmp.vP5TwQfjr0 /tmp/tmp.yrXQFuHbHk
    File size:72056 bytes
    MD5 hash:aa2b5496fdbfd88e38791ab81f90b95b

    Start time (UTC):15:30:00
    Start date (UTC):14/10/2024
    Path:/tmp/na.elf
    Arguments:/tmp/na.elf
    File size:4956856 bytes
    MD5 hash:5ebfcae4fe2471fcc5695c2394773ff1