An impersonate permission lets a principal execute under another database or server security principal. Its danger is easy to miss: administrators may monitor sysadmin membership while overlooking direct CONTROL SERVER grants or permission to impersonate a powerful principal. section 14.4
Mistake: treating xp_cmdshell access as equivalent to sysadmin membership.
- Running xp_cmdshell can require sysadmin, CONTROL SERVER, EXECUTE permission through an xp_cmdshell proxy, or permission to impersonate a principal meeting those requirements. section 14.4
- Audit direct grants and impersonation paths, not only sysadmin membership; otherwise an opaque permission can provide lateral movement toward the operating system. section 14.4
Lateral movement
Use the lateral-movement figure to connect hidden impersonation paths with operating-system access. section 14.4
