Analysis
-
max time kernel
149s -
max time network
155s -
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
29-07-2024 18:31
Behavioral task
behavioral1
Sample
58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118
Resource
ubuntu2204-amd64-20240611-en
General
-
Target
58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118
-
Size
1.2MB
-
MD5
58588ccbdc1d65d18485fa3a223fe2e4
-
SHA1
fb794bfa8ae6dc0d2d148076473dedddc82587eb
-
SHA256
061b7a163492c938234510219fa22086eae2115c79e68949362f86c1b6f8669c
-
SHA512
2108f6c98f059faeb6749b9317f67f25d64e523794d5ef692e5834350fdd95cbcbe0bde81c1ff4556e1bc8906b23d8c6a85a3bf3113821a49bfa8b71358c25b2
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWeX4C2y1q2rJp0:745vRVJKGtSA0VWeoxu9p0
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 1631 getty /usr/bin/.sshd 1653 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for modification /etc/init.d/selinux getty -
Reads system routing table 1 TTPs 2 IoCs
Gets active network interfaces from /proc virtual filesystem.
description ioc Process File opened for reading /proc/net/route 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for reading /proc/net/route getty -
Write file to user bin folder 1 TTPs 12 IoCs
description ioc Process File opened for modification /usr/bin/bsd-port/getty.lock getty File opened for modification /usr/bin/.sshd cp File opened for modification /usr/bin/dpkgd/ss cp File opened for modification /usr/bin/ps cp File opened for modification /usr/bin/bsd-port/conf.n getty File opened for modification /usr/bin/bsd-port/getty.lock 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for modification /usr/bin/bsd-port/udevd.lock 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for modification /usr/bin/dpkgd/ps 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/getty cp File opened for modification /usr/bin/dpkgd/lsof cp -
Writes file to system bin folder 1 TTPs 3 IoCs
description ioc Process File opened for modification /bin/ss cp 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 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for reading /proc/cpuinfo getty -
Reads system network configuration 1 TTPs 6 IoCs
Uses contents of /proc filesystem to enumerate network settings.
description ioc Process File opened for reading /proc/net/dev 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for reading /proc/net/dev getty File opened for reading /proc/net/route 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for reading /proc/net/arp 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for reading /proc/net/route getty File opened for reading /proc/net/arp getty -
Reads runtime system information 37 IoCs
Reads data from /proc virtual filesystem.
description ioc Process File opened for reading /proc/sys/kernel/version 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for reading /proc/filesystems cp File opened for reading /proc/stat getty 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 mkdir File opened for reading /proc/filesystems mkdir 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/filesystems mkdir 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 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for reading /proc/meminfo getty 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 mkdir File opened for reading /proc/filesystems mkdir 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/filesystems cp 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/stat 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for reading /proc/sys/kernel/version getty File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems cp -
Writes file to tmp directory 8 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/moni.lod 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for modification /tmp/bill.lock 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for modification /tmp/gates.lod 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for modification /tmp/notify.file 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for modification /tmp/moni.lod .sshd File opened for modification /tmp/notify.file .sshd File opened for modification /tmp/conf.n 58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 File opened for modification /tmp/gates.lod .sshd
Processes
-
/tmp/58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118/tmp/58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes1181⤵
- 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:1593 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1613
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1614
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1615
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1616
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1617
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1618
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1619
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1620
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1621
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1622
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1623
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1624
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1625
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1626
-
-
-
/bin/shsh -c "cp -f /tmp/58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1627
-
/usr/bin/cpcp -f /tmp/58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1628
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1630
-
/usr/bin/bsd-port/getty/usr/bin/bsd-port/getty3⤵
- Executes dropped EXE
- Modifies init.d
- Reads system routing table
- Write file to user bin folder
- Checks CPU configuration
- Reads system network configuration
- Reads runtime system information
PID:1631 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1639
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1640
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1641
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1642
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1643
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1644
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1645
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1646
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1647
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1648
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1649
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1650
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1654
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1655
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1656
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1657
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1658
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1659
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1660
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1661
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1662
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1663
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1664
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1665
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1666
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1667
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1668
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1669
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1670
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1671
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1672
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1673
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1674
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1675
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1676
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1677
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1678
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1679
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1680
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1681
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1682
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1683
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1684
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1685
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1686
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1687
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1688
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1689
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1690
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1691
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1692
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1693
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1694
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1695
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1696
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1697
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1698
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1699
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1700
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1701
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1702
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1704
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1706
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1707
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1708
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1709
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1713
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1715
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1633
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1634
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1635
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1636
-
-
-
/bin/shsh -c "cp -f /tmp/58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1637
-
/usr/bin/cpcp -f /tmp/58588ccbdc1d65d18485fa3a223fe2e4_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1638
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1652
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1653
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1710
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1711
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD51062da0c75a131e0fea661920bb98aad
SHA1804d84ba7df889f6f2f3e9b217eca73031f01a09
SHA2566ed1aa00ec8f1739b6d11e597cbeb9cad54fd849b2bcba7b01a9fe70cc8f81db
SHA5126ace638245f77f7935e517fbe7aede93652804adcbfd88d664fb68e3db3b0bc6126723880908a1cad94be70d28f8a1423fe84ea40850d28d8a7a606f3b99cc94
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
73B
MD5ec3ae3202af8f0f7f9930caf97f0d808
SHA17db898e2d22e47a4a228598f449bc25f97c0700f
SHA25679d9a061c1906e22140653f2e1d6a4db6f67068d506e658e6a41dcf6c54a1d77
SHA512dcc802ae71bc0d0840f8da35c9c662789b441a1a2404c9c6b904e1c607f788ee1061697ecb0a55db618b7737df0b44a066fe88bebef6df23986aef258b6f36a6
-
Filesize
4B
MD5495dabfd0ca768a3c3abd672079f48b6
SHA12121f1b445f6128e8547c4eca7101700248d4c1a
SHA25625d114d44f1ee498521f51cd12e524e8fd6e67c82a9d21fc29c0bbc7fff457c4
SHA512a42f803d3332cab5bf8d9da63cf705b7418509a6dc5b2e357fabf398fc29cf6fbbcf83c790776d440467968e7c14585aed16a9f61a4b3b590664363767fb8414
-
Filesize
4B
MD5375c71349b295fbe2dcdca9206f20a06
SHA16a3236f5f213960de5c415fd15c6d1cb5a46d04e
SHA256a860d24f31d82a4fbf73c4239d615936fcdfbd6d08319ba3807303469a0a35d1
SHA51249e0ddcc26cb9ede49a5f9a59118adbe84b72d3c183937669e97004bf4085961e9aec3f7251fe427a3aaff988ab33343d29524b56a2c38173b9b68a972c923ec
-
Filesize
51B
MD5c33925443dd47492b0a6a9521ba44b04
SHA1b98651b3759e7225e7716ee0b01f1111c5da52e0
SHA256a97fd2d3c1d299aebe580776f492ce49e1b322de00cb643e86645be8fc07f46a
SHA512fbb157e6c9aea2c7999a0bb3777c97c69389d9f27b96eb65aef6457eab675216fff62b3088ad97be42ceb66973ad9d9e295010b1fdfacd544f74f2e28c1f6e75
-
Filesize
1.2MB
MD558588ccbdc1d65d18485fa3a223fe2e4
SHA1fb794bfa8ae6dc0d2d148076473dedddc82587eb
SHA256061b7a163492c938234510219fa22086eae2115c79e68949362f86c1b6f8669c
SHA5122108f6c98f059faeb6749b9317f67f25d64e523794d5ef692e5834350fdd95cbcbe0bde81c1ff4556e1bc8906b23d8c6a85a3bf3113821a49bfa8b71358c25b2
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de
-
Filesize
125KB
MD51b25ac945efae8520ba112b500e2d561
SHA18324c4d1d1427829266e82f203386232ff82af15
SHA2565eb16d9a8bc81fe767725874e3f67623b8e86b46ec93546be49c5b09d3ab4636
SHA512e191f967170ea4844f736c5ab75b7bf45fef3af34f0a4bef0d36475d646b0b089449fe39806664b9f6ce1984037687930cc368892230662c8c30f67fa3ac216e