Windows Registry: New ODBC Driver Registration in Suspicious Path
Alerts when Windows registers a new ODBC driver under the ODBCINST.INI area with details pointing to suspicious filesystem paths.
- Product
- windows
- Category
- registry_set
- Author
- Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
- Published
- 2023-05-23
- Updated
- 2026-07-30
ATT&CK techniques
Cred AccessRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule flags registry entries for newly registered ODBC drivers and setups whose driver-related strings contain paths commonly associated with staging, writable locations, or unusual system subfolders. Attackers can use ODBC driver registration as a persistence mechanism or to execute malicious logic via legitimate database connectivity components. The detection relies on registry set event telemetry that includes the TargetObject and Details fields for the ODBCINST.INI driver registration location.
Reporting behind it
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: "Windows Registry: New ODBC Driver Registration in Suspicious Path"
id: 326ea041-5896-4e22-a001-10b7e33fa5fa
status: test
description: This rule flags registry entries for newly registered ODBC drivers and setups whose driver-related strings contain paths commonly associated with staging, writable locations, or unusual system subfolders. Attackers can use ODBC driver registration as a persistence mechanism or to execute malicious logic via legitimate database connectivity components. The detection relies on registry set event telemetry that includes the TargetObject and Details fields for the ODBCINST.INI driver registration location.
references:
- https://www.hexacorn.com/blog/2020/08/23/odbcconf-lolbin-trifecta/
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/registry/registry_set/registry_set_odbc_driver_registered_susp.yml
author: Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2023-05-23
modified: 2023-08-17
tags:
- attack.credential-access
- attack.persistence
- attack.t1003
logsource:
category: registry_set
product: windows
detection:
selection:
TargetObject|contains: \SOFTWARE\ODBC\ODBCINST.INI\
TargetObject|endswith:
- \Driver
- \Setup
Details|contains:
- :\PerfLogs\
- :\ProgramData\
- :\Temp\
- :\Users\Public\
- :\Windows\Registration\CRMLog
- :\Windows\System32\com\dmp\
- :\Windows\System32\FxsTmp\
- :\Windows\System32\Microsoft\Crypto\RSA\MachineKeys\
- :\Windows\System32\spool\drivers\color\
- :\Windows\System32\spool\PRINTERS\
- :\Windows\System32\spool\SERVERS\
- :\Windows\System32\Tasks_Migrated\
- :\Windows\System32\Tasks\Microsoft\Windows\SyncCenter\
- :\Windows\SysWOW64\com\dmp\
- :\Windows\SysWOW64\FxsTmp\
- :\Windows\SysWOW64\Tasks\Microsoft\Windows\PLA\System\
- :\Windows\SysWOW64\Tasks\Microsoft\Windows\SyncCenter\
- :\Windows\Tasks\
- :\Windows\Temp\
- :\Windows\Tracing\
- \AppData\Local\Temp\
- \AppData\Roaming\
condition: selection
falsepositives:
- Unlikely
level: high
license: DRL-1.1
related:
- id: e4d22291-f3d5-4b78-9a0c-a1fbaf32a6a4
type: derived