Windows Security Reference Monitor (SRM) is used to check if a process (owned by a user) is allowed to access a resource (files / groups / ACL’s).

The SRM check for 3 things:

Access Token - Is granted by the LSASS, and determine the access level. It include the user SID, privilege, integrity level, privileges and more. New process/thread inherits a token from parents process.

There are 2 types of access tokens: