---
id: 8219
title: "Hacking SQL Server Procedures – Part 4: Enumerating Domain Accounts"
source_domain: netspi.com
source_url: "https://www.netspi.com/blog/technical-blog/network-pentesting/hacking-sql-server-procedures-part-4-enumerating-domain-accounts/"
published_at: "2015-03-16T00:00:00Z"
tags: ["active-directory", "privilege-escalation", "sql-injection", "powershell", "metasploit", "enumeration", "sql-server"]
phying_url: "https://phying.com/item/8219"
lang: en
---

# Hacking SQL Server Procedures – Part 4: Enumerating Domain Accounts

## Summary

With only the Public role, native SQL Server functions can enumerate AD users, groups, and computers; NetSPI ships PowerShell and Metasploit modules automating this via direct connections or SQLi.

## Intelligence Metadata

- **Sources:** netspi.com
- **Published:** 2015-03-16T00:00:00Z
- **Original:** https://www.netspi.com/blog/technical-blog/network-pentesting/hacking-sql-server-procedures-part-4-enumerating-domain-accounts/
- **Phying News:** https://phying.com/item/8219
