Cybersecurity-Mastery

Identity and Access — Track

The directory, authentication and federation systems that attackers target to own everything.

Your progress in this track

Set up the lab environment below once, then work the lessons — each one is hands-on-first.

Lab Environment

Set up once, then use it for every chapter in the Identity and Access part. Everything runs locally and isolated — you never touch a system you don't own.

An identity lab. Samba AD-DC gives you Kerberos, LDAP and NTLM to attack; for full Windows AD attack paths, provision GOAD.

What you get

TargetHow to reach it
samba-adLDAP/Kerberos/SMB directory services to enumerate and attack
GOAD (optional)full multi-DC Windows forest for realistic AD attacks

Provision it — save this as docker-compose.yml and run docker compose up -d (or import the equivalent spec into CyberForge):

yaml
# id-lab/docker-compose.yml  —  Identity part environment
services:
  samba-ad:
    image: nowsci/samba-domain            # or diladele/samba-ad-dc
    environment:
      - DOMAIN=LAB.LOCAL
      - DOMAINPASS=Passw0rd!Passw0rd!
      - HOSTIP=172.20.0.10
    networks:
      labnet: { ipv4_address: 172.20.0.10 }
    cap_add: ["SYS_ADMIN"]

networks:
  labnet:
    driver: bridge
    ipam: { config: [{ subnet: 172.20.0.0/24 }] }

Attacker box. netexec ldap/smb, kerbrute, impacket-*, bloodhound-python from Kali. Samba covers enumeration, Kerberoasting basics and LDAP; GOAD covers delegation, ACL abuse and DCSync faithfully.

Verify it works

  • netexec smb 172.20.0.10 shows the domain and hostname.
  • ldapsearch -x -H ldap://172.20.0.10 -b 'dc=lab,dc=local' returns the base DN.

Notes

  • GOAD (github.com/Orange-Cyberdefense/GOAD) is the recommended full AD lab; it provisions Windows VMs via Vagrant on an isolated network.

Teardown. docker compose down stops it; add -v to also drop volumes. Snapshot before big changes so you can revert.

Safety. Keep intentionally-vulnerable targets on an isolated/internal network. Never expose them to the internet or attack anything outside this lab.

Lessons

#LessonDifficultyHands-onWhat you'll do
1Identity Fundamentals🟢 Beginner~48mIdentification, authentication, authorization, accounting and identity lifecycle.
2Active Directory🟠 Advanced~96mForests, domains, trusts, GPOs, the schema and the objects attackers pivot through.
3Entra ID (Azure AD)🟠 Advanced~72mTenants, conditional access, app registrations, tokens and cloud-identity attacks.
4LDAP as an Identity Store🟡 Intermediate~36mSchema, binds, group membership and query-driven enumeration.
5Kerberos in Depth🔴 Expert~84mTickets, PAC, S4U delegation, encryption types and the full ticket-attack catalogue.
6NTLM🟠 Advanced~60mChallenge/response, pass-the-hash, relay, coercion and why NTLM persists.
7Single Sign-On🟡 Intermediate~48mFederation patterns, SAML/OIDC trade-offs, session risks and IdP compromise impact.
8Multi-Factor Authentication🟡 Intermediate~48mFactors, TOTP/push/WebAuthn, MFA fatigue, bypasses and phishing-resistant design.
9Passwordless and FIDO2🟡 Intermediate~36mWebAuthn ceremonies, passkeys, attestation and enterprise rollout.
10Privileged Access Management🟠 Advanced~48mTiering, just-in-time access, vaulting, session recording and break-glass.
11Identity Governance🟡 Intermediate~36mJoiner/mover/leaver, access reviews, entitlement creep and least privilege at scale.

11 lessons.

← Repository home · Full contents · Labs campaign

Cybersecurity-Mastery — interactive security learning · runs locally