CatalogLOLBAS

LOL · Binary

Odbcconf.exe

3 techniquesWindowsLOLBASGPL-3.0

Execute

ExecutionWindows

Execute DllRegisterServer from DLL specified.

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

odbcconf /a {REGSVR {PATH_ABSOLUTE:.dll}}
Evidence
Upstream reference
Environment
Local host
Context
user
Native
Execute

Execute

ExecutionWindows

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"
Evidence
Upstream reference
Environment
Local host
Context
user
Native
Execute

Execute

ExecutionWindows

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}
Evidence
Upstream reference
Environment
Local host
Context
admin
Native
Execute