Suspicious Response File Execution Via Odbcconf.EXE
Last updated on:
In this page
Rule name | Rule type | Log sources | MITRE ATT&CK tags | Severity |
Suspicious Response File Execution Via Odbcconf.EXE | Standard | Windows | Defense Evasion: System Binary Proxy Execution - Odbcconf (T1218.008) | Trouble |
About the rule
Rule Type
Standard
Rule Description
Odbcconf.exe is a legitimate Windows utility used to configure ODBC drivers and data source names, including the ability to register or unregister DLLs via command-line arguments. Attackers may abuse odbcconf.exe to register malicious DLLs, taking advantage of its legitimate signed binary status (living-off-the-land technique) to establish persistence, execute code, or evade detection. This rule is designed to detect anomalous or suspicious invocations of odbcconf.exe—such as DLL registrations from atypical directories, unknown DLLs, or execution context anomalies
Severity
Trouble
Rule journey
Attack chain scenario
Initial access → Abuse of odbcconf.exe → Malicious DLL registration → Command and Control → Impact
Impact
- Defense evasion
- Unauthorized DLL execution
- Privilege escalation
- Malware deployment
Rule Requirement
Prerequisites
Use the Group Policy Management Console to audit process creation and process termination.
Install Sysmon from Microsoft Sysinternals and download the Sysmon configuration file that includes process creation monitoring. Add network connection events to the configuration file to monitor all network activity.
Create a new registry key "Microsoft-Windows-Sysmon/Operational" in the directory "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\" if not already created.
Criteria
Action1: actionname = "Process started" AND ((PROCESSNAME endswith "\odbcconf.exe" OR ORIGINALFILENAME = "odbcconf.exe") AND COMMANDLINE contains " -f , /f , –f , —f , ―f ") AND (COMMANDLINE notcontains ".rsp" AND (PARENTPROCESSNAME != "C:\Windows\System32\runonce.exe" OR PROCESSNAME != "C:\Windows\System32\odbcconf.exe" OR COMMANDLINE notcontains ".exe /E /F "C:\WINDOWS\system32\odbcconf.tmp"")) select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME
Detection
Execution Mode
realtime
Log Sources
Windows
MITRE ATT&CK
Defense Evasion: System Binary Proxy Execution - Odbcconf (T1218.008)
Security Standards
Enabling this rule will help you meet the security standard's requirement listed below:
DE.CM-01: Networks and network services are monitored to find potentially adverse events.
When this rule is triggered, you’re notified of a potentially suspicious use of odbcconf.exe to register or manipulate DLLs. This enables you to review the process context, analyze the command-line parameters, and promptly identify anomalous activity involving odbcconf.exe, supporting proactive detection of code injection, persistence attempts, and other threats leveraging trusted system binaries.
Author
Nasreddine Bencherchali (Nextron Systems)
Future actions
Known False Positives
This rule may trigger during legitimate system administration tasks, enterprise software installations, or authorized driver updates where odbcconf.exe is used to register official DLLs. Review DLL paths, digital signatures, and process context to determine legitimacy.
Next Steps
When this rule is triggered, the following measures can be implemented:
- Identification: Identify if the flagged event is a new incident or part of an existing incident.
- Analysis: Analyze the impact and extent of the incident to comprehend the severity of the attack using the Incident Workbench.
- Response: Respond promptly by initiating an automated workflow to interrupt the network connections and cease the malicious process.
- Reconfiguration: Update allowlists for known-good DLLs or processes, enhance detection logic as needed, and continue monitoring for similar suspicious behaviors.
Mitigation
Mitigation ID | Mitigation Name | Mitigation description |
M1042 |
| Odbcconf.exe may not be necessary within a given environment. |
M1038 | Execution Prevention | Use application control configured to block execution of Odbcconf.exe if it is not required for a given system or network to prevent potential misuse by adversaries. |


