2018-06-09 00:15:06 +02:00
|
|
|
---
|
2018-09-24 21:59:43 +02:00
|
|
|
Name: Odbcconf.exe
|
|
|
|
Description: Used in Windows for managing ODBC connections
|
|
|
|
Author: 'Oddvar Moe'
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2018-05-25
|
2018-06-09 00:15:06 +02:00
|
|
|
Commands:
|
|
|
|
- Command: odbcconf -f file.rsp
|
2021-12-14 17:50:22 +01:00
|
|
|
Description: Load DLL specified in target .RSP file. See the payloads folder for an example .RSP file.
|
2018-09-24 21:59:43 +02:00
|
|
|
Usecase: Execute dll file using technique that can evade defensive counter measures
|
|
|
|
Category: Execute
|
|
|
|
Privileges: User
|
2021-11-16 15:08:04 +01:00
|
|
|
MitreID: T1218.008
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
|
2019-10-24 10:01:44 +02:00
|
|
|
- Command: odbcconf /a {REGSVR c:\test\test.dll}
|
|
|
|
Description: Execute DllREgisterServer from DLL specified.
|
|
|
|
Usecase: Execute dll file using technique that can evade defensive counter measures
|
|
|
|
Category: Execute
|
|
|
|
Privileges: User
|
2021-11-16 15:08:04 +01:00
|
|
|
MitreID: T1218.008
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
|
2018-12-10 14:28:12 +01:00
|
|
|
Full_Path:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Path: C:\Windows\System32\odbcconf.exe
|
|
|
|
- Path: C:\Windows\SysWOW64\odbcconf.exe
|
2021-01-10 16:04:52 +01:00
|
|
|
Code_Sample:
|
2021-11-15 14:19:03 +01:00
|
|
|
- Code: https://raw.githubusercontent.com/LOLBAS-Project/LOLBAS/master/OSBinaries/Payload/file.rsp
|
2018-09-24 21:59:43 +02:00
|
|
|
Detection:
|
2021-11-15 14:19:03 +01:00
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/08ca62cc8860f4660e945805d0dd615ce75258c1/rules/windows/process_creation/win_susp_odbcconf.yml
|
|
|
|
- Elastic: https://github.com/elastic/detection-rules/blob/414d32027632a49fb239abb8fbbb55d3fa8dd861/rules/windows/defense_evasion_unusual_process_network_connection.toml
|
|
|
|
- Elastic: https://github.com/elastic/detection-rules/blob/414d32027632a49fb239abb8fbbb55d3fa8dd861/rules/windows/defense_evasion_network_connection_from_windows_binary.toml
|
2018-06-09 00:15:06 +02:00
|
|
|
Resources:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Link: https://gist.github.com/NickTyrer/6ef02ce3fd623483137b45f65017352b
|
|
|
|
- Link: https://github.com/woanware/application-restriction-bypasses
|
2019-10-24 10:01:44 +02:00
|
|
|
- Link: https://twitter.com/Hexacorn/status/1187143326673330176
|
2018-09-24 21:59:43 +02:00
|
|
|
Acknowledgement:
|
|
|
|
- Person: Casey Smith
|
|
|
|
Handle: '@subtee'
|
2019-10-24 10:01:44 +02:00
|
|
|
- Person: Adam
|
|
|
|
Handle: '@Hexacorn'
|