Analysis
- max time kernel
6s - max time network
130s - platform
ubuntu-24.04_amd64 - resource
ubuntu2404-amd64-20240729-en - resource tags
arch:amd64arch:i386image:ubuntu2404-amd64-20240729-enkernel:6.8.0-31-genericlocale:en-usos:ubuntu-24.04-amd64system - submitted
15/02/2025, 15:53
Behavioral task
behavioral1
Sample
na.elf
Resource
ubuntu2404-amd64-20240729-en
11 signatures
150 seconds
General
- Target na.elf
- Size 418KB
- Sample250215-tbqs7stkey
- SHA256 c433f1abd9bf66480f26826f2fade2c91aeb65cda8cfb536b99425f6cb536d25
- MD5 ffe80fb2fdca51aba2e841b6ffb27f5d
- SHA1 85576b172b55db00c186215341e65a68d27003fd
- SHA512 a85edf4b76e42b782fd8807455eb593963fcf54fe12d54e7ece6a3303993d42b4be155146c51cd3bbd581c99f4ae556cce1d68f1b7116cc9aa84cb3da133191c
- SSDEEP 12288:6QIkwT+V+46MTuxN+qpMBUH5kAAxwWVtBeSu:W4/y+qaBUZJAdVtq
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Signatures
- Prometei
Prometei is a multiplatform botnet used to mine cryptocurrency.
- Prometei_elf family
- Deletes itself 1 IoCs
pid Process 2454 na.elf - Modifies hosts file 1 IoCs
Adds to hosts file used for mapping hosts to IP addresses.
description ioc Process File opened for modification /etc/hosts na.elf - Enumerates running processes
Discovers information about currently running processes on the system
- Modifies systemd 2 TTPs 1 IoCs
Adds/ modifies systemd service files. Likely to achieve persistence.
description ioc Process File opened for modification /lib/systemd/system/uplugplay.service na.elf - Write file to user bin folder 1 IoCs
description ioc Process File opened for modification /usr/sbin/uplugplay na.elf -
resource yara_rule behavioral1/files/fstream-1.dat upx - Reads CPU attributes 1 TTPs 3 IoCs
description ioc Process File opened for reading /sys/devices/system/cpu/possible pgrep File opened for reading /sys/devices/system/cpu/possible pgrep File opened for reading /sys/devices/system/cpu/possible pgrep - Enumerates kernel/hardware configuration 1 TTPs 3 IoCs
Reads contents of /sys virtual filesystem to enumerate system information.
description ioc Process File opened for reading /sys/devices/system/node pgrep File opened for reading /sys/devices/system/node pgrep File opened for reading /sys/devices/system/node pgrep -
description ioc Process File opened for reading /proc/1875/cmdline pgrep File opened for reading /proc/1058/stat pgrep File opened for reading /proc/2304/cmdline pidof File opened for reading /proc/197/status pgrep File opened for reading /proc/27/status pgrep File opened for reading /proc/235/stat pgrep File opened for reading /proc/792/ctty pgrep File opened for reading /proc/2272/stat pgrep File opened for reading /proc/49/cgroup pgrep File opened for reading /proc/65/stat pgrep File opened for reading /proc/2215/cgroup pgrep File opened for reading /proc/18/status pgrep File opened for reading /proc/20/cmdline pgrep File opened for reading /proc/19/stat pgrep File opened for reading /proc/1903/stat pgrep File opened for reading /proc/2128/stat pgrep File opened for reading /proc/1931/ctty pgrep File opened for reading /proc/1945/cmdline pidof File opened for reading /proc/25/stat pidof File opened for reading /proc/1919/stat pidof File opened for reading /proc/1784/stat pgrep File opened for reading /proc/1762/cmdline pgrep File opened for reading /proc/27/cmdline pgrep File opened for reading /proc/33/stat pgrep File opened for reading /proc/1762/stat pidof File opened for reading /proc/31/status pgrep File opened for reading /proc/1048/cgroup pgrep File opened for reading /proc/1048/stat pidof File opened for reading /proc/1925/status pgrep File opened for reading /proc/390/cmdline pidof File opened for reading /proc/1861/stat pgrep File opened for reading /proc/2450/stat pgrep File opened for reading /proc/29/cmdline pgrep File opened for reading /proc/26/stat pidof File opened for reading /proc/1940/ctty pgrep File opened for reading /proc/2459/cmdline pgrep File opened for reading /proc/53/cmdline pgrep File opened for reading /proc/200/status pgrep File opened for reading /proc/787/stat pidof File opened for reading /proc/1889/stat pidof File opened for reading /proc/5/cmdline pgrep File opened for reading /proc/2169/stat pgrep File opened for reading /proc/202/stat pgrep File opened for reading /proc/2128/stat pgrep File opened for reading /proc/7/stat pidof File opened for reading /proc/2242/ctty pgrep File opened for reading /proc/1931/cmdline pgrep File opened for reading /proc/274/status pgrep File opened for reading /proc/786/stat pgrep File opened for reading /proc/2453/cmdline pgrep File opened for reading /proc/1747/cmdline pgrep File opened for reading /proc/772/ctty pgrep File opened for reading /proc/2452/status pgrep File opened for reading /proc/196/status pgrep File opened for reading /proc/1084/status pgrep File opened for reading /proc/21/cmdline pidof File opened for reading /proc/1932/stat pidof File opened for reading /proc/1762/ctty pgrep File opened for reading /proc/815/ctty pgrep File opened for reading /proc/1123/cgroup pgrep File opened for reading /proc/580/ctty pgrep File opened for reading /proc/1062/cgroup pgrep File opened for reading /proc/56/stat pgrep File opened for reading /proc/23/cmdline pgrep
Processes
-
/tmp/na.elf/tmp/na.elf1⤵
- Deletes itself
- Modifies hosts file
- Modifies systemd
- Write file to user bin folder
PID:2454 -
/bin/shsh -c "pgrep na.elf"2⤵PID:2458
-
/usr/bin/pgreppgrep na.elf3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2459
-
-
-
/bin/shsh -c "pgrep uplugplay"2⤵PID:2462
-
/usr/bin/pgreppgrep uplugplay3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2463
-
-
-
/bin/shsh -c "pidof uplugplay"2⤵PID:2469
-
/usr/bin/pidofpidof uplugplay3⤵
- Reads runtime system information
PID:2470
-
-
-
/bin/shsh -c "pgrep upnpsetup"2⤵PID:2473
-
/usr/bin/pgreppgrep upnpsetup3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2474
-
-
-
/bin/shsh -c "pidof upnpsetup"2⤵PID:2489
-
/usr/bin/pidofpidof upnpsetup3⤵
- Reads runtime system information
PID:2490
-
-
-
/bin/shsh -c "systemctl daemon-reload"2⤵PID:2497
-
/usr/bin/systemctlsystemctl daemon-reload3⤵PID:2498
-
-
-
/bin/shsh -c "systemctl enable uplugplay.service"2⤵PID:2622
-
/usr/bin/systemctlsystemctl enable uplugplay.service3⤵PID:2623
-
-
-
/bin/shsh -c "systemctl start uplugplay.service"2⤵PID:2748
-
/usr/bin/systemctlsystemctl start uplugplay.service3⤵PID:2749
-
-
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1XDG Autostart Entries
1Create or Modify System Process
1Systemd Service
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path /usr/lib/systemd/system/uplugplay.service
- Size 145B
- SHA256 c655d3d4e374fad38313ec4262207b2d7d68a870238f203ef3c33f85e66c8e32
- MD5 8ca62d1f47880bce036c2956c9b7b272
- SHA1 3bcc3a5c4fcc5b0d08c4524a59f6b8e113b62060
- SHA512 4cd2d9d67151fa25e833707dee2442c4a5f752053fc2c36ec73c0e2b734c66ca69c63fceb47714d9add5b9fe2eee1e45be5199e2cae7c26173e766b333877da6
- MD5 SHA1 SHA512
- Path /usr/sbin/uplugplay
- Size 418KB
- SHA256 c433f1abd9bf66480f26826f2fade2c91aeb65cda8cfb536b99425f6cb536d25
- MD5 ffe80fb2fdca51aba2e841b6ffb27f5d
- SHA1 85576b172b55db00c186215341e65a68d27003fd
- SHA512 a85edf4b76e42b782fd8807455eb593963fcf54fe12d54e7ece6a3303993d42b4be155146c51cd3bbd581c99f4ae556cce1d68f1b7116cc9aa84cb3da133191c
- SSDEEP 12288:6QIkwT+V+46MTuxN+qpMBUH5kAAxwWVtBeSu:W4/y+qaBUZJAdVtq
- MD5 SHA1 SHA512 SSDEEP