Professional Documents
Culture Documents
DIRECTORY
STUDY
GUIDE
Preparing for Active Directory (AD) security is crucial for
passing the OSCP exam and becoming a proficient
penetration tester. Here's a comprehensive study guide
that focuses on AD security and will help you on your
journey to clear the OSCP certification:
VIEH GROUP
AKASH BASFOR
Basic Networking and Windows
Fundamentals:
Description: Start by building a strong foundation
in networking concepts and Windows operating
system fundamentals.
Skills:
TCP/IP, OSI model, and network protocols.
Basic Windows administration and user
management.
AD Persistence Techniques:
Description: Explore techniques to maintain
persistence in an AD environment.
Skills:
Backdooring user accounts and service accounts.
Understanding and detecting AD persistence
mechanisms.
Active Directory Domain Trusts:
Description: Learn about domain trusts and their
security implications.
Skills:
Exploiting and mitigating trust relationships.
dsquery
dsquery user -name John
dsget
dsget user "CN=John Doe,OU=Users,DC=example,DC=com"
dsadd
dsadd user "CN=NewUser,OU=Users,DC=example,DC=com"
-samid NewUser -upn newuser@example.com -fn New -ln
User -display "New User"
Description: Adds new AD objects to the directory.
dsmod
dsmod user "CN=John Doe,OU=Users,DC=example,DC=com"
-disabled no
dsrm
dsrm "CN=ObsoleteUser,OU=Users,DC=example,DC=com"
net user
net group "Group Name" /add
net groupmember
net group "Group Name" John /add
repadmin
repadmin /showrepl
ldifde
ldifde -f ExportedData.ldf -s servername -d
"OU=Users,DC=example,DC=com"
VIEH GROUP
Join our community: t.me/viehgroup
Social media: @viehgroup
AKASH BASFOR
LinkedIn: https://www.linkedin.com/in/akashbasfor/