Analysis
-
max time kernel
5s -
max time network
132s -
platform
ubuntu-20.04_amd64 -
resource
ubuntu2004-amd64-20240508-en -
resource tags
arch:amd64arch:i386image:ubuntu2004-amd64-20240508-enkernel:5.4.0-169-genericlocale:en-usos:ubuntu-20.04-amd64system -
submitted
21/02/2025, 16:32
Behavioral task
behavioral1
Sample
na.elf
Resource
ubuntu2004-amd64-20240508-en
General
-
Target
na.elf
-
Size
418KB
-
MD5
f5d4522af395c9d7c1c7b430892a8cb9
-
SHA1
0d3ce84c38a3d0d4c3e640df354f379044d2a6bc
-
SHA256
bf8739fd97ae08f481a400469d89069c74c5794cdfd6792ce186d51487427a65
-
SHA512
c6aa951bc06240a10733db1da6d64f7345919191ef1cd88a57ff8be5418ba2f00160e70b85c628a360c10890af218a9ea9cff35f69854cb49938ee1c8030980a
-
SSDEEP
12288:6QIkwT+V+46MTuxN+qpMBUH5kAAxwWVtBeSp:W4/y+qaBUZJAdVtt
Malware Config
Signatures
-
Prometei
Prometei is a multiplatform botnet used to mine cryptocurrency.
-
Prometei_elf family
-
Deletes itself 1 IoCs
pid Process 1405 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 -
Reads EFI boot settings 1 TTPs 3 IoCs
Reads EFI boot settings from the efivars filesystem, may contain security secrets or sensitive data.
description ioc Process File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl File opened for reading /sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67 systemctl -
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/online pgrep File opened for reading /sys/devices/system/cpu/online pgrep File opened for reading /sys/devices/system/cpu/online pgrep -
description ioc Process File opened for reading /proc/174/cmdline pgrep File opened for reading /proc/1343/status pgrep File opened for reading /proc/4/status pgrep File opened for reading /proc/76/stat pidof File opened for reading /proc/1340/cmdline pgrep File opened for reading /proc/674/status pgrep File opened for reading /proc/10/cmdline pgrep File opened for reading /proc/447/status pgrep File opened for reading /proc/570/status pgrep File opened for reading /proc/1259/cmdline pidof File opened for reading /proc/546/stat pidof File opened for reading /proc/497/status pgrep File opened for reading /proc/671/cmdline pgrep File opened for reading /proc/105/cmdline pgrep File opened for reading /proc/496/status pgrep File opened for reading /proc/17/cmdline pgrep File opened for reading /proc/87/cmdline pgrep File opened for reading /proc/483/cmdline pidof File opened for reading /proc/1105/cmdline pgrep File opened for reading /proc/1223/cmdline pgrep File opened for reading /proc/1101/status pgrep File opened for reading /proc/89/cmdline pgrep File opened for reading /proc/480/cmdline pgrep File opened for reading /proc/1412/cmdline pgrep File opened for reading /proc/10/cmdline pidof File opened for reading /proc/18/cmdline pgrep File opened for reading /proc/175/status pgrep File opened for reading /proc/504/cmdline pgrep File opened for reading /proc/641/status pgrep File opened for reading /proc/589/cmdline pidof File opened for reading /proc/21/status pgrep File opened for reading /proc/92/cmdline pgrep File opened for reading /proc/1242/cmdline pgrep File opened for reading /proc/79/cmdline pidof File opened for reading /proc/1/status pgrep File opened for reading /proc/1202/status pgrep File opened for reading /proc/1074/stat pidof File opened for reading /proc/74/cmdline pgrep File opened for reading /proc/1074/cmdline pidof File opened for reading /proc/15/status pgrep File opened for reading /proc/76/cmdline pidof File opened for reading /proc/91/cmdline pidof File opened for reading /proc/523/stat pidof File opened for reading /proc/442/status pgrep File opened for reading /proc/761/cmdline pgrep File opened for reading /proc/1027/cmdline pgrep File opened for reading /proc/19/cmdline pidof File opened for reading /proc/1077/stat pidof File opened for reading /proc/1337/cmdline pgrep File opened for reading /proc/8/status pgrep File opened for reading /proc/173/stat pidof File opened for reading /proc/1022/stat pidof File opened for reading /proc/4/stat pidof File opened for reading /proc/242/cmdline pgrep File opened for reading /proc/72/stat pidof File opened for reading /proc/200/status pgrep File opened for reading /proc/447/stat pidof File opened for reading /proc/9/cmdline pgrep File opened for reading /proc/165/cmdline pgrep File opened for reading /proc/169/cmdline pidof File opened for reading /proc/9/cmdline pgrep File opened for reading /proc/496/stat pidof File opened for reading /proc/8/status pgrep File opened for reading /proc/269/status pgrep
Processes
-
/tmp/na.elf/tmp/na.elf1⤵
- Deletes itself
- Modifies hosts file
- Modifies systemd
- Write file to user bin folder
PID:1405 -
/bin/shsh -c "pgrep na.elf"2⤵PID:1408
-
/usr/bin/pgreppgrep na.elf3⤵
- Reads CPU attributes
- Reads runtime system information
PID:1409
-
-
-
/bin/shsh -c "pgrep uplugplay"2⤵PID:1412
-
/usr/bin/pgreppgrep uplugplay3⤵
- Reads CPU attributes
- Reads runtime system information
PID:1413
-
-
-
/bin/shsh -c "pidof uplugplay"2⤵PID:1455
-
/usr/bin/pidofpidof uplugplay3⤵
- Reads runtime system information
PID:1456
-
-
-
/bin/shsh -c "pgrep upnpsetup"2⤵PID:1459
-
/usr/bin/pgreppgrep upnpsetup3⤵
- Reads CPU attributes
- Reads runtime system information
PID:1460
-
-
-
/bin/shsh -c "pidof upnpsetup"2⤵PID:1463
-
/usr/bin/pidofpidof upnpsetup3⤵
- Reads runtime system information
PID:1464
-
-
-
/bin/shsh -c "systemctl daemon-reload"2⤵PID:1465
-
/usr/bin/systemctlsystemctl daemon-reload3⤵
- Reads EFI boot settings
PID:1466
-
-
-
/bin/shsh -c "systemctl enable uplugplay.service"2⤵PID:1492
-
/usr/bin/systemctlsystemctl enable uplugplay.service3⤵
- Reads EFI boot settings
PID:1493
-
-
-
/bin/shsh -c "systemctl start uplugplay.service"2⤵PID:1534
-
/usr/bin/systemctlsystemctl start uplugplay.service3⤵
- Reads EFI boot settings
PID:1535
-
-
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1XDG Autostart Entries
1Create or Modify System Process
1Systemd Service
1Pre-OS Boot
1Bootkit
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
145B
MD58ca62d1f47880bce036c2956c9b7b272
SHA13bcc3a5c4fcc5b0d08c4524a59f6b8e113b62060
SHA256c655d3d4e374fad38313ec4262207b2d7d68a870238f203ef3c33f85e66c8e32
SHA5124cd2d9d67151fa25e833707dee2442c4a5f752053fc2c36ec73c0e2b734c66ca69c63fceb47714d9add5b9fe2eee1e45be5199e2cae7c26173e766b333877da6
-
Filesize
418KB
MD5f5d4522af395c9d7c1c7b430892a8cb9
SHA10d3ce84c38a3d0d4c3e640df354f379044d2a6bc
SHA256bf8739fd97ae08f481a400469d89069c74c5794cdfd6792ce186d51487427a65
SHA512c6aa951bc06240a10733db1da6d64f7345919191ef1cd88a57ff8be5418ba2f00160e70b85c628a360c10890af218a9ea9cff35f69854cb49938ee1c8030980a