Analysis
-
max time kernel
149s -
max time network
147s -
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 22:12
Behavioral task
behavioral1
Sample
27201c2352dc520fea6cd5d52680cb62_JaffaCakes118
Resource
ubuntu2204-amd64-20240729-en
General
-
Target
27201c2352dc520fea6cd5d52680cb62_JaffaCakes118
-
Size
1.5MB
-
MD5
27201c2352dc520fea6cd5d52680cb62
-
SHA1
7a8b40a3750419a2dfa0e86b9dc9f42cace11ebd
-
SHA256
913b27ed6c2bb0f654cfbc8d8dadbf3b187ca4916a56d6397808f1582b826ef4
-
SHA512
256688e4ed7aa985b5e868773add6bba2a09ec5cfa883a02287cbd5865b041bc2a984e1b3fd43f81148fb0a89144dc3cfa5969fc3b7da169d28085903586eb5a
-
SSDEEP
49152:2nilOolLbt1laIunbZsehknS55555555555555555555555555555555555k55w1:yeOolLbt1laIunlsehHNtYi7COEm
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 1539 getty /usr/bin/.sshd 1562 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt 27201c2352dc520fea6cd5d52680cb62_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 getty File opened for reading /proc/net/route 27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 -
Write file to user bin folder 1 TTPs 12 IoCs
description ioc Process File opened for modification /usr/bin/bsd-port/udevd.lock 27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 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/ps cp File opened for modification /usr/bin/ss cp File opened for modification /usr/bin/bsd-port/conf.n getty File opened for modification /usr/bin/bsd-port/getty.lock 27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty cp File opened for modification /usr/bin/dpkgd/lsof cp 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 -
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 27201c2352dc520fea6cd5d52680cb62_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 27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 File opened for reading /proc/net/dev getty File opened for reading /proc/net/route 27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 File opened for reading /proc/net/arp 27201c2352dc520fea6cd5d52680cb62_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/stat 27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 File opened for reading /proc/meminfo 27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 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/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/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems mkdir File opened for reading /proc/sys/kernel/version .sshd File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems cp File opened for reading /proc/sys/kernel/version 27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 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 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 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 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/filesystems mkdir 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/gates.lod .sshd File opened for modification /tmp/moni.lod 27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 File opened for modification /tmp/bill.lock 27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 File opened for modification /tmp/gates.lod 27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 File opened for modification /tmp/notify.file 27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 File opened for modification /tmp/moni.lod .sshd File opened for modification /tmp/notify.file .sshd File opened for modification /tmp/conf.n 27201c2352dc520fea6cd5d52680cb62_JaffaCakes118
Processes
-
/tmp/27201c2352dc520fea6cd5d52680cb62_JaffaCakes118/tmp/27201c2352dc520fea6cd5d52680cb62_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:1515 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1521
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1522
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1523
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1524
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1525
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1526
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1527
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1528
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1529
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1530
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1531
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1532
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1533
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1534
-
-
-
/bin/shsh -c "cp -f /tmp/27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1535
-
/usr/bin/cpcp -f /tmp/27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1536
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1538
-
/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:1539 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1547
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1548
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1549
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1550
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1551
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1552
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1553
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1554
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1555
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1556
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1557
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1558
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1559
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1563
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1564
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1565
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1566
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1567
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1568
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1569
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1570
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1571
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1572
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1573
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1574
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1575
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1576
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1577
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1578
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1579
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1580
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1581
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1582
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1583
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1584
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1585
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1586
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1587
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1588
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1589
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1590
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1591
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1592
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1593
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1594
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1595
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1596
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1597
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1598
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1599
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1600
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1601
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1602
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1603
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1604
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1605
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1606
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1607
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1608
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1609
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1610
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1611
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1612
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1613
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1614
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1615
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1623
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1624
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1541
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1542
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1543
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1544
-
-
-
/bin/shsh -c "cp -f /tmp/27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1545
-
/usr/bin/cpcp -f /tmp/27201c2352dc520fea6cd5d52680cb62_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1546
-
-
-
/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:1621
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1622
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD5ef8bf2662efa7520f6f2afafa5e21dbc
SHA1fea9f5aead3949a225fd7a77448f387826217f70
SHA2563dce2362e9d484da9097e77094211721651ff37834a356a0337d9081cd505059
SHA512054f91f0fb77c21c9362549583d5e150a08a60de0a8c5c22a361cd944ad818c7b389315ae176054f5ebb1b514098f4916b950e357eed5b633b2d3f8e6cac8c0d
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
73B
MD5b1fb797430379cbaefe1537388d9aa10
SHA1471b40a5afe58fb934b6b9ca3f9bbe5ff3f83cd4
SHA25632db33469124f0fabbfe4965c640aaf7b0926eda683b6fa05a933aab908221b4
SHA51222827c60af0b0c0bb0181694ede0bf77dbdf1d7c3bc9a595c263a0b6b578bdd1b58c6a7ad5627dd6152efcc09a182ec2e51a5e4f40c9faa0bc566d79e3750211
-
Filesize
4B
MD5490640b43519c77281cb2f8471e61a71
SHA1635c86e575ed2ca9cf4bca9b0dce0c5fc99df7d0
SHA25617c7f8a2457a4b725d6d5f6b2e2ac67bd74933d9633436bd2756a6920ef5a705
SHA512c78009afd46c4763b456f98b4b453ab555cbf3dd861d8e7a04ba9d4900083078728afab736dfa956d7bc295c4b1b50cf196190706aa345793ea1072898472cc6
-
Filesize
4B
MD5962e56a8a0b0420d87272a682bfd1e53
SHA1c1766016f621182564fa46f30bac4a76247a6f27
SHA256ee09198e46224875cf39928511ef2b855895c43ee86d1de894ee82bc7c990afa
SHA5128847b20c5514c978a6e03b86fdc47c2e8ece8f2de93619cc77555550543cf4db452e21df1c04ac3dee51fd5c83dec2bba6f60a8a559b3dcc6d2a0e5cddb2b689
-
Filesize
51B
MD56728ab8a5fd8e0a551a0030b8eb8019c
SHA1ac93dedd507cd6bca21dbcba3e466768a35418a5
SHA25629f1df496c6a5009db37f918d5a4d95ffd3e3d3d7eb095e7c69ca6019922b6ec
SHA512eebe04de321e31b9da32420ec414c3d38c590c2fc96ae2f22a38f27131292989c1489ad70bf39f9343fa74af841b81212285cdbd56066a21485c1c3c8f6e8fe4
-
Filesize
1.5MB
MD527201c2352dc520fea6cd5d52680cb62
SHA17a8b40a3750419a2dfa0e86b9dc9f42cace11ebd
SHA256913b27ed6c2bb0f654cfbc8d8dadbf3b187ca4916a56d6397808f1582b826ef4
SHA512256688e4ed7aa985b5e868773add6bba2a09ec5cfa883a02287cbd5865b041bc2a984e1b3fd43f81148fb0a89144dc3cfa5969fc3b7da169d28085903586eb5a
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de
-
Filesize
125KB
MD51b25ac945efae8520ba112b500e2d561
SHA18324c4d1d1427829266e82f203386232ff82af15
SHA2565eb16d9a8bc81fe767725874e3f67623b8e86b46ec93546be49c5b09d3ab4636
SHA512e191f967170ea4844f736c5ab75b7bf45fef3af34f0a4bef0d36475d646b0b089449fe39806664b9f6ce1984037687930cc368892230662c8c30f67fa3ac216e