YUNOVA · Ethical Hacking

Module 13: Active Directory on a lab

Notes for offline study · 30 November 2026

Active Directory basics for pentesters

Key points

  • Active Directory (AD) Windows networks में users, computers और permissions को केंद्र से manage करने वाली directory service है। Domain Controller इसका मुख्य server होता है।
  • AD के मुख्य हिस्से: domain, users और groups, और authentication, जो आम तौर पर Kerberos या NTLM से होती है। इन्हें समझे बिना AD की सुरक्षा नहीं समझी जा सकती।
  • AD की आम कमज़ोरियाँ misconfiguration से आती हैं: ज़रूरत से ज़्यादा privileges, कमज़ोर passwords और पुरानी settings। इनका बचाव है least privilege, tiering और नियमित audit।
  • Practice सिर्फ अपनी isolated AD lab में करें; असली company के AD पर बिना लिखित अनुमति कभी नहीं।

Kerberoasting on a lab

Key points

  • Kerberoasting Active Directory में service accounts की कमज़ोरी से जुड़ा एक जाना-माना attack concept है। इसे समझने का उद्देश्य बचाव और detection सीखना है।
  • बचाव: service accounts के लिए लंबे, random passwords, या managed service accounts (gMSA) और कमज़ोर encryption types बंद करना।
  • Detection: Domain Controller के Kerberos service-ticket logs (जैसे Event ID 4769) में असामान्य पैटर्न, और SIEM या EDR की related alerts।
  • इसे केवल अपनी isolated lab में समझें, और असली environment में सिर्फ लिखित अनुमति के साथ किसी authorised assessment के हिस्से के रूप में।

Pass-the-hash on a lab

Key points

  • Pass-the-hash एक credential-theft concept है जिसमें password की जगह उसके hash का इस्तेमाल authentication के लिए होता है। इसे समझने का मक़सद इसे रोकना और पकड़ना है।
  • बचाव: local admin passwords को हर machine पर अलग रखना (जैसे LAPS), Credential Guard जैसी सुविधाएँ, NTLM कम करना, least privilege और admin accounts का अलग इस्तेमाल।
  • Detection: असामान्य network logons, एक account का अनेक machines पर अचानक login, और EDR या SIEM alerts।
  • इसे केवल अपनी isolated lab में समझें और असली systems पर लिखित अनुमति के बिना कभी नहीं।

BloodHound attack paths

Key points

  • BloodHound एक tool है जो Active Directory के relationships को graph के रूप में दिखाता है, ताकि यह समझ आए कि permissions कैसे आपस में जुड़कर बड़े privileges तक पहुँच बना सकती हैं।
  • Defenders इसका इस्तेमाल अपने ही AD में ऐसे risky रास्ते ढूँढने और बंद करने के लिए करते हैं: ज़रूरत से ज़्यादा group memberships, गलत delegation और अनावश्यक admin rights।
  • बचाव: least privilege, privileged accounts की tiering, नियमित AD audit और unusual directory queries की monitoring।
  • इसका इस्तेमाल सिर्फ अपने lab या ऐसे AD पर करें जिसकी आपके पास लिखित अनुमति हो।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.