Potentially Suspicious ODBC Driver Registered

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

Sigma rule (View on GitHub)

 1title: Potentially Suspicious ODBC Driver Registered
 2id: e4d22291-f3d5-4b78-9a0c-a1fbaf32a6a4
 3status: experimental
 4description: Detects the registration of a new ODBC driver where the driver is located in a potentially suspicious location
 5references:
 6    - https://www.hexacorn.com/blog/2020/08/23/odbcconf-lolbin-trifecta/
 7author: Nasreddine Bencherchali (Nextron Systems)
 8date: 2023/05/23
 9modified: 2023/08/17
10tags:
11    - attack.persistence
12    - attack.t1003
13logsource:
14    category: registry_set
15    product: windows
16detection:
17    selection:
18        TargetObject|contains: '\SOFTWARE\ODBC\ODBCINST.INI\'
19        TargetObject|endswith:
20            - '\Driver'
21            - '\Setup'
22        Details|contains:
23            - ':\PerfLogs\'
24            - ':\ProgramData\'
25            - ':\Temp\'
26            - ':\Users\Public\'
27            - ':\Windows\Registration\CRMLog'
28            - ':\Windows\System32\com\dmp\'
29            - ':\Windows\System32\FxsTmp\'
30            - ':\Windows\System32\Microsoft\Crypto\RSA\MachineKeys\'
31            - ':\Windows\System32\spool\drivers\color\'
32            - ':\Windows\System32\spool\PRINTERS\'
33            - ':\Windows\System32\spool\SERVERS\'
34            - ':\Windows\System32\Tasks_Migrated\'
35            - ':\Windows\System32\Tasks\Microsoft\Windows\SyncCenter\'
36            - ':\Windows\SysWOW64\com\dmp\'
37            - ':\Windows\SysWOW64\FxsTmp\'
38            - ':\Windows\SysWOW64\Tasks\Microsoft\Windows\PLA\System\'
39            - ':\Windows\SysWOW64\Tasks\Microsoft\Windows\SyncCenter\'
40            - ':\Windows\Tasks\'
41            - ':\Windows\Temp\'
42            - ':\Windows\Tracing\'
43            - '\AppData\Local\Temp\'
44            - '\AppData\Roaming\'
45    condition: selection
46falsepositives:
47    - Unlikely
48level: high

References

Related rules

to-top