Advertisement
Ubidibity

IdentityReferences.ps1

Jan 29th, 2025
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PowerShell 0.51 KB | Cybersecurity | 0 0
  1. # Enumerate the identity reference SIDs
  2. # This supports another script that enumerates permissions on Windows folders where some folders or files might have S-1-15-3* SIDs.
  3. # Called Capability Security Identifiers (SIDs), these are used in Windows 10 and later for fine-grained access control,
  4. # particularly in relation to Universal Windows Platform (UWP) apps and modern Windows features.
  5.  
  6. $acl = Get-Acl "C:\Users\jimbob\Favorites"
  7. $acl.Access | Where-Object {$_.IdentityReference -match "S-1-15-3"} | Format-List *
Tags: windows
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement