Analysis
- max time kernel
6s - max time network
132s - 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
30/01/2025, 00:17
Behavioral task
behavioral1
Sample
na.elf
Resource
ubuntu2404-amd64-20240523-en
11 signatures
150 seconds
General
- Target na.elf
- Size 418KB
- Sample250130-ak2saaslam
- SHA256 9a9e63fa072375a4ccc844fa48bbea8bd66e1276241dbc204ab3d1cb59d13d8a
- MD5 503e1b8e62d78696361b3020c822af45
- SHA1 cd9ae2597029778eee3bb7680587308a278cc548
- SHA512 40fd5b8ca6c218c7eb806d79e851306f565413f3b38ebc3d39d1ed7dda944d9e9ca848368818933959dee38097fd85ba462697d0ec0baa47e993753794a645ec
- SSDEEP 12288:6QIkwT+V+46MTuxN+qpMBUH5kAAxwWVtBeSj: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 2869 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/1130/cmdline pgrep File opened for reading /proc/2523/cgroup pgrep File opened for reading /proc/195/cgroup pgrep File opened for reading /proc/2468/stat pgrep File opened for reading /proc/49/status pgrep File opened for reading /proc/731/cgroup pgrep File opened for reading /proc/6/status pgrep File opened for reading /proc/587/cgroup pgrep File opened for reading /proc/16/status pgrep File opened for reading /proc/2390/cmdline pgrep File opened for reading /proc/586/status pgrep File opened for reading /proc/21/status pgrep File opened for reading /proc/1079/cgroup pgrep File opened for reading /proc/6/cgroup pgrep File opened for reading /proc/2368/cgroup pgrep File opened for reading /proc/418/stat pgrep File opened for reading /proc/2347/cgroup pgrep File opened for reading /proc/2525/cmdline pgrep File opened for reading /proc/65/ctty pgrep File opened for reading /proc/2524/cmdline pidof File opened for reading /proc/198/stat pidof File opened for reading /proc/10/status pgrep File opened for reading /proc/2347/cmdline pgrep File opened for reading /proc/79/cmdline pgrep File opened for reading /proc/2639/ctty pgrep File opened for reading /proc/2868/ctty pgrep File opened for reading /proc/2356/cmdline pidof File opened for reading /proc/49/cmdline pgrep File opened for reading /proc/2554/ctty pgrep File opened for reading /proc/2651/cmdline pgrep File opened for reading /proc/18/cgroup pgrep File opened for reading /proc/65/ctty pgrep File opened for reading /proc/56/stat pidof File opened for reading /proc/1058/cmdline pgrep File opened for reading /proc/2055/status pgrep File opened for reading /proc/196/stat pgrep File opened for reading /proc/54/stat pgrep File opened for reading /proc/728/cgroup pgrep File opened for reading /proc/2677/stat pidof File opened for reading /proc/1130/cgroup pgrep File opened for reading /proc/197/cmdline pidof File opened for reading /proc/2189/status pgrep File opened for reading /proc/24/ctty pgrep File opened for reading /proc/185/cmdline pgrep File opened for reading /proc/9/status pgrep File opened for reading /proc/36/stat pidof File opened for reading /proc/6/ctty pgrep File opened for reading /proc/779/cgroup pgrep File opened for reading /proc/2300/ctty pgrep File opened for reading /proc/1067/cmdline pidof File opened for reading /proc/2189/cmdline pgrep File opened for reading /proc/2191/cgroup pgrep File opened for reading /proc/2495/cmdline pgrep File opened for reading /proc/2585/cgroup pgrep File opened for reading /proc/13/stat pidof File opened for reading /proc/2074/stat pidof File opened for reading /proc/38/cgroup pgrep File opened for reading /proc/2191/cmdline pgrep File opened for reading /proc/2591/stat pgrep File opened for reading /proc/28/status pgrep File opened for reading /proc/1109/cgroup pgrep File opened for reading /proc/2368/stat pgrep File opened for reading /proc/2250/cgroup pgrep File opened for reading /proc/2869/stat pgrep
Processes
-
/tmp/na.elf/tmp/na.elf1⤵
- Deletes itself
- Modifies hosts file
- Modifies systemd
- Write file to user bin folder
PID:2869 -
/bin/shsh -c "pgrep na.elf"2⤵PID:2873
-
/usr/bin/pgreppgrep na.elf3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2874
-
-
-
/bin/shsh -c "pgrep uplugplay"2⤵PID:2877
-
/usr/bin/pgreppgrep uplugplay3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2878
-
-
-
/bin/shsh -c "pidof uplugplay"2⤵PID:2884
-
/usr/bin/pidofpidof uplugplay3⤵
- Reads runtime system information
PID:2885
-
-
-
/bin/shsh -c "pgrep upnpsetup"2⤵PID:2888
-
/usr/bin/pgreppgrep upnpsetup3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2889
-
-
-
/bin/shsh -c "pidof upnpsetup"2⤵PID:2892
-
/usr/bin/pidofpidof upnpsetup3⤵
- Reads runtime system information
PID:2893
-
-
-
/bin/shsh -c "systemctl daemon-reload"2⤵PID:2894
-
/usr/bin/systemctlsystemctl daemon-reload3⤵PID:2895
-
-
-
/bin/shsh -c "systemctl enable uplugplay.service"2⤵PID:3019
-
/usr/bin/systemctlsystemctl enable uplugplay.service3⤵PID:3020
-
-
-
/bin/shsh -c "systemctl start uplugplay.service"2⤵PID:3144
-
/usr/bin/systemctlsystemctl start uplugplay.service3⤵PID:3145
-
-
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 9a9e63fa072375a4ccc844fa48bbea8bd66e1276241dbc204ab3d1cb59d13d8a
- MD5 503e1b8e62d78696361b3020c822af45
- SHA1 cd9ae2597029778eee3bb7680587308a278cc548
- SHA512 40fd5b8ca6c218c7eb806d79e851306f565413f3b38ebc3d39d1ed7dda944d9e9ca848368818933959dee38097fd85ba462697d0ec0baa47e993753794a645ec
- SSDEEP 12288:6QIkwT+V+46MTuxN+qpMBUH5kAAxwWVtBeSj:W4/y+qaBUZJAdVtX
- MD5 SHA1 SHA512 SSDEEP