Active Directory Basics Flashcards
Different Active Directory Concepts
Whats an Object in AD?
An object can be defined as ANY resource present within an Active Directory environment.
Whats a Schema in AD?
In Active Directory, the schema defines the structure of the directory, including the object classes (e.g., user, group) and their attributes (e.g., name, email). It governs how data is stored and organized in AD.
Whats an Attribute in AD?
Every object in Active Directory has an associated set of attributes used to define characteristics of the given object
Whats a domain in AD?
A domain is a logical group of objects such as computers, users, OUs, groups, etc.
Whats a Forest in AD?
A forest is a collection of Active Directory domains. It is the topmost container and contains all of the AD objects.
Whats a Tree in AD?
A tree is a collection of Active Directory domains that begins at a single root domain. A forest is a collection of AD trees. Each domain in a tree shares a boundary with the other domains.
Whats a Container in AD?
Container objects hold other objects and have a defined place in the directory subtree hierarchy.
Whats a leaf in AD?
Leaf objects do not contain other objects and are found at the end of the subtree hierarchy.
How to find an object in AD?
Query for its objectGUID value using PowerShell or search for it by specifying its distinguished name, GUID, SID, or SAM account name
Whats a SID in AD?
A security identifier, or SID is used as a unique identifier for a security principal or security group. A SID can only be used once.
Whats a DN in AD?
A distinguished name is unique identifier that specifies the object’s location within the Active Directory (AD) hierarchy.
Whats a RDN in AD?
A Relative Distinguished Name (RDN) is a single component of the Distinguished Name that identifies the object as unique from other objects.
Where must DNs and RDNs be unique?
A DN must be unique in a directory.
An RDN must be unique in an OU.
Whats a sAMAccountName in AD?
The sAMAccountName is the user’s logon name
Whats a userPrincipalName in AD?
The userPrincipalName attribute is another way to identify users in AD. This attribute consists of a prefix (the user account name) and a suffix (the domain name) in the format of bjones@inlanefreight.local. This attribute is not mandatory.
What is a Global Catelog in AD?
A global catalog (GC) is a domain controller that stores copies of ALL objects in an Active Directory forest.
What are the two roles of the Global Catelog in AD?
Authorization and Object Search.
Whats a RODC?
A Read-Only Domain Controller
Whats the point of a RODC?
Has a read-only Active Directory database. No AD account passwords are cached on an RODC (other than the RODC computer account & RODC KRBTGT passwords.) No changes are pushed out via an RODC’s AD database, SYSVOL, or DNS. RODCs also include a read-only DNS server.
What is Replication in AD?
AD objects are updated and transferred from one Domain Controller to another. Whenever a DC is added, connection objects are created to manage replication between them. These connections are made by the Knowledge Consistency Checker (KCC) service, which is present on all DCs.
What is a Service Principal Name in AD?
An SPN uniquely identifies a service instance.
What is GPO in AD?
Group Policy Objects (GPOs) are virtual collections of policy settings. Each GPO has a unique GUID. A GPO can contain local file system settings or Active Directory settings.
Whats an ACL in AD?
An Access Control List (ACL) is the ordered collection of Access Control Entries (ACEs) that apply to an object.
Whats an ACE in AD?
Each Access Control Entry (ACE) in an ACL identifies a trustee (user account, group account, or logon session) and lists the access rights that are allowed, denied, or audited for the given trustee.
What are DACLs in AD?
DACLs define which security principles are granted or denied access to an object; it contains a list of ACEs. When a process tries to access a securable object, the system checks the ACEs in the object’s DACL to determine whether or not to grant access.
What are SACLs in AD?
Allows for administrators to log access attempts that are made to secured objects. ACEs specify the types of access attempts that cause the system to generate a record in the security event log.
Whats a FQDN in AD?
An FQDN is the complete name for a specific computer or host. It is written with the hostname and domain name in the format [host name].[domain name].[tld].
What is a Tombstone in AD?
A tombstone is a container object in AD that holds deleted AD objects. When an object is deleted from AD, the object remains for a set period of time known as the Tombstone Lifetime, and the isDeleted attribute is set to TRUE. Once an object exceeds the Tombstone Lifetime, it will be entirely removed.
Whats the AD recycle bin?
It facilitates the recovery of deleted AD objects. This made it easier for sysadmins to restore objects, avoiding the need to restore from backups. Most of a deleted object’s attributes are preserved.
What is the SYSVOL folder or share in AD?
stores copies of public files in the domain such as system policies, Group Policy settings, logon/logoff scripts, and often contains other types of scripts that are executed to perform various tasks in the AD environment. The contents of the SYSVOL folder are replicated to all DCs within the environment using File Replication Services (FRS).
What is the dsHeuristics attribute in AD?
A string value set on the Directory Service object used to define multiple forest-wide configuration settings. One of these settings is to exclude built-in groups from the Protected Groups list
What is the adminCount attribute in AD?
The adminCount attribute determines whether or not the SDProp process protects a user. If the value is set to 0 or not specified, the user is not protected
What is ADUC in AD?
ADUC is a GUI console commonly used for managing users, groups, computers, and contacts in AD
What is ADSI Edit in AD?
A GUI tool used to manage objects in AD. It provides access to far more than is available in ADUC and can be used to set or delete any attribute available on an object, add, remove, and move objects as well
Whats the NTDS.DIT file in AD?
Its the heart of AD. Its a database that stores AD data such as information about user and group objects, group membership, and, most important to attackers and penetration testers, the password hashes for all users in the domain. . If the setting Store password with reversible encryption is enabled, then the NTDS.DIT will also store the cleartext passwords for all users created or who changed their password after this policy was set
What’s MSBROWSE in AD?
MSBROWSE is a Microsoft networking protocol that was used in early versions of Windows-based local area networks (LANs) to provide browsing services
Name some common AD objects
Users, Contacts, Printers, Computers, Shares, Groups, OUs, Domains, DCs, SItes,
Whats a site in AD?
A set of computers across one or more subnets connected using high-speed links. They are used to make replication across domain controllers run efficiently.
Whats an FSP in AD?
A foreign security principal.
Whats the purpose of FSPs in AD?
THey represent a security principal that belongs to a trusted external forest. They are created when an object from an external forest is added to a group in the current domain. They are created automatically after adding a security principal to a group. They are a placeholder object that holds the SID of the foreign object .Windows uses this SID to resolve the object’s name via the trust relationship.
What are the five Flexible Single Master Operation (FSMO) roles?
Schema Master, Domain Naming Master, Relative ID (RID) Master, PDC Emulator and Infrastructure Master