Analysis
- max time kernel
147s - max time network
149s - platform
ubuntu-18.04_amd64 - resource
ubuntu1804-amd64-20261019-en - resource tags
arch:amd64arch:i386image:ubuntu1804-amd64-20261019-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system - submitted
02/12/2026, 14:54
Static task
static1
Behavioral task
behavioral1
Sample
diam.i686.elf
Resource
ubuntu1804-amd64-20261019-en
10 signatures
150 seconds
General
- Target diam.i686.elf
- Size 946KB
- Sample261202-r91d7acv3x
- SHA256 cd8072dfd2afbe6adc28d88cf7a026a1ed8dc5f5c1d14850041ab5601f44421b
- MD5 1acec4d6aa6e855e32ac1055216e22f6
- SHA1 f8dcd13d253be139b7bddacbec86881c7decff02
- SHA512 6975a7b77419c5c0719ce675f0b1f96435a24d9a5330b964c4d8e675d07c2fc563b516ab550d9e5e64df79fb65b39b7767fd28068f9e8c38190f5b106e6e3cd2
- SSDEEP 24576:FOTqSow7koRlLhrIhXvVk1IBg3Y8DwmpMpzzhGBcZ:FOP77VlLhrIhXOw9Z
- TLSH T1D9257C9CE787D4E1F26340F0024EDBF205607426A057FAF6FB852A1774727A26F1636A
- MD5 SHA1 SHA512 SSDEEP TLSH
Score
7/10
Malware Config
Signatures
- Deletes itself 1 IoCs
pid Process 1534 diam.i686.elf - Enumerates active TCP sockets 1 TTPs 1 IoCs
Gets active TCP sockets from /proc virtual filesystem.
description ioc Process File opened for reading /proc/net/tcp diam.i686.elf - Enumerates running processes
Discovers information about currently running processes on the system
-
description ioc Process File opened for modification /etc/init.d/sysd diam.i686.elf - Modifies rc script 2 TTPs 1 IoCs
Adding/modifying system rc scripts is a common persistence mechanism.
description ioc Process File opened for modification /etc/rc.local diam.i686.elf - Write file to user bin folder 1 IoCs
description ioc Process File opened for modification /usr/bin/.sh cp - Reads process memory 1 TTPs 64 IoCs
Read the memory of a process through the /proc virtual filesystem. This can be used to steal credentials.
description ioc Process File opened for reading /proc/6/maps diam.i686.elf File opened for reading /proc/160/maps diam.i686.elf File opened for reading /proc/454/maps diam.i686.elf File opened for reading /proc/173/maps diam.i686.elf File opened for reading /proc/431/maps diam.i686.elf File opened for reading /proc/644/maps diam.i686.elf File opened for reading /proc/2/maps diam.i686.elf File opened for reading /proc/468/maps diam.i686.elf File opened for reading /proc/18/maps diam.i686.elf File opened for reading /proc/31/maps diam.i686.elf File opened for reading /proc/455/maps diam.i686.elf File opened for reading /proc/532/maps diam.i686.elf File opened for reading /proc/10/maps diam.i686.elf File opened for reading /proc/656/maps diam.i686.elf File opened for reading /proc/21/maps diam.i686.elf File opened for reading /proc/163/maps diam.i686.elf File opened for reading /proc/681/maps diam.i686.elf File opened for reading /proc/25/maps diam.i686.elf File opened for reading /proc/86/maps diam.i686.elf File opened for reading /proc/166/maps diam.i686.elf File opened for reading /proc/491/maps diam.i686.elf File opened for reading /proc/909/maps diam.i686.elf File opened for reading /proc/587/maps diam.i686.elf File opened for reading /proc/610/maps diam.i686.elf File opened for reading /proc/493/maps diam.i686.elf File opened for reading /proc/7/maps diam.i686.elf File opened for reading /proc/34/maps diam.i686.elf File opened for reading /proc/36/maps diam.i686.elf File opened for reading /proc/487/maps diam.i686.elf File opened for reading /proc/20/maps diam.i686.elf File opened for reading /proc/26/maps diam.i686.elf File opened for reading /proc/169/maps diam.i686.elf File opened for reading /proc/667/maps diam.i686.elf File opened for reading /proc/676/maps diam.i686.elf File opened for reading /proc/985/maps diam.i686.elf File opened for reading /proc/8/maps diam.i686.elf File opened for reading /proc/137/maps diam.i686.elf File opened for reading /proc/165/maps diam.i686.elf File opened for reading /proc/715/maps diam.i686.elf File opened for reading /proc/974/maps diam.i686.elf File opened for reading /proc/164/maps diam.i686.elf File opened for reading /proc/168/maps diam.i686.elf File opened for reading /proc/80/maps diam.i686.elf File opened for reading /proc/156/maps diam.i686.elf File opened for reading /proc/418/maps diam.i686.elf File opened for reading /proc/495/maps diam.i686.elf File opened for reading /proc/697/maps diam.i686.elf File opened for reading /proc/175/maps diam.i686.elf File opened for reading /proc/451/maps diam.i686.elf File opened for reading /proc/531/maps diam.i686.elf File opened for reading /proc/556/maps diam.i686.elf File opened for reading /proc/22/maps diam.i686.elf File opened for reading /proc/171/maps diam.i686.elf File opened for reading /proc/445/maps diam.i686.elf File opened for reading /proc/936/maps diam.i686.elf File opened for reading /proc/157/maps diam.i686.elf File opened for reading /proc/16/maps diam.i686.elf File opened for reading /proc/84/maps diam.i686.elf File opened for reading /proc/200/maps diam.i686.elf File opened for reading /proc/492/maps diam.i686.elf File opened for reading /proc/81/maps diam.i686.elf File opened for reading /proc/267/maps diam.i686.elf File opened for reading /proc/488/maps diam.i686.elf File opened for reading /proc/24/maps diam.i686.elf - Changes its process name 4 IoCs
description pid Process Changes the process name, possibly in an attempt to hide itself 1534 diam.i686.elf Changes the process name, possibly in an attempt to hide itself 1534 diam.i686.elf Changes the process name, possibly in an attempt to hide itself 1541 diam.i686.elf Changes the process name, possibly in an attempt to hide itself 1540 diam.i686.elf - Reads system network configuration 1 TTPs 2 IoCs
Uses contents of /proc filesystem to enumerate network settings.
description ioc Process File opened for reading /proc/net/tcp diam.i686.elf File opened for reading /proc/net/tcp6 diam.i686.elf -
description ioc Process File opened for reading /proc/570/cmdline diam.i686.elf File opened for reading /proc/931/cmdline diam.i686.elf File opened for reading /proc/1534/cmdline diam.i686.elf File opened for reading /proc/556/stat diam.i686.elf File opened for reading /proc/909/stat diam.i686.elf File opened for reading /proc/587/cmdline diam.i686.elf File opened for reading /proc/1060/cmdline diam.i686.elf File opened for reading /proc/163/stat diam.i686.elf File opened for reading /proc/173/stat diam.i686.elf File opened for reading /proc/936/stat diam.i686.elf File opened for reading /proc/1017/stat diam.i686.elf File opened for reading /proc/1095/stat diam.i686.elf File opened for reading /proc/1255/stat diam.i686.elf File opened for reading /proc/79/cmdline diam.i686.elf File opened for reading /proc/165/cmdline diam.i686.elf File opened for reading /proc/172/cmdline diam.i686.elf File opened for reading /proc/493/cmdline diam.i686.elf File opened for reading /proc/1039/cmdline diam.i686.elf File opened for reading /proc/1291/cmdline diam.i686.elf File opened for reading /proc/164/stat diam.i686.elf File opened for reading /proc/348/stat diam.i686.elf File opened for reading /proc/filesystems cp File opened for reading /proc/159/cmdline diam.i686.elf File opened for reading /proc/166/cmdline diam.i686.elf File opened for reading /proc/17/stat diam.i686.elf File opened for reading /proc/79/stat diam.i686.elf File opened for reading /proc/487/stat diam.i686.elf File opened for reading /proc/656/stat diam.i686.elf File opened for reading /proc/1255/maps diam.i686.elf File opened for reading /proc/31/cmdline diam.i686.elf File opened for reading /proc/431/cmdline diam.i686.elf File opened for reading /proc/1006/cmdline diam.i686.elf File opened for reading /proc/22/stat diam.i686.elf File opened for reading /proc/667/stat diam.i686.elf File opened for reading /proc/1074/maps diam.i686.elf File opened for reading /proc/1090/maps diam.i686.elf File opened for reading /proc/1530/maps diam.i686.elf File opened for reading /proc/137/cmdline diam.i686.elf File opened for reading /proc/936/cmdline diam.i686.elf File opened for reading /proc/1035/cmdline diam.i686.elf File opened for reading /proc/1099/cmdline diam.i686.elf File opened for reading /proc/161/stat diam.i686.elf File opened for reading /proc/166/stat diam.i686.elf File opened for reading /proc/697/stat diam.i686.elf File opened for reading /proc/1170/stat diam.i686.elf File opened for reading /proc/89/cmdline diam.i686.elf File opened for reading /proc/1104/cmdline diam.i686.elf File opened for reading /proc/267/stat diam.i686.elf File opened for reading /proc/985/stat diam.i686.elf File opened for reading /proc/1035/stat diam.i686.elf File opened for reading /proc/1256/stat diam.i686.elf File opened for reading /proc/1530/stat diam.i686.elf File opened for reading /proc/89/stat diam.i686.elf File opened for reading /proc/34/cmdline diam.i686.elf File opened for reading /proc/81/cmdline diam.i686.elf File opened for reading /proc/84/cmdline diam.i686.elf File opened for reading /proc/86/cmdline diam.i686.elf File opened for reading /proc/609/cmdline diam.i686.elf File opened for reading /proc/1017/cmdline diam.i686.elf File opened for reading /proc/169/stat diam.i686.elf File opened for reading /proc/3/cmdline diam.i686.elf File opened for reading /proc/157/cmdline diam.i686.elf File opened for reading /proc/465/cmdline diam.i686.elf File opened for reading /proc/1390/cmdline diam.i686.elf
Processes
-
/tmp/diam.i686.elf/tmp/diam.i686.elf1⤵
- Deletes itself
- Enumerates active TCP sockets
- Modifies init.d
- Modifies rc script
- Reads process memory
- Changes its process name
- Reads system network configuration
- Reads runtime system information
PID:1532 -
/bin/shsh -c "cp /tmp/diam.i686.elf /usr/bin/.sh"2⤵PID:1536
-
/bin/cpcp /tmp/diam.i686.elf /usr/bin/.sh3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1538
-
-
Network
MITRE ATT&CK Enterprise v16
Persistence
Boot or Logon Autostart Execution
2Boot or Logon Initialization Scripts
2RC Scripts
2Privilege Escalation
Boot or Logon Autostart Execution
2Boot or Logon Initialization Scripts
2RC Scripts
2Replay Monitor
Loading Replay Monitor...
Downloads
- Path /etc/init.d/sysd
- Size 25B
- SHA256 ba1d50d125344f273c249426ccd744d5a12e560ace41cca4bc55bd2d4a718d8f
- MD5 997cb34ff6e6cded70b841c0d16c0938
- SHA1 cc85c16e2fb441d86aa668f376ca7fb4b181f1ab
- SHA512 1e775ca8513f2841b6a8e369071b28c48489ab6462d06525f9b6b2bf97e9c043562bd7e0217307ed64a95217a76a94a08189616831c9d3127c6b91b7544570c8
- MD5 SHA1 SHA512
- Path /usr/bin/.sh
- Size 946KB
- SHA256 cd8072dfd2afbe6adc28d88cf7a026a1ed8dc5f5c1d14850041ab5601f44421b
- MD5 1acec4d6aa6e855e32ac1055216e22f6
- SHA1 f8dcd13d253be139b7bddacbec86881c7decff02
- SHA512 6975a7b77419c5c0719ce675f0b1f96435a24d9a5330b964c4d8e675d07c2fc563b516ab550d9e5e64df79fb65b39b7767fd28068f9e8c38190f5b106e6e3cd2
- SSDEEP 24576:FOTqSow7koRlLhrIhXvVk1IBg3Y8DwmpMpzzhGBcZ:FOP77VlLhrIhXOw9Z
- TLSH T1D9257C9CE787D4E1F26340F0024EDBF205607426A057FAF6FB852A1774727A26F1636A
- MD5 SHA1 SHA512 SSDEEP TLSH