Analysis
-
max time kernel
149s -
max time network
150s -
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
30-07-2024 15:53
Behavioral task
behavioral1
Sample
78a739d9d2175a90799eb88967096175_JaffaCakes118
Resource
ubuntu2204-amd64-20240611-en
General
-
Target
78a739d9d2175a90799eb88967096175_JaffaCakes118
-
Size
1.2MB
-
MD5
78a739d9d2175a90799eb88967096175
-
SHA1
e1509d72c1fa299c70143e0896d8ee660f796971
-
SHA256
54962b45a45df729630cb63d693b2570c0fc181bd81c29981bd4a97f80210d4b
-
SHA512
d4451b63f1eb50397a9c5c8925d8c42f2bc19b4219f8734cc053979a206af55cfb6c1c4183a1d1c69c3ef9eb310c1a03ff4e9b6d6dc4797c56ce3e0206c403f6
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWIX422y1q2rJp0:745vRVJKGtSA0VWIolu9p0
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/getty 1586 getty /usr/bin/.sshd 1608 .sshd -
description ioc Process File opened for modification /etc/init.d/selinux getty File opened for modification /etc/init.d/DbSecuritySpt 78a739d9d2175a90799eb88967096175_JaffaCakes118 -
Write file to user bin folder 1 TTPs 11 IoCs
description ioc Process File opened for modification /usr/bin/.sshd cp File opened for modification /usr/bin/dpkgd/lsof cp File opened for modification /usr/bin/ps cp File opened for modification /usr/bin/bsd-port/getty.lock 78a739d9d2175a90799eb88967096175_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty cp File opened for modification /usr/bin/bsd-port/getty.lock getty File opened for modification /usr/bin/dpkgd/ps cp File opened for modification /usr/bin/dpkgd/ss cp File opened for modification /usr/bin/lsof cp File opened for modification /usr/bin/ss cp File opened for modification /usr/bin/bsd-port/udevd.lock 78a739d9d2175a90799eb88967096175_JaffaCakes118 -
Writes file to system bin folder 1 TTPs 3 IoCs
description ioc Process File opened for modification /bin/lsof cp File opened for modification /bin/ps cp File opened for modification /bin/ss 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 getty File opened for reading /proc/cpuinfo 78a739d9d2175a90799eb88967096175_JaffaCakes118 -
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 78a739d9d2175a90799eb88967096175_JaffaCakes118 File opened for reading /proc/net/dev getty -
Reads runtime system information 37 IoCs
Reads data from /proc virtual filesystem.
description ioc Process File opened for reading /proc/filesystems cp File opened for reading /proc/meminfo 78a739d9d2175a90799eb88967096175_JaffaCakes118 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/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/sys/kernel/version .sshd File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/meminfo getty 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 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/filesystems mkdir File opened for reading /proc/sys/kernel/version 78a739d9d2175a90799eb88967096175_JaffaCakes118 File opened for reading /proc/stat getty 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/filesystems mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/cmdline insmod File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/stat 78a739d9d2175a90799eb88967096175_JaffaCakes118 File opened for reading /proc/cmdline insmod File opened for reading /proc/sys/kernel/version getty -
Writes file to tmp directory 7 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/moni.lod 78a739d9d2175a90799eb88967096175_JaffaCakes118 File opened for modification /tmp/bill.lock 78a739d9d2175a90799eb88967096175_JaffaCakes118 File opened for modification /tmp/gates.lod 78a739d9d2175a90799eb88967096175_JaffaCakes118 File opened for modification /tmp/notify.file 78a739d9d2175a90799eb88967096175_JaffaCakes118 File opened for modification /tmp/moni.lod .sshd File opened for modification /tmp/notify.file .sshd File opened for modification /tmp/gates.lod .sshd
Processes
-
/tmp/78a739d9d2175a90799eb88967096175_JaffaCakes118/tmp/78a739d9d2175a90799eb88967096175_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:1562 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1568
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1569
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1570
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1571
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1572
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1573
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1574
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1575
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1576
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1577
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1578
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1579
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1580
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1581
-
-
-
/bin/shsh -c "cp -f /tmp/78a739d9d2175a90799eb88967096175_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1582
-
/usr/bin/cpcp -f /tmp/78a739d9d2175a90799eb88967096175_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1583
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1585
-
/usr/bin/bsd-port/getty/usr/bin/bsd-port/getty3⤵
- Executes dropped EXE
- Modifies init.d
- Write file to user bin folder
- Checks CPU configuration
- Reads system network configuration
- Reads runtime system information
PID:1586 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1594
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1595
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1596
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1597
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1598
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1599
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1600
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1601
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1602
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1603
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1604
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1605
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1609
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1610
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1611
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1612
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1613
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1614
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1615
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1616
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1617
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1618
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1619
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1620
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1621
-
/usr/bin/mkdirmkdir -p /bin5⤵
- 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/getty /bin/ps"4⤵PID:1625
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1626
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1627
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1628
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1629
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1630
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1631
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1632
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1633
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1634
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1635
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1636
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1637
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1638
-
-
-
/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 "mkdir -p /usr/bin"4⤵PID:1641
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1642
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1643
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1644
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1645
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1646
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1647
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1648
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1649
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1650
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1651
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1652
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1653
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1654
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1655
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1656
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1657
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1658
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1659
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1660
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1661
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1662
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1665
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1666
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1588
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1589
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1590
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1591
-
-
-
/bin/shsh -c "cp -f /tmp/78a739d9d2175a90799eb88967096175_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1592
-
/usr/bin/cpcp -f /tmp/78a739d9d2175a90799eb88967096175_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1593
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1607
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1608
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1667
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1668
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD5f68efe307b57ff449662af739d33c3c4
SHA1a339b88d38fc581e1da6a34e41d373a744bb7e5b
SHA2565ec91eb6acf644b84c440e9533144eb81f194de96cfff32c9da550fa7316d3f5
SHA5129a572229549b8c621e7685581ab2b29cd684046c9ae0c341b9f959c1756484cd68780b32f8db973ebbf1a38f8a4c435f6af38c537e086f81fabf5ff8a78cb6bb
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD54d6e4749289c4ec58c0063a90deb3964
SHA1a0e3eab3c80118379cb2e1d7b163f82494430e03
SHA256e830a0d7d5f303724e6404c8f9797580b6e77e4bdab70b8e163967925b69e6d0
SHA512c0a696afb1940c302622b6ba6ec2913c19903291626073ed3233a16000d45bb61ec7c676c42c1ae0e0b32126d9f72e938a80e665a68ad3fbfa0e606c352276ed
-
Filesize
4B
MD5e449b9317dad920c0dd5ad0a2a2d5e49
SHA1d547a6b51b233796a3d762908f82ef3677520663
SHA2569eb2d543a0a36152b0077db398e71d3e0f03d3ef9e0a739f0d257042a4c7efb2
SHA5124046edc9c8767e9f73e0288fa7689aea440f710cfc568f677b863f7ebcbcc93aeb336758a024f90a047e605424490924a66023a72fe3cb7db29484d95015245f
-
Filesize
51B
MD50b921b6791b7217a496c6ae85051b0c4
SHA18848002892d02194d43027f3925e50006992b7fa
SHA256b70d2fe15b266676d9a2ca3193486bd60624cc94a67097eef1092b82a5912c38
SHA51269858608cfe349d0f6735330016fced04cd40ac6774434f30e0171680666421ff2949d5966d234010a9d369cc81c57fea524a6a8c62b3218c72875ee7e24547a
-
Filesize
1.2MB
MD578a739d9d2175a90799eb88967096175
SHA1e1509d72c1fa299c70143e0896d8ee660f796971
SHA25654962b45a45df729630cb63d693b2570c0fc181bd81c29981bd4a97f80210d4b
SHA512d4451b63f1eb50397a9c5c8925d8c42f2bc19b4219f8734cc053979a206af55cfb6c1c4183a1d1c69c3ef9eb310c1a03ff4e9b6d6dc4797c56ce3e0206c403f6
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de
-
Filesize
125KB
MD51b25ac945efae8520ba112b500e2d561
SHA18324c4d1d1427829266e82f203386232ff82af15
SHA2565eb16d9a8bc81fe767725874e3f67623b8e86b46ec93546be49c5b09d3ab4636
SHA512e191f967170ea4844f736c5ab75b7bf45fef3af34f0a4bef0d36475d646b0b089449fe39806664b9f6ce1984037687930cc368892230662c8c30f67fa3ac216e