Analysis
-
max time kernel
149s -
max time network
147s -
platform
ubuntu-20.04_amd64 -
resource
ubuntu2004-amd64-20240729-en -
resource tags
arch:amd64arch:i386image:ubuntu2004-amd64-20240729-enkernel:5.4.0-169-genericlocale:en-usos:ubuntu-20.04-amd64system -
submitted
29-07-2024 00:26
Behavioral task
behavioral1
Sample
2dc8543defea5d1359d67d774619e7f6_JaffaCakes118
Resource
ubuntu2004-amd64-20240729-en
General
-
Target
2dc8543defea5d1359d67d774619e7f6_JaffaCakes118
-
Size
1.2MB
-
MD5
2dc8543defea5d1359d67d774619e7f6
-
SHA1
b60807977d97959c4343d065445d84101b327b45
-
SHA256
1bedd24a402d0d0fe014463536b2fbe2e8e6321678e98f1e8336e22852ec7df8
-
SHA512
6b8339e25fec338664ffd320af365e8b177cd32844844b95c99d4d9d2293557bf0e4a673533ac9f7af3c52d90b596f0852d02997be7226f0c6aa00b5ba9e59dd
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWeX482y1q2rJp0:745vRVJKGtSA0VWeozu9p0
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 1396 getty /usr/bin/.sshd 1420 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt 2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 File opened for modification /etc/init.d/selinux getty -
Write file to user bin folder 1 TTPs 11 IoCs
description ioc Process File opened for modification /usr/bin/bsd-port/getty.lock 2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 File opened for modification /usr/bin/bsd-port/udevd.lock 2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty cp File opened for modification /usr/bin/dpkgd/ss cp File opened for modification /usr/bin/ps cp File opened for modification /usr/bin/ss cp 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/lsof cp File opened for modification /usr/bin/dpkgd/ps cp 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/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.
description ioc Process File opened for reading /proc/cpuinfo getty File opened for reading /proc/cpuinfo 2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 -
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 getty File opened for reading /proc/net/dev 2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 -
Reads runtime system information 37 IoCs
Reads data from /proc virtual filesystem.
description ioc Process File opened for reading /proc/sys/kernel/version .sshd File opened for reading /proc/filesystems mkdir File opened for reading /proc/stat 2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 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/cmdline insmod File opened for reading /proc/sys/kernel/version getty 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/stat getty 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/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 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 mkdir File opened for reading /proc/meminfo 2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 File opened for reading /proc/sys/kernel/version 2dc8543defea5d1359d67d774619e7f6_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 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/gates.lod .sshd File opened for modification /tmp/moni.lod 2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 File opened for modification /tmp/bill.lock 2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 File opened for modification /tmp/gates.lod 2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 File opened for modification /tmp/notify.file 2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 File opened for modification /tmp/moni.lod .sshd File opened for modification /tmp/notify.file .sshd
Processes
-
/tmp/2dc8543defea5d1359d67d774619e7f6_JaffaCakes118/tmp/2dc8543defea5d1359d67d774619e7f6_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:1372 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1378
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1379
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1380
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1381
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1382
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1383
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1384
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1385
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1386
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1387
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1388
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1389
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1390
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1391
-
-
-
/bin/shsh -c "cp -f /tmp/2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1392
-
/usr/bin/cpcp -f /tmp/2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1393
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1395
-
/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:1396 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1404
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1405
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1406
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1407
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1408
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1409
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1410
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1411
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1412
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1413
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1414
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1415
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1416
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1417
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1421
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1422
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1423
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1424
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1425
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1426
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1427
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1428
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1429
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1430
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1431
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1432
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1433
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1434
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1435
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1436
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1437
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1438
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1439
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1440
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1441
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1442
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1443
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1444
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1445
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1446
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1447
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1448
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1449
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1450
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1451
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1452
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1453
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1454
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1455
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1456
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1457
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1458
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1459
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1460
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1461
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1462
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1463
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1464
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1465
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1466
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1467
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1468
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1469
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1470
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1471
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1472
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1475
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1476
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1398
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1399
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1400
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1401
-
-
-
/bin/shsh -c "cp -f /tmp/2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1402
-
/usr/bin/cpcp -f /tmp/2dc8543defea5d1359d67d774619e7f6_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1403
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1419
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1420
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1482
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1483
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD5d1484bcfe61f4cf4358f44bf30531210
SHA10bd3ced6775226762534688a803a4a59712a27f5
SHA256f8557ba9941fead8250e1406280c598bd6090344e7e05e790c39709240e0855d
SHA5121b3e69e725cd59b049e72e5f8ef69aec46dafc4771ebdb7917a553422dd347af9ba5ac3eb54f6b455ac162501f31456374da5f88062d2fa46999a93c65c01d02
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD5e56b06c51e1049195d7b26d043c478a0
SHA1c1401c9a808e0d25cd8afa853c36032ffaca83cb
SHA25616c6411a67ff85c3c3ab8b938976ffd4c6403467a5dec3b253b68603a5c14775
SHA5127a6f6e1eadc2a8217770988bee5d28e9674e5d0129e11ec998d217388fd2c289185e1a45a9da706dc4373176416af37f1103f0f881df48a62c32e9eab6a02e69
-
Filesize
4B
MD5ac796a52db3f16bbdb6557d3d89d1c5a
SHA1442bdc9a0e80132c626a3605e010b8fb0ee0c1f6
SHA25633bf4329c846019957cdba15fd5767df4392769eac8c3637ac395651a72108af
SHA512ee9f4e2ef9a00de553f5c8a72a10cab62bb41e317302eab047115279ce1847306c6bd1130546e20b29035df3ab7509e10d712995174278ca4f79be7c7628b2b8
-
Filesize
51B
MD5e98ce29e766d869e10c06fd49afbc3b7
SHA13ed01860de44debd71e7a29c709bb5a4e2e08e6f
SHA25643a558df24fedb0580750e2395bc6a8ed3ac0ec5fd70a135f2394107d3c7ff61
SHA512ea69dc9bb805019bb6c3ef484fb608046cbac8cce7b31bfdbad0c4d438c3096796ee304d51f5f5987a97a18298b8a36c051bedd8f47940419edcfba882853fb1
-
Filesize
1.2MB
MD52dc8543defea5d1359d67d774619e7f6
SHA1b60807977d97959c4343d065445d84101b327b45
SHA2561bedd24a402d0d0fe014463536b2fbe2e8e6321678e98f1e8336e22852ec7df8
SHA5126b8339e25fec338664ffd320af365e8b177cd32844844b95c99d4d9d2293557bf0e4a673533ac9f7af3c52d90b596f0852d02997be7226f0c6aa00b5ba9e59dd
-
Filesize
171KB
MD5061386937ec7acf924438a2643a32be0
SHA101a044b9e58839bea3e58c66cb32acc16241bf91
SHA2568a26bbae9eb85aa98ef29cfe5b0a291234db6eb394c3e0c2841983dcf7dda959
SHA5122de2e56ac4c32f47b4a1945ccfb0db378e6d59019ee8004e3e5d2ec8935efb5aa8ee14b8a0b21c61a267e195d42a3232a6dcade8720de06118fd579277f59db7
-
Filesize
134KB
MD5d194576b899af45b1d2a448612ec21e5
SHA1492f7d8f28cd4397ce22fcf0d8bf3304ea93465a
SHA256a8cf81f3a1137c999c3cf336507ce120b3065e633ade01db6280d427b7d986ca
SHA512b323babd9580b91772cde29c9f22ae75b27f5ce8ce0268a48ca41713c3545dd72409932a5c48f6af66ac6e43127eb5461d1f686bd667fa1b0e56a1564db3c539
-
Filesize
164KB
MD551d83131b398a97dd38555ba57084721
SHA17d392a87f7db787dfa85fbcdf2a5ba6f0b59b4ed
SHA256e429f9d16a4cd64593b94dee8309a427fe8ca57765bf0d2e7b822efd123fe768
SHA512adc7137df75410c2535986c1e86c2e92e58f9bee70094f72f1f7adf3db125720ce281eb3f48474b0e192d672e96cbb1bc6e1ef6b26b10bf76a412c4516948216