New ODBC Driver Registered


Description

Detects the registration of a new ODBC driver.

Query · sigma

selection:
  TargetObject|contains: \SOFTWARE\ODBC\ODBCINST.INI\
  TargetObject|endswith: \Driver
filter_main_sqlserver:
  TargetObject|contains: \SQL Server\
  Details: '%WINDIR%\System32\SQLSRV32.dll'
filter_optional_office_access:
  TargetObject|contains: '\Microsoft Access '
  Details|startswith: C:\Progra
  Details|endswith: \ACEODBC.DLL
filter_optional_office_excel:
  TargetObject|contains: \Microsoft Excel Driver
  Details|startswith: C:\Progra
  Details|endswith: \ACEODBC.DLL
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*

Known false positives

  • Likely
Raw source New ODBC Driver Registered · Sigma
Esc
Published by SigmaHQ/sigma ↗, licensed under Detection Rule License 1.1 ↗. Reproduced here unmodified.
title: New ODBC Driver Registered
id: 3390fbef-c98d-4bdd-a863-d65ed7c610dd
status: test
description: Detects the registration of a new ODBC driver.
references:
    - https://www.hexacorn.com/blog/2020/08/23/odbcconf-lolbin-trifecta/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-05-23
modified: 2023-08-17
tags:
    - attack.persistence
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|contains: '\SOFTWARE\ODBC\ODBCINST.INI\'
        TargetObject|endswith: '\Driver'
    filter_main_sqlserver:
        TargetObject|contains: '\SQL Server\'
        Details: '%WINDIR%\System32\SQLSRV32.dll'
    filter_optional_office_access:
        TargetObject|contains: '\Microsoft Access '
        Details|startswith: 'C:\Progra'
        Details|endswith: '\ACEODBC.DLL'
    filter_optional_office_excel:
        TargetObject|contains: '\Microsoft Excel Driver'
        Details|startswith: 'C:\Progra'
        Details|endswith: '\ACEODBC.DLL'
    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
    - Likely
level: low

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.