Analysis
-
max time kernel
149s -
max time network
150s -
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
28-07-2024 06:53
Behavioral task
behavioral1
Sample
0d7916ed53af023a360cd8b6788b9517_JaffaCakes118
Resource
ubuntu2004-amd64-20240729-en
General
-
Target
0d7916ed53af023a360cd8b6788b9517_JaffaCakes118
-
Size
1.2MB
-
MD5
0d7916ed53af023a360cd8b6788b9517
-
SHA1
e2673bbd4e9ec794db03c414b113db58c53009fe
-
SHA256
3e41e4b985ab8bd091888cd43446a4cf36fd87cc5dbf2c437e2b79cfc297b170
-
SHA512
85dc18b4e86d6131fb896bbac601a20c99cf9c20d706f26586bbb4ddf928a277622632281266e83686d796ac9d375081ce5686246bfae0d15207d022de717194
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWIX4f2y1q2rJp0:745vRVJKGtSA0VWIoeu9p0
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 1380 getty /usr/bin/.sshd 1404 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt 0d7916ed53af023a360cd8b6788b9517_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 0d7916ed53af023a360cd8b6788b9517_JaffaCakes118 File opened for modification /usr/bin/bsd-port/udevd.lock 0d7916ed53af023a360cd8b6788b9517_JaffaCakes118 File opened for modification /usr/bin/dpkgd/ps 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 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/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 0d7916ed53af023a360cd8b6788b9517_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 0d7916ed53af023a360cd8b6788b9517_JaffaCakes118 -
Reads runtime system information 37 IoCs
Reads data from /proc virtual filesystem.
description ioc Process 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/meminfo getty File opened for reading /proc/filesystems mkdir File opened for reading /proc/sys/kernel/version .sshd 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/meminfo 0d7916ed53af023a360cd8b6788b9517_JaffaCakes118 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/stat 0d7916ed53af023a360cd8b6788b9517_JaffaCakes118 File opened for reading /proc/filesystems mkdir File opened for reading /proc/sys/kernel/version 0d7916ed53af023a360cd8b6788b9517_JaffaCakes118 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 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 cp 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/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 -
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 0d7916ed53af023a360cd8b6788b9517_JaffaCakes118 File opened for modification /tmp/bill.lock 0d7916ed53af023a360cd8b6788b9517_JaffaCakes118 File opened for modification /tmp/gates.lod 0d7916ed53af023a360cd8b6788b9517_JaffaCakes118 File opened for modification /tmp/notify.file 0d7916ed53af023a360cd8b6788b9517_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/0d7916ed53af023a360cd8b6788b9517_JaffaCakes118/tmp/0d7916ed53af023a360cd8b6788b9517_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:1356 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1362
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1363
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1364
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1365
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1366
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1367
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1368
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1369
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1370
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1371
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1372
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1373
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1374
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1375
-
-
-
/bin/shsh -c "cp -f /tmp/0d7916ed53af023a360cd8b6788b9517_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1376
-
/usr/bin/cpcp -f /tmp/0d7916ed53af023a360cd8b6788b9517_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1377
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1379
-
/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:1380 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1388
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1389
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1390
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1391
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1392
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1393
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1394
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1395
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1396
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1397
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1398
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1399
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1400
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1401
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1405
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1406
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1407
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1408
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1409
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1410
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1411
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1412
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1413
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1414
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1415
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1416
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1417
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1418
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1419
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1420
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1421
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1422
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1423
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1424
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1425
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1426
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1427
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1428
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1429
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1430
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1431
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1432
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1433
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1434
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1435
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1436
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1437
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1438
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1439
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1440
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1441
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1442
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1443
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1444
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1445
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1446
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1447
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵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/ss"4⤵PID:1453
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1454
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1455
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1456
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1459
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1460
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1382
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1383
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1384
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1385
-
-
-
/bin/shsh -c "cp -f /tmp/0d7916ed53af023a360cd8b6788b9517_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1386
-
/usr/bin/cpcp -f /tmp/0d7916ed53af023a360cd8b6788b9517_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1387
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1403
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1404
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1466
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1467
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD56d352fd79f2ca880867e36fff45ec74e
SHA18a2b3388e13a8aac1f03197849a19f5f13239a54
SHA256e0e4199256d643b364418ba8b6d36df66d53b74f0ec05775f253225e82a42267
SHA51257a05443caa2a339b254216bb5eb89f74fa1d4921d3217eb0365724a6e7ecc3aecf1fef22468c98748d83462a88ea0596b5d8731399fce8e8c367b4761b314d9
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD5c26820b8a4c1b3c2aa868d6d57e14a79
SHA169dd0d17085451edc7a356c689407429fc6cea46
SHA256f3e055913a0b1eb0f07317896f9a1bc466b9a50db85a7f882f3ffde9ffb23aca
SHA51281a48e69437024a9df44b11e68d5a86e65ae9150d34e9c2955bc47ff007309511cac643c367eb68b7328481d67a5227699dc1adc66af5597c3fddceeec51c06c
-
Filesize
4B
MD501d8bae291b1e4724443375634ccfa0e
SHA13e997b2dba11df9b67d2f6d85b1f3c3ba2753f45
SHA25663fd44eec460feb25809df9182b23432d590259750995df7fbf4e9c7913963cc
SHA512d68174a47f6faddfeb90219dddb8b0c648d752f73b8ffd0e03f49fc9f1d6841ab688437d4b54e3e1900f373579338d0d4e67af57804488488596dab83fcd23c4
-
Filesize
51B
MD5fac49dab9548774b557dc398e05827ca
SHA1310925158003b19bc546b430f502f50d58e19ef1
SHA25663b5e53d90cbbcf17ebb499a772829552cecae621a0d7ce3e8d9b9330e231c18
SHA5128d8b7292db48e90010ceeebfb1c45369180be586dc2c075275665cd4e3fee2fba2dc7bf63e0fe5ebb534a9b309b4f0215d53d0598cd8445a266fdac8daf75f97
-
Filesize
1.2MB
MD50d7916ed53af023a360cd8b6788b9517
SHA1e2673bbd4e9ec794db03c414b113db58c53009fe
SHA2563e41e4b985ab8bd091888cd43446a4cf36fd87cc5dbf2c437e2b79cfc297b170
SHA51285dc18b4e86d6131fb896bbac601a20c99cf9c20d706f26586bbb4ddf928a277622632281266e83686d796ac9d375081ce5686246bfae0d15207d022de717194
-
Filesize
171KB
MD5061386937ec7acf924438a2643a32be0
SHA101a044b9e58839bea3e58c66cb32acc16241bf91
SHA2568a26bbae9eb85aa98ef29cfe5b0a291234db6eb394c3e0c2841983dcf7dda959
SHA5122de2e56ac4c32f47b4a1945ccfb0db378e6d59019ee8004e3e5d2ec8935efb5aa8ee14b8a0b21c61a267e195d42a3232a6dcade8720de06118fd579277f59db7
-
Filesize
134KB
MD5d194576b899af45b1d2a448612ec21e5
SHA1492f7d8f28cd4397ce22fcf0d8bf3304ea93465a
SHA256a8cf81f3a1137c999c3cf336507ce120b3065e633ade01db6280d427b7d986ca
SHA512b323babd9580b91772cde29c9f22ae75b27f5ce8ce0268a48ca41713c3545dd72409932a5c48f6af66ac6e43127eb5461d1f686bd667fa1b0e56a1564db3c539
-
Filesize
164KB
MD551d83131b398a97dd38555ba57084721
SHA17d392a87f7db787dfa85fbcdf2a5ba6f0b59b4ed
SHA256e429f9d16a4cd64593b94dee8309a427fe8ca57765bf0d2e7b822efd123fe768
SHA512adc7137df75410c2535986c1e86c2e92e58f9bee70094f72f1f7adf3db125720ce281eb3f48474b0e192d672e96cbb1bc6e1ef6b26b10bf76a412c4516948216