Analysis
-
max time kernel
149s -
max time network
153s -
platform
ubuntu-22.04_amd64 -
resource
ubuntu2204-amd64-20240611-en -
resource tags
arch:amd64arch:i386image:ubuntu2204-amd64-20240611-enkernel:5.15.0-105-genericlocale:en-usos:ubuntu-22.04-amd64system -
submitted
14-09-2024 04:10
General
-
Target
df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118
-
Size
1.1MB
-
MD5
df76bc434765108eecd8cbfb6a8bde76
-
SHA1
566a6dd2fd0b0352b7b0867ac72817f9a66fda1c
-
SHA256
ea096e487a5853558cc9f00936a167a915e97375c4892fe8111252da61d7cfbf
-
SHA512
8e809ab6686de36c0d670aa5217f346377e4074dc49cb802702ab643fba20b325bc65da0961be6e4b98a237f84f59074953b1b34f7fc60bf0db391661803158d
-
SSDEEP
24576:4vRE7caCfKGPqVEDNLFxKsfadI+gIGYuuCol7r:4vREKfPqVE5jKsfadRHGVo7r
Malware Config
Signatures
-
MrBlack trojan 1 IoCs
Processes:
resource yara_rule behavioral1/files/fstream-4.dat family_mrblack -
Executes dropped EXE 2 IoCs
Processes:
getty.swhdioc pid Process /usr/bin/bsd-port/getty 1637 getty /usr/bin/.swhd 1645 .swhd -
Processes:
df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118description ioc Process File opened for modification /etc/init.d/DbSecuritySpt df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 -
Write file to user bin folder 4 IoCs
Processes:
df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118cpcpdescription ioc Process File opened for modification /usr/bin/bsd-port/getty.lock df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 File opened for modification /usr/bin/bsd-port/udevd.lock df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty cp File opened for modification /usr/bin/.swhd cp -
Checks CPU configuration 1 TTPs 1 IoCs
Checks CPU information which indicate if the system is a virtual machine.
Processes:
df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118description ioc Process File opened for reading /proc/cpuinfo df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 -
Reads system network configuration 1 TTPs 1 IoCs
Uses contents of /proc filesystem to enumerate network settings.
Processes:
df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118description ioc Process File opened for reading /proc/net/dev df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 -
Processes:
mkdircpgettydf76bc434765108eecd8cbfb6a8bde76_JaffaCakes118mkdircp.swhdinsmoddescription ioc Process File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/sys/kernel/version getty File opened for reading /proc/stat df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 File opened for reading /proc/sys/kernel/version df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/sys/kernel/version .swhd File opened for reading /proc/meminfo df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 File opened for reading /proc/cmdline insmod -
Writes file to tmp directory 7 IoCs
Malware often drops required files in the /tmp directory.
Processes:
df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118.swhddescription ioc Process File opened for modification /tmp/gates.lock df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 File opened for modification /tmp/notify.file df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 File opened for modification /tmp/moni.lock .swhd File opened for modification /tmp/notify.file .swhd File opened for modification /tmp/gates.lock .swhd File opened for modification /tmp/moni.lock df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 File opened for modification /tmp/bill.lock df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118
Processes
-
/tmp/df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118/tmp/df76bc434765108eecd8cbfb6a8bde76_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:1595 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1615
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1616
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1617
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1618
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1619
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1620
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1621
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1622
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1623
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1624
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1631
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1632
-
-
-
/bin/shsh -c "cp -f /tmp/df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1633
-
/usr/bin/cpcp -f /tmp/df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1634
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1636
-
/usr/bin/bsd-port/getty/usr/bin/bsd-port/getty3⤵
- Executes dropped EXE
- Reads runtime system information
PID:1637
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1639
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1640
-
-
-
/bin/shsh -c "cp -f /tmp/df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 /usr/bin/.swhd"2⤵PID:1641
-
/usr/bin/cpcp -f /tmp/df76bc434765108eecd8cbfb6a8bde76_JaffaCakes118 /usr/bin/.swhd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1642
-
-
-
/bin/shsh -c /usr/bin/.swhd2⤵PID:1644
-
/usr/bin/.swhd/usr/bin/.swhd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1645
-
-
-
/bin/shsh -c "insmod /usr/lib/xpacket.ko"2⤵PID:1647
-
/usr/sbin/insmodinsmod /usr/lib/xpacket.ko3⤵
- Reads runtime system information
PID:1648
-
-
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1Boot or Logon Initialization Scripts
1RC Scripts
1Privilege Escalation
Boot or Logon Autostart Execution
1Boot or Logon Initialization Scripts
1RC Scripts
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD5c48a01794847c75a13250942c64a03fb
SHA1494bf171e2fae59dbcd08e54f2f239a33fd20198
SHA256d166f646fa65c18758b688a68552ffba58cceede919e5353100f33a8c307b470
SHA512d5848e3c5876969124bf7f84a7712541f570477fdb21426f6c82babcb07d7eb2cac70497e36fdeb0bbc780a62c980fb212de9f9217ba34418e0545d99bf4aeab
-
Filesize
4B
MD5309fee4e541e51de2e41f21bebb342aa
SHA1ee8abc188469df780d869b862fde433a2327678e
SHA256a19fbf8bf0530ca46179b803a8234f56276f21c0e7dc2f84c682924b95de5801
SHA5123fb050c47892b04da1c6021ebb875e271716d181db95965a26350151429613e986e7c7e26060ecd2cb508f5492ba655a52ccba8b2f95a0c88237553165fe8971
-
Filesize
4B
MD5e4873aa9a05cc5ed839561d121516766
SHA1cc0152ff71fc8243f70c8e8478bd7de2aa387e2c
SHA256c4c9f099e7a471df3389eeb1a1487cf95b5a46e997bf9614e3229114b6787dc6
SHA5121186c52e6c56d3b4d4c9d587c4cd2c627c00752dfd8973ccb340117308ecdc7e3fa64ad00be8538f5cd52ca5a80a27b1d362a69345f8fbbe862fa3e9fba0cd2d
-
Filesize
51B
MD569bb1dbdff563af0c2d129379a456901
SHA122d01ca5979b26ccf1e0172c1ad810fbb1dd8996
SHA2566f1ef7cb45456c1ddae9d8880d86223a68ded892d2f79c967161f7eb9a99b56d
SHA51259353b32c72f85bda2f967ac999a26295b84eb489ed5faea1cf9f78e44f9f2086e243a0f5df895a1daef46f5dd91beb9bf0164817a952d06ff036d72028e7c9e
-
Filesize
1.1MB
MD5df76bc434765108eecd8cbfb6a8bde76
SHA1566a6dd2fd0b0352b7b0867ac72817f9a66fda1c
SHA256ea096e487a5853558cc9f00936a167a915e97375c4892fe8111252da61d7cfbf
SHA5128e809ab6686de36c0d670aa5217f346377e4074dc49cb802702ab643fba20b325bc65da0961be6e4b98a237f84f59074953b1b34f7fc60bf0db391661803158d