Active Directory
Active Directory
Blackhat Amsterdam
Raymond Forbes
Overview
Group Policy
Active Directory
– Trusts
Transitive
Non-Transitive
Cross Link
– Domain Controllers
– Groups
Global Groups
Universal Groups
Domain Local Groups
Active Directory
Sites
– Collection of IP addresses
– Information is stored by all domain controllers in
the forest
– Intra-site replication is instant
– Inter-site replication can be scheduled
– Used at logon to find closest Domain Controller
– Bridgehead Server
Maintains link between sites.
Active Directory
– Subnets
Does not necessarily translate from actual
subnets
Global Catalog
– Read Only
– Partial database. Subset of information in the
schema
– Used for fast searching and logons
All
universal group information is stored in the Global
Catalog.
Active Directory
Schema
– Schema Classes
Abstract Classes
– Not actually used to make objects.
– Used to provide structure to the schema
Structural Classes
– This is used to make directory objects
Auxiliary Classes
– Provides add on information that can be applied
to other classes
Active Directory
DNS
– AD puts in a number of SRV records into
your DNS.
_ldap._tcp. 600 IN SRV 0 100 389 server1
_ldap._tcp.pdc IN SRV 0 100 389 server 1
_kerberos._tcp.dc._msdcs IN SRV 0 100 88
server1
Active Directory
Replication
– Multi Mastered
– Tracks meta-data
– Different based on whether intra-site or inter-site
Intra-site is simple, and not very configurable
Inter-site can use RPC or SMTP
– Meta-Data
Update Sequence Number (USN)
– Defines latest update on a paticular Domain Controller
Property Version Number
– Version of attribute
Attribute
Timestamp
IP address of Domain Controller