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
28-07-2024 21:58
Behavioral task
behavioral1
Sample
2674ef5c89fcfb31f83341335966c307_JaffaCakes118
Resource
ubuntu2204-amd64-20240729-en
General
-
Target
2674ef5c89fcfb31f83341335966c307_JaffaCakes118
-
Size
1.2MB
-
MD5
2674ef5c89fcfb31f83341335966c307
-
SHA1
d0cb6e1ff4bbb04cc73ee29dfbee12b922437d6f
-
SHA256
07b57927f4faaa8bd42516e4e79a54ec32a58200a6be95ab776803f6604c55a1
-
SHA512
e86e65259132e5ed2ac7213214978b8e10f20cce6ffe76ee7d6690e154eb98a0e1798268b1bca46b5f37bd9291e4a7b2fed3cacc6694046e39bdf51ebfcf8325
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWeX4R2y1q2rJp0:745vRVJKGtSA0VWeoIu9p0
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 1535 getty /usr/bin/.sshd 1557 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt 2674ef5c89fcfb31f83341335966c307_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.
description ioc Process 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/ps cp File opened for modification /usr/bin/ss cp File opened for modification /usr/bin/bsd-port/udevd.lock 2674ef5c89fcfb31f83341335966c307_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 File opened for modification /usr/bin/dpkgd/ss cp File opened for modification /usr/bin/bsd-port/conf.n getty File opened for modification /usr/bin/bsd-port/getty.lock 2674ef5c89fcfb31f83341335966c307_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty.lock getty File opened for modification /usr/bin/lsof 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 2674ef5c89fcfb31f83341335966c307_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.
description ioc Process File opened for reading /proc/net/dev 2674ef5c89fcfb31f83341335966c307_JaffaCakes118 File opened for reading /proc/net/dev getty 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/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/sys/kernel/version .sshd 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/cmdline insmod 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/stat getty File opened for reading /proc/sys/kernel/version 2674ef5c89fcfb31f83341335966c307_JaffaCakes118 File opened for reading /proc/sys/kernel/version getty 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 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/meminfo 2674ef5c89fcfb31f83341335966c307_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 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/stat 2674ef5c89fcfb31f83341335966c307_JaffaCakes118 -
Writes file to tmp directory 7 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/gates.lod .sshd File opened for modification /tmp/moni.lod 2674ef5c89fcfb31f83341335966c307_JaffaCakes118 File opened for modification /tmp/bill.lock 2674ef5c89fcfb31f83341335966c307_JaffaCakes118 File opened for modification /tmp/gates.lod 2674ef5c89fcfb31f83341335966c307_JaffaCakes118 File opened for modification /tmp/notify.file 2674ef5c89fcfb31f83341335966c307_JaffaCakes118 File opened for modification /tmp/moni.lod .sshd File opened for modification /tmp/notify.file .sshd
Processes
-
/tmp/2674ef5c89fcfb31f83341335966c307_JaffaCakes118/tmp/2674ef5c89fcfb31f83341335966c307_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:1511 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1517
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1518
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1519
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1520
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1521
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1522
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1523
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1524
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1525
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1526
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1527
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1528
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1529
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1530
-
-
-
/bin/shsh -c "cp -f /tmp/2674ef5c89fcfb31f83341335966c307_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1531
-
/usr/bin/cpcp -f /tmp/2674ef5c89fcfb31f83341335966c307_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1532
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1534
-
/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:1535 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1543
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1544
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1545
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1546
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1547
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1548
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1549
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1550
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1551
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1552
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1553
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1554
-
-
-
/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:1560
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1561
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1562
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1563
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1564
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1565
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1566
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1567
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1568
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1569
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1570
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1571
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1572
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1573
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1574
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1575
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1576
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1577
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1578
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1579
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1580
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1581
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1582
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1583
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1584
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1585
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1586
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1587
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1588
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1589
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1590
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1591
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1592
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1593
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1594
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1595
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1596
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1597
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1598
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1599
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1600
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1601
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1602
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1603
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1604
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1605
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1606
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1607
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1608
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1609
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1610
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1611
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1616
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1617
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1537
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1538
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1539
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1540
-
-
-
/bin/shsh -c "cp -f /tmp/2674ef5c89fcfb31f83341335966c307_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1541
-
/usr/bin/cpcp -f /tmp/2674ef5c89fcfb31f83341335966c307_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1542
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1556
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1557
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1614
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1615
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD51aa52831fdece6629dd79e5130fe6383
SHA1862e8a392b0b744654aac309a7dc5d5ec4e31156
SHA256c4f31261402c3102be32d1aa7c04ae49d05a9020b3b4830682d056b1ac99b294
SHA5124f17a473381afc85019e09df98a6f98d1bea62af6a8485a2d768389c93ec536cfe498c111b665a5164cb2d3b15509f86b6ada2be376b57d8b96483f2e83739f5
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD50f3d014eead934bbdbacb62a01dc4831
SHA1443233bf934850484d12f21d9603a36ee83d1dfb
SHA25666c03337b22c301d55a339a94165dc09628491c3dfe01a57ef62e3eab452e898
SHA51230e3cef49700596aa4b725177f0fca3f38355d0c45a445c6d176e9e3a4ecf4ca7bdde2a3dfaceb9f67b74bc145bb816bf3daad9414080bcb859c62de097e4b9b
-
Filesize
4B
MD552947e0ade57a09e4a1386d08f17b656
SHA193ee12e112bae593edcf7aecca59464c6afcc832
SHA25676ced5b53829bb4ca8ab376be09683e92512ef0aab8fb68fcee5121596f94143
SHA512720ebbf43b5398f25a2c47b16a2383ad16e642989d75c62e83c55bd0c1f529cacaba257beb7616dba44749b6169629dd50fba8bd88ff27cf07f663ec427969f1
-
Filesize
51B
MD53f25665d793f63d991446b0c81e00753
SHA10b68e668c7cc43b0b23090124a4b16ab1c39791c
SHA25618898cedf19ca0e916229385ac7b26fb28c2a2a165aaa08b2f44f09ba3798254
SHA512d7b26d43fa99912d89a52dad255aabc06c2173aeba356d563cc740e35d6997845814a149a385b8eee468e62c019a2af59f7a0e1c7379b8f6c2789b295f7f90f8
-
Filesize
73B
MD5b77e4dcb8ee4b10dd5dd595f06a947bb
SHA14bcf52cd04601191808b3461a8d3aeec6ced9d92
SHA256def6eb2203f1ad58174fc33d6bcca2896627faeb1d1e671cdfaa2dcbbc5f0c18
SHA512e311a03864b6e2a3115559d1b83a9ac1483fe55cffa2f94f8c787e2aea8299bdf8c210be142d5794dd2a57871acff1d0441145c00b16894adc0fa0fd70a26de3
-
Filesize
1.2MB
MD52674ef5c89fcfb31f83341335966c307
SHA1d0cb6e1ff4bbb04cc73ee29dfbee12b922437d6f
SHA25607b57927f4faaa8bd42516e4e79a54ec32a58200a6be95ab776803f6604c55a1
SHA512e86e65259132e5ed2ac7213214978b8e10f20cce6ffe76ee7d6690e154eb98a0e1798268b1bca46b5f37bd9291e4a7b2fed3cacc6694046e39bdf51ebfcf8325
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de
-
Filesize
125KB
MD51b25ac945efae8520ba112b500e2d561
SHA18324c4d1d1427829266e82f203386232ff82af15
SHA2565eb16d9a8bc81fe767725874e3f67623b8e86b46ec93546be49c5b09d3ab4636
SHA512e191f967170ea4844f736c5ab75b7bf45fef3af34f0a4bef0d36475d646b0b089449fe39806664b9f6ce1984037687930cc368892230662c8c30f67fa3ac216e