Analysis
- max time kernel
6s - max time network
128s - 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
24/01/2025, 19:32
Behavioral task
behavioral1
Sample
na.elf
Resource
ubuntu2404-amd64-20240729-en
11 signatures
150 seconds
General
- Target na.elf
- Size 418KB
- Sample250124-x8xvkawkfj
- SHA256 2fe36be501d940cd53a3ff05ba3db604c449c60eb50c517f13687bd6b09e32c3
- MD5 7607b42e7a815039ccc402688c0a685c
- SHA1 7c4084614c2cf1b656cd34289fdaca497abfc057
- SHA512 e57bfb98908fee3f6b1208fead6ce1dab726671c226d56936936cfbf0c837f02fae98520625fd9c921194a04465be37d9044131480bf745d1d9986069c03def7
- SSDEEP 12288:6QIkwT+V+46MTuxN+qpMBUH5kAAxwWVtBeSs:W4/y+qaBUZJAdVtg
- 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 2546 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/812/cgroup pgrep File opened for reading /proc/2063/ctty pgrep File opened for reading /proc/2176/ctty pgrep File opened for reading /proc/8/cmdline pidof File opened for reading /proc/201/stat pidof File opened for reading /proc/191/ctty pgrep File opened for reading /proc/199/ctty pgrep File opened for reading /proc/756/cmdline pgrep File opened for reading /proc/54/stat pgrep File opened for reading /proc/1971/cgroup pgrep File opened for reading /proc/198/cgroup pgrep File opened for reading /proc/766/cgroup pgrep File opened for reading /proc/14/stat pidof File opened for reading /proc/863/stat pgrep File opened for reading /proc/811/cmdline pidof File opened for reading /proc/1862/ctty pgrep File opened for reading /proc/817/stat pidof File opened for reading /proc/45/status pgrep File opened for reading /proc/2182/cmdline pgrep File opened for reading /proc/1724/ctty pgrep File opened for reading /proc/418/cmdline pidof File opened for reading /proc/1943/cmdline pgrep File opened for reading /proc/1990/ctty pgrep File opened for reading /proc/2246/stat pgrep File opened for reading /proc/599/status pgrep File opened for reading /proc/1976/cmdline pgrep File opened for reading /proc/10/stat pidof File opened for reading /proc/63/cmdline pgrep File opened for reading /proc/2484/stat pgrep File opened for reading /proc/2176/stat pidof File opened for reading /proc/199/status pgrep File opened for reading /proc/1999/cgroup pgrep File opened for reading /proc/49/ctty pgrep File opened for reading /proc/2289/stat pgrep File opened for reading /proc/1265/cmdline pidof File opened for reading /proc/2298/cmdline pgrep File opened for reading /proc/192/ctty pgrep File opened for reading /proc/1761/cmdline pgrep File opened for reading /proc/47/status pgrep File opened for reading /proc/41/cgroup pgrep File opened for reading /proc/45/ctty pgrep File opened for reading /proc/7/cmdline pidof File opened for reading /proc/202/stat pgrep File opened for reading /proc/515/stat pgrep File opened for reading /proc/2053/ctty pgrep File opened for reading /proc/2188/stat pgrep File opened for reading /proc/38/stat pgrep File opened for reading /proc/124/stat pidof File opened for reading /proc/190/cmdline pidof File opened for reading /proc/1061/status pgrep File opened for reading /proc/496/cmdline pgrep File opened for reading /proc/793/ctty pgrep File opened for reading /proc/2351/cmdline pidof File opened for reading /proc/8/cmdline pgrep File opened for reading /proc/1865/status pgrep File opened for reading /proc/45/status pgrep File opened for reading /proc/1943/status pgrep File opened for reading /proc/2147/stat pgrep File opened for reading /proc/1085/stat pidof File opened for reading /proc/36/cmdline pgrep File opened for reading /proc/2045/cmdline pgrep File opened for reading /proc/1922/stat pidof File opened for reading /proc/46/stat pidof File opened for reading /proc/52/stat pidof
Processes
-
/tmp/na.elf/tmp/na.elf1⤵
- Deletes itself
- Modifies hosts file
- Modifies systemd
- Write file to user bin folder
PID:2546 -
/bin/shsh -c "pgrep na.elf"2⤵PID:2550
-
/usr/bin/pgreppgrep na.elf3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2551
-
-
-
/bin/shsh -c "pgrep uplugplay"2⤵PID:2554
-
/usr/bin/pgreppgrep uplugplay3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2555
-
-
-
/bin/shsh -c "pidof uplugplay"2⤵PID:2561
-
/usr/bin/pidofpidof uplugplay3⤵
- Reads runtime system information
PID:2562
-
-
-
/bin/shsh -c "pgrep upnpsetup"2⤵PID:2565
-
/usr/bin/pgreppgrep upnpsetup3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2566
-
-
-
/bin/shsh -c "pidof upnpsetup"2⤵PID:2569
-
/usr/bin/pidofpidof upnpsetup3⤵
- Reads runtime system information
PID:2570
-
-
-
/bin/shsh -c "systemctl daemon-reload"2⤵PID:2583
-
/usr/bin/systemctlsystemctl daemon-reload3⤵PID:2584
-
-
-
/bin/shsh -c "systemctl enable uplugplay.service"2⤵PID:2709
-
/usr/bin/systemctlsystemctl enable uplugplay.service3⤵PID:2710
-
-
-
/bin/shsh -c "systemctl start uplugplay.service"2⤵PID:2841
-
/usr/bin/systemctlsystemctl start uplugplay.service3⤵PID:2842
-
-
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 2fe36be501d940cd53a3ff05ba3db604c449c60eb50c517f13687bd6b09e32c3
- MD5 7607b42e7a815039ccc402688c0a685c
- SHA1 7c4084614c2cf1b656cd34289fdaca497abfc057
- SHA512 e57bfb98908fee3f6b1208fead6ce1dab726671c226d56936936cfbf0c837f02fae98520625fd9c921194a04465be37d9044131480bf745d1d9986069c03def7
- SSDEEP 12288:6QIkwT+V+46MTuxN+qpMBUH5kAAxwWVtBeSs:W4/y+qaBUZJAdVtg
- MD5 SHA1 SHA512 SSDEEP