Managing Users: CSCI N321 - System and Network Administration
Managing Users: CSCI N321 - System and Network Administration
Audit
Access Control
Authentication
Identity and Authentication
Why usernames?
Grant access to system
Control access to resources
Accountability
Passwords
Prove you are who you say you are
Often weakest link in system security
User Accounts
UserID
User’s Full Name
Password
Home Directory
Groups
System Interface?
Username Selection
Must be unique
Max of 8 characters
Should be in all lower-case
Easy to remember
Set format
Combination of first & last name
No nicknames
Components of an Account
Username GECOS
Password Home Directory
UID Default Shell
GID
Stored in /etc/passwd
sorr:lYi8.KpsFAb9M:126:10:Scott Orr:/home/sorr:/bin/csh
Microsoft Security Identifiers
Created for every user, group, and
machine
Never reused
S-1-5-21-D1-D2-D3-RID
S-1-5-21: Standard prefix for NT
D1-D2-D3: Local or domain identifier
RID (Relative ID): Unique part of SID
Weak Passwords
No passwords used
Smoking Joes
Information about user
Dictionary Attacks
Modification of user ID or name
Modification of dictionary(s) word(s)
Keyboard patterns
Any systematic, algorithmic generator
Selecting Strong Passwords
At least 14 characters in length
Mix of case, numbers and special
characters
Something you can remember
Techniques
License plating (becoming weaker)
Acronyms from phrases
Passphrases
Pass Phrase Examples
smo11012006
Poor
ardl79BEf76357
14 spaces
Hard to remember
Good
MydogSkiplovestoplayfetcheveryday
33 spaces
Easier to remember
Better
Myd0gSkipluvs2playfetchev3ryday
31 spaces
Easier to remember
Limit Duplicate letters –substitute with numbers, punctuation, or
special characters
Best
UNIX Password Storage
Uses a One-Way Hash Encryption
Based on DES
Uses a 2 character “salt”
MD5/SHA1 – More secure replacement
‘*’ Used to lock accounts
Readability Issue
UNIX Password Encryption
Password balloons Salt Vs
0x00000000 DES
One-way
Hash
Randomize
25 times
VsjqYhTwQiJPw
Asciify
14CHARP P ASSWORD P
DES DES
0xAAD3B435B51404EE One-way One-way
Hash Hash
0xE79E56A8E5C6F8FE 0xAAD3B435B51404EE
Windows Password Encryption