Analysis
-
max time kernel
149s -
max time network
150s -
platform
ubuntu-22.04_amd64 -
resource
ubuntu2204-amd64-20240729-en -
resource tags
arch:amd64arch:i386image:ubuntu2204-amd64-20240729-enkernel:5.15.0-105-genericlocale:en-usos:ubuntu-22.04-amd64system -
submitted
02-08-2024 02:35
Behavioral task
behavioral1
Sample
82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118
Resource
ubuntu2204-amd64-20240729-en
General
-
Target
82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118
-
Size
1.2MB
-
MD5
82b871601c4361c747511d0cb0d9d4a1
-
SHA1
cd21138485d44ba6169ba8a589575ad9b1bc76ee
-
SHA256
29354901244d2262fe2cc341b0c8885fc89e2a6a8cc23167d36ebff7451a8296
-
SHA512
ae3cbd5dad24c0edb69d581834659af85fcc7cbd7dec23013b45f1cd717f1c5870d4052aa02ceca350e8a6ce4a31889a7517487599a82a242f6548284f1ae865
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWIX4f2y1q2rJp0:745vRVJKGtSA0VWIoeu9p0
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 1590 getty /usr/bin/.sshd 1612 .sshd -
description ioc Process File opened for modification /etc/init.d/selinux getty File opened for modification /etc/init.d/DbSecuritySpt 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 -
Reads system routing table 1 TTPs 1 IoCs
Gets active network interfaces from /proc virtual filesystem.
description ioc Process File opened for reading /proc/net/route 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 -
Write file to user bin folder 1 TTPs 11 IoCs
description ioc Process File opened for modification /usr/bin/bsd-port/getty.lock 82b871601c4361c747511d0cb0d9d4a1_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/ss cp File opened for modification /usr/bin/ps cp File opened for modification /usr/bin/bsd-port/udevd.lock 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty.lock getty 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/ss cp -
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 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 -
Reads system network configuration 1 TTPs 4 IoCs
Uses contents of /proc filesystem to enumerate network settings.
description ioc Process File opened for reading /proc/net/dev getty File opened for reading /proc/net/dev 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 File opened for reading /proc/net/route 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 File opened for reading /proc/net/arp 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 -
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/filesystems mkdir 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 cp File opened for reading /proc/filesystems mkdir 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/sys/kernel/version 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 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/filesystems mkdir File opened for reading /proc/filesystems cp 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 getty File opened for reading /proc/cmdline insmod 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 cp File opened for reading /proc/stat getty File opened for reading /proc/stat 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/meminfo 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 -
Writes file to tmp directory 8 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/bill.lock 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 File opened for modification /tmp/gates.lod 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 File opened for modification /tmp/notify.file 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 File opened for modification /tmp/moni.lod .sshd File opened for modification /tmp/notify.file .sshd File opened for modification /tmp/conf.n 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 File opened for modification /tmp/gates.lod .sshd File opened for modification /tmp/moni.lod 82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118
Processes
-
/tmp/82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118/tmp/82b871601c4361c747511d0cb0d9d4a1_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:1560 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1572
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1573
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1574
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1575
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1576
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1577
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1578
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1579
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1580
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1581
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1582
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1583
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1584
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1585
-
-
-
/bin/shsh -c "cp -f /tmp/82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1586
-
/usr/bin/cpcp -f /tmp/82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1587
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1589
-
/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:1590 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1598
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1599
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1600
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1601
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1602
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1603
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1604
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1605
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1606
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1607
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1608
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1609
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1613
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1614
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1615
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1616
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1617
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1618
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1619
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1620
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1621
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1622
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1623
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1624
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1625
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1626
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1627
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1628
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1629
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1630
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1631
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1632
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1633
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1634
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1635
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1636
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1637
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1638
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1639
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1640
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1641
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1642
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1643
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
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/getty /usr/bin/lsof"4⤵PID:1647
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1648
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1649
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1650
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1651
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1652
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1653
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1654
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1655
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1656
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1657
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1658
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1659
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1660
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1661
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1662
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1663
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1664
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1665
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1666
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1669
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1670
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1592
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1593
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1594
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1595
-
-
-
/bin/shsh -c "cp -f /tmp/82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1596
-
/usr/bin/cpcp -f /tmp/82b871601c4361c747511d0cb0d9d4a1_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1597
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1611
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1612
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1671
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1672
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD51ebdcf14b381f8828fbbbe7860b79b2b
SHA157e8ada7482ab0bccb5f5e96c441174b8da83202
SHA256a3f7d467d74b812f2add205914c3242ae9ba170f4eec30130409a29ffcdb7714
SHA512284d69dab8a3bc24d21ac4097e37e6fee81f1478593c6639f955a0e4cabecdff2e8b5c5e80639323af14536d440cfe3173fa12f1e0806c413ee1bdcb13fe7bde
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
73B
MD56585a17296811d9818fce0e00a4273a1
SHA1903f5a7abee599782135aa24037307e91fb5706a
SHA256443fe0ceb693959497620792c551feeaf1860079d171d56d2260eb28170d387a
SHA5125214b68bd4c3322a366857ccdfb3507898749c9cb401765ed0f714e7ac56f2427be6327648027b362975a162e6a817f58a23d7a3c79099d162d0181b4c5ccc2a
-
Filesize
4B
MD5b132ecc1609bfcf302615847c1caa69a
SHA10310477142171b7d67f2a1cd85c90a3b66be9c57
SHA2568bcefa497af26e688b555d1c4c8cc97365522b5a1416ceb099a98b4c2ed80585
SHA512816f74839aff001255a4e3fdbc354fd23aeaada1bbd44148e4fad015650143c818f741024cac050b6a4e22ce4d8d64b9591078a1d46d4776a6c51077b937bed0
-
Filesize
4B
MD5158fc2ddd52ec2cf54d3c161f2dd6517
SHA1a102c5ce73079c1316e4be26ef13be1e437898a4
SHA256d253d7b7ace4e06589dd90003f047380ddfdcfb29007b4e815caf48ff09b498b
SHA512e1769805aaad1bd2f4102365a3eb17c708dcada3c9eded48232c850ff8d092da9ed260bcc446200386f56e699110c1b552389a55cffb79f06699215d1a16b370
-
Filesize
51B
MD5df92f75450abda1f506141c7b0290d89
SHA13da943ac1bd53f31e00d3573e618e02bb3baf360
SHA2568b80eb5065a13c6e6920842b8fbdc8a6ae56a27b358c406aab22275cabdfbafd
SHA512a1baf9c37e78672a2481383d069364976e1f2540d9710180b74045ccb610b0295ad4012f74a020ce8b2eeb5d447623926e8837ae39cd94c674d56f4a0ac57fb5
-
Filesize
1.2MB
MD582b871601c4361c747511d0cb0d9d4a1
SHA1cd21138485d44ba6169ba8a589575ad9b1bc76ee
SHA25629354901244d2262fe2cc341b0c8885fc89e2a6a8cc23167d36ebff7451a8296
SHA512ae3cbd5dad24c0edb69d581834659af85fcc7cbd7dec23013b45f1cd717f1c5870d4052aa02ceca350e8a6ce4a31889a7517487599a82a242f6548284f1ae865
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de
-
Filesize
125KB
MD51b25ac945efae8520ba112b500e2d561
SHA18324c4d1d1427829266e82f203386232ff82af15
SHA2565eb16d9a8bc81fe767725874e3f67623b8e86b46ec93546be49c5b09d3ab4636
SHA512e191f967170ea4844f736c5ab75b7bf45fef3af34f0a4bef0d36475d646b0b089449fe39806664b9f6ce1984037687930cc368892230662c8c30f67fa3ac216e