{
	"id": "a35d53ea-be4c-4492-a3b8-3b0764d6440b",
	"created_at": "2026-04-06T01:31:32.152864Z",
	"updated_at": "2026-04-10T03:21:09.563339Z",
	"deleted_at": null,
	"sha1_hash": "3972387d528faad86f63b73369e463517a9813a1",
	"title": "Odbcconf on LOLBAS",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 50260,
	"plain_text": "Odbcconf on LOLBAS\r\nArchived: 2026-04-06 00:49:19 UTC\r\n.. /Odbcconf.exe\r\nUsed in Windows for managing ODBC connections\r\nPaths:\r\nC:\\Windows\\System32\\odbcconf.exe\r\nC:\\Windows\\SysWOW64\\odbcconf.exe\r\nResources:\r\nhttps://gist.github.com/NickTyrer/6ef02ce3fd623483137b45f65017352b\r\nhttps://github.com/woanware/application-restriction-bypasses\r\nhttps://www.hexacorn.com/blog/2020/08/23/odbcconf-lolbin-trifecta/\r\nAcknowledgements:\r\nCasey Smith (@subtee)\r\nAdam (@Hexacorn)\r\nDetections:\r\nSigma: proc_creation_win_odbcconf_response_file.yml\r\nSigma: proc_creation_win_odbcconf_response_file_susp.yml\r\nElastic: defense_evasion_unusual_process_network_connection.toml\r\nElastic: defense_evasion_network_connection_from_windows_binary.toml\r\nExecute\r\n1. Execute DllRegisterServer from DLL specified.\r\nodbcconf /a {REGSVR C:\\Windows\\Temp\\file.dll}\r\nUse case\r\nExecute a DLL file using technique that can evade defensive counter measures\r\nPrivileges required\r\nUser\r\nOperating systems\r\nhttps://lolbas-project.github.io/lolbas/Binaries/Odbcconf/\r\nPage 1 of 2\n\nWindows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11\r\nATT\u0026CK® technique\r\nT1218.008: Odbcconf\r\nTags\r\nExecute: DLL\r\n2. Install a driver and load the DLL. Requires administrator privileges.\r\nodbcconf INSTALLDRIVER \"lolbas-project|Driver=C:\\Windows\\Temp\\file.dll|APILevel=2\"\r\nodbcconf configsysdsn \"lolbas-project\" \"DSN=lolbas-project\"\r\nUse case\r\nExecute dll file using technique that can evade defensive counter measures\r\nPrivileges required\r\nUser\r\nOperating systems\r\nWindows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11\r\nATT\u0026CK® technique\r\nT1218.008: Odbcconf\r\nTags\r\nExecute: DLL\r\n3. Load DLL specified in target .RSP file. See the Code Sample section for an example .RSP file.\r\nodbcconf -f file.rsp\r\nUse case\r\nExecute dll file using technique that can evade defensive counter measures\r\nPrivileges required\r\nAdministrator\r\nOperating systems\r\nWindows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11\r\nATT\u0026CK® technique\r\nT1218.008: Odbcconf\r\nSource: https://lolbas-project.github.io/lolbas/Binaries/Odbcconf/\r\nhttps://lolbas-project.github.io/lolbas/Binaries/Odbcconf/\r\nPage 2 of 2",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"references": [
		"https://lolbas-project.github.io/lolbas/Binaries/Odbcconf/"
	],
	"report_names": [
		"Odbcconf"
	],
	"threat_actors": [],
	"ts_created_at": 1775439092,
	"ts_updated_at": 1775791269,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/3972387d528faad86f63b73369e463517a9813a1.pdf",
		"text": "https://archive.orkl.eu/3972387d528faad86f63b73369e463517a9813a1.txt",
		"img": "https://archive.orkl.eu/3972387d528faad86f63b73369e463517a9813a1.jpg"
	}
}