Analysis
-
max time kernel
149s -
max time network
153s -
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
29-07-2024 23:36
Behavioral task
behavioral1
Sample
67b9b790ef50c08300943c2e50638581_JaffaCakes118
Resource
ubuntu2004-amd64-20240508-en
General
-
Target
67b9b790ef50c08300943c2e50638581_JaffaCakes118
-
Size
1.2MB
-
MD5
67b9b790ef50c08300943c2e50638581
-
SHA1
5d39ba3319eaabbd828fef1f91ecba73dde15117
-
SHA256
6c52534fb52fad44b42c7b158a7a79c8294ebf7f20a06df1dc4d8b1e5133d602
-
SHA512
a8667cfeb3ee7a68a3084bdd18b4f708ac6cceefb68e025eebd753b73ddd40c8570aa08f4e5facde282ddea13db5a4e6c3d6ae936cf2cb3ab999851672893c69
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWeX4f2y1q2rJp0:745vRVJKGtSA0VWeoeu9p0
Malware Config
Signatures
-
MrBlack trojan 1 IoCs
Processes:
resource yara_rule /usr/bin/bsd-port/getty family_mrblack -
Executes dropped EXE 2 IoCs
Processes:
getty.sshdioc pid process /usr/bin/bsd-port/getty 1466 getty /usr/bin/.sshd 1490 .sshd -
Processes:
67b9b790ef50c08300943c2e50638581_JaffaCakes118gettydescription ioc process File opened for modification /etc/init.d/DbSecuritySpt 67b9b790ef50c08300943c2e50638581_JaffaCakes118 File opened for modification /etc/init.d/selinux getty -
Write file to user bin folder 1 TTPs 11 IoCs
Processes:
cpcpcpgettycpcpcpcp67b9b790ef50c08300943c2e50638581_JaffaCakes118cpdescription ioc process 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/bsd-port/getty.lock getty 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 File opened for modification /usr/bin/ss cp File opened for modification /usr/bin/bsd-port/getty.lock 67b9b790ef50c08300943c2e50638581_JaffaCakes118 File opened for modification /usr/bin/bsd-port/udevd.lock 67b9b790ef50c08300943c2e50638581_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty cp -
Writes file to system bin folder 1 TTPs 3 IoCs
Processes:
cpcpcpdescription 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.
Processes:
getty67b9b790ef50c08300943c2e50638581_JaffaCakes118description ioc process File opened for reading /proc/cpuinfo getty File opened for reading /proc/cpuinfo 67b9b790ef50c08300943c2e50638581_JaffaCakes118 -
Reads system network configuration 1 TTPs 2 IoCs
Uses contents of /proc filesystem to enumerate network settings.
Processes:
getty67b9b790ef50c08300943c2e50638581_JaffaCakes118description ioc process File opened for reading /proc/net/dev getty File opened for reading /proc/net/dev 67b9b790ef50c08300943c2e50638581_JaffaCakes118 -
Reads runtime system information 37 IoCs
Reads data from /proc virtual filesystem.
Processes:
mkdirmkdircpmkdirmkdirgettycpmkdircpmkdirmkdircpmkdircpmkdir.sshdmkdirmkdir67b9b790ef50c08300943c2e50638581_JaffaCakes118mkdirmkdirinsmodmkdirmkdircpcpmkdircpcpcpcpmkdirinsmoddescription ioc process 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/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 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/stat getty File opened for reading /proc/meminfo getty File opened for reading /proc/filesystems mkdir File opened for reading /proc/sys/kernel/version .sshd File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/stat 67b9b790ef50c08300943c2e50638581_JaffaCakes118 File opened for reading /proc/sys/kernel/version 67b9b790ef50c08300943c2e50638581_JaffaCakes118 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 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/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/meminfo 67b9b790ef50c08300943c2e50638581_JaffaCakes118 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 -
Writes file to tmp directory 7 IoCs
Malware often drops required files in the /tmp directory.
Processes:
67b9b790ef50c08300943c2e50638581_JaffaCakes118.sshddescription ioc process File opened for modification /tmp/moni.lod 67b9b790ef50c08300943c2e50638581_JaffaCakes118 File opened for modification /tmp/bill.lock 67b9b790ef50c08300943c2e50638581_JaffaCakes118 File opened for modification /tmp/gates.lod 67b9b790ef50c08300943c2e50638581_JaffaCakes118 File opened for modification /tmp/notify.file 67b9b790ef50c08300943c2e50638581_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/67b9b790ef50c08300943c2e50638581_JaffaCakes118/tmp/67b9b790ef50c08300943c2e50638581_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:1407 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1448
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1449
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1450
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1451
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1452
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1453
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1454
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1455
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1456
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1457
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1458
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1459 -
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1460
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1461 -
/bin/shsh -c "cp -f /tmp/67b9b790ef50c08300943c2e50638581_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1462
-
/usr/bin/cpcp -f /tmp/67b9b790ef50c08300943c2e50638581_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1463 -
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1465
-
/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:1466 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1474
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1475
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1476
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1477
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1478
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1479
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1480
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1481
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1482
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1483
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1484
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1485 -
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1486
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1487 -
/bin/shsh -c "mkdir -p /bin"4⤵PID:1491
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1492 -
/bin/shsh -c "mkdir -p /bin"4⤵PID:1493
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1494 -
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1495
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1496 -
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1497
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1498
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1499
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1500 -
/bin/shsh -c "mkdir -p /bin"4⤵PID:1501
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1502 -
/bin/shsh -c "mkdir -p /bin"4⤵PID:1503
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1504 -
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1505
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1506 -
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1507
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1508
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1509
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1510 -
/bin/shsh -c "mkdir -p /bin"4⤵PID:1511
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1512 -
/bin/shsh -c "mkdir -p /bin"4⤵PID:1513
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1514 -
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1515
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1516 -
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1517
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1518
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1519
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1520 -
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1521
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1522 -
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1523
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1524 -
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1525
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1526
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1527
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1528 -
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1529
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1530 -
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1531
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1532 -
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1533
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1534
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1535
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1536 -
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1537
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1538 -
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1539
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1540 -
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1541
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1542
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1545
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1546 -
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1468
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1469 -
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1470
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1471 -
/bin/shsh -c "cp -f /tmp/67b9b790ef50c08300943c2e50638581_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1472
-
/usr/bin/cpcp -f /tmp/67b9b790ef50c08300943c2e50638581_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1473 -
/bin/shsh -c /usr/bin/.sshd2⤵PID:1489
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1490 -
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1550
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1551
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD5e0cdc49c8aa4aa65ef0c4c44eb07aee3
SHA181ec6a1ffde7b90532da07f070db2ec11514d100
SHA256e094875c1530e8305e9772e06a529b876884c5b3884036cc8d527b64915aa089
SHA512a67bb544bfe5c135d932fbace8e9532e1839069bc014497918fdd471da6b6644cb9f9aae676b2bd9bd3770e33954777ab3b24231283bdf5f9f4ed7237a9518d1
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD56d9c547cf146054a5a720606a7694467
SHA10d87fbcb22b5f8b076a822ce143e0d0be02892d9
SHA256f8a5da214f3f6c281e008924914e7decf9a13637737204589eed04379dc600a8
SHA5122a39e28d36396c0e93007a6ce37a27a06470d2ca40e3362014b924e184d697f490f99b102d6a1b1d7fef56d32307b65183b83dc3a46351fd52ba697aaadb9429
-
Filesize
4B
MD5819c9fbfb075d62a16393b9fe4fcbaa5
SHA18959169251e7394bcf4b9004326f83e266a06bfb
SHA25650a0a04f2d67b4a26d3aaa163fa2fb0d80a5457716579587cc45ce5bc89d8fce
SHA5121a2836932a771fac43e720d14d8df08c3e32ca5d6d335ae38788fa774e05568c6c05a7c5531ab745b8ec7a9d410f7460ea86c3f5fb6fc097a991170cf26feb57
-
Filesize
51B
MD568934fe305d1361a29c2c03f1754c883
SHA1434bca139a593510c5abcb089bfbfbc165ecf3fa
SHA256e54ae791f20060f6a7b7daeac8a564e3b6f476ceab03dc306a3bb1b9348e187f
SHA512cab209bb660c6a86755d061e2a83906924c393f041beb693a3c0c9b3e5639a69dde877cb5108423e3c14e1653a9a6e180ae24a7f64e265e4f5133487c1e5d80c
-
Filesize
1.2MB
MD567b9b790ef50c08300943c2e50638581
SHA15d39ba3319eaabbd828fef1f91ecba73dde15117
SHA2566c52534fb52fad44b42c7b158a7a79c8294ebf7f20a06df1dc4d8b1e5133d602
SHA512a8667cfeb3ee7a68a3084bdd18b4f708ac6cceefb68e025eebd753b73ddd40c8570aa08f4e5facde282ddea13db5a4e6c3d6ae936cf2cb3ab999851672893c69
-
Filesize
171KB
MD5061386937ec7acf924438a2643a32be0
SHA101a044b9e58839bea3e58c66cb32acc16241bf91
SHA2568a26bbae9eb85aa98ef29cfe5b0a291234db6eb394c3e0c2841983dcf7dda959
SHA5122de2e56ac4c32f47b4a1945ccfb0db378e6d59019ee8004e3e5d2ec8935efb5aa8ee14b8a0b21c61a267e195d42a3232a6dcade8720de06118fd579277f59db7
-
Filesize
134KB
MD5d194576b899af45b1d2a448612ec21e5
SHA1492f7d8f28cd4397ce22fcf0d8bf3304ea93465a
SHA256a8cf81f3a1137c999c3cf336507ce120b3065e633ade01db6280d427b7d986ca
SHA512b323babd9580b91772cde29c9f22ae75b27f5ce8ce0268a48ca41713c3545dd72409932a5c48f6af66ac6e43127eb5461d1f686bd667fa1b0e56a1564db3c539
-
Filesize
164KB
MD551d83131b398a97dd38555ba57084721
SHA17d392a87f7db787dfa85fbcdf2a5ba6f0b59b4ed
SHA256e429f9d16a4cd64593b94dee8309a427fe8ca57765bf0d2e7b822efd123fe768
SHA512adc7137df75410c2535986c1e86c2e92e58f9bee70094f72f1f7adf3db125720ce281eb3f48474b0e192d672e96cbb1bc6e1ef6b26b10bf76a412c4516948216