Jazz00001/Enterprise-Security-Assessment-Lab

GitHub: Jazz00001/Enterprise-Security-Assessment-Lab

一个覆盖 Web VAPT、API 安全、活动目录攻击和云安全的综合性企业级网络安全实战实验项目,附带完整的评估流程文档和证据记录。

Stars: 0 | Forks: 0

[![Typing SVG](https://readme-typing-svg.demolab.com?font=JetBrains+Mono\&size=16\&duration=3000\&pause=900\&color=64FFDA\¢er=true\&vCenter=true\&multiline=true\&repeat=true\&width=950\&height=80\&lines=Enterprise-grade+security+assessment+lab;Web+VAPT+%7C+API+Security+%7C+AD+Attack+Paths+%7C+Cloud+Security;Evidence-based+testing+%7C+Responsible+cleanup+%7C+Recruiter-ready+documentation)](https://git.io/typing-svg)
![Status](https://img.shields.io/badge/Status-Active%20Portfolio%20Project-64ffda?style=for-the-badge\&labelColor=0d1117) ![Type](https://img.shields.io/badge/Type-Hands--on%20Security%20Lab-233554?style=for-the-badge\&labelColor=0d1117) ![Level](https://img.shields.io/badge/Level-Beginner%20%E2%86%92%20Intermediate%20Practical-ccd6f6?style=for-the-badge\&labelColor=0d1117) ![Ethics](https://img.shields.io/badge/Ethics-Authorized%20Lab%20Only-ff6b6b?style=for-the-badge\&labelColor=0d1117) ![Cleanup](https://img.shields.io/badge/Cloud%20Cleanup-Verified-64ffda?style=for-the-badge\&labelColor=0d1117) ![Secrets](https://img.shields.io/badge/Secrets-Redacted-f1c40f?style=for-the-badge\&labelColor=0d1117)
![Kali Linux](https://img.shields.io/badge/Kali_Linux-557C94?style=flat-square\&logo=kalilinux\&logoColor=white) ![Windows Server](https://img.shields.io/badge/Windows_Server-0078D6?style=flat-square\&logo=windows\&logoColor=white) ![Windows 10](https://img.shields.io/badge/Windows_10-0078D6?style=flat-square\&logo=windows\&logoColor=white) ![Active Directory](https://img.shields.io/badge/Active_Directory-003366?style=flat-square\&logo=microsoft\&logoColor=white) ![Python](https://img.shields.io/badge/Python_3.x-3776AB?style=flat-square\&logo=python\&logoColor=white) ![Bash](https://img.shields.io/badge/Bash_Scripting-4EAA25?style=flat-square\&logo=gnubash\&logoColor=white) ![Docker](https://img.shields.io/badge/Docker-2496ED?style=flat-square\&logo=docker\&logoColor=white) ![Terraform](https://img.shields.io/badge/Terraform-7B42BC?style=flat-square\&logo=terraform\&logoColor=white)
![Burp Suite](https://img.shields.io/badge/Burp_Suite-FF6633?style=flat-square\&logo=portswigger\&logoColor=white) ![Nmap](https://img.shields.io/badge/Nmap-0E83CD?style=flat-square) ![Gobuster](https://img.shields.io/badge/Gobuster-3DDC84?style=flat-square) ![Nikto](https://img.shields.io/badge/Nikto-5C4033?style=flat-square) ![WhatWeb](https://img.shields.io/badge/WhatWeb-8A2BE2?style=flat-square) ![SQLMap](https://img.shields.io/badge/SQLMap-C23B22?style=flat-square) ![John](https://img.shields.io/badge/John_the_Ripper-111111?style=flat-square)
![Postman](https://img.shields.io/badge/Postman-FF6C37?style=flat-square\&logo=postman\&logoColor=white) ![JWT](https://img.shields.io/badge/JWT_Analysis-000000?style=flat-square\&logo=jsonwebtokens\&logoColor=white) ![ffuf](https://img.shields.io/badge/ffuf-005571?style=flat-square) ![Kiterunner](https://img.shields.io/badge/Kiterunner-6e40c9?style=flat-square) ![GraphQL](https://img.shields.io/badge/GraphQL_Testing-E10098?style=flat-square\&logo=graphql\&logoColor=white) ![OAuth](https://img.shields.io/badge/OAuth_Testing-2b6cb0?style=flat-square)
![BloodHound](https://img.shields.io/badge/BloodHound-DC143C?style=flat-square) ![Neo4j](https://img.shields.io/badge/Neo4j-008CC1?style=flat-square\&logo=neo4j\&logoColor=white) ![Impacket](https://img.shields.io/badge/Impacket-2E4057?style=flat-square\&logo=python\&logoColor=white) ![Responder](https://img.shields.io/badge/Responder-8B0000?style=flat-square) ![Hashcat](https://img.shields.io/badge/Hashcat-374151?style=flat-square) ![NetExec](https://img.shields.io/badge/NetExec%2FCrackMapExec-1a1a2e?style=flat-square)
![Amazon AWS](https://img.shields.io/badge/Amazon_AWS-FF9900?style=flat-square\&logo=amazonaws\&logoColor=white) ![AWS CLI](https://img.shields.io/badge/AWS_CLI-FF9900?style=flat-square\&logo=amazonaws\&logoColor=white) ![CloudGoat](https://img.shields.io/badge/CloudGoat-FF4500?style=flat-square) ![Pacu](https://img.shields.io/badge/Pacu-CC4400?style=flat-square) ![ScoutSuite](https://img.shields.io/badge/ScoutSuite-1E90FF?style=flat-square) ![Microsoft Azure](https://img.shields.io/badge/Microsoft_Azure-0078D4?style=flat-square\&logo=microsoftazure\&logoColor=white) ![Azure CLI](https://img.shields.io/badge/Azure_CLI-0078D4?style=flat-square\&logo=microsoftazure\&logoColor=white) ![Azure Cloud Shell](https://img.shields.io/badge/Azure_Cloud_Shell-0078D4?style=flat-square\&logo=microsoftazure\&logoColor=white)
# 🛡️ Enterprise Security Assessment Lab ## ⚡ Project Overview This repository documents a complete hands-on **Enterprise Security Assessment Lab** built to demonstrate practical cybersecurity capability across: * 🌐 Web Application VAPT * 🔌 API Security Testing * 🏢 Internal Network and Active Directory Assessment * ☁️ AWS Cloud Security * 🔵 Azure Security and Cloud Lab Handling * 🧾 Evidence-based documentation * 🔐 Secret redaction and responsible cleanup This project is designed as a recruiter-ready cybersecurity portfolio project. It does not only show tools being executed; it shows a complete security workflow: Lab Design → Target Deployment → Reconnaissance → Enumeration → Vulnerability Validation → Attack Path Analysis → Evidence Capture → Redaction → Cleanup Verification → Professional Documentation The strongest part of this lab is that every completed section is supported by real screenshots, terminal outputs, tool evidence, and cleanup checks. # 🧭 Project Status | Domain | Status | Summary | | ------------------------ | -----------------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | 🌐 Web VAPT | ✅ Completed Practical Assessment | DVWA-based testing covering recon, enumeration, Burp, SQLi, sqlmap, XSS, command injection, file upload, CSRF, and hash cracking | | 🔌 API Security | ✅ Completed Practical Assessment | crAPI, JWT analysis, BOLA/IDOR testing, excessive data exposure, rate-limit testing, mass assignment, hidden endpoint discovery, GraphQL, and OAuth request analysis | | 🏢 Active Directory | ✅ Completed | Internal AD attack chain with Responder, Hashcat, Kerberoasting, BloodHound, DCSync, and Pass-the-Hash | | ☁️ AWS Cloud Security | ✅ Completed | CloudGoat, Pacu, ScoutSuite, S3 public access test, IMDS credential exposure, IAM privilege escalation, cleanup, and billing verification | | 🔵 Azure Security | ✅ Completed as Quota-Limited Attempt | AzureGoat attempted, quota limitation documented, Terraform cleanup completed, resource group deletion verified | | 🟢 GCP | ✅ Deferred by Design | Deferred intentionally to avoid unnecessary billing and cleanup risk after AWS/Azure work | | # 🗺️ Lab Architecture ![Lab Architecture](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/c0a61fb7a3152525.png) # 🧰 Complete Tools Arsenal
Category Tools
🌐 Web VAPT ![Burp Suite](https://img.shields.io/badge/Burp_Suite-FF6633?style=flat-square\&logo=portswigger\&logoColor=white) ![Nmap](https://img.shields.io/badge/Nmap-0E83CD?style=flat-square) ![Gobuster](https://img.shields.io/badge/Gobuster-3DDC84?style=flat-square) ![Nikto](https://img.shields.io/badge/Nikto-5C4033?style=flat-square) ![WhatWeb](https://img.shields.io/badge/WhatWeb-8A2BE2?style=flat-square) ![SQLMap](https://img.shields.io/badge/SQLMap-C23B22?style=flat-square) ![John](https://img.shields.io/badge/John_the_Ripper-111111?style=flat-square)
🔌 API Security ![Postman](https://img.shields.io/badge/Postman-FF6C37?style=flat-square\&logo=postman\&logoColor=white) ![JWT](https://img.shields.io/badge/JWT_Analysis-000000?style=flat-square\&logo=jsonwebtokens\&logoColor=white) ![ffuf](https://img.shields.io/badge/ffuf-005571?style=flat-square) ![Kiterunner](https://img.shields.io/badge/Kiterunner-6e40c9?style=flat-square) ![GraphQL](https://img.shields.io/badge/GraphQL_Testing-E10098?style=flat-square\&logo=graphql\&logoColor=white) ![OAuth](https://img.shields.io/badge/OAuth_Testing-2b6cb0?style=flat-square) ![Burp Suite](https://img.shields.io/badge/Burp_Suite-FF6633?style=flat-square\&logo=portswigger\&logoColor=white)
🏢 Active Directory ![BloodHound](https://img.shields.io/badge/BloodHound-DC143C?style=flat-square) ![Neo4j](https://img.shields.io/badge/Neo4j-008CC1?style=flat-square\&logo=neo4j\&logoColor=white) ![Impacket](https://img.shields.io/badge/Impacket-2E4057?style=flat-square\&logo=python\&logoColor=white) ![Responder](https://img.shields.io/badge/Responder-8B0000?style=flat-square) ![Hashcat](https://img.shields.io/badge/Hashcat-374151?style=flat-square) ![NetExec](https://img.shields.io/badge/NetExec%2FCrackMapExec-1a1a2e?style=flat-square)
☁️ Cloud Security ![AWS CLI](https://img.shields.io/badge/AWS_CLI-FF9900?style=flat-square\&logo=amazonaws\&logoColor=white) ![CloudGoat](https://img.shields.io/badge/CloudGoat-FF4500?style=flat-square) ![Pacu](https://img.shields.io/badge/Pacu-CC4400?style=flat-square) ![ScoutSuite](https://img.shields.io/badge/ScoutSuite-1E90FF?style=flat-square) ![Azure CLI](https://img.shields.io/badge/Azure_CLI-0078D4?style=flat-square\&logo=microsoftazure\&logoColor=white) ![Azure Cloud Shell](https://img.shields.io/badge/Azure_Cloud_Shell-0078D4?style=flat-square\&logo=microsoftazure\&logoColor=white) ![Terraform](https://img.shields.io/badge/Terraform-7B42BC?style=flat-square\&logo=terraform\&logoColor=white)
# 📁 Repository Structure Enterprise-Security-Assessment-Lab/ │ ├── README.md ├── .gitignore │ ├── 01-web-vapt/ │ ├── README.md │ ├── screenshots/ │ ├── tool-outputs/ │ └── scripts/ │ ├── 02-api-security/ │ ├── README.md │ ├── screenshots/ │ ├── postman-collections/ │ ├── tools/ │ └── scripts/ │ ├── 03-ad-network/ │ ├── README.md │ ├── screenshots/ │ ├── reports/ │ └── notes/ │ ├── 04-cloud-security/ ├── README.md ├── screenshots/ ├── reports/ └── scripts/ # 📌 Executive Summary This lab demonstrates the ability to perform structured security testing across multiple enterprise security domains. The project includes: * Practical reconnaissance and enumeration * Vulnerability validation in controlled environments * Web application attack testing * API security testing * Active Directory attack path analysis * AWS cloud privilege escalation testing * Azure cloud deployment and cleanup discipline * Evidence collection and professional documentation * Responsible handling of secrets, tokens, hashes, and cloud resources The project is intentionally evidence-based. Claims are supported with screenshots and outputs rather than exaggerated finding counts. # 🌐 Sub-Project 1 — Web Application VAPT ## 🎯 Objective The Web VAPT section demonstrates practical web application vulnerability assessment against intentionally vulnerable web applications, mainly DVWA. The goal was to practise a realistic web testing flow: Environment Setup → Passive Recon → Service Discovery → Technology Fingerprinting → Directory Enumeration → Vulnerability Scanning → Manual Testing with Burp → SQL Injection Validation → XSS Validation → Command Injection Testing → File Upload Testing → CSRF Testing → Evidence Capture ## 🧰 Tools Used | Tool | Purpose | | ------------------ | ------------------------------------------------- | | Kali Linux | Main attack environment | | Docker | Running vulnerable lab targets | | Nmap | Port and service scanning | | Gobuster | Directory and file enumeration | | Nikto | Web server vulnerability scanning | | WhatWeb | Technology fingerprinting | | Burp Suite | HTTP interception and repeater testing | | SQLMap | SQL injection validation and database enumeration | | John the Ripper | Hash cracking | | Browser / DevTools | Manual validation and evidence capture | ## ✅ Completed Web VAPT Work | Test Area | Status | | --------------------------------------- | ----------: | | Kali environment setup | ✅ Completed | | Docker vulnerable target deployment | ✅ Completed | | DVWA login/browser access | ✅ Completed | | Tool version verification | ✅ Completed | | Nmap full port scan | ✅ Completed | | Gobuster directory enumeration | ✅ Completed | | Nikto scan findings | ✅ Completed | | WhatWeb technology fingerprinting | ✅ Completed | | SQL Injection manual validation | ✅ Completed | | SQLMap database enumeration | ✅ Completed | | SQLMap users table dump | ✅ Completed | | MD5 hash cracking with John | ✅ Completed | | Burp intercepted request | ✅ Completed | | Burp Repeater modified request/response | ✅ Completed | | Reflected XSS validation | ✅ Completed | | Stored XSS payload/source validation | ✅ Completed | | Command injection validation | ✅ Completed | | File upload webshell confirmation | ✅ Completed | | CSRF forged request proof | ✅ Completed | | Recon report file generation | ✅ Completed | ## 🖼️ Web Screenshot Gallery ## Kali Linux Set Up ## ![Kali Linux Lab Environment](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/d56f85a4ab152531.png) ## DVWA Login Page ## ![DVWA Login Page](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/63bf36d7e9152540.png) ## Tools ## ![Tools Version Check](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/08871404c8152546.png) ## Nmap Full Port Scan ## ![Nmap Full Port Scan](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/c4d187937a152552.png) ## Gobuster Directory Results ## ![Gobuster Directory Results](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/8dd867cd1b152559.png) ## Nikto Scan ## ![Nikto Scan Findings](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/8cb45648db152605.png) ## Whatweb Tchnology ## ![WhatWeb Technology Fingerprinting](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/a1d841f27c152610.png) ## DVWA SQL Injection ## ![DVWA SQL Injection Validation](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/1a80c88cc0152616.png) ## SQLMap Database Enumeration ## ![SQLMap Database Enumeration](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/fd654fd9f5152622.png) ## SQLMap User Table Dump ![SQLMap Users Table Dump](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/cce6a31061152627.png) ## BUrp Interception ## ![Burp Intercepted Request](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/cdd1cc1c0f152632.png) ## Burp Repeayer ## ![Burp Repeater Modified Request](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/2234f23aab152638.png) ## XSS Alert ## ![Reflected XSS Alert](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/40c739adce152644.png) ## XSS Payload ## ![Stored XSS Payload Source](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/ee0065416c152650.png) ## Command Injection ## ![Command Injection Output](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/0a2931b7ff152700.png) ## Webshell Confirmation ## ![File Upload Webshell Confirmed](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/38a2b4c497152706.png) ## CSRF ![CSRF Forged Request Proof](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/bb6f04145b152712.png) ## 🧠 Web Security Lessons * Automated scanners help with coverage, but manual validation is essential. * SQL injection can expose backend database structure and stored credentials. * Hash dumps must be handled carefully and redacted before publication. * Burp Suite is useful for validating and modifying requests safely. * XSS testing should be performed only in authorized lab targets. * Command injection and file upload issues can lead to severe compromise in real environments. * CSRF testing demonstrates how state-changing requests can be abused when protections are weak. # 🔌 Sub-Project 2 — API Security Testing ## 🎯 Objective The API Security section demonstrates practical testing of REST APIs, JWT-based authentication, BOLA/IDOR-style access control, rate-limit behaviour, mass assignment behaviour, hidden endpoint discovery, GraphQL introspection, and OAuth request analysis. The assessment was performed only against intentionally vulnerable or safe lab environments such as crAPI, DVGA/GraphQL labs, and OAuth-focused training labs. ## 🧰 Tools Used | Tool | Purpose | | ------------------ | ------------------------------------------------- | | crAPI | Intentionally vulnerable API lab | | Postman | API request building and collection management | | Burp Suite | API request analysis and OAuth request inspection | | JWT.io | JWT decoding and claim inspection | | ffuf | Rate-limit and endpoint testing | | Kiterunner | Hidden API endpoint discovery | | DVGA | GraphQL testing lab | | curl / jq | API response testing and parsing | | Browser / DevTools | API observation and evidence capture | ## ✅ Completed API Security Work | Test Area | Status | | --------------------------------------- | ----------: | | crAPI Docker containers running | ✅ Completed | | crAPI homepage accessible | ✅ Completed | | Postman login request and JWT workflow | ✅ Completed | | JWT decoding and token claim inspection | ✅ Completed | | Postman collection structure | ✅ Completed | | API tools version check | ✅ Completed | | BOLA/IDOR-style access test | ✅ Completed | | JWT manipulation attempt | ✅ Completed | | Excessive data exposure review | ✅ Completed | | Rate-limit behaviour testing with ffuf | ✅ Completed | | Mass assignment extra field test | ✅ Completed | | Kiterunner hidden endpoint discovery | ✅ Completed | | DVGA GraphQL lab running | ✅ Completed | | GraphQL endpoint availability check | ✅ Completed | | GraphQL introspection/schema discovery | ✅ Completed | | GraphQL user data query test | ✅ Completed | | OAuth request analysis in Burp | ✅ Completed | ## 🖼️ API Screenshot Gallery ## crAPI Docker Containers ## ![crAPI Docker Containers Running](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/73f0f73e1f152717.png) ## crAPI Homepage ## ![crAPI Homepage](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/c5754133f9152722.png) ## Postman ## ![Postman Login JWT Token](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/b3a97984fb152727.png) ## JWT Decoded Token ## ![JWT Decoded Token](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/ac5c0acc05152735.png) ## Postman ## ![Postman Collection Structure](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/a2220e16bf152737.png) ## API Tools ## ![API Tools Version Check](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/7d710c6925152742.png) ## BOLA ## ![BOLA Object Access Test](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/52f285d6d7152747.png) ## JWT Decoded Token Analysis ## ![JWT Decode Token Analysis](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/6135ab2ea0152752.png) ## JWT Attack Attempt Rejection ## ![JWT Attack Attempt Rejected](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/9af867d7f1152757.png) ## Excessive Data Exposure Review ## ![Excessive Data Exposure Review](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/0e3edfa248152803.png) ## Rate Limit Testing with ffuf ## ![Rate Limit Testing with ffuf](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/88360017bc152809.png) ## Kiterunner Hidden Endpoints ![Kiterunner Hidden Endpoints](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/1ddfdbd52c152815.png) ## DVGA GraphQL Lab Running ## ![DVGA GraphQL Lab Running](https://raw.githubusercontent.com/Jazz00001/Enterprise-Security-Assessment-Lab/main/02-api-security/screenshots/11-dvga-graphql-lab-running.png) ## GraphQL Endpoint Alive ## ![GraphQL Endpoint Alive](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/84a1100842152825.png) ## GraphQL Introspection Schema Discovery ## ![GraphQL Introspection Schema Discovery](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/7fe8b5ca7e152831.png) ## GraphQL User Data Query Test ## ![GraphQL User Data Query Test](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/bb14116ad8152838.png) ## OAuth Request Analysis ![OAuth Request Analysis](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/a20952a5ff152843.png) ## 🧠 API Security Lessons * JWT decoding is useful for analysis, but decoding alone does not mean compromise. * Rejected JWT manipulation attempts are still valuable evidence because they show control validation. * BOLA/IDOR testing must be performed carefully against authorized lab targets. * Excessive data exposure can reveal fields that should not be returned to users. * Rate-limit behaviour should be tested and documented clearly. * Rejected mass assignment attempts demonstrate defensive behaviour. * Kiterunner and ffuf can help discover hidden or undocumented endpoints. * GraphQL introspection may reveal schema details if exposed. * OAuth request analysis requires careful redaction of tokens, client data, and authorization values. # 🏢 Sub-Project 3 — Internal Network & Active Directory Pentest ## 🎯 Objective The Active Directory section demonstrates a complete internal network attack path in a private Windows domain environment. The focus was to understand how weak passwords, excessive privileges, exposed authentication protocols, and misconfigured domain permissions can lead to domain compromise. ## 🏗️ Lab Environment | Component | Details | | ----------------- | -------------------------------------------------- | | Attack Machine | Kali Linux | | Domain Controller | Windows Server | | Workstation | Windows 10 domain-joined endpoint | | Domain | `corp.local` | | Network | Private lab network | | Purpose | Controlled Active Directory attack path validation | ## 🧰 Tools Used | Tool | Purpose | | ------------------------- | ------------------------------------------ | | Nmap | Network and service discovery | | enum4linux-ng / SMB tools | SMB and domain enumeration | | Responder | NTLMv2 hash capture | | Hashcat | Offline hash cracking | | NetExec / CrackMapExec | SMB validation and enumeration | | Impacket | Kerberoasting, DCSync, Pass-the-Hash | | BloodHound | Active Directory attack path visualization | | Neo4j | BloodHound graph database | ## 🔗 Completed AD Attack Chain Network Discovery → SMB Enumeration → NTLMv2 Hash Capture → Offline Hash Cracking → Credential Validation → Kerberoasting → Kerberoast Hash Cracking → BloodHound Collection → Attack Path Analysis → DCSync Testing → Pass-the-Hash Validation → Privileged Access Evidence ## 🖼️ AD Screenshot Gallery ## Responder NTLMv2 Hash Captured ## ![Responder NTLMv2 Hash Captured](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/5c3507137b152850.png) ## Hashcat NTLMv2 Cracked ## ![Hashcat NTLMv2 Cracked](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/cc68e1215c152855.png) ## SMB Enumeration Credential Validation ## ![SMB Enumeration Credential Validation](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/ad1566efed152901.png) ## Kerberoasting SPN Ticket Requested ## ![Kerberoasting SPN Ticket Requested](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/40cd3ceef8152910.png) ## Kerberoast Hash Cracked ## ![Kerberoast Hash Cracked](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/77999578e8152916.png) ## BloodHound Attack Path ## ![BloodHound Attack Path](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/7175bd0460152922.png) ## BloodHound Domain Overview Graph ## ![BloodHound Domain Overview Graph](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/f30cd6c711152928.png) ## Pass-the-Hash SYSTEM Shell ## ![Pass-the-Hash SYSTEM Shell](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/b8b49e0c3d152934.png) ## DCSync Domain Hashes Dumped ![DCSync Domain Hashes Dumped](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/a2cd699b23152939.png) ## 🧠 AD Security Lessons * Weak passwords can turn captured hashes into valid credentials. * LLMNR/NBT-NS poisoning can expose NTLMv2 hashes. * Kerberoastable service accounts require long and complex passwords. * BloodHound reveals privilege paths that are difficult to identify manually. * DCSync permissions can expose domain credential material. * Pass-the-Hash demonstrates why hashes must be protected like passwords. * krbtgt material could enable Golden Ticket-style attacks if misused. * Hashes, passwords, tickets, and secrets must never be published unredacted. # ☁️ Sub-Project 4 — AWS Cloud Security Assessment ## 🎯 Objective The AWS section demonstrates practical cloud security testing using intentionally vulnerable AWS lab environments. The focus was IAM enumeration, privilege escalation analysis, S3 exposure testing, ScoutSuite auditing, IMDS credential exposure, and responsible cleanup. ## ✅ AWS Safety Controls | Control | Status | | ----------------------------------- | ----------: | | Root MFA enabled | ✅ Completed | | Budget/free-tier monitoring checked | ✅ Completed | | Dedicated lab IAM user used | ✅ Completed | | CloudGoat deployed temporarily | ✅ Completed | | Sensitive credentials redacted | ✅ Completed | | CloudGoat destroyed after testing | ✅ Completed | | EC2 cleanup verified | ✅ Completed | | Billing/free-tier checked | ✅ Completed | ## 🧰 Tools Used | Tool | Purpose | | ----------- | -------------------------------------- | | AWS CLI | AWS authentication and enumeration | | CloudGoat | Intentionally vulnerable AWS scenarios | | Pacu | IAM privilege escalation scan | | ScoutSuite | AWS security audit | | Terraform | CloudGoat deployment/destruction | | curl / jq | IMDS and metadata testing | | AWS Console | Billing, free-tier, and cleanup checks | ## ✅ Completed AWS Work | Test Area | Status | | ------------------------------------------------- | ----------: | | AWS CLI authentication | ✅ Completed | | IAM permissions enumeration | ✅ Completed | | Pacu privilege escalation scan | ✅ Completed | | S3 unauthenticated access test | ✅ Completed | | ScoutSuite HTML report overview | ✅ Completed | | ScoutSuite detailed finding review | ✅ Completed | | IMDS credential exposure through vulnerable proxy | ✅ Completed | | IAM instance profile privilege escalation | ✅ Completed | | Target EC2 objective completed | ✅ Completed | | EC2 cleanup verification | ✅ Completed | | Free-tier/billing verification | ✅ Completed | ## 🖼️ AWS Screenshot Gallery ## IAM Permissions Enumeration ## ![IAM Permissions Enumeration](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/8bc3909b31152945.png) ## Pacu Privilege Escalation Scan ## ![Pacu Privilege Escalation Scan](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/01b2df3643152951.png) ## Bucket ## ![Bucket](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/27aeb4c168152957.png) ## ScoutSuite Overviwe ## ![ScoutSuite Overviwe](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/17ea279865153003.png) ## ScoutSuite Specific Finding ## ![ScoutSuite Specific Finding](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/de7a888f1e153009.png) ## IMDS ## ![IMDS](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/1cec4187b3153015.png) ## CloudGoat EC2 Cleanup Verified ## ![CloudGoat EC2 Cleanup Verified](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/e48192b9f4153020.png) ## AWS Free Tier Cleanup Check ![AWS Free Tier Cleanup Check](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/74da7b3948153029.png) ## 🔗 AWS Attack Path Summary Low-Privileged CloudGoat User → IAM Permission Enumeration → Pacu Privilege Escalation Scan → Instance Profile Role Manipulation → Privileged EC2 Role Assumption → Metadata Credential Exposure → Target EC2 Objective Completed → CloudGoat Destroy → Billing and Cleanup Verification ## 🧠 AWS Security Lessons * IAM permissions should follow least privilege. * Public S3 access must be reviewed and restricted. * Instance metadata exposure can leak temporary role credentials. * IMDSv2 should be enforced where possible. * IAM instance profiles can create privilege escalation paths. * Automated auditing tools such as ScoutSuite help identify misconfigurations. * Cloud cleanup and billing verification are part of responsible cloud security work. # 🔵 Sub-Project 5 — Azure Security Assessment ## 🎯 Objective The Azure section demonstrates safe Azure cloud lab handling using Azure Portal, Azure Cloud Shell, Azure CLI, and Terraform. AzureGoat was attempted in a private Azure subscription. The deployment was blocked by quota restrictions, documented clearly, and cleaned up responsibly. ## 🧰 Tools Used | Tool | Purpose | | --------------------- | ---------------------------------------- | | Azure Portal | Subscription, cost, and resource review | | Azure Cost Management | Budget setup and monitoring | | Azure Cloud Shell | Authenticated browser-based CLI | | Azure CLI | Azure resource operations | | Terraform | AzureGoat deployment attempt and cleanup | ## ✅ Completed Azure Work | Step | Status | | -------------------------------------- | ----------: | | Azure account login | ✅ Completed | | Budget setup | ✅ Completed | | Azure Cloud Shell authentication | ✅ Completed | | AzureGoat Terraform deployment attempt | ✅ Completed | | Quota limitation identified | ✅ Completed | | Terraform destroy completed | ✅ Completed | | `azuregoat_app` resource group deleted | ✅ Completed | | Portal cleanup verification | ✅ Completed | ## ⚠️ AzureGoat Result AzureGoat deployment was attempted, but the subscription blocked the required resources due to quota restrictions. Observed issues included: * App Service Plan quota restriction * Basic Public IP quota restriction * Subscription-level limitations on lab deployment The deployment was not forced. Partial resources were destroyed with Terraform, and the `azuregoat_app` resource group deletion was verified. ## 🖼️ Azure Screenshot Gallery ## Azure CLI Authenticated ## ![Azure CLI Authenticated](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/75b5191c83153031.png) ## AzureGoat Cleanup Confirmed ![AzureGoat Cleanup Confirmed](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/ca06bed71d153040.png) ## 🧠 Azure Security Lessons * Cloud subscription quotas can affect security lab deployment. * Failed deployments still require cleanup. * Azure Cloud Shell can be more reliable than a broken local CLI environment. * Terraform destroy should always be verified. * Resource group deletion should be confirmed after cleanup. * Budget monitoring is essential for real cloud labs. # 🟢 GCP Status — Deferred by Design GCPGoat was intentionally deferred. ## Reason * AWS CloudGoat was already completed. * AzureGoat reached real subscription quota limitations. * Running multiple vulnerable cloud labs at once increases billing and cleanup risk. * The current project already demonstrates strong AWS and Azure cloud security practice. ## Future GCP Plan Create isolated GCP project → Configure budget alert → Authenticate with gcloud → Enumerate IAM and service accounts → Review Cloud Storage permissions → Practise safer GCP labs → Attempt GCPGoat later only after billing workflow is mature This is a deliberate risk-management decision, not an unfinished lab. # 📊 Evidence Matrix | Area | Evidence Type | Status | | ---------------------------------- | ----------------------------------------------- | -----------: | | Web environment setup | Docker/Kali screenshots | ✅ Completed | | Web recon | Passive recon, WhatWeb, Nmap | ✅ Completed | | Web enumeration | Gobuster, Nikto | ✅ Completed | | Web exploitation validation | SQLi, XSS, command injection, file upload, CSRF | ✅ Completed | | Web tooling | Burp, SQLMap, John | ✅ Completed | | API lab setup | crAPI Docker and browser evidence | ✅ Completed | | API authentication | Postman login/JWT evidence | ✅ Completed | | API access control | BOLA/IDOR-style testing | ✅ Completed | | API token testing | JWT analysis and rejected attack attempt | ✅ Completed | | API discovery | ffuf and Kiterunner evidence | ✅ Completed | | GraphQL testing | DVGA, endpoint, introspection, query testing | ✅ Completed | | OAuth testing | Burp request analysis | ✅ Completed | | AD credential attacks | Responder, Hashcat, Kerberoasting | ✅ Completed | | AD privilege analysis | BloodHound attack paths | ✅ Completed | | AD domain compromise simulation | DCSync and Pass-the-Hash | ✅ Completed | | AWS IAM testing | IAM enumeration and Pacu | ✅ Completed | | AWS cloud misconfiguration testing | S3, ScoutSuite, IMDS | ✅ Completed | | AWS cleanup | EC2 and billing checks | ✅ Completed | | Azure lab handling | Auth, quota limitation, cleanup | ✅ Completed | | GCP | Deferred by design | ✅ Documented | # 📚 Methodology and Standards | Framework / Standard | How It Applies | | ------------------------- | ------------------------------------------------------------------------------------- | | OWASP Top 10 | Web application vulnerability testing | | OWASP API Security Top 10 | API authentication, authorization, data exposure, rate limit, mass assignment testing | | MITRE ATT&CK | AD and cloud attack technique mapping | | PTES | General penetration testing workflow | | NIST SP 800-115 | Technical security testing guidance | | CIS Benchmarks | Cloud and configuration review reference | | CVSS v3.1 | Severity scoring reference for future formal reports | # 🎓 Skills Demonstrated ┌───────────────────────────────────────────────┬───────────────────────────────────────────────┐ │ Skill Area │ Evidence │ ├───────────────────────────────────────────────┼───────────────────────────────────────────────┤ │ Web reconnaissance │ Passive recon, Nmap, WhatWeb │ │ Web enumeration │ Gobuster, Nikto │ │ Web vulnerability validation │ SQLi, XSS, command injection, file upload │ │ HTTP request analysis │ Burp intercept and repeater │ │ API authentication testing │ Postman login and JWT workflow │ │ API authorization testing │ BOLA/IDOR-style testing │ │ API discovery │ ffuf and Kiterunner │ │ GraphQL testing │ DVGA, endpoint, introspection, query testing │ │ OAuth request analysis │ Burp-based OAuth lab evidence │ │ Active Directory enumeration │ SMB, BloodHound, domain recon │ │ Credential attack validation │ Responder, Hashcat, Kerberoasting │ │ AD privilege path analysis │ BloodHound attack path evidence │ │ Domain compromise simulation │ DCSync and Pass-the-Hash in private lab │ │ AWS IAM security testing │ CloudGoat and Pacu │ │ AWS cloud misconfiguration review │ S3, IMDS, ScoutSuite │ │ Azure cloud operations │ Cloud Shell, CLI, Terraform │ │ Cloud cleanup and billing awareness │ AWS/Azure cleanup verification │ │ Evidence handling │ Redaction, screenshots, structured reporting │ └───────────────────────────────────────────────┴───────────────────────────────────────────────┘ # 🔐 Redaction and Secret Handling Before publishing any screenshot or output, the following must be redacted: * AWS account IDs * Azure subscription IDs * Azure tenant IDs * Email addresses * Public IPs if privacy is required * Access keys * Secret access keys * Session tokens * JWT tokens * Authorization headers * Cookies * OAuth authorization codes * OAuth access tokens * OAuth refresh tokens * NTLM hashes * Kerberos hashes * Cracked passwords * Private keys * `.pem` files * Terraform state data * DCSync raw secrets This repository must never include: .env files .pem files Terraform state files AWS credential files Azure profile files Full hash dumps Raw DCSync dumps Session tokens Cloud secret keys Private keys Unredacted JWTs Unredacted OAuth tokens # ✅ Cleanup Verification ## AWS Cleanup AWS cleanup included: CloudGoat destroy EC2 instance termination check S3 bucket cleanup check IAM role cleanup check Free Tier / billing check Budget status check ## Azure Cleanup Azure cleanup included: Terraform destroy azuregoat_app resource group deletion Azure Portal cleanup verification Budget and billing review ## Local Lab Cleanup Local Docker-based labs can be stopped after evidence capture: docker ps docker stop # 🧾 Documentation Status Current documentation is maintained through Markdown, screenshot evidence, and structured notes. | Document | Purpose | Status | | ----------------------------------------------------- | -------------------------------- | --------------------------------: | | [Project README](README.md) | Main project overview | ✅ Completed | | [VAPT README](01-web-vapt/README.md) | Web VAPT documentation | ✅ Completed / Evidence available | | [API README](02-api-security/README.md) | API Security documentation | ✅ Completed / Evidence available | | [AD README](03-ad-network/README.md) | Active Directory documentation | ✅ Completed / Evidence available | | [Cloud Security](04-cloud-security/README.md) | Cloud Security documentation | ✅ Completed / Evidence available | # 🚀 Future Improvements Planned improvements include: * Add final executive summary document * Add formal Markdown-based reports for each sub-project * Add CVSS scoring only for confirmed findings * Add remediation sections for each confirmed issue * Add MITRE ATT&CK mapping for AD and cloud techniques * Add defensive recommendations for every attack path * Add detection engineering section with Wazuh/SOC alerts * Add GCP mini-lab only after billing and cleanup workflow is mature # 📬 Contact & Connect
[![GitHub](https://img.shields.io/badge/GitHub-Jazz00001-181717?style=for-the-badge\&logo=github\&logoColor=white)](https://github.com/Jazz00001) [![LinkedIn](https://img.shields.io/badge/LinkedIn-Jagriti%20Banerjee-0077B5?style=for-the-badge\&logo=linkedin\&logoColor=white)](https://www.linkedin.com/in/jagriti-banerjee/) [![Email](https://img.shields.io/badge/Email-banerjeej100%40gmail.com-D14836?style=for-the-badge\&logo=gmail\&logoColor=white)](mailto:banerjeej100@gmail.com)
# ⚖️ Legal and Ethical Disclaimer ┌─────────────────────────────────────────────────────────────────────────────┐ │ IMPORTANT NOTICE │ │ │ │ All security testing activities documented in this repository were │ │ performed exclusively in private, self-owned, or intentionally vulnerable │ │ lab environments created for cybersecurity education and portfolio work. │ │ │ │ This project does not include testing against third-party systems, │ │ production systems, or any environment without authorization. │ │ │ │ Techniques shown here must only be used where explicit permission has │ │ been granted. Unauthorized security testing is illegal and unethical. │ └─────────────────────────────────────────────────────────────────────────────┘
### Built with discipline. Documented with evidence. Practised ethically. ![Visitor Count](https://visitor-badge.laobi.icu/badge?page_id=YOUR_USERNAME.Enterprise-Security-Assessment-Lab\&color=64ffda)
标签:AES-256, API安全, CISA项目, CTI, JSON输出, Web安全, Web报告查看器, 应用安全, 活动目录安全, 漏洞评估, 网络安全靶场, 蓝队分析, 请求拦截, 逆向工具