Skip to main content

Summary

The RBAC_Admins table within the MSSQL database server controls the additions and deletions to the SMS Admins local security group. That means if a user is inserted into the RBAC_Admins table, then the user’s SID is added to the SMS Admins local security group on the SMS Provider. Attackers who relay the site server computer account to the MSSQL database server and insert a new user into the RBAC_Admins table will automatically add that user to the SMS Admins local security group. Defenders can implement custom auditing into the Application or Security log of the MSSQL database server. SQL Server Auditing will track changes on the RBAC_Admins table.
  1. Within the MSSQL database server, open SQL Server Management Studio (SSMS), expand your SQL Server instance.
  2. Go to Security > Audits > Right-click > New Audit.
  3. Configure the audit to log to a file or the event log.
  4. Create an audit specification to track access to the RBAC_Admins table:
  1. Create a database specific audit:
After implementing the above audit, when a user is added to the RBAC_Admins table, an Event ID: 33205 will be generated within the MSSQL database server’s Application log. The following Event ID: 33205 displays the information expected from an "INSERT" into the RBAC_Admins table:

Associated Offensive IDs

References