Catalog LOLBAS

LOL · Binary

Odbcconf.exe

3 techniques WindowsLOLBAS GPL-3.0

Execute

Execution Windows

Execute DllRegisterServer from DLL specified.

Use Execute a DLL file using technique that can evade defensive counter measures

odbcconf /a {REGSVR {PATH_ABSOLUTE:.dll}}
Context
user
Native
Execute

Execute

Execution Windows

Install a driver and load the DLL. Requires administrator privileges.

Use Execute dll file using technique that can evade defensive counter measures

odbcconf INSTALLDRIVER "lolbas-project|Driver={PATH_ABSOLUTE:.dll}|APILevel=2"
odbcconf configsysdsn "lolbas-project" "DSN=lolbas-project"
Context
user
Native
Execute

Execute

Execution Windows

Load DLL specified in target .RSP file. See the Code Sample section for an example .RSP file.

Use Execute dll file using technique that can evade defensive counter measures

odbcconf -f {PATH:.rsp}
Context
admin
Native
Execute