Malware Analysis Report

2024-11-16 12:51

Sample ID 240813-zzhqds1bqq
Target 94be68a29c3014ee15064f7824ac8136_JaffaCakes118
SHA256 407ba88105aba9abdef63505654070fe5aca39d066bc6273f2aeb853e47db523
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

407ba88105aba9abdef63505654070fe5aca39d066bc6273f2aeb853e47db523

Threat Level: Likely malicious

The file 94be68a29c3014ee15064f7824ac8136_JaffaCakes118 was found to be: Likely malicious.

Malicious Activity Summary

upx defense_evasion discovery exploit

Possible privilege escalation attempt

Deletes itself

Loads dropped DLL

UPX packed file

Modifies file permissions

Checks computer location settings

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

Drops file in System32 directory

Unsigned PE

Enumerates physical storage devices

System Location Discovery: System Language Discovery

Suspicious use of AdjustPrivilegeToken

Suspicious use of WriteProcessMemory

Suspicious behavior: EnumeratesProcesses

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-08-13 21:09

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 21:09

Reported

2024-08-13 21:11

Platform

win7-20240708-en

Max time kernel

118s

Max time network

119s

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

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\rpcss.dll C:\Windows\SysWOW64\regsvr32.exe N/A
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

System Location Discovery: System Language Discovery

discovery
Description Indicator Process Target
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\SysWOW64\icacls.exe N/A
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Users\Admin\AppData\Local\Temp\94be68a29c3014ee15064f7824ac8136_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

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 2548 wrote to memory of 2064 N/A C:\Users\Admin\AppData\Local\Temp\94be68a29c3014ee15064f7824ac8136_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 2548 wrote to memory of 2064 N/A C:\Users\Admin\AppData\Local\Temp\94be68a29c3014ee15064f7824ac8136_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 2548 wrote to memory of 2064 N/A C:\Users\Admin\AppData\Local\Temp\94be68a29c3014ee15064f7824ac8136_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 2548 wrote to memory of 2064 N/A C:\Users\Admin\AppData\Local\Temp\94be68a29c3014ee15064f7824ac8136_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 2548 wrote to memory of 2064 N/A C:\Users\Admin\AppData\Local\Temp\94be68a29c3014ee15064f7824ac8136_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 2548 wrote to memory of 2064 N/A C:\Users\Admin\AppData\Local\Temp\94be68a29c3014ee15064f7824ac8136_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 2548 wrote to memory of 2064 N/A C:\Users\Admin\AppData\Local\Temp\94be68a29c3014ee15064f7824ac8136_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 2064 wrote to memory of 264 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\takeown.exe
PID 2064 wrote to memory of 264 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\takeown.exe
PID 2064 wrote to memory of 264 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\takeown.exe
PID 2064 wrote to memory of 264 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\takeown.exe
PID 2064 wrote to memory of 2708 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\icacls.exe
PID 2064 wrote to memory of 2708 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\icacls.exe
PID 2064 wrote to memory of 2708 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\icacls.exe
PID 2064 wrote to memory of 2708 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\icacls.exe
PID 2064 wrote to memory of 592 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\94be68a29c3014ee15064f7824ac8136_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\94be68a29c3014ee15064f7824ac8136_JaffaCakes118.exe"

C:\Windows\SysWOW64\regsvr32.exe

"C:\Windows\system32\regsvr32.exe" /s C:\Users\Admin\AppData\Local\Temp\~~f76c39d.tmp ,C:\Users\Admin\AppData\Local\Temp\94be68a29c3014ee15064f7824ac8136_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/2548-0-0x0000000000400000-0x0000000000421000-memory.dmp

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

MD5 09b474a2a070f23d33686f13f52e7cf2
SHA1 71e1faccf6be787c2248f866cc93aa001201cfe0
SHA256 0584c935b74e15689cbc50a9bd2416137d20a61fdde36603df1210fb82f5c4a5
SHA512 0444bb327390956a239010175c45a46b994785edc3326e4455791d6ec6becfeab2a653b55bf5f30f6634946324fce0b529f0039fae26f4faacafdc02bd59c4f2

memory/592-14-0x00000000003D0000-0x00000000003D1000-memory.dmp

C:\Windows\SysWOW64\apa.dll

MD5 1e87cfbacd4978a75112865c344376af
SHA1 29966f4038f9f6ef7421f40353c41fe7b6ca7c84
SHA256 83717d28af61d83ceab0fafe3670362a8f63af1b246d6d5c9a5fa32a1b8acaa1
SHA512 202ee268c8d067e5116bc42c59eba87fb568b9b34a20456f4f9185e153e43c3da8e1f74c286e621cd5f6d82c2b4f51933f89ef6f6f0101780b1ce25e82568600

Analysis: behavioral2

Detonation Overview

Submitted

2024-08-13 21:09

Reported

2024-08-13 21:11

Platform

win10v2004-20240802-en

Max time kernel

140s

Max time network

151s

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-656926755-4116854191-210765258-1000\Control Panel\International\Geo\Nation C:\Users\Admin\AppData\Local\Temp\94be68a29c3014ee15064f7824ac8136_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\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

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\94be68a29c3014ee15064f7824ac8136_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\94be68a29c3014ee15064f7824ac8136_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\94be68a29c3014ee15064f7824ac8136_JaffaCakes118.exe"

C:\Windows\SysWOW64\regsvr32.exe

"C:\Windows\system32\regsvr32.exe" /s C:\Users\Admin\AppData\Local\Temp\~~e578c81.tmp ,C:\Users\Admin\AppData\Local\Temp\94be68a29c3014ee15064f7824ac8136_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 154.239.44.20.in-addr.arpa udp
US 8.8.8.8:53 21.58.20.217.in-addr.arpa udp
US 8.8.8.8:53 67.31.126.40.in-addr.arpa udp
US 8.8.8.8:53 88.156.103.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 50.23.12.20.in-addr.arpa udp
US 8.8.8.8:53 18.31.95.13.in-addr.arpa udp
US 8.8.8.8:53 192.142.123.92.in-addr.arpa udp
US 8.8.8.8:53 172.214.232.199.in-addr.arpa udp
US 8.8.8.8:53 48.229.111.52.in-addr.arpa udp
US 8.8.8.8:53 tse1.mm.bing.net udp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 8.8.8.8:53 58.99.105.20.in-addr.arpa udp
US 8.8.8.8:53 10.27.171.150.in-addr.arpa udp

Files

memory/756-0-0x0000000000400000-0x0000000000421000-memory.dmp

memory/756-3-0x0000000000400000-0x0000000000421000-memory.dmp

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

MD5 09b474a2a070f23d33686f13f52e7cf2
SHA1 71e1faccf6be787c2248f866cc93aa001201cfe0
SHA256 0584c935b74e15689cbc50a9bd2416137d20a61fdde36603df1210fb82f5c4a5
SHA512 0444bb327390956a239010175c45a46b994785edc3326e4455791d6ec6becfeab2a653b55bf5f30f6634946324fce0b529f0039fae26f4faacafdc02bd59c4f2