1a Windows Basics
1a Windows Basics
25 ottobre 2018 1
Summary
Windows rights
► Windows rights are assigned using group
policy.
► Group policies can be assigned on the
domain level, the LAN level, and to specific
collections of users on the basis of their
organizational unit
Permissions & rights
An account represents an
individual identity to the operating
system
There are several account types
► User accounts: assigned to people
► System accounts: assigned to services
► Computer accounts: assigned to
computers
Accounts
Local accounts
►A local account is stored in a single
computer's account database
(%systemroot%\system32\config\SAM and
SYSTEM)
► A local account can only be assigned rights
on the computer which hosts it
► Local accounts are managed by a local
administrator
• A local administrator can assign rights on the
local machine to a centralized account
Accounts
Centralized accounts
► Centralized accounts are located in
databases such as Active Directory
(%SYSTEM ROOT%\NDTS\ntds.dit file)
► A centralized account can be assigned
rights to any resource located within the
domain
► Centralized accounts are managed by
centralized administrators
• A centralized administrator cannot assign rights
on the local computer unless they have also
been assigned local administrator rights on the
computer
Accounts
Password caching
► Centralized users authenticate themselves
on a Domain Controller (DC) using
LM/NTLM/NTLMv2/kerberos. However the
DC sometimes goes offline or the network
cable is unplugged; in this situation, the
Local Security Authority System Service
(LSASS) uses password cache entries from
the registry to perform offline logon
► It may be possible to use tools such as
cachedump in order to obtain cached
credentials (not in cleartext though!)
Accounts
Privileged accounts
► Local System
• It is a predefined local account used by the
service control manager.
• It has the highest privileges on the local
machine (even more than an Administrator)
► Local
administrator
► Domain administrator
Groups
Windows groups
► Domain Local Group. Used to assign rights
and permissions to a group of users within
a domain. Only visible to one domain.
► Global Groups. Visible to all domains in
forest, can only contain users from one
domain.
► Universal Groups. Visible to all domains in
the forest. Can contain users from any
domain in the forest.
Domains, trees & forests
What is a domain?
►A domain contains a group of network
resources (computers, printers, etc) that
can be accessed and administered with a
common set of rules
► One server, known as the primary domain
controller, manages the master user
database for the domain
Domains, trees & forests
What is a tree?
►A tree is a group of domains that have the
same DNS name; for example, abc.com
(the top domain), sales.abc.com and
support.abc.com (the child domains)
What is a forest?
►A forest is a collection of trees, which can
be treated as one administrative unit