Detection rules › Sigma

Potentially Suspicious ODBC Driver Registered

Severity
high
Author
Nasreddine Bencherchali (Nextron Systems)
Source
upstream

Detects the registration of a new ODBC driver where the driver is located in a potentially suspicious location

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1003 OS Credential Dumping

Event coverage

ProviderEvent IDTitle
Sysmon13RegistryEvent (Value Set)

Stages and Predicates

Stage 1: selection

or:
Details|contains: ':\PerfLogs\'
Details|contains: ':\ProgramData\'
Details|contains: ':\Temp\'
Details|contains: ':\Users\Public\'
Details|contains: ':\Windows\Registration\CRMLog'
Details|contains: ':\Windows\SysWOW64\FxsTmp\'
Details|contains: ':\Windows\SysWOW64\Tasks\Microsoft\Windows\PLA\System\'
Details|contains: ':\Windows\SysWOW64\Tasks\Microsoft\Windows\SyncCenter\'
Details|contains: ':\Windows\SysWOW64\com\dmp\'
Details|contains: ':\Windows\System32\FxsTmp\'
Details|contains: ':\Windows\System32\Microsoft\Crypto\RSA\MachineKeys\'
Details|contains: ':\Windows\System32\Tasks\Microsoft\Windows\SyncCenter\'
Details|contains: ':\Windows\System32\Tasks_Migrated\'
Details|contains: ':\Windows\System32\com\dmp\'
Details|contains: ':\Windows\System32\spool\PRINTERS\'
Details|contains: ':\Windows\System32\spool\SERVERS\'
Details|contains: ':\Windows\System32\spool\drivers\color\'
Details|contains: ':\Windows\Tasks\'
Details|contains: ':\Windows\Temp\'
Details|contains: ':\Windows\Tracing\'
Details|contains: '\AppData\Local\Temp\'
Details|contains: '\AppData\Roaming\'
or:
TargetObject|endswith: '\Driver'
TargetObject|endswith: '\Setup'
TargetObject|contains: '\SOFTWARE\ODBC\ODBCINST.INI\'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
Detailsmatch
  • :\PerfLogs\
  • :\ProgramData\ corpus 2 (sigma 2)
  • :\Temp\ corpus 2 (sigma 2)
  • :\Users\Public\ corpus 4 (sigma 4)
  • :\Windows\Registration\CRMLog
  • :\Windows\SysWOW64\FxsTmp\
  • :\Windows\SysWOW64\Tasks\Microsoft\Windows\PLA\System\
  • :\Windows\SysWOW64\Tasks\Microsoft\Windows\SyncCenter\
  • :\Windows\SysWOW64\com\dmp\
  • :\Windows\System32\FxsTmp\
  • :\Windows\System32\Microsoft\Crypto\RSA\MachineKeys\
  • :\Windows\System32\Tasks\Microsoft\Windows\SyncCenter\
  • :\Windows\System32\Tasks_Migrated\
  • :\Windows\System32\com\dmp\
  • :\Windows\System32\spool\PRINTERS\
  • :\Windows\System32\spool\SERVERS\
  • :\Windows\System32\spool\drivers\color\
  • :\Windows\Tasks\
  • :\Windows\Temp\ corpus 4 (sigma 4)
  • :\Windows\Tracing\
  • \AppData\Local\Temp\ corpus 9 (sigma 9)
  • \AppData\Roaming\ corpus 2 (sigma 2)
TargetObjectends_with
  • \Driver corpus 2 (sigma 2)
  • \Setup
TargetObjectmatch
  • \SOFTWARE\ODBC\ODBCINST.INI\ corpus 2 (sigma 2)