Analysis
- max time kernel
6s - max time network
148s - platform
ubuntu-24.04_amd64 - resource
ubuntu2404-amd64-20250307-en - resource tags
arch:amd64arch:i386image:ubuntu2404-amd64-20250307-enkernel:6.8.0-31-genericlocale:en-usos:ubuntu-24.04-amd64system - submitted
22/03/2025, 22:47
Behavioral task
behavioral1
Sample
na.elf
Resource
ubuntu2404-amd64-20250307-en
11 signatures
150 seconds
General
- Target na.elf
- Size 425KB
- Sample250322-2qlf2asves
- SHA256 7bf091303c15a364834054ec1cd86cdb7834cc35f4d3c43ab7bb86341cc4e585
- MD5 4accb7978e7278a26f7d418a3b82992d
- SHA1 2158dd472674b86f1f51b353e8afed973f872b68
- SHA512 d1a0db59c78277de132854d39b39f24d4228206007b488f18cb796dc2cb85747ebb9a367329cd7db9cba5309b31fe3c910dbc74b80514a5b32eb5897ab6df4d1
- SSDEEP 6144:63fxS1fHETSACF2Gzm5DVvSHrKKRH4SCra+HWMiFbcAOXmb4Dsi6wwcitgs:25WOSACZSV6eKRH5EPiamb4DsDwwcc
- 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 2486 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/1674/stat pgrep File opened for reading /proc/2136/status pgrep File opened for reading /proc/2136/cmdline pidof File opened for reading /proc/36/ctty pgrep File opened for reading /proc/767/cmdline pgrep File opened for reading /proc/181/cmdline pgrep File opened for reading /proc/16/stat pgrep File opened for reading /proc/1055/status pgrep File opened for reading /proc/53/cgroup pgrep File opened for reading /proc/55/stat pgrep File opened for reading /proc/512/stat pgrep File opened for reading /proc/2041/stat pidof File opened for reading /proc/54/status pgrep File opened for reading /proc/70/ctty pgrep File opened for reading /proc/753/cmdline pgrep File opened for reading /proc/201/status pgrep File opened for reading /proc/56/status pgrep File opened for reading /proc/786/status pgrep File opened for reading /proc/1954/ctty pgrep File opened for reading /proc/16/status pgrep File opened for reading /proc/767/cmdline pgrep File opened for reading /proc/1978/cmdline pgrep File opened for reading /proc/2220/ctty pgrep File opened for reading /proc/1888/stat pidof File opened for reading /proc/988/cgroup pgrep File opened for reading /proc/181/ctty pgrep File opened for reading /proc/511/status pgrep File opened for reading /proc/47/cgroup pgrep File opened for reading /proc/41/cmdline pidof File opened for reading /proc/511/stat pgrep File opened for reading /proc/860/cmdline pgrep File opened for reading /proc/56/cgroup pgrep File opened for reading /proc/38/stat pgrep File opened for reading /proc/274/status pgrep File opened for reading /proc/52/cgroup pgrep File opened for reading /proc/23/stat pgrep File opened for reading /proc/1950/cmdline pgrep File opened for reading /proc/2/ctty pgrep File opened for reading /proc/198/cmdline pgrep File opened for reading /proc/767/cmdline pgrep File opened for reading /proc/1866/ctty pgrep File opened for reading /proc/2044/ctty pgrep File opened for reading /proc/1916/cgroup pgrep File opened for reading /proc/776/ctty pgrep File opened for reading /proc/1371/status pgrep File opened for reading /proc/30/ctty pgrep File opened for reading /proc/40/cmdline pidof File opened for reading /proc/32/status pgrep File opened for reading /proc/2424/status pgrep File opened for reading /proc/7/cmdline pidof File opened for reading /proc/2185/cgroup pgrep File opened for reading /proc/70/stat pidof File opened for reading /proc/2298/cmdline pidof File opened for reading /proc/4/ctty pgrep File opened for reading /proc/32/cmdline pgrep File opened for reading /proc/199/stat pgrep File opened for reading /proc/2483/status pgrep File opened for reading /proc/22/stat pgrep File opened for reading /proc/1948/stat pidof File opened for reading /proc/56/ctty pgrep File opened for reading /proc/1942/ctty pgrep File opened for reading /proc/2306/cmdline pidof File opened for reading /proc/1/cgroup pgrep File opened for reading /proc/14/ctty pgrep
Processes
-
/tmp/na.elf/tmp/na.elf1⤵
- Deletes itself
- Modifies hosts file
- Modifies systemd
- Write file to user bin folder
PID:2486 -
/bin/shsh -c "pgrep na.elf"2⤵PID:2490
-
/usr/bin/pgreppgrep na.elf3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2491
-
-
-
/bin/shsh -c "pgrep uplugplay"2⤵PID:2494
-
/usr/bin/pgreppgrep uplugplay3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2495
-
-
-
/bin/shsh -c "pidof uplugplay"2⤵PID:2501
-
/usr/bin/pidofpidof uplugplay3⤵
- Reads runtime system information
PID:2502
-
-
-
/bin/shsh -c "pgrep upnpsetup"2⤵PID:2505
-
/usr/bin/pgreppgrep upnpsetup3⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2506
-
-
-
/bin/shsh -c "pidof upnpsetup"2⤵PID:2509
-
/usr/bin/pidofpidof upnpsetup3⤵
- Reads runtime system information
PID:2510
-
-
-
/bin/shsh -c "systemctl daemon-reload"2⤵PID:2522
-
/usr/bin/systemctlsystemctl daemon-reload3⤵PID:2523
-
-
-
/bin/shsh -c "systemctl enable uplugplay.service"2⤵PID:2648
-
/usr/bin/systemctlsystemctl enable uplugplay.service3⤵PID:2649
-
-
-
/bin/shsh -c "systemctl start uplugplay.service"2⤵PID:2779
-
/usr/bin/systemctlsystemctl start uplugplay.service3⤵PID:2781
-
-
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 425KB
- SHA256 7bf091303c15a364834054ec1cd86cdb7834cc35f4d3c43ab7bb86341cc4e585
- MD5 4accb7978e7278a26f7d418a3b82992d
- SHA1 2158dd472674b86f1f51b353e8afed973f872b68
- SHA512 d1a0db59c78277de132854d39b39f24d4228206007b488f18cb796dc2cb85747ebb9a367329cd7db9cba5309b31fe3c910dbc74b80514a5b32eb5897ab6df4d1
- SSDEEP 6144:63fxS1fHETSACF2Gzm5DVvSHrKKRH4SCra+HWMiFbcAOXmb4Dsi6wwcitgs:25WOSACZSV6eKRH5EPiamb4DsDwwcc
- MD5 SHA1 SHA512 SSDEEP