Analysis
-
max time kernel
149s -
max time network
140s -
platform
ubuntu-18.04_amd64 -
resource
ubuntu1804-amd64-20240611-en -
resource tags
arch:amd64arch:i386image:ubuntu1804-amd64-20240611-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system -
submitted
12-06-2024 13:27
Behavioral task
behavioral1
Sample
a0d38111b414f4f206090fc09c775074_JaffaCakes118
Resource
ubuntu1804-amd64-20240611-en
General
-
Target
a0d38111b414f4f206090fc09c775074_JaffaCakes118
-
Size
1.2MB
-
MD5
a0d38111b414f4f206090fc09c775074
-
SHA1
7071b17e1a57e9f76d15b25e2f8859793c4490ac
-
SHA256
07b8a624ca7328d1409144fb0a9119952ed450fe3d1af67d3263814c5a0c7d41
-
SHA512
4fda52fd2afed08341179907f8a5e4457e2db77f29769250df7f08f602ef92eaa305f45feb114b1ae21aa47fde91749dca4d980f24a3ad9be8009c8983678eda
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWeX4S2y1q2rJp0:745vRVJKGtSA0VWeohu9p0
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 1520 getty /usr/bin/.sshd 1539 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt a0d38111b414f4f206090fc09c775074_JaffaCakes118 File opened for modification /etc/init.d/selinux getty -
Write file to user bin folder 1 TTPs 9 IoCs
description ioc Process 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/dpkgd/ss cp File opened for modification /usr/bin/bsd-port/getty.lock a0d38111b414f4f206090fc09c775074_JaffaCakes118 File opened for modification /usr/bin/bsd-port/udevd.lock a0d38111b414f4f206090fc09c775074_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/lsof 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 a0d38111b414f4f206090fc09c775074_JaffaCakes118 File opened for reading /proc/cpuinfo getty -
Reads system network configuration 1 TTPs 2 IoCs
Uses contents of /proc filesystem to enumerate network settings.
description ioc Process File opened for reading /proc/net/dev a0d38111b414f4f206090fc09c775074_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 cp File opened for reading /proc/meminfo a0d38111b414f4f206090fc09c775074_JaffaCakes118 File opened for reading /proc/stat getty 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/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/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 a0d38111b414f4f206090fc09c775074_JaffaCakes118 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 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 mkdir -
Writes file to tmp directory 7 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/moni.lod a0d38111b414f4f206090fc09c775074_JaffaCakes118 File opened for modification /tmp/bill.lock a0d38111b414f4f206090fc09c775074_JaffaCakes118 File opened for modification /tmp/gates.lod a0d38111b414f4f206090fc09c775074_JaffaCakes118 File opened for modification /tmp/notify.file a0d38111b414f4f206090fc09c775074_JaffaCakes118 File opened for modification /tmp/moni.lod .sshd File opened for modification /tmp/notify.file .sshd File opened for modification /tmp/gates.lod .sshd
Processes
-
/tmp/a0d38111b414f4f206090fc09c775074_JaffaCakes118/tmp/a0d38111b414f4f206090fc09c775074_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:1480 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1502
-
/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1503
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1504
-
/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1505
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1506
-
/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1507
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1508
-
/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1509
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1510
-
/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1511
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1512
-
/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1513
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1514
-
/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1515
-
-
-
/bin/shsh -c "cp -f /tmp/a0d38111b414f4f206090fc09c775074_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1516
-
/bin/cpcp -f /tmp/a0d38111b414f4f206090fc09c775074_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1517
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1519
-
/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:1520 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1528
-
/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1529
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1530
-
/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1531
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1532
-
/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1533
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1534
-
/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1535
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1536
-
/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1540
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1541
-
/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1542
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1543
-
/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1544
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1545
-
/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1546
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1547
-
/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1548
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1549
-
/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1550
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1551
-
/bin/chmodchmod 0755 /bin/ps5⤵PID:1552
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1553
-
/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1554
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1555
-
/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1556
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1557
-
/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1558
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1559
-
/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1560
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1563
-
/bin/chmodchmod 0755 /bin/ss5⤵PID:1564
-
-
-
/bin/shsh -c "cp -f /usr/bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1565
-
/bin/cpcp -f /usr/bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1566
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1567
-
/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1568
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1569
-
/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1570
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1571
-
/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1572
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1573
-
/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1574
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1586
-
/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1587
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1522
-
/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1523
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1524
-
/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1525
-
-
-
/bin/shsh -c "cp -f /tmp/a0d38111b414f4f206090fc09c775074_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1526
-
/bin/cpcp -f /tmp/a0d38111b414f4f206090fc09c775074_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1527
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1538
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Writes file to tmp directory
PID:1539
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1575
-
/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1576
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD5c2ae18168d82edc605672268a862f601
SHA17fb00563b8c8232efe4d667b69a1b57cce9a8c28
SHA25690fac397eb9e585ae0036ba4f1d7d4918acc12477555a42cb8f8b0430ec7b5d2
SHA5129e79647816a6e0a8f4cb881d9c1ad835897022974f948fb447bf5689846771768ae95335c55475b619258eff08703ceb8b076342e0369feb838316571bd62271
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD54e8412ad48562e3c9934f45c3e144d48
SHA17bf016f5b104573db99f54a0715d7f0fdf7705f4
SHA256f525eef4f03ab81983392564bc44fea01267b8cd44fc5fd45f1974cb9a6bcd46
SHA512f7a8033c1cfc1fea47a0b2b794d1f76ede673dc09250664b464c7591339d5e104a3caf2a0c970a378bd154cc1c7824306c048e1c50c9b90fab32a769aec09495
-
Filesize
4B
MD5b132ecc1609bfcf302615847c1caa69a
SHA10310477142171b7d67f2a1cd85c90a3b66be9c57
SHA2568bcefa497af26e688b555d1c4c8cc97365522b5a1416ceb099a98b4c2ed80585
SHA512816f74839aff001255a4e3fdbc354fd23aeaada1bbd44148e4fad015650143c818f741024cac050b6a4e22ce4d8d64b9591078a1d46d4776a6c51077b937bed0
-
Filesize
51B
MD52a2fcc3a2c5c8501ccffe4b0f63d7beb
SHA1e7c243c15d46b65e973124f0bc26efefcc945afe
SHA256aaa20320a4fc2e6087b5fe3efee27aef394f706ca3ab041cee73f1c8dee24ef2
SHA5122e0179d1071254b7b4b0f93e45aa0e595437ad7beb5ea8db72028d4ea53d3da324a06aab60ce5683066fff33f9ba20bb7b94f3022107b78fa56bedae33486d22
-
Filesize
1.2MB
MD5a0d38111b414f4f206090fc09c775074
SHA17071b17e1a57e9f76d15b25e2f8859793c4490ac
SHA25607b8a624ca7328d1409144fb0a9119952ed450fe3d1af67d3263814c5a0c7d41
SHA5124fda52fd2afed08341179907f8a5e4457e2db77f29769250df7f08f602ef92eaa305f45feb114b1ae21aa47fde91749dca4d980f24a3ad9be8009c8983678eda
-
Filesize
159KB
MD5e093dc78225e2a0a25e3b137c1c1e442
SHA1c29497cfaae729eb576875e4fdfa400640ab16be
SHA2561190f4dbc7be174de8fd4096c9bf7a28eebfac937d308b7cc533be4a1240d26e
SHA512fe1cc7a65327732eaaee89f427c10239ba822430e34177842f4681068d78d404b1830d808a2a71b1efcc5f126c6d8c053512237421173aaa150e215a672da6f0
-
Filesize
130KB
MD5558edc26f8a38fa9788220b9af8a73e7
SHA13024d44e580e9c67f32f6c585d50e2a6cc9a7cac
SHA256b76435c80333d2c1fd18e0e7682f1c9dfb5da8d507e93e3c416f54b481c428d5
SHA512edaa425b441044f015e8f68fffa1664e42372d00dd0e7b0924d24ce947aa8e5f96b3bdc326fa2f8b978e3fcf638a1ceca45a223735db73f1607df66990feb56f
-
Filesize
136KB
MD51dc929b5f2cd12fe6a2fe71140d2a9e3
SHA1f9995a92bb201b1b7738a39a38570ef0c40b52d2
SHA256418aae1da62554afe9f260866267af328fd761b3fd6f90f0ea53d543e2fefc38
SHA512fbed011c595084548db440dfbe485b7d27032a44a6ae9e141fe43f31c8c524ff9347135ab035deb441fca99e5a3794f7bb9194f148aa2f60f1547a7c67d47373