Analysis
-
max time kernel
1799s -
max time network
1751s -
platform
ubuntu-18.04_amd64 -
resource
ubuntu1804-amd64-20240226-en -
resource tags
arch:amd64arch:i386image:ubuntu1804-amd64-20240226-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system -
submitted
04-05-2024 20:04
Behavioral task
behavioral1
Sample
94156
Resource
ubuntu1804-amd64-20240226-en
General
-
Target
94156
-
Size
1.1MB
-
MD5
7d1343b3ab670b162fb2ce8854f01167
-
SHA1
de95e608dd0e97d5eca90b6b6d747465980d4857
-
SHA256
6674baf9b5ee9baf415ae92ed69b522bf1367cceb60cfd57ae7bc4b8e0677a23
-
SHA512
22ff942fcaabe8a63919a53bf68642dd45943ef3c24e558b18d51ca5c4c0209be653ec268f9d0f64b5634e9dd3e32f7eacdb746fd2263907c0f8f33d89dd91be
-
SSDEEP
24576:4vRE7caCfKGPqVEDNLFxKsfawI+gIGYuuCol7r:4vREKfPqVE5jKsfawRHGVo7r
Malware Config
Signatures
-
MrBlack trojan 1 IoCs
Processes:
resource yara_rule /usr/bin/bsd-port/knerl family_mrblack -
Executes dropped EXE 2 IoCs
Processes:
knerlpythnoioc pid process /usr/bin/bsd-port/knerl 1585 knerl /usr/bin/pythno 1607 pythno -
Processes:
94156knerldescription ioc process File opened for modification /etc/init.d/VsystemsshMdt 94156 File opened for modification /etc/init.d/selinux knerl -
Reads system routing table 1 TTPs 1 IoCs
Gets active network interfaces from /proc virtual filesystem.
Processes:
94156description ioc process File opened for reading /proc/net/route 94156 -
Write file to user bin folder 1 TTPs 8 IoCs
Processes:
cpcpcp94156cpknerlcpdescription ioc process File opened for modification /usr/bin/dpkgd/ps cp File opened for modification /usr/bin/dpkgd/lsof cp File opened for modification /usr/bin/lsof cp File opened for modification /usr/bin/bsd-port/knerl.conf 94156 File opened for modification /usr/bin/bsd-port/udevd.conf 94156 File opened for modification /usr/bin/bsd-port/knerl cp File opened for modification /usr/bin/bsd-port/knerl.conf knerl File opened for modification /usr/bin/pythno cp -
Writes file to system bin folder 1 TTPs 1 IoCs
Processes:
cpdescription ioc process File opened for modification /bin/ps cp -
Checks CPU configuration 1 TTPs 2 IoCs
Checks CPU information which indicate if the system is a virtual machine.
Processes:
94156knerldescription ioc process File opened for reading /proc/cpuinfo 94156 File opened for reading /proc/cpuinfo knerl -
Reads system network configuration 1 TTPs 4 IoCs
Uses contents of /proc filesystem to enumerate network settings.
Processes:
knerl94156description ioc process File opened for reading /proc/net/dev knerl File opened for reading /proc/net/route 94156 File opened for reading /proc/net/arp 94156 File opened for reading /proc/net/dev 94156 -
Reads runtime system information 17 IoCs
Reads data from /proc virtual filesystem.
Processes:
cpcpcpmkdir94156mkdircpcpknerlmkdirmkdirinsmodinsmodcpmkdirdescription ioc process File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems mkdir File opened for reading /proc/stat 94156 File opened for reading /proc/meminfo 94156 File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems cp File opened for reading /proc/meminfo knerl File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/cmdline insmod File opened for reading /proc/cmdline insmod File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems mkdir File opened for reading /proc/stat knerl -
Writes file to tmp directory 8 IoCs
Malware often drops required files in the /tmp directory.
Processes:
94156pythnodescription ioc process File opened for modification /tmp/conf.n 94156 File opened for modification /tmp/idus.log pythno File opened for modification /tmp/notify.file pythno File opened for modification /tmp/vga.conf pythno File opened for modification /tmp/idus.log 94156 File opened for modification /tmp/apsh.conf 94156 File opened for modification /tmp/vga.conf 94156 File opened for modification /tmp/notify.file 94156
Processes
-
/tmp/94156/tmp/941561⤵
- Modifies init.d
- Reads system routing table
- Write file to user bin folder
- Checks CPU configuration
- Reads system network configuration
- Reads runtime system information
- Writes file to tmp directory
PID:1563 -
/bin/shsh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc1.d/S97VsystemsshMdt"2⤵PID:1569
-
/bin/lnln -s /etc/init.d/VsystemsshMdt /etc/rc1.d/S97VsystemsshMdt3⤵PID:1570
-
/bin/shsh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc2.d/S97VsystemsshMdt"2⤵PID:1571
-
/bin/lnln -s /etc/init.d/VsystemsshMdt /etc/rc2.d/S97VsystemsshMdt3⤵PID:1572
-
/bin/shsh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc3.d/S97VsystemsshMdt"2⤵PID:1573
-
/bin/lnln -s /etc/init.d/VsystemsshMdt /etc/rc3.d/S97VsystemsshMdt3⤵PID:1574
-
/bin/shsh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc4.d/S97VsystemsshMdt"2⤵PID:1575
-
/bin/lnln -s /etc/init.d/VsystemsshMdt /etc/rc4.d/S97VsystemsshMdt3⤵PID:1576
-
/bin/shsh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc5.d/S97VsystemsshMdt"2⤵PID:1577
-
/bin/lnln -s /etc/init.d/VsystemsshMdt /etc/rc5.d/S97VsystemsshMdt3⤵PID:1578
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1579
-
/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1580 -
/bin/shsh -c "cp -f /tmp/94156 /usr/bin/bsd-port/knerl"2⤵PID:1581
-
/bin/cpcp -f /tmp/94156 /usr/bin/bsd-port/knerl3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1582 -
/bin/shsh -c /usr/bin/bsd-port/knerl2⤵PID:1584
-
/usr/bin/bsd-port/knerl/usr/bin/bsd-port/knerl3⤵
- Executes dropped EXE
- Modifies init.d
- Write file to user bin folder
- Checks CPU configuration
- Reads system network configuration
- Reads runtime system information
PID:1585 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1591
-
/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1592
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1593
-
/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1594
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1595
-
/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1596
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1597
-
/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1598
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1599
-
/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1600
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1601
-
/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1602 -
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1603
-
/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1604 -
/bin/shsh -c "mkdir -p /bin"4⤵PID:1612
-
/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1613 -
/bin/shsh -c "cp -f /usr/bin/bsd-port/knerl /bin/ps"4⤵PID:1614
-
/bin/cpcp -f /usr/bin/bsd-port/knerl /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1615 -
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1617
-
/bin/chmodchmod 0755 /bin/ps5⤵PID:1618
-
/bin/shsh -c "cp -f /usr/bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1619
-
/bin/cpcp -f /usr/bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1620 -
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1621
-
/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1622 -
/bin/shsh -c "cp -f /usr/bin/bsd-port/knerl /usr/bin/lsof"4⤵PID:1623
-
/bin/cpcp -f /usr/bin/bsd-port/knerl /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1624 -
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1626
-
/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1627
-
/bin/shsh -c "insmod /usr/lib/xpacket.ko"4⤵PID:1628
-
/sbin/insmodinsmod /usr/lib/xpacket.ko5⤵
- Reads runtime system information
PID:1629 -
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1587
-
/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1588 -
/bin/shsh -c "cp -f /tmp/94156 /usr/bin/pythno"2⤵PID:1589
-
/bin/cpcp -f /tmp/94156 /usr/bin/pythno3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1590 -
/bin/shsh -c /usr/bin/pythno2⤵PID:1606
-
/usr/bin/pythno/usr/bin/pythno3⤵
- Executes dropped EXE
- Writes file to tmp directory
PID:1607 -
/bin/shsh -c "insmod /usr/lib/xpacket.ko"2⤵PID:1609
-
/sbin/insmodinsmod /usr/lib/xpacket.ko3⤵
- Reads runtime system information
PID:1610
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
23B
MD59bbb6a1166b0609335a9aec9ba84eddf
SHA157a247f2cfcf3673ff81dd8b94c3da764927451c
SHA256cb1c6e32a683e01650d11c9ddaebd2815726f59fcdd1612d50a0edc6c2918d6d
SHA512cab11d7253c1f50b5c0719b26f19b766a20f6731a6867ad3603cd3f89d026037e1497c11c09381e555858c10b39bbd722155c6716d8f64e917be72898ace79ba
-
Filesize
36B
MD5caa27b819c9303446f702929874a00e8
SHA1d24199c0e376edea3f822b215148cc0dc78364bf
SHA256da9b535a14c6d9152857e211f14fb8da9056e84ba1b8d4dc27ab79c98264050b
SHA512dcd9413eb2cb24d77f637edfc00ca0bb42229a1a3b0d84e29eff94a7b91aee6ee8c126c286a4b4103e01834d1c6aec9de09ffab3927e8de8015421005f31446e
-
Filesize
4B
MD5faafda66202d234463057972460c04f5
SHA1b08fff87998d20605f134b632cb8fa3398008116
SHA256b2382de3cdaaf0c8e505cd370821d7842e493a1e64160dc6991b1109e2938a21
SHA5122c743b3f56b8ed3295341971cce16d94043522e565ce09214fe8d21ef68d5a1dd355fe97da6770bd856c3241f4d7ced45a17962bda8cf542c0d1f4c17f6fbd7b
-
Filesize
10B
MD52aa6f0df6171f7a70882ae565ea552e9
SHA1e28035a12917a231993fbdfbf829630b0f56f196
SHA256a3efaa09fd6f13fe37590d5059edc3af280c4826b650707546c2f95b271dfd75
SHA5121c00b642267dac4ef6f78927b2c6dc868289e4f56f00886647939720db228a9aff109770c448a44b21a676a05e5b3e7a093444ab2503e7a1ff616a392630b39d
-
Filesize
4B
MD5facf9f743b083008a894eee7baa16469
SHA1fe286d02f80118de47f2226c2fce9f7be0bc04f0
SHA2562163909115c0f6f1e638bd2c2279387cbe37cc327150a7b5cddfde3d1cd4ef0e
SHA5127bd3d1d347d68f23d612a3ec7a1d2f4094874162441bae20122876ea980bbb76a3c46d5d2e393975ea0659fb2b58046a311d7660f226482a57a74e9ffd9b0f36
-
Filesize
1.1MB
MD57d1343b3ab670b162fb2ce8854f01167
SHA1de95e608dd0e97d5eca90b6b6d747465980d4857
SHA2566674baf9b5ee9baf415ae92ed69b522bf1367cceb60cfd57ae7bc4b8e0677a23
SHA51222ff942fcaabe8a63919a53bf68642dd45943ef3c24e558b18d51ca5c4c0209be653ec268f9d0f64b5634e9dd3e32f7eacdb746fd2263907c0f8f33d89dd91be
-
Filesize
159KB
MD5e093dc78225e2a0a25e3b137c1c1e442
SHA1c29497cfaae729eb576875e4fdfa400640ab16be
SHA2561190f4dbc7be174de8fd4096c9bf7a28eebfac937d308b7cc533be4a1240d26e
SHA512fe1cc7a65327732eaaee89f427c10239ba822430e34177842f4681068d78d404b1830d808a2a71b1efcc5f126c6d8c053512237421173aaa150e215a672da6f0
-
Filesize
130KB
MD5558edc26f8a38fa9788220b9af8a73e7
SHA13024d44e580e9c67f32f6c585d50e2a6cc9a7cac
SHA256b76435c80333d2c1fd18e0e7682f1c9dfb5da8d507e93e3c416f54b481c428d5
SHA512edaa425b441044f015e8f68fffa1664e42372d00dd0e7b0924d24ce947aa8e5f96b3bdc326fa2f8b978e3fcf638a1ceca45a223735db73f1607df66990feb56f