Analysis
-
max time kernel
149s -
max time network
148s -
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
29-07-2024 13:40
Behavioral task
behavioral1
Sample
49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118
Resource
ubuntu2204-amd64-20240729-en
General
-
Target
49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118
-
Size
1.2MB
-
MD5
49cdbbd740cba52abddb8f27d1da47b8
-
SHA1
e5a4b39e6fedf5e2ee0b413d5242f6088ecffcda
-
SHA256
f0d5285a28cc66917d219df58a67bada38be871cfee799c3b222d420e7bb4470
-
SHA512
00184b797c4b55c17243bf73cfee8365e4723dcdae4f804198bc1a444d58186252e045d67e5b3cf5415c2ce7fe38e982a80e27dd07c17350dff2e6492d313035
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWeX4/2y1q2rJp0:745vRVJKGtSA0VWeo+u9p0
Malware Config
Signatures
-
MrBlack trojan 1 IoCs
Processes:
resource yara_rule /usr/bin/bsd-port/getty family_mrblack -
Executes dropped EXE 2 IoCs
Processes:
getty.sshdioc pid process /usr/bin/bsd-port/getty 1538 getty /usr/bin/.sshd 1562 .sshd -
Processes:
49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118gettydescription ioc process File opened for modification /etc/init.d/DbSecuritySpt 49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 File opened for modification /etc/init.d/selinux getty -
Reads system routing table 1 TTPs 1 IoCs
Gets active network interfaces from /proc virtual filesystem.
Processes:
49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118description ioc process File opened for reading /proc/net/route 49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 -
Write file to user bin folder 1 TTPs 11 IoCs
Processes:
cpcpcp49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118cpcpcpcpgettycpdescription ioc process File opened for modification /usr/bin/dpkgd/lsof 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 49cdbbd740cba52abddb8f27d1da47b8_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/getty.lock 49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty.lock getty File opened for modification /usr/bin/dpkgd/ps cp -
Writes file to system bin folder 1 TTPs 3 IoCs
Processes:
cpcpcpdescription 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.
Processes:
49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118gettydescription ioc process File opened for reading /proc/cpuinfo 49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 File opened for reading /proc/cpuinfo getty -
Reads system network configuration 1 TTPs 4 IoCs
Uses contents of /proc filesystem to enumerate network settings.
Processes:
49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118gettydescription ioc process File opened for reading /proc/net/dev 49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 File opened for reading /proc/net/dev getty File opened for reading /proc/net/route 49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 File opened for reading /proc/net/arp 49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 -
Reads runtime system information 37 IoCs
Reads data from /proc virtual filesystem.
Processes:
mkdirinsmod49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118mkdircpmkdirmkdircpmkdirmkdirmkdircpcpmkdircpmkdirinsmodmkdircp.sshdmkdirmkdirgettycpmkdircpcpmkdirmkdirmkdirmkdircpcpdescription ioc process File opened for reading /proc/filesystems mkdir File opened for reading /proc/cmdline insmod File opened for reading /proc/sys/kernel/version 49cdbbd740cba52abddb8f27d1da47b8_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 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 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/cmdline insmod File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/stat 49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 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/meminfo getty File opened for reading /proc/filesystems cp 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 cp File opened for reading /proc/filesystems mkdir File opened for reading /proc/meminfo 49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 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/stat getty -
Writes file to tmp directory 8 IoCs
Malware often drops required files in the /tmp directory.
Processes:
.sshd49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118description ioc process File opened for modification /tmp/notify.file .sshd File opened for modification /tmp/conf.n 49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 File opened for modification /tmp/gates.lod .sshd File opened for modification /tmp/moni.lod 49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 File opened for modification /tmp/bill.lock 49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 File opened for modification /tmp/gates.lod 49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 File opened for modification /tmp/notify.file 49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 File opened for modification /tmp/moni.lod .sshd
Processes
-
/tmp/49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118/tmp/49cdbbd740cba52abddb8f27d1da47b8_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:1510 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1520
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1521
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1522
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1523
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1524
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1525
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1526
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1527
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1528
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1529
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1530
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1531 -
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1532
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1533 -
/bin/shsh -c "cp -f /tmp/49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1534
-
/usr/bin/cpcp -f /tmp/49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1535 -
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1537
-
/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:1538 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1546
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1547
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1548
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1549
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1550
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1551
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1552
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1553
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1554
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1555
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1556
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1557 -
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1558
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1559 -
/bin/shsh -c "mkdir -p /bin"4⤵PID:1563
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1564 -
/bin/shsh -c "mkdir -p /bin"4⤵PID:1565
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1566 -
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1567
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1568 -
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1569
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1570
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1571
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1572 -
/bin/shsh -c "mkdir -p /bin"4⤵PID:1573
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1574 -
/bin/shsh -c "mkdir -p /bin"4⤵PID:1575
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1576 -
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1577
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1578 -
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1579
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1580
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1581
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1582 -
/bin/shsh -c "mkdir -p /bin"4⤵PID:1583
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1584 -
/bin/shsh -c "mkdir -p /bin"4⤵PID:1585
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1586 -
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1587
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1588 -
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1589
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1590
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1591
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1592 -
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1593
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1594 -
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1595
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1596 -
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1597
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1598
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1599
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1600 -
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1601
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1602 -
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1603
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1604 -
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1605
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1606
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1607
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1608 -
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1609
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1610 -
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1611
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1612 -
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1613
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1614
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1619
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1620 -
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1540
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1541 -
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1542
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1543 -
/bin/shsh -c "cp -f /tmp/49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1544
-
/usr/bin/cpcp -f /tmp/49cdbbd740cba52abddb8f27d1da47b8_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1545 -
/bin/shsh -c /usr/bin/.sshd2⤵PID:1561
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1562 -
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1617
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1618
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD51a8a8a6065050a69f03b309189f06426
SHA1d433e697cd3e45d549d5c3bf2bd3dd6f5a7fbdd4
SHA2562729e440f24ab47da1acab25fc98d5e1552a9fe8b0791f1a82daa50d8c8626fb
SHA5122c53348d98d12303d718e4ec528ce979862e1b0a54d8d4d23d15cf9423dd432798c427a4cb1251e18c1f1d2d31d2c012041fb317eb271f078b8451e4ea0ed4be
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
73B
MD57cf6f03d68e1b87a3b816184485ddd05
SHA15914feaa3476fb3a79f1a0cd3afe9c6dcc8f5df2
SHA2564f1cde65ffa54de1e8de1823e8c2752c8c066323bcb1ffebbdf901163fe3ced8
SHA512390535f4d612b73290d5819fac39fc9c345df2c78590589b1879cb250fbb9712ed5a44c805187289cfc20cafc89ddd4ba7334d2c9f73745ff0dda779d8c3a8bc
-
Filesize
4B
MD5bc7316929fe1545bf0b98d114ee3ecb8
SHA17581f9f7cb4e2c129cf3994be96f620fca5eb4c0
SHA256f1ee529ef49111208f1c1646c53c8c311c9f093fd7891c1b46d77e98210b018d
SHA5121a177e6a0099bdb0c56b491159fb809bdc3ebe16196a679ee36bb76b54a4aa53145efb9963a5c0ad450df3619c14f1da9fd1a0b3c9e5c063240bffdada51f23b
-
Filesize
4B
MD571a58e8cb75904f24cde464161c3e766
SHA1d56081031c3ba10d08365e73aeb120b3e186291b
SHA256f68a11527b819bdf3658377dab1ea309bb5c6eefe69bb751e4b59b277cc29a7d
SHA512e463e680ac2e1b9539a7f1c8eae96748fb6f819e5bfb819ddec5079d6d6c24d69633dbf1052930114259a8144978940d2c1f29f746e1d993a77d0a2a79a80136
-
Filesize
51B
MD57eed607e721dff3eed96be62773d2958
SHA1a373ea7a59490fce02cef028a4c5fe4bee231d30
SHA2561cdaf8c64fef461c30b4b2b3cadd9ae8e60643162b56b13312528e621b759aa2
SHA512d68878f2f09ac2339cff28fd0f2ee892c09d441026abd347fb24d111d1883e9532cbd6470de9655cd1a3b42e2e05c38d3df8e0b530d0add4cd1650604f7bea82
-
Filesize
1.2MB
MD549cdbbd740cba52abddb8f27d1da47b8
SHA1e5a4b39e6fedf5e2ee0b413d5242f6088ecffcda
SHA256f0d5285a28cc66917d219df58a67bada38be871cfee799c3b222d420e7bb4470
SHA51200184b797c4b55c17243bf73cfee8365e4723dcdae4f804198bc1a444d58186252e045d67e5b3cf5415c2ce7fe38e982a80e27dd07c17350dff2e6492d313035
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de
-
Filesize
125KB
MD51b25ac945efae8520ba112b500e2d561
SHA18324c4d1d1427829266e82f203386232ff82af15
SHA2565eb16d9a8bc81fe767725874e3f67623b8e86b46ec93546be49c5b09d3ab4636
SHA512e191f967170ea4844f736c5ab75b7bf45fef3af34f0a4bef0d36475d646b0b089449fe39806664b9f6ce1984037687930cc368892230662c8c30f67fa3ac216e