Analysis
- max time kernel
5s - max time network
144s - platform
ubuntu-20.04_amd64 - resource
ubuntu2004-amd64-20240611-en - resource tags
arch:amd64arch:i386image:ubuntu2004-amd64-20240611-enkernel:5.4.0-169-genericlocale:en-usos:ubuntu-20.04-amd64system - submitted
25/03/2025, 09:27
Behavioral task
behavioral1
Sample
na.elf
Resource
ubuntu2004-amd64-20240611-en
11 signatures
150 seconds
General
- Target na.elf
- Size 425KB
- Sample250325-lexrxstyay
- SHA256 2fc8cb2cf33218e199b97b4b9a6ad5d8ca94cd765dcbe22bc5a8bc4f30a531f2
- MD5 1e7e4ccc1f25c250b28dd30991d27f54
- SHA1 2e104628333ea1877bf02928292df33f672d0202
- SHA512 17806f85eab1c817abf6af22aaf50e2eaf935ca986bec7f1a8ad316db720deddb31f8d851e69246eb7e59e0491462489ede001092a71fe50607928e667fda337
- SSDEEP 6144:63fxS1fHETSACF2Gzm5DVvSHrKKRH4SCra+HWMiFbcAOXmb4Dsi6wwcitgt:25WOSACZSV6eKRH5EPiamb4DsDwwcd
- 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 1395 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/1335/status pgrep File opened for reading /proc/167/status pgrep File opened for reading /proc/91/stat pidof File opened for reading /proc/928/cmdline pidof File opened for reading /proc/1389/status pgrep File opened for reading /proc/77/status pgrep File opened for reading /proc/5/stat pidof File opened for reading /proc/171/cmdline pgrep File opened for reading /proc/763/cmdline pgrep File opened for reading /proc/1043/status pgrep File opened for reading /proc/1062/cmdline pgrep File opened for reading /proc/1074/status pgrep File opened for reading /proc/536/status pgrep File opened for reading /proc/1073/cmdline pidof File opened for reading /proc/14/status pgrep File opened for reading /proc/1330/stat pidof File opened for reading /proc/78/status pgrep File opened for reading /proc/1327/status pgrep File opened for reading /proc/650/stat pidof File opened for reading /proc/924/cmdline pgrep File opened for reading /proc/969/status pgrep File opened for reading /proc/1124/stat pidof File opened for reading /proc/1327/status pgrep File opened for reading /proc/162/stat pidof File opened for reading /proc/filesystems systemctl File opened for reading /proc/20/cmdline pgrep File opened for reading /proc/303/status pgrep File opened for reading /proc/439/cmdline pgrep File opened for reading /proc/87/stat pidof File opened for reading /proc/20/status pgrep File opened for reading /proc/4/cmdline pidof File opened for reading /proc/673/cmdline pgrep File opened for reading /proc/1026/stat pidof File opened for reading /proc/395/cmdline pidof File opened for reading /proc/1164/stat pidof File opened for reading /proc/1402/status pgrep File opened for reading /proc/74/status pgrep File opened for reading /proc/270/status pgrep File opened for reading /proc/650/cmdline pgrep File opened for reading /proc/1338/cmdline pgrep File opened for reading /proc/1331/cmdline pgrep File opened for reading /proc/sys/kernel/osrelease pgrep File opened for reading /proc/923/status pgrep File opened for reading /proc/1079/cmdline pgrep File opened for reading /proc/5/cmdline pidof File opened for reading /proc/1329/status pgrep File opened for reading /proc/479/cmdline pidof File opened for reading /proc/919/cmdline pidof File opened for reading /proc/650/cmdline pgrep File opened for reading /proc/1116/cmdline pidof File opened for reading /proc/942/status pgrep File opened for reading /proc/439/status pgrep File opened for reading /proc/1394/cmdline pidof File opened for reading /proc/1076/cmdline pidof File opened for reading /proc/1039/cmdline pgrep File opened for reading /proc/1392/status pgrep File opened for reading /proc/499/stat pidof File opened for reading /proc/1340/stat pidof File opened for reading /proc/90/cmdline pgrep File opened for reading /proc/1394/status pgrep File opened for reading /proc/71/cmdline pgrep File opened for reading /proc/1105/cmdline pgrep File opened for reading /proc/88/cmdline pgrep File opened for reading /proc/1/stat pidof
Processes
-
/tmp/na.elf/tmp/na.elf1⤵
- Deletes itself
- Modifies hosts file
- Modifies systemd
- Write file to user bin folder
PID:1395 -
/bin/shsh -c "pgrep na.elf"2⤵PID:1398
-
/usr/bin/pgreppgrep na.elf3⤵
- Reads CPU attributes
- Reads runtime system information
PID:1399
-
-
-
/bin/shsh -c "pgrep uplugplay"2⤵PID:1402
-
/usr/bin/pgreppgrep uplugplay3⤵
- Reads CPU attributes
- Reads runtime system information
PID:1403
-
-
-
/bin/shsh -c "pidof uplugplay"2⤵PID:1451
-
/usr/bin/pidofpidof uplugplay3⤵
- Reads runtime system information
PID:1452
-
-
-
/bin/shsh -c "pgrep upnpsetup"2⤵PID:1455
-
/usr/bin/pgreppgrep upnpsetup3⤵
- Reads CPU attributes
- Reads runtime system information
PID:1456
-
-
-
/bin/shsh -c "pidof upnpsetup"2⤵PID:1459
-
/usr/bin/pidofpidof upnpsetup3⤵
- Reads runtime system information
PID:1460
-
-
-
/bin/shsh -c "systemctl daemon-reload"2⤵PID:1462
-
/usr/bin/systemctlsystemctl daemon-reload3⤵
- Reads EFI boot settings
PID:1463
-
-
-
/bin/shsh -c "systemctl enable uplugplay.service"2⤵PID:1489
-
/usr/bin/systemctlsystemctl enable uplugplay.service3⤵
- Reads EFI boot settings
- Reads runtime system information
PID:1503
-
-
-
/bin/shsh -c "systemctl start uplugplay.service"2⤵PID:1530
-
/usr/bin/systemctlsystemctl start uplugplay.service3⤵
- Reads EFI boot settings
PID:1531
-
-
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
- 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 425KB
- SHA256 2fc8cb2cf33218e199b97b4b9a6ad5d8ca94cd765dcbe22bc5a8bc4f30a531f2
- MD5 1e7e4ccc1f25c250b28dd30991d27f54
- SHA1 2e104628333ea1877bf02928292df33f672d0202
- SHA512 17806f85eab1c817abf6af22aaf50e2eaf935ca986bec7f1a8ad316db720deddb31f8d851e69246eb7e59e0491462489ede001092a71fe50607928e667fda337
- SSDEEP 6144:63fxS1fHETSACF2Gzm5DVvSHrKKRH4SCra+HWMiFbcAOXmb4Dsi6wwcitgt:25WOSACZSV6eKRH5EPiamb4DsDwwcd
- MD5 SHA1 SHA512 SSDEEP