Hidden Users - T1147 (ce73ea43-8e77-47ba-9c11-5e9c9c58b9ff)
Every user account in macOS has a userID associated with it. When creating a user, you can specify the userID for that account. There is a property value in /Library/Preferences/com.apple.loginwindow
called Hide500Users
that prevents users with userIDs 500 and lower from appearing at the login screen. By using the Create Account technique with a userID under 500 and enabling this property (setting it to Yes), an adversary can hide their user accounts much more easily: sudo dscl . -create /Users/username UniqueID 401
(Citation: Cybereason OSX Pirrit).