Analysis
-
max time kernel
149s -
max time network
150s -
platform
ubuntu-20.04_amd64 -
resource
ubuntu2004-amd64-20240508-en -
resource tags
arch:amd64arch:i386image:ubuntu2004-amd64-20240508-enkernel:5.4.0-169-genericlocale:en-usos:ubuntu-20.04-amd64system -
submitted
09-05-2024 03:08
Behavioral task
behavioral1
Sample
28028763bd19e58aed1e262d8df6da84_JaffaCakes118
Resource
ubuntu2004-amd64-20240508-en
General
-
Target
28028763bd19e58aed1e262d8df6da84_JaffaCakes118
-
Size
1.2MB
-
MD5
28028763bd19e58aed1e262d8df6da84
-
SHA1
14df4ad34d74026b862e43556b94ceedefba1e96
-
SHA256
8ebd963f86ba62f45b936f6d6687ccb1e349a0f8a6cc19286457895c885695c8
-
SHA512
7055da8d36353e721361525b40f80b431b7f4201a9fb80add8e046c34bb85ee05cf8b9027d6e42b2bbb53c077cb6c049cd762f9b3042bd2495ff762f785d12c5
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWeX4h2y1q2rJp0:745vRVJKGtSA0VWeo4u9p0
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 1397 getty /usr/bin/.sshd 1421 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt 28028763bd19e58aed1e262d8df6da84_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 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/ss cp File opened for modification /usr/bin/lsof cp File opened for modification /usr/bin/bsd-port/getty.lock 28028763bd19e58aed1e262d8df6da84_JaffaCakes118 File opened for modification /usr/bin/bsd-port/udevd.lock 28028763bd19e58aed1e262d8df6da84_JaffaCakes118 File opened for modification /usr/bin/dpkgd/ps cp File opened for modification /usr/bin/ps cp File opened for modification /usr/bin/ss 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 28028763bd19e58aed1e262d8df6da84_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 28028763bd19e58aed1e262d8df6da84_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 cp File opened for reading /proc/filesystems mkdir 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 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/sys/kernel/version 28028763bd19e58aed1e262d8df6da84_JaffaCakes118 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/meminfo 28028763bd19e58aed1e262d8df6da84_JaffaCakes118 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/filesystems mkdir File opened for reading /proc/filesystems mkdir 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 cp File opened for reading /proc/filesystems mkdir 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 cp File opened for reading /proc/stat 28028763bd19e58aed1e262d8df6da84_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 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 28028763bd19e58aed1e262d8df6da84_JaffaCakes118 File opened for modification /tmp/notify.file 28028763bd19e58aed1e262d8df6da84_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 File opened for modification /tmp/moni.lod 28028763bd19e58aed1e262d8df6da84_JaffaCakes118 File opened for modification /tmp/bill.lock 28028763bd19e58aed1e262d8df6da84_JaffaCakes118
Processes
-
/tmp/28028763bd19e58aed1e262d8df6da84_JaffaCakes118/tmp/28028763bd19e58aed1e262d8df6da84_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:1367 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1379
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1380
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1381
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1382
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1383
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1384
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1385
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1386
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1387
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1388
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1389
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1390
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1391
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1392
-
-
-
/bin/shsh -c "cp -f /tmp/28028763bd19e58aed1e262d8df6da84_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1393
-
/usr/bin/cpcp -f /tmp/28028763bd19e58aed1e262d8df6da84_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1394
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1396
-
/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:1397 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1405
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1406
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1407
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1408
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1409
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1410
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1411
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1412
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1413
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1414
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1415
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1416
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1417
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1418
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1422
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1423
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1424
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1425
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1426
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1427
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1428
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1429
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1430
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1431
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1432
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1433
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1434
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1435
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1436
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1437
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1438
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1439
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1440
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1441
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1442
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1443
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1444
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1445
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1446
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1447
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1448
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1449
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1450
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1451
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1452
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1453
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1454
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1455
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1456
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1457
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1458
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1459
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1460
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1461
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1462
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1463
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1464
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1465
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1466
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1467
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1468
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1469
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1470
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1471
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1472
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1473
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1476
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1477
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1399
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1400
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1401
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1402
-
-
-
/bin/shsh -c "cp -f /tmp/28028763bd19e58aed1e262d8df6da84_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1403
-
/usr/bin/cpcp -f /tmp/28028763bd19e58aed1e262d8df6da84_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1404
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1420
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1421
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1483
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1484
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD51f145f3533c8f8d93bae7260ced3a355
SHA16efd06355512ac622ec10748206fa42535587829
SHA25661d5298ebda51ad74255b602c2d78a22de4720e476704ad59047d4969bffa613
SHA512af9e98279bc13488655dd624228e9ec146cc434d091b0c20a993dfe30543b8957c8f5faa7baff321f973b1b59ba565f751142a365c26a5bc3b75f5af5d9ab968
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD56c1da886822c67822bcf3679d04369fa
SHA1570722b44ec7003126d686b70703051e72ff7408
SHA256a985bb36df0be53b3487b4d0c57cae5ffdafcb3d0d50ffaea9f200c7b02ecf3f
SHA512e4de596e25796c9361c0c10473fd07b78cfe357d585ddc1a18b0ffd400a241f3e2a83c24d8b9524c85ff44ee27f615b17c23c6a91de400edcb07ec1cedee42e9
-
Filesize
4B
MD57d6044e95a16761171b130dcb476a43e
SHA1fcd8b5b9ecb89e65d56504f6f6cfe82eed26887e
SHA2563a047b4a81effb2caf23b20df833b025335658cf85b97b02138786ff6301be36
SHA5129a56f289b19b3466787c937bcb7e1b83668939aa733c0baac5c10afaa3ef1c4a676defb299db217aa7089747fd788fe49acdf48a563489efa1f4df5b1630777b
-
Filesize
51B
MD5162d5f0204963eb643715b28b0524699
SHA1c0e1815ee17a59d5a91e51fe1e39f5e4147a5bad
SHA2566a5e9c10b92a516b17935f452f9e0f99cf41b25265d9fb96c2beed662f7ab09e
SHA512c5f1bc768c4cc180d02e53436b42228bb23cfc7d343711baa992208b6226ea328106f4df431bbc48d1f202b763b7e29b41da5d2d33f0947d2fddb1b0241e985b
-
Filesize
1.2MB
MD528028763bd19e58aed1e262d8df6da84
SHA114df4ad34d74026b862e43556b94ceedefba1e96
SHA2568ebd963f86ba62f45b936f6d6687ccb1e349a0f8a6cc19286457895c885695c8
SHA5127055da8d36353e721361525b40f80b431b7f4201a9fb80add8e046c34bb85ee05cf8b9027d6e42b2bbb53c077cb6c049cd762f9b3042bd2495ff762f785d12c5
-
Filesize
171KB
MD5061386937ec7acf924438a2643a32be0
SHA101a044b9e58839bea3e58c66cb32acc16241bf91
SHA2568a26bbae9eb85aa98ef29cfe5b0a291234db6eb394c3e0c2841983dcf7dda959
SHA5122de2e56ac4c32f47b4a1945ccfb0db378e6d59019ee8004e3e5d2ec8935efb5aa8ee14b8a0b21c61a267e195d42a3232a6dcade8720de06118fd579277f59db7
-
Filesize
134KB
MD5d194576b899af45b1d2a448612ec21e5
SHA1492f7d8f28cd4397ce22fcf0d8bf3304ea93465a
SHA256a8cf81f3a1137c999c3cf336507ce120b3065e633ade01db6280d427b7d986ca
SHA512b323babd9580b91772cde29c9f22ae75b27f5ce8ce0268a48ca41713c3545dd72409932a5c48f6af66ac6e43127eb5461d1f686bd667fa1b0e56a1564db3c539
-
Filesize
164KB
MD551d83131b398a97dd38555ba57084721
SHA17d392a87f7db787dfa85fbcdf2a5ba6f0b59b4ed
SHA256e429f9d16a4cd64593b94dee8309a427fe8ca57765bf0d2e7b822efd123fe768
SHA512adc7137df75410c2535986c1e86c2e92e58f9bee70094f72f1f7adf3db125720ce281eb3f48474b0e192d672e96cbb1bc6e1ef6b26b10bf76a412c4516948216