Analysis
- max time kernel
6s - max time network
128s - platform
ubuntu-24.04_amd64 - resource
ubuntu2404-amd64-20240523-en - resource tags
arch:amd64arch:i386image:ubuntu2404-amd64-20240523-enkernel:6.8.0-31-genericlocale:en-usos:ubuntu-24.04-amd64system - submitted
21/02/2025, 02:28
Behavioral task
behavioral1
Sample
na.elf
Resource
ubuntu2404-amd64-20240523-en
11 signatures
150 seconds
General
- Target na.elf
- Size 418KB
- Sample250221-cx3apasp13
- SHA256 f0689db7bbb1d2943949ac285941c0506d620bdfb02a6d6bc883ba8062602cbd
- MD5 738ed844397f9f01d3d7a5879462fb8a
- SHA1 c1236cf7a08c7cb711037d9b8381d505668aa020
- SHA512 e51c96c7854fffa741e30ff6436f511500f4f6f055b00551384670e0509a88fb0b95db6b62bb31b38138e7f80469903da0538e581f3d8586c17161dce6e616b9
- SSDEEP 12288:6QIkwT+V+46MTuxN+qpMBUH5kAAxwWVtBeST:W4/y+qaBUZJAdVtX
- 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 2458 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/4/stat pgrep File opened for reading /proc/712/status pgrep File opened for reading /proc/718/stat pgrep File opened for reading /proc/17/cmdline pidof File opened for reading /proc/1123/cmdline pgrep File opened for reading /proc/182/stat pidof File opened for reading /proc/44/ctty pgrep File opened for reading /proc/390/cgroup pgrep File opened for reading /proc/202/cmdline pidof File opened for reading /proc/11/status pgrep File opened for reading /proc/5/cmdline pidof File opened for reading /proc/1117/status pgrep File opened for reading /proc/22/ctty pgrep File opened for reading /proc/56/cmdline pidof File opened for reading /proc/190/cmdline pidof File opened for reading /proc/2467/status pgrep File opened for reading /proc/584/cgroup pgrep File opened for reading /proc/12/stat pidof File opened for reading /proc/54/cmdline pgrep File opened for reading /proc/1897/stat pgrep File opened for reading /proc/10/stat pgrep File opened for reading /proc/199/cmdline pgrep File opened for reading /proc/55/ctty pgrep File opened for reading /proc/235/cgroup pgrep File opened for reading /proc/1812/ctty pgrep File opened for reading /proc/28/cgroup pgrep File opened for reading /proc/1944/cgroup pgrep File opened for reading /proc/20/stat pgrep File opened for reading /proc/23/cmdline pgrep File opened for reading /proc/1123/cgroup pgrep File opened for reading /proc/22/status pgrep File opened for reading /proc/14/stat pidof File opened for reading /proc/44/cmdline pgrep File opened for reading /proc/50/stat pgrep File opened for reading /proc/194/ctty pgrep File opened for reading /proc/197/cgroup pgrep File opened for reading /proc/47/cmdline pgrep File opened for reading /proc/1922/stat pgrep File opened for reading /proc/744/stat pidof File opened for reading /proc/45/cmdline pgrep File opened for reading /proc/728/status pgrep File opened for reading /proc/3/ctty pgrep File opened for reading /proc/7/cmdline pgrep File opened for reading /proc/38/cgroup pgrep File opened for reading /proc/40/stat pgrep File opened for reading /proc/1885/ctty pgrep File opened for reading /proc/2395/cmdline pgrep File opened for reading /proc/124/stat pgrep File opened for reading /proc/31/cgroup pgrep File opened for reading /proc/36/cmdline pidof File opened for reading /proc/197/cgroup pgrep File opened for reading /proc/457/ctty pgrep File opened for reading /proc/1117/cmdline pidof File opened for reading /proc/196/ctty pgrep File opened for reading /proc/2153/cmdline pgrep File opened for reading /proc/1921/cmdline pgrep File opened for reading /proc/2108/cgroup pgrep File opened for reading /proc/744/cmdline pgrep File opened for reading /proc/1389/status pgrep File opened for reading /proc/390/ctty pgrep File opened for reading /proc/1962/cmdline pgrep File opened for reading /proc/1388/ctty pgrep File opened for reading /proc/50/stat pgrep File opened for reading /proc/2111/cgroup pgrep
Processes
-
/tmp/na.elf/tmp/na.elf1⤵
- Deletes itself
- Modifies hosts file
- Modifies systemd
- Write file to user bin folder
PID:2458 -
/bin/shsh -c "pgrep na.elf"2⤵PID:2462
-
/usr/bin/pgreppgrep na.elf3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2463
-
-
-
/bin/shsh -c "pgrep uplugplay"2⤵PID:2466
-
/usr/bin/pgreppgrep uplugplay3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2467
-
-
-
/bin/shsh -c "pidof uplugplay"2⤵PID:2474
-
/usr/bin/pidofpidof uplugplay3⤵
- Reads runtime system information
PID:2475
-
-
-
/bin/shsh -c "pgrep upnpsetup"2⤵PID:2478
-
/usr/bin/pgreppgrep upnpsetup3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2479
-
-
-
/bin/shsh -c "pidof upnpsetup"2⤵PID:2482
-
/usr/bin/pidofpidof upnpsetup3⤵
- Reads runtime system information
PID:2483
-
-
-
/bin/shsh -c "systemctl daemon-reload"2⤵PID:2496
-
/usr/bin/systemctlsystemctl daemon-reload3⤵PID:2497
-
-
-
/bin/shsh -c "systemctl enable uplugplay.service"2⤵PID:2628
-
/usr/bin/systemctlsystemctl enable uplugplay.service3⤵PID:2629
-
-
-
/bin/shsh -c "systemctl start uplugplay.service"2⤵PID:2754
-
/usr/bin/systemctlsystemctl start uplugplay.service3⤵PID:2755
-
-
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 f0689db7bbb1d2943949ac285941c0506d620bdfb02a6d6bc883ba8062602cbd
- MD5 738ed844397f9f01d3d7a5879462fb8a
- SHA1 c1236cf7a08c7cb711037d9b8381d505668aa020
- SHA512 e51c96c7854fffa741e30ff6436f511500f4f6f055b00551384670e0509a88fb0b95db6b62bb31b38138e7f80469903da0538e581f3d8586c17161dce6e616b9
- SSDEEP 12288:6QIkwT+V+46MTuxN+qpMBUH5kAAxwWVtBeST:W4/y+qaBUZJAdVtX
- MD5 SHA1 SHA512 SSDEEP