BloodHoundAD / SharpHoundCommon

Common library used by SharpHound.
GNU General Public License v3.0
78 stars 47 forks source link

Update WellKnownPrincipal.cs #140

Closed Argentix03 closed 3 months ago

Argentix03 commented 3 months ago

Description

The correct type for the IUSR (S-1-5-17) is user, not group. this small thing made a huge confusion for some people today :( i think this was caused from copy pasting s-1-5-15 the one above it in a fix long ago.

do not confuse IUSR type with IIS_IUSRS https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-identifiers

Motivation and Context

this small thing made a huge confusion for some people today :( i think this was caused from copy pasting s-1-5-15 the one above it in a fix long ago.

How Has This Been Tested?

single run on empty dc with iis installed

Screenshots (if appropriate):

Types of changes

Checklist:

github-actions[bot] commented 3 months ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

Argentix03 commented 3 months ago

I have read the CLA Document and I hereby sign the CLA

rvazarkar commented 3 months ago

Could you retarget this against the utils_rewrite branch as this will be used starting this coming week?

rvazarkar commented 3 months ago

You'll also need to fix the test in WellKnownPrincipalTest.cs

Argentix03 commented 3 months ago
rvazarkar commented 3 months ago

Thanks for the MR, looks great!