Malware Analysis Report

2024-11-16 12:53

Sample ID 240813-tgg39ashjd
Target 93c72d6d182e00b4730f18d1a053b294_JaffaCakes118
SHA256 a1d8130956aa19401c49e2485717fd34e467821f3ae8c01250dd8ce81cbbf0c3
Tags
upx defense_evasion discovery exploit
score
8/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V15

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
8/10

SHA256

a1d8130956aa19401c49e2485717fd34e467821f3ae8c01250dd8ce81cbbf0c3

Threat Level: Likely malicious

The file 93c72d6d182e00b4730f18d1a053b294_JaffaCakes118 was found to be: Likely malicious.

Malicious Activity Summary

upx defense_evasion discovery exploit

Possible privilege escalation attempt

Deletes itself

Loads dropped DLL

Modifies file permissions

UPX packed file

Checks computer location settings

File and Directory Permissions Modification: Windows File and Directory Permissions Modification

Drops file in System32 directory

Unsigned PE

System Location Discovery: System Language Discovery

Enumerates physical storage devices

Suspicious use of AdjustPrivilegeToken

Suspicious behavior: EnumeratesProcesses

Suspicious use of WriteProcessMemory

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-08-13 16:01

Signatures

UPX packed file

upx
Description Indicator Process Target
N/A N/A N/A N/A

Unsigned PE

Description Indicator Process Target
N/A N/A N/A N/A
N/A N/A N/A N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-08-13 16:01

Reported

2024-08-13 16:04

Platform

win7-20240704-en

Max time kernel

120s

Max time network

121s

Command Line

C:\Windows\system32\svchost.exe -k DcomLaunch

Signatures

Possible privilege escalation attempt

exploit
Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\takeown.exe N/A
N/A N/A C:\Windows\SysWOW64\icacls.exe N/A

Deletes itself

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\regsvr32.exe N/A

Loads dropped DLL

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\regsvr32.exe N/A

Modifies file permissions

discovery
Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\takeown.exe N/A
N/A N/A C:\Windows\SysWOW64\icacls.exe N/A

UPX packed file

upx
Description Indicator Process Target
N/A N/A N/A N/A
N/A N/A N/A N/A

File and Directory Permissions Modification: Windows File and Directory Permissions Modification

defense_evasion

Drops file in System32 directory

Description Indicator Process Target
File opened for modification C:\Windows\SysWOW64\apa.dll C:\Windows\SysWOW64\regsvr32.exe N/A
File created C:\Windows\SysWOW64\rpcss.dll C:\Windows\SysWOW64\regsvr32.exe N/A
File opened for modification C:\Windows\SysWOW64\rpcss.dll C:\Windows\SysWOW64\regsvr32.exe N/A

System Location Discovery: System Language Discovery

discovery
Description Indicator Process Target
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\regsvr32.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\takeown.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\icacls.exe N/A

Suspicious behavior: EnumeratesProcesses

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\regsvr32.exe N/A
N/A N/A C:\Windows\SysWOW64\regsvr32.exe N/A
N/A N/A C:\Windows\SysWOW64\regsvr32.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\SysWOW64\regsvr32.exe N/A
Token: SeTakeOwnershipPrivilege N/A C:\Windows\SysWOW64\takeown.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 1872 wrote to memory of 2380 N/A C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 1872 wrote to memory of 2380 N/A C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 1872 wrote to memory of 2380 N/A C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 1872 wrote to memory of 2380 N/A C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 1872 wrote to memory of 2380 N/A C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 1872 wrote to memory of 2380 N/A C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 1872 wrote to memory of 2380 N/A C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 2380 wrote to memory of 1620 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\takeown.exe
PID 2380 wrote to memory of 1620 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\takeown.exe
PID 2380 wrote to memory of 1620 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\takeown.exe
PID 2380 wrote to memory of 1620 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\takeown.exe
PID 2380 wrote to memory of 2416 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\icacls.exe
PID 2380 wrote to memory of 2416 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\icacls.exe
PID 2380 wrote to memory of 2416 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\icacls.exe
PID 2380 wrote to memory of 2416 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\icacls.exe
PID 2380 wrote to memory of 604 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\system32\svchost.exe

Processes

C:\Windows\system32\svchost.exe

C:\Windows\system32\svchost.exe -k DcomLaunch

C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe"

C:\Windows\SysWOW64\regsvr32.exe

"C:\Windows\system32\regsvr32.exe" /s C:\Users\Admin\AppData\Local\Temp\~~f76e1e6.tmp ,C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe

C:\Windows\SysWOW64\takeown.exe

takeown /f "C:\Windows\system32\rpcss.dll"

C:\Windows\SysWOW64\icacls.exe

icacls "C:\Windows\system32\rpcss.dll" /grant administrators:F

Network

N/A

Files

memory/1872-0-0x0000000000400000-0x0000000000422000-memory.dmp

memory/1872-3-0x0000000000400000-0x0000000000422000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\~~f76e1e6.tmp

MD5 7b2ebb9d24d1600af75c60532516531c
SHA1 dd9ee106110c1c5cbbf6a59fdd1e78e8612afa68
SHA256 f49a6104ea865bb381afe2287fa727cccfd0f62c048b82cccced0d6af539722a
SHA512 39f97f66a929ca0751152619ab13dc2a0952746fa75a6271c1f14c04354366247dbbf5029bc901fa3652b920ba960876d7906b82e1a1c56649d03c6fcb205e67

C:\Windows\SysWOW64\apa.dll

MD5 dd7c9c24f21c7b5b89f678c46bfd2f71
SHA1 4b811dee1fe3675299937f76871bf3fa31f7df1c
SHA256 380729ab3fd16d2c114c9e7219173f1183066963eef2326dc6a5d767418d63e8
SHA512 e958ebe07b3079d427b450c72a02b34cca4fa6803d2a10c2c1ad1d25d5d70b7405b7249a3997785d7cdb8961f4b69d32d3f989ea7d3a0e6ea15b8dccec03136e

memory/604-15-0x00000000001D0000-0x00000000001D1000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-08-13 16:01

Reported

2024-08-13 16:04

Platform

win10v2004-20240802-en

Max time kernel

141s

Max time network

149s

Command Line

C:\Windows\system32\svchost.exe -k DcomLaunch -p

Signatures

Possible privilege escalation attempt

exploit
Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\takeown.exe N/A
N/A N/A C:\Windows\SysWOW64\icacls.exe N/A

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-786284298-625481688-3210388970-1000\Control Panel\International\Geo\Nation C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe N/A

Deletes itself

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\regsvr32.exe N/A

Loads dropped DLL

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\regsvr32.exe N/A

Modifies file permissions

discovery
Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\icacls.exe N/A
N/A N/A C:\Windows\SysWOW64\takeown.exe N/A

UPX packed file

upx
Description Indicator Process Target
N/A N/A N/A N/A
N/A N/A N/A N/A

File and Directory Permissions Modification: Windows File and Directory Permissions Modification

defense_evasion

Drops file in System32 directory

Description Indicator Process Target
File opened for modification C:\Windows\SysWOW64\apa.dll C:\Windows\SysWOW64\regsvr32.exe N/A
File created C:\Windows\SysWOW64\rpcss.dll C:\Windows\SysWOW64\regsvr32.exe N/A
File opened for modification C:\Windows\SysWOW64\rpcss.dll C:\Windows\SysWOW64\regsvr32.exe N/A

Enumerates physical storage devices

System Location Discovery: System Language Discovery

discovery
Description Indicator Process Target
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\regsvr32.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\takeown.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\icacls.exe N/A

Suspicious behavior: EnumeratesProcesses

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\regsvr32.exe N/A
N/A N/A C:\Windows\SysWOW64\regsvr32.exe N/A
N/A N/A C:\Windows\SysWOW64\regsvr32.exe N/A
N/A N/A C:\Windows\SysWOW64\regsvr32.exe N/A
N/A N/A C:\Windows\SysWOW64\regsvr32.exe N/A
N/A N/A C:\Windows\SysWOW64\regsvr32.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\SysWOW64\regsvr32.exe N/A
Token: SeTakeOwnershipPrivilege N/A C:\Windows\SysWOW64\takeown.exe N/A

Processes

C:\Windows\system32\svchost.exe

C:\Windows\system32\svchost.exe -k DcomLaunch -p

C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe"

C:\Windows\SysWOW64\regsvr32.exe

"C:\Windows\system32\regsvr32.exe" /s C:\Users\Admin\AppData\Local\Temp\~~e57b8b1.tmp ,C:\Users\Admin\AppData\Local\Temp\93c72d6d182e00b4730f18d1a053b294_JaffaCakes118.exe

C:\Windows\SysWOW64\takeown.exe

takeown /f "C:\Windows\system32\rpcss.dll"

C:\Windows\SysWOW64\icacls.exe

icacls "C:\Windows\system32\rpcss.dll" /grant administrators:F

Network

Country Destination Domain Proto
US 8.8.8.8:53 8.8.8.8.in-addr.arpa udp
US 8.8.8.8:53 209.205.72.20.in-addr.arpa udp
US 8.8.8.8:53 240.221.184.93.in-addr.arpa udp
US 8.8.8.8:53 71.159.190.20.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 57.169.31.20.in-addr.arpa udp
US 8.8.8.8:53 28.118.140.52.in-addr.arpa udp
US 8.8.8.8:53 183.59.114.20.in-addr.arpa udp
US 8.8.8.8:53 171.39.242.20.in-addr.arpa udp
US 8.8.8.8:53 24.58.20.217.in-addr.arpa udp
US 8.8.8.8:53 240.143.123.92.in-addr.arpa udp
US 8.8.8.8:53 30.243.111.52.in-addr.arpa udp
US 8.8.8.8:53 tse1.mm.bing.net udp
US 150.171.28.10:443 tse1.mm.bing.net tcp
US 150.171.28.10:443 tse1.mm.bing.net tcp
US 150.171.28.10:443 tse1.mm.bing.net tcp
US 150.171.28.10:443 tse1.mm.bing.net tcp
US 150.171.28.10:443 tse1.mm.bing.net tcp
US 8.8.8.8:53 88.156.103.20.in-addr.arpa udp
US 8.8.8.8:53 10.28.171.150.in-addr.arpa udp

Files

memory/1612-0-0x0000000000400000-0x0000000000422000-memory.dmp

memory/1612-3-0x0000000000400000-0x0000000000422000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\~~e57b8b1.tmp

MD5 7b2ebb9d24d1600af75c60532516531c
SHA1 dd9ee106110c1c5cbbf6a59fdd1e78e8612afa68
SHA256 f49a6104ea865bb381afe2287fa727cccfd0f62c048b82cccced0d6af539722a
SHA512 39f97f66a929ca0751152619ab13dc2a0952746fa75a6271c1f14c04354366247dbbf5029bc901fa3652b920ba960876d7906b82e1a1c56649d03c6fcb205e67