Analysis
-
max time kernel
149s -
max time network
150s -
platform
ubuntu-18.04_amd64 -
resource
ubuntu1804-amd64-20240508-en -
resource tags
arch:amd64arch:i386image:ubuntu1804-amd64-20240508-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system -
submitted
10-05-2024 13:11
Behavioral task
behavioral1
Sample
2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118
Resource
ubuntu1804-amd64-20240508-en
General
-
Target
2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118
-
Size
1.2MB
-
MD5
2f45ba3f2ea6cad5cc0f45f8de9bbe4f
-
SHA1
da52567c7406ae720e5fc6489868b4fae1a855d0
-
SHA256
36195151c05923c5f267cd2f8f24747af9fa4e73efdc44029f0581591be3c542
-
SHA512
fe0e3e2de301dfddec95ae76b4bd29df9ace6bf1447318a2f9022a9377d861e43d1518e95a3c56888d649698908a310cbc46a31b482fda882213a3705253f419
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWIX4k2y1q2rJp0:745vRVJKGtSA0VWIoru9p0
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 1509 getty /usr/bin/.sshd 1528 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_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 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 -
Write file to user bin folder 1 TTPs 9 IoCs
description ioc Process File opened for modification /usr/bin/bsd-port/udevd.lock 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty cp 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/dpkgd/lsof cp File opened for modification /usr/bin/bsd-port/getty.lock 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 File opened for modification /usr/bin/dpkgd/ps cp File opened for modification /usr/bin/lsof cp File opened for modification /usr/bin/.sshd cp -
Writes file to system bin folder 1 TTPs 2 IoCs
description ioc Process 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 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_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 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 File opened for reading /proc/net/route 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 File opened for reading /proc/net/arp 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 File opened for reading /proc/net/dev getty -
Reads runtime system information 25 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 mkdir File opened for reading /proc/stat 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 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 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/filesystems cp 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 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 mkdir File opened for reading /proc/stat 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_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/moni.lod .sshd File opened for modification /tmp/notify.file .sshd File opened for modification /tmp/conf.n 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 File opened for modification /tmp/gates.lod .sshd File opened for modification /tmp/moni.lod 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 File opened for modification /tmp/bill.lock 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 File opened for modification /tmp/gates.lod 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 File opened for modification /tmp/notify.file 2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118
Processes
-
/tmp/2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118/tmp/2f45ba3f2ea6cad5cc0f45f8de9bbe4f_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:1478 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1491
-
/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1492
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1493
-
/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1494
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1495
-
/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1496
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1497
-
/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1498
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1499
-
/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1500
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1501
-
/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1502
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1503
-
/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1504
-
-
-
/bin/shsh -c "cp -f /tmp/2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1505
-
/bin/cpcp -f /tmp/2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1506
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1508
-
/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:1509 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1517
-
/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1518
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1519
-
/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1520
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1521
-
/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1522
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1523
-
/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1524
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1525
-
/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1529
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1530
-
/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1531
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1532
-
/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1533
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1534
-
/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1535
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1536
-
/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1537
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1538
-
/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1539
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1542
-
/bin/chmodchmod 0755 /bin/ps5⤵PID:1543
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1544
-
/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1545
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1546
-
/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1547
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1548
-
/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1549
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1550
-
/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1551
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1552
-
/bin/chmodchmod 0755 /bin/ss5⤵PID:1553
-
-
-
/bin/shsh -c "cp -f /usr/bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1554
-
/bin/cpcp -f /usr/bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1555
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1556
-
/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1557
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1558
-
/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1559
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1560
-
/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1561
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1562
-
/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1563
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1575
-
/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1576
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1511
-
/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1512
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1513
-
/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1514
-
-
-
/bin/shsh -c "cp -f /tmp/2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1515
-
/bin/cpcp -f /tmp/2f45ba3f2ea6cad5cc0f45f8de9bbe4f_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1516
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1527
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Writes file to tmp directory
PID:1528
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1564
-
/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1565
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD59a36d7dedc170308b8f9fca76c28dfaa
SHA146ec4e0ee3c3c18f1444b2e67a2c71e386f15a09
SHA25601a3bc689a59e1efe6db0e643da7f57c551755d93b97725d305088f3dadd4f71
SHA512a5bfae1ecb859d3ddbb52542b7bc8dd31ec52e14f42bb8f563de8ecd235267d09c9b31f4aa751dd8dd508c3cb0ee2d64b6a907983084ae80018f138b10e16255
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD5dc09c97fd73d7a324bdbfe7c79525f64
SHA1c1183f16ab610230ebe8a9bcb331d2d6f7ebbf66
SHA2568c40a6d264e529987be355b303cb08181b8595753e3ef3c8f4bdc29859ac5605
SHA512dc202510bf97bb4c8c35628c00c9561a94f49c20894426e0c2828dfa8723444cbc364b8721edd3fb6f988515680ff96962633bbac9e25631865b68e3e7375f19
-
Filesize
4B
MD5cda72177eba360ff16b7f836e2754370
SHA10de7f57bd4db22d7e4a43004aea93b1f0a484259
SHA256c73c63198a1338f0d19547e3d07db9dc25babedc30ae35b80426d48afe73624c
SHA512a317aaae56af82ef6f653ee4554a2f95a93a7a2f9caf20603e7d9a2ed59ec43f1edc3a9b64437d8be4555cc608872ea65e6db7205f734770720ce5d7ec348ae1
-
Filesize
51B
MD5b37e8be49566eaf1fcbbf8bff140c024
SHA16f676925e08c2c1d1ebf22107892c627ee1a26df
SHA2565c5112582ae7387956405f087769f35a1140eb0ef43da389c652f8e854e71813
SHA5124b6c56c507cedbbe5534419d55955a2d8ad617482f9a018fb772e48a682d2a782b8889c746aabb0be9c798abcde0f7dab6108d5443ff800db689576d4d51764e
-
Filesize
1.2MB
MD52f45ba3f2ea6cad5cc0f45f8de9bbe4f
SHA1da52567c7406ae720e5fc6489868b4fae1a855d0
SHA25636195151c05923c5f267cd2f8f24747af9fa4e73efdc44029f0581591be3c542
SHA512fe0e3e2de301dfddec95ae76b4bd29df9ace6bf1447318a2f9022a9377d861e43d1518e95a3c56888d649698908a310cbc46a31b482fda882213a3705253f419
-
Filesize
159KB
MD5e093dc78225e2a0a25e3b137c1c1e442
SHA1c29497cfaae729eb576875e4fdfa400640ab16be
SHA2561190f4dbc7be174de8fd4096c9bf7a28eebfac937d308b7cc533be4a1240d26e
SHA512fe1cc7a65327732eaaee89f427c10239ba822430e34177842f4681068d78d404b1830d808a2a71b1efcc5f126c6d8c053512237421173aaa150e215a672da6f0
-
Filesize
130KB
MD5558edc26f8a38fa9788220b9af8a73e7
SHA13024d44e580e9c67f32f6c585d50e2a6cc9a7cac
SHA256b76435c80333d2c1fd18e0e7682f1c9dfb5da8d507e93e3c416f54b481c428d5
SHA512edaa425b441044f015e8f68fffa1664e42372d00dd0e7b0924d24ce947aa8e5f96b3bdc326fa2f8b978e3fcf638a1ceca45a223735db73f1607df66990feb56f
-
Filesize
136KB
MD51dc929b5f2cd12fe6a2fe71140d2a9e3
SHA1f9995a92bb201b1b7738a39a38570ef0c40b52d2
SHA256418aae1da62554afe9f260866267af328fd761b3fd6f90f0ea53d543e2fefc38
SHA512fbed011c595084548db440dfbe485b7d27032a44a6ae9e141fe43f31c8c524ff9347135ab035deb441fca99e5a3794f7bb9194f148aa2f60f1547a7c67d47373