Malware Analysis Report

2024-11-16 12:56

Sample ID 240810-y26dsswekq
Target 87855eb792a45acbe0cd908a6a8cf758_JaffaCakes118
SHA256 4ce43813febd48db3aa24a28a95585d5c233723ad37d519a6be39ef9f1013e49
Tags
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

4ce43813febd48db3aa24a28a95585d5c233723ad37d519a6be39ef9f1013e49

Threat Level: Likely malicious

The file 87855eb792a45acbe0cd908a6a8cf758_JaffaCakes118 was found to be: Likely malicious.

Malicious Activity Summary

defense_evasion discovery exploit

Possible privilege escalation attempt

Deletes itself

Checks computer location settings

Modifies file permissions

Loads dropped DLL

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

Drops file in System32 directory

Enumerates physical storage devices

Unsigned PE

System Location Discovery: System Language Discovery

Suspicious use of WriteProcessMemory

Suspicious use of AdjustPrivilegeToken

Suspicious behavior: EnumeratesProcesses

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-08-10 20:17

Signatures

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-08-10 20:17

Reported

2024-08-10 20:20

Platform

win7-20240704-en

Max time kernel

12s

Max time network

18s

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

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\87855eb792a45acbe0cd908a6a8cf758_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 2884 wrote to memory of 652 N/A C:\Users\Admin\AppData\Local\Temp\87855eb792a45acbe0cd908a6a8cf758_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 2884 wrote to memory of 652 N/A C:\Users\Admin\AppData\Local\Temp\87855eb792a45acbe0cd908a6a8cf758_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 2884 wrote to memory of 652 N/A C:\Users\Admin\AppData\Local\Temp\87855eb792a45acbe0cd908a6a8cf758_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 2884 wrote to memory of 652 N/A C:\Users\Admin\AppData\Local\Temp\87855eb792a45acbe0cd908a6a8cf758_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 2884 wrote to memory of 652 N/A C:\Users\Admin\AppData\Local\Temp\87855eb792a45acbe0cd908a6a8cf758_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 2884 wrote to memory of 652 N/A C:\Users\Admin\AppData\Local\Temp\87855eb792a45acbe0cd908a6a8cf758_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 2884 wrote to memory of 652 N/A C:\Users\Admin\AppData\Local\Temp\87855eb792a45acbe0cd908a6a8cf758_JaffaCakes118.exe C:\Windows\SysWOW64\regsvr32.exe
PID 652 wrote to memory of 2720 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\takeown.exe
PID 652 wrote to memory of 2720 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\takeown.exe
PID 652 wrote to memory of 2720 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\takeown.exe
PID 652 wrote to memory of 2720 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\takeown.exe
PID 652 wrote to memory of 2824 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\icacls.exe
PID 652 wrote to memory of 2824 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\icacls.exe
PID 652 wrote to memory of 2824 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\icacls.exe
PID 652 wrote to memory of 2824 N/A C:\Windows\SysWOW64\regsvr32.exe C:\Windows\SysWOW64\icacls.exe
PID 652 wrote to memory of 580 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\87855eb792a45acbe0cd908a6a8cf758_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\87855eb792a45acbe0cd908a6a8cf758_JaffaCakes118.exe"

C:\Windows\SysWOW64\regsvr32.exe

"C:\Windows\system32\regsvr32.exe" /s C:\Users\Admin\AppData\Local\Temp\~~f7807ce.tmp ,C:\Users\Admin\AppData\Local\Temp\87855eb792a45acbe0cd908a6a8cf758_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

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

MD5 ff709a657bd19664e7944ac448b25f74
SHA1 fa3464965de20b929e07df4e571dc040ea7ed0ce
SHA256 a111a496ba5b9f95197303ef97d99793e0fd81bbd6ed32340bbc793a0768137b
SHA512 35ef5450b37dc820413d1e83b7673a09094464d617b109bc8b3a9898b54c844b34ab2e4fb11eba98b89d37c9b5110c604b0330432be638a63c745e4d2147dc91

C:\Windows\SysWOW64\apa.dll

MD5 92aa11826a3b746e4daac06b941b6db5
SHA1 b640cb55d7d6f002805a1b11ed988ac8e750d3e7
SHA256 96ac06f726e3a121eed964f3323cee8892d6688d2a86c552ce15370903672746
SHA512 6c79a92af35b1645cdad969a1397564e29bce32f6c98457ee5c5274c7a8cb30abf4eb7439d6c2941d6740037ce144a367cf17f7c935a4393cbbcc19c4ccd0f48

memory/580-12-0x00000000003F0000-0x00000000003F1000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-08-10 20:17

Reported

2024-08-10 20:20

Platform

win10v2004-20240802-en

Max time kernel

139s

Max time network

124s

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-2412658365-3084825385-3340777666-1000\Control Panel\International\Geo\Nation C:\Users\Admin\AppData\Local\Temp\87855eb792a45acbe0cd908a6a8cf758_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

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\87855eb792a45acbe0cd908a6a8cf758_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\87855eb792a45acbe0cd908a6a8cf758_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\87855eb792a45acbe0cd908a6a8cf758_JaffaCakes118.exe"

C:\Windows\SysWOW64\regsvr32.exe

"C:\Windows\system32\regsvr32.exe" /s C:\Users\Admin\AppData\Local\Temp\~~e578964.tmp ,C:\Users\Admin\AppData\Local\Temp\87855eb792a45acbe0cd908a6a8cf758_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 g.bing.com udp
US 204.79.197.237:443 g.bing.com tcp
US 8.8.8.8:53 133.211.185.52.in-addr.arpa udp
US 8.8.8.8:53 237.197.79.204.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 81.144.22.2.in-addr.arpa udp
US 8.8.8.8:53 55.36.223.20.in-addr.arpa udp
US 8.8.8.8:53 13.86.106.20.in-addr.arpa udp
US 8.8.8.8:53 86.23.85.13.in-addr.arpa udp
US 8.8.8.8:53 206.23.85.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 73.144.22.2.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 10.28.171.150.in-addr.arpa udp

Files

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

MD5 ff709a657bd19664e7944ac448b25f74
SHA1 fa3464965de20b929e07df4e571dc040ea7ed0ce
SHA256 a111a496ba5b9f95197303ef97d99793e0fd81bbd6ed32340bbc793a0768137b
SHA512 35ef5450b37dc820413d1e83b7673a09094464d617b109bc8b3a9898b54c844b34ab2e4fb11eba98b89d37c9b5110c604b0330432be638a63c745e4d2147dc91