Detection rules › Sigma
SQL Server - Member got new privileges added on a database
Detects scenarios where an attacker grants new privileges on a database level
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Persistence | T1098 Account Manipulation |
| Privilege Escalation | T1098 Account Manipulation |
Event coverage
| Provider | Event |
|---|---|
| MSSQLSERVER | Event ID 33205 |
Rule body yaml
title: SQL Server - Member got new privileges added on a database
description: Detects scenarios where an attacker grants new privileges on a database level
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0003-Persistence/T1098.xxx-Account%20manipulation
- https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions
- https://docs.microsoft.com/en-us/sql/relational-databases/security/authentication-access/server-level-roles
tags:
- attack.account_manipulation
- attack.t1098
author: mdecrevoisier
status: experimental
logsource:
product: mssql
category: application
detection:
selection: # GRANT [Privilege] TO [DEMO\svc-netwrix-db]
EventID: 33205
action_id:
- G # GRANT
- GWG # GRANT WITH GRANT
class_type: DB # DATABASE
condition: selection
falsepositives:
- DBA activity
level: medium
Stages and Predicates
Stage 0: condition
selectionStage 1: selection
selection:
EventID: 33205
action_id:
- G
- GWG
class_type: DB
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.
| Field | Kind | Values |
|---|---|---|
action_id | eq |
|
class_type | eq |
|