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, 23:37
Behavioral task
behavioral1
Sample
na.elf
Resource
ubuntu2004-amd64-20240508-en
General
-
Target
na.elf
-
Size
418KB
-
MD5
d709defce2eefdb6f4213e75d95fa3e6
-
SHA1
2de8e393420656804e84794941730b50f57ad776
-
SHA256
71a2fb830b4f5852562927cbf510777ed13985aceb98132ac991c76bdb0236f1
-
SHA512
3797bb087d3d374e1d35eefee8beedbe489603aafc6e5f7711465cf74c52ea5e01da44706e61c39c7e5d2becb834e5e57e97167e51cde9ffaa66ef1bad3f3b14
-
SSDEEP
12288:6QIkwT+V+46MTuxN+qpMBUH5kAAxwWVtBeS2:W4/y+qaBUZJAdVta
Malware Config
Signatures
-
Prometei
Prometei is a multiplatform botnet used to mine cryptocurrency.
-
Prometei_elf family
-
Deletes itself 1 IoCs
pid Process 1403 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/1403/cmdline pgrep File opened for reading /proc/22/cmdline pgrep File opened for reading /proc/88/cmdline pgrep File opened for reading /proc/1343/status pgrep File opened for reading /proc/1016/cmdline pgrep File opened for reading /proc/84/status pgrep File opened for reading /proc/449/status pgrep File opened for reading /proc/1229/cmdline pgrep File opened for reading /proc/202/stat pidof File opened for reading /proc/1153/stat pidof File opened for reading /proc/454/stat pidof File opened for reading /proc/1336/cmdline pgrep File opened for reading /proc/171/cmdline pgrep File opened for reading /proc/173/cmdline pidof File opened for reading /proc/694/cmdline pgrep File opened for reading /proc/1128/status pgrep File opened for reading /proc/1264/stat pidof File opened for reading /proc/90/status pgrep File opened for reading /proc/646/cmdline pgrep File opened for reading /proc/158/status pgrep File opened for reading /proc/86/cmdline pidof File opened for reading /proc/105/stat pidof File opened for reading /proc/165/cmdline pidof File opened for reading /proc/485/cmdline pgrep File opened for reading /proc/789/cmdline pgrep File opened for reading /proc/176/cmdline pidof File opened for reading /proc/576/cmdline pgrep File opened for reading /proc/615/cmdline pgrep File opened for reading /proc/767/status pgrep File opened for reading /proc/1015/status pgrep File opened for reading /proc/1333/cmdline pgrep File opened for reading /proc/585/cmdline pidof File opened for reading /proc/1023/stat pidof File opened for reading /proc/490/cmdline pgrep File opened for reading /proc/979/cmdline pgrep File opened for reading /proc/503/cmdline pidof File opened for reading /proc/78/cmdline pgrep File opened for reading /proc/1340/cmdline pgrep File opened for reading /proc/1345/cmdline pgrep File opened for reading /proc/105/status pgrep File opened for reading /proc/904/cmdline pgrep File opened for reading /proc/74/status pgrep File opened for reading /proc/87/status pgrep File opened for reading /proc/164/status pgrep File opened for reading /proc/485/cmdline pgrep File opened for reading /proc/1081/cmdline pgrep File opened for reading /proc/19/stat pidof File opened for reading /proc/593/stat pidof File opened for reading /proc/1402/stat pidof File opened for reading /proc/952/cmdline pgrep File opened for reading /proc/1346/status pgrep File opened for reading /proc/403/stat pidof File opened for reading /proc/22/status pgrep File opened for reading /proc/70/status pgrep File opened for reading /proc/510/status pgrep File opened for reading /proc/485/cmdline pgrep File opened for reading /proc/1357/status pgrep File opened for reading /proc/173/cmdline pidof File opened for reading /proc/14/cmdline pidof File opened for reading /proc/102/stat pidof File opened for reading /proc/102/status pgrep File opened for reading /proc/1448/status pgrep File opened for reading /proc/1/cmdline pgrep File opened for reading /proc/646/cmdline pgrep
Processes
-
/tmp/na.elf/tmp/na.elf1⤵
- Deletes itself
- Modifies hosts file
- Modifies systemd
- Write file to user bin folder
PID:1403 -
/bin/shsh -c "pgrep na.elf"2⤵PID:1406
-
/usr/bin/pgreppgrep na.elf3⤵
- Reads CPU attributes
- Reads runtime system information
PID:1407
-
-
-
/bin/shsh -c "pgrep uplugplay"2⤵PID:1410
-
/usr/bin/pgreppgrep uplugplay3⤵
- Reads CPU attributes
- Reads runtime system information
PID:1411
-
-
-
/bin/shsh -c "pidof uplugplay"2⤵PID:1453
-
/usr/bin/pidofpidof uplugplay3⤵
- Reads runtime system information
PID:1454
-
-
-
/bin/shsh -c "pgrep upnpsetup"2⤵PID:1463
-
/usr/bin/pgreppgrep upnpsetup3⤵
- Reads CPU attributes
- Reads runtime system information
PID:1464
-
-
-
/bin/shsh -c "pidof upnpsetup"2⤵PID:1467
-
/usr/bin/pidofpidof upnpsetup3⤵
- Reads runtime system information
PID:1468
-
-
-
/bin/shsh -c "systemctl daemon-reload"2⤵PID:1469
-
/usr/bin/systemctlsystemctl daemon-reload3⤵
- Reads EFI boot settings
PID:1470
-
-
-
/bin/shsh -c "systemctl enable uplugplay.service"2⤵PID:1497
-
/usr/bin/systemctlsystemctl enable uplugplay.service3⤵
- Reads EFI boot settings
PID:1498
-
-
-
/bin/shsh -c "systemctl start uplugplay.service"2⤵PID:1539
-
/usr/bin/systemctlsystemctl start uplugplay.service3⤵
- Reads EFI boot settings
PID:1540
-
-
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
MD5d709defce2eefdb6f4213e75d95fa3e6
SHA12de8e393420656804e84794941730b50f57ad776
SHA25671a2fb830b4f5852562927cbf510777ed13985aceb98132ac991c76bdb0236f1
SHA5123797bb087d3d374e1d35eefee8beedbe489603aafc6e5f7711465cf74c52ea5e01da44706e61c39c7e5d2becb834e5e57e97167e51cde9ffaa66ef1bad3f3b14