Analysis
-
max time kernel
149s -
max time network
149s -
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
02-08-2024 06:33
Behavioral task
behavioral1
Sample
835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118
Resource
ubuntu2204-amd64-20240522.1-en
General
-
Target
835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118
-
Size
1.2MB
-
MD5
835f5b8d9c948b56108cadd92577e1f3
-
SHA1
22e58b87941b6ccd5242297e15b7e3068c8f7dd8
-
SHA256
fccd365aec8cedca3fe20b00fa0e0a3366c35178411ebd76d82bf5abda521f27
-
SHA512
8812812368a8ecc8b3c857f30103865ba611940ba1572363aaeeb18f7dc6ebaf232aaf8783445e0739f3a74776ebc3a75eab3d9fc389970a5a1d7ee649a818fb
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWeX4/2y1q2rJp0:745vRVJKGtSA0VWeo+u9p0
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 1587 getty /usr/bin/.sshd 1610 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt 835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118 File opened for modification /etc/init.d/selinux getty -
Write file to user bin folder 1 TTPs 11 IoCs
description ioc Process File opened for modification /usr/bin/ss cp File opened for modification /usr/bin/bsd-port/udevd.lock 835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty.lock getty File opened for modification /usr/bin/dpkgd/ss cp File opened for modification /usr/bin/lsof cp File opened for modification /usr/bin/ps cp File opened for modification /usr/bin/bsd-port/getty.lock 835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty cp File opened for modification /usr/bin/.sshd cp File opened for modification /usr/bin/dpkgd/lsof cp File opened for modification /usr/bin/dpkgd/ps cp -
Writes file to system bin folder 1 TTPs 3 IoCs
description ioc Process File opened for modification /bin/ps cp File opened for modification /bin/ss cp File opened for modification /bin/lsof 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 835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118 File opened for reading /proc/cpuinfo getty -
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 835f5b8d9c948b56108cadd92577e1f3_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/meminfo getty 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 835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118 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/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 cp 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 mkdir File opened for reading /proc/sys/kernel/version getty 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/meminfo 835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118 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/stat getty 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 835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118 File opened for reading /proc/filesystems cp 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/moni.lod 835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118 File opened for modification /tmp/bill.lock 835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118 File opened for modification /tmp/gates.lod 835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118 File opened for modification /tmp/notify.file 835f5b8d9c948b56108cadd92577e1f3_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/835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118/tmp/835f5b8d9c948b56108cadd92577e1f3_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:1558 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1569
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1570
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1571
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1572
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1573
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1574
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1575
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1576
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1577
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1578
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1579
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1580
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1581
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1582
-
-
-
/bin/shsh -c "cp -f /tmp/835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1583
-
/usr/bin/cpcp -f /tmp/835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1584
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1586
-
/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:1587 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1595
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1596
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1597
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1598
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1599
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1600
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1601
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1602
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1603
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1604
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1605
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1606
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1607
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1611
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1612
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1613
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1614
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1615
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1616
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1617
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1618
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1619
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1620
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1621
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1622
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1623
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1624
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1625
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1626
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1627
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1628
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1629
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1630
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- 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 "mkdir -p /bin"4⤵PID:1634
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1635
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1636
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1637
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1638
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1639
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1640
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1641
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1642
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1643
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1644
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1645
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1646
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1647
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1648
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1649
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1650
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1651
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1652
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1653
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1654
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1655
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1656
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1657
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1658
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1659
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1660
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1661
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1664
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1665
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1668
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1669
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1589
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1590
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1591
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1592
-
-
-
/bin/shsh -c "cp -f /tmp/835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1593
-
/usr/bin/cpcp -f /tmp/835f5b8d9c948b56108cadd92577e1f3_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1594
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1609
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1610
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1666
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1667
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD513a5644238d1cea90ccc38c893b72a31
SHA196ec0b2571728022a8af904ad917c00f2956576d
SHA256b728e2fabe7dac730d07658f39b7b689289c3b9d8f023a769b66fb3dbd3aba63
SHA51288566fd0081e1feb7b4a685698ed36e52648533e6594f991a3bf78d9dfd6595385b69f46306d0439c331bcdc3a61be49c9c9040e49bfd7f78eafed3718f06d24
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD5020c8bfac8de160d4c5543b96d1fdede
SHA1f19483c6a9fbacfebff05eb372439d8c0403745f
SHA2561e797595727addd0e2663019e48d48a6f1dd555174ab126d482d40a5c752988b
SHA51209558996264f3665690e53af9a71eefa8ebc52edd31f3b6d1565256d6b0baa6cf9fef16d9a29dcf1dfc2bae3f9aa935d9f15c76530e62d4b98975c57fb2b567e
-
Filesize
4B
MD5b2531e7bb29bf22e1daae486fae3417a
SHA15b01d7de5b5820c071031775afc13c629da27c51
SHA2562f5903a7888abd6b422cf1e888c5e6783685197a46a9a473e6adc8e807677541
SHA512724193b264ad2d32ddb43c3c3e351f8173dd915147366cb62c6dec501ebf91eab2d8124183d44c838dc038da966a8db413b57dce719b3f4a3ceadad11b4da242
-
Filesize
51B
MD5126bf4ea51c3488600a4a7b4918205c7
SHA169f00cbc464ae7cc63c565f0d45c9e46e647a2d7
SHA2562f20c11a4e60cf07c84ab262e98689303914b6f9c7d368f4b3c523e362733273
SHA512fb71ba20c13931725d45283849066d6d0909ce6729c478a82adbb78a684d17db060ebfe33ee732ba200d2ff00af91b2b0498893c97f031deef3f215ce7d565b2
-
Filesize
1.2MB
MD5835f5b8d9c948b56108cadd92577e1f3
SHA122e58b87941b6ccd5242297e15b7e3068c8f7dd8
SHA256fccd365aec8cedca3fe20b00fa0e0a3366c35178411ebd76d82bf5abda521f27
SHA5128812812368a8ecc8b3c857f30103865ba611940ba1572363aaeeb18f7dc6ebaf232aaf8783445e0739f3a74776ebc3a75eab3d9fc389970a5a1d7ee649a818fb
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de
-
Filesize
125KB
MD51b25ac945efae8520ba112b500e2d561
SHA18324c4d1d1427829266e82f203386232ff82af15
SHA2565eb16d9a8bc81fe767725874e3f67623b8e86b46ec93546be49c5b09d3ab4636
SHA512e191f967170ea4844f736c5ab75b7bf45fef3af34f0a4bef0d36475d646b0b089449fe39806664b9f6ce1984037687930cc368892230662c8c30f67fa3ac216e