Analysis
-
max time kernel
149s -
max time network
150s -
platform
ubuntu-22.04_amd64 -
resource
ubuntu2204-amd64-20240522.1-en -
resource tags
arch:amd64arch:i386image:ubuntu2204-amd64-20240522.1-enkernel:5.15.0-105-genericlocale:en-usos:ubuntu-22.04-amd64system -
submitted
29-07-2024 20:19
Behavioral task
behavioral1
Sample
5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118
Resource
ubuntu2204-amd64-20240522.1-en
General
-
Target
5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118
-
Size
1.1MB
-
MD5
5d9ca3020c64a239b84e32aca08af87b
-
SHA1
a22260a3983921f4059f15298a91b8a970bc909f
-
SHA256
cfe3dccf9ba5a17e410e8e7cf8d0ff5c1b8688f99881b53933006250b6421468
-
SHA512
35efb58ebaa5ee5a198b2678232a06e966f108a7dfc6465ebee1355e9574ea51ac647c3585434dad385a4ea962f4bf49bfb44287e8bbccd2fcef2c726660e8ce
-
SSDEEP
24576:4vRE7caCfKGPqVEDNLFxKsfaBI+gIGYuuCol7r:4vREKfPqVE5jKsfaBRHGVo7r
Malware Config
Signatures
-
MrBlack trojan 1 IoCs
resource yara_rule behavioral1/files/fstream-4.dat family_mrblack -
Executes dropped EXE 2 IoCs
ioc pid Process /usr/bin/bsd-port/knerl 1593 knerl /usr/bin/pythno 1601 pythno -
description ioc Process File opened for modification /etc/init.d/selinux knerl File opened for modification /etc/init.d/VsystemsshMdt 5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 -
Write file to user bin folder 1 TTPs 9 IoCs
description ioc Process File opened for modification /usr/bin/dpkgd/lsof cp File opened for modification /usr/bin/dpkgd/ps cp File opened for modification /usr/bin/lsof cp File opened for modification /usr/bin/bsd-port/knerl.conf 5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 File opened for modification /usr/bin/bsd-port/knerl cp File opened for modification /usr/bin/pythno cp File opened for modification /usr/bin/bsd-port/knerl.conf knerl File opened for modification /usr/bin/ps cp File opened for modification /usr/bin/bsd-port/udevd.conf 5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 -
Writes file to system bin folder 1 TTPs 2 IoCs
description ioc Process File opened for modification /bin/lsof cp 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.
description ioc Process File opened for reading /proc/cpuinfo 5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 File opened for reading /proc/cpuinfo knerl -
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/dev 5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 File opened for reading /proc/net/dev knerl -
Reads runtime system information 24 IoCs
Reads data from /proc virtual filesystem.
description ioc Process File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/sys/kernel/version 5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 File opened for reading /proc/sys/kernel/version knerl 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/meminfo knerl File opened for reading /proc/filesystems cp File opened for reading /proc/stat 5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 File opened for reading /proc/meminfo 5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 File opened for reading /proc/filesystems cp File opened for reading /proc/cmdline insmod File opened for reading /proc/sys/kernel/version pythno 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/stat knerl File opened for reading /proc/filesystems mkdir -
Writes file to tmp directory 7 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/notify.file pythno File opened for modification /tmp/vga.conf pythno File opened for modification /tmp/idus.log 5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 File opened for modification /tmp/apsh.conf 5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 File opened for modification /tmp/vga.conf 5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 File opened for modification /tmp/notify.file 5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 File opened for modification /tmp/idus.log pythno
Processes
-
/tmp/5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118/tmp/5d9ca3020c64a239b84e32aca08af87b_JaffaCakes1181⤵
- Modifies init.d
- Write file to user bin folder
- Checks CPU configuration
- Reads system network configuration
- Reads runtime system information
- Writes file to tmp directory
PID:1551 -
/bin/shsh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc1.d/S97VsystemsshMdt"2⤵PID:1577
-
/usr/bin/lnln -s /etc/init.d/VsystemsshMdt /etc/rc1.d/S97VsystemsshMdt3⤵PID:1578
-
-
-
/bin/shsh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc2.d/S97VsystemsshMdt"2⤵PID:1579
-
/usr/bin/lnln -s /etc/init.d/VsystemsshMdt /etc/rc2.d/S97VsystemsshMdt3⤵PID:1580
-
-
-
/bin/shsh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc3.d/S97VsystemsshMdt"2⤵PID:1581
-
/usr/bin/lnln -s /etc/init.d/VsystemsshMdt /etc/rc3.d/S97VsystemsshMdt3⤵PID:1582
-
-
-
/bin/shsh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc4.d/S97VsystemsshMdt"2⤵PID:1583
-
/usr/bin/lnln -s /etc/init.d/VsystemsshMdt /etc/rc4.d/S97VsystemsshMdt3⤵PID:1584
-
-
-
/bin/shsh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc5.d/S97VsystemsshMdt"2⤵PID:1585
-
/usr/bin/lnln -s /etc/init.d/VsystemsshMdt /etc/rc5.d/S97VsystemsshMdt3⤵PID:1586
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1587
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1588
-
-
-
/bin/shsh -c "cp -f /tmp/5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 /usr/bin/bsd-port/knerl"2⤵PID:1589
-
/usr/bin/cpcp -f /tmp/5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 /usr/bin/bsd-port/knerl3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1590
-
-
-
/bin/shsh -c /usr/bin/bsd-port/knerl2⤵PID:1592
-
/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:1593 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1608
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1609
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1610
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1611
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1612
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1613
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1614
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1615
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1616
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1617
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1618
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1619
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1621
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1622
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1623
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1624
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/knerl /bin/lsof"4⤵PID:1625
-
/usr/bin/cpcp -f /usr/bin/bsd-port/knerl /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1626
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1627
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1628
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1630
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1631
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1632
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1633
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/knerl /bin/ps"4⤵PID:1634
-
/usr/bin/cpcp -f /usr/bin/bsd-port/knerl /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1635
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1636
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1637
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1639
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1640
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/knerl /usr/bin/lsof"4⤵PID:1641
-
/usr/bin/cpcp -f /usr/bin/bsd-port/knerl /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1642
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1643
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1644
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1645
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1646
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/knerl /usr/bin/ps"4⤵PID:1648
-
/usr/bin/cpcp -f /usr/bin/bsd-port/knerl /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1650
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1651
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1652
-
-
-
/bin/shsh -c "insmod /usr/lib/xpacket.ko"4⤵PID:1653
-
/usr/sbin/insmodinsmod /usr/lib/xpacket.ko5⤵
- Reads runtime system information
PID:1654
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1595
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1596
-
-
-
/bin/shsh -c "cp -f /tmp/5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 /usr/bin/pythno"2⤵PID:1597
-
/usr/bin/cpcp -f /tmp/5d9ca3020c64a239b84e32aca08af87b_JaffaCakes118 /usr/bin/pythno3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1598
-
-
-
/bin/shsh -c /usr/bin/pythno2⤵PID:1600
-
/usr/bin/pythno/usr/bin/pythno3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1601
-
-
-
/bin/shsh -c "insmod /usr/lib/xpacket.ko"2⤵PID:1603
-
/usr/sbin/insmodinsmod /usr/lib/xpacket.ko3⤵
- Reads runtime system information
PID:1604
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD5b59a2fb9f15019825fb7142dd6391e98
SHA143384b7554c9deff66afee790f5abd22c1910899
SHA256f035b032e706c9c5125e4db3e8971bee5fc073147cfa88df2fbf672776ea6c2d
SHA512896e4592c76ca942ae882fda3b32c265b3c1a62fccd4f4c78215403a3312eb5aa2c3d6c3c6edb7e5c0df766dbd8ad3cf7b653e9ca5e7728e8fb94ba71579a698
-
Filesize
36B
MD5caa27b819c9303446f702929874a00e8
SHA1d24199c0e376edea3f822b215148cc0dc78364bf
SHA256da9b535a14c6d9152857e211f14fb8da9056e84ba1b8d4dc27ab79c98264050b
SHA512dcd9413eb2cb24d77f637edfc00ca0bb42229a1a3b0d84e29eff94a7b91aee6ee8c126c286a4b4103e01834d1c6aec9de09ffab3927e8de8015421005f31446e
-
Filesize
4B
MD51bc0249a6412ef49b07fe6f62e6dc8de
SHA161f348dbfc99215070417b9d49da662cfd0671ef
SHA2562f57a2e309c463513b962750096f4389e229001dccc19afcb95ff98c70e14d09
SHA512e51fc38acc801d470d658cb9ec9f66f4a8cbcd96fb613c20bc43bbd4162ccd6c7bd223a5832f7e8eeadaa3a946a587b76c3c2e1eb1d16e6eb63ece3cbec0aa1c
-
Filesize
51B
MD5c9fa0849cb444f9c7b6a0c8e1ac7c5a2
SHA100dce9d4bbba00d5ac51bc5660468c06bb46aa7d
SHA25649eac244df16c397fb12fa0057b429c06fde8f20c9f4816b682370d7f5ae6db0
SHA5129c273610b56bd32ff9453b88e0f1e74880abe6ea890240388ccd29e83af3e7b9e7da2ef65487bf51a2f556c7d0de0f6a590da3575a2cc4780c0ee7daa3adb83a
-
Filesize
4B
MD5351b33587c5fdd93bd42ef7ac9995a28
SHA1440f13f2ffe7800ae87431f50edb70aa51e49fde
SHA25651e6811411165c04f691eb5a38cf11a7316fdd776478b4fd222fd0107973c381
SHA512d4c03bb876b38c94d99a022f56ae99cfa0b0aebe95723c0851d5d989ef2eb6924962d0d332abcae2b9cba6fc86a0d57c11a13d2ae94df169718ba45f2ef90565
-
Filesize
1.1MB
MD55d9ca3020c64a239b84e32aca08af87b
SHA1a22260a3983921f4059f15298a91b8a970bc909f
SHA256cfe3dccf9ba5a17e410e8e7cf8d0ff5c1b8688f99881b53933006250b6421468
SHA51235efb58ebaa5ee5a198b2678232a06e966f108a7dfc6465ebee1355e9574ea51ac647c3585434dad385a4ea962f4bf49bfb44287e8bbccd2fcef2c726660e8ce
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de