Final: Windows Security Flashcards
What is a SID?
Security Identifiers (SIDs)
- a numeric value that the OS uses to uniquely identify each user, group and computer
EX:
-S-1-5-21-1755044629-3020680732-3373738565-1287
What is a RID?
Relative identifier (RID)
- RIDs uniquely distinguish one
user or group from another
EX:
- S-1-5-21-1755044629-3020680732-3373738565-1287
(Last 4 digits of the SID)
How can I view the SID of the current user?
whoami /all
Authority value for Null Authority
0
EX:
S-1-0-21-1755044629-3020680732-3373738565-1287
Authority value for World Authority
1
EX:
S-1-1-21-1755044629-3020680732-3373738565-1287
Authority value for Local Authority
2
EX:
S-1-2
Authority value for Creator Authority
3
EX:
S-1-3
Authority value for Non-Unique Authority
4
EX:
S-1-4-21-1755044629-3020680732-3373738565-1287
Authority value for NT Authority
5
EX:
S-1-5
S-1-5-19
Authority value for Resource Manager Authority
9
EX:
S-1-9-21-1755044629-3020680732-3373738565-1287
Where are SIDs stored?
HKLM\SAM\SAM\Domains\Account
When is a SID created?
At creation of that account
How long do SIDs last?
For the life of the account
Can a SID be reused?
No, each one will always be unique to that local computer or domain
One Use
What is an Authority value in a SID?
the highest level of authority that can issue SIDs for a particular type of security principal
What are the 5 components of a SID?
1) SID string indicator
2) revision level
3) Authority value
4) Sub-authority value
5) RID value
Are RIDs ever reused?
No, not even after deletion of an account from that system