Warning
LEGAL DISCLAIMER: This application is strictly for educational and security research purposes. It contains intentional vulnerabilities that should NEVER be deployed on production servers.
To get the HGE lab running immediately on Kali Linux or any Debian-based system:
-
Clone the Repository:
git clone https://github.com/Abinav3ac/Hell-Corp.git cd Hell-Corp -
Initialize the Environment: Run the automation script to handle
.envcreation and secret generation:chmod +x init-setup.sh ./init-setup.sh
-
Deploy the Stack:
docker-compose up --build -d
-
Access the Lab: Open your browser to
http://localhost:3000
Hellcorp Global Enterprise (HGE) is a state-of-the-art, intentionally vulnerable web application designed to simulate a modern corporate ERP and Management Console. Unlike basic CTF labs, HGE focuses on realistic business logic flaws and sophisticated exploit chains found in enterprise environments.
The mission of HGE is to provide a "no-hint" environment where researchers can practice identifying and exploiting:
- Complex Access Control failures (IDOR/BAC).
- Data integrity and Prototype Pollution.
- Infrastructure pivots (SSRF/RCE).
- Insecure serialization and template injection.
HGE utilizes a distributed, multi-stack architecture to represent a real-world enterprise ecosystem:
| Component | Technology | Role |
|---|---|---|
| Management Console | Node.js / Express | Primary API Gateway & Business Logic |
| Enterprise Dashboard | Vanilla JS / CSS3 | "Corporate Dark" ERP Interface |
| Primary Data Lake | MongoDB 6.0 | Personnel, Financial, and Asset Storage |
| Global Event Bus | Redis 7.0 | Session Management & Inter-service Messaging |
| R&D Analytics | Python / Flask | Proprietary algorithm monitoring & reporting |
| Legacy Wiki | PHP 8.2 | Internal documentation & "Shadow" data storage |
The HGE environment features a broad attack surface across multiple vectors:
- IDOR (Personnel/Finance): Unauthorized access to private employee records and ledger transactions.
- Vertical Privilege Escalation: Bypassing role-based checks to access administrative control panels.
- JWT Tampering: Exploiting weak signature or algorithm implementations.
- NoSQL Injection: Bypassing authentication and leaking data via MongoDB query manipulation.
- Prototype Pollution: Overwriting core object properties to achieve RCE or logic bypass.
- Mass Assignment: Manipulating internal object states during asset provisioning.
- SSRF (Internal Probe): Pivoting from the infrastructure monitor to internal-only services.
- OS Command Injection: Executing system commands via the diagnostic "ping" tool.
- XXE (XML External Entities): Extracting local files through the R&D reporting engine.
- SSTI (Server-Side Template Injection): Gaining shell access via the project previewer.
Once deployed, access the HGE Management Console at http://localhost:3000. You will need to authenticate or find a bypass to enter the main dashboard.
The dashboard includes a simulated terminal. Monitor the logs for "Unauthorized Activity" errors—these are often breadcrumbs for potential exploit paths.
A healthcheck script is provided to verify the reachability of major vulnerability paths:
python tools/healthcheck.py- Flag Format:
HC{...} - Starting Point: Investigate the Personnel Search or the Financial Ledger for IDOR/NoSQLi leads.
If you prefer not to use Docker, ensure you have Node.js 18+, MongoDB 6+, and Redis 7+ installed.
-
Environment Setup: Copy
.env.exampleto.envand configure your local connection strings. -
Backend Provisioning:
cd backend npm install npm run seed # Critical: Seeds enterprise users and flags npm run dev # Runs on http://localhost:3001
-
Services:
- Analytics: Run
python services/analytics/app.py(Port 5005) - Legacy Wiki: Serves via PHP-FPM/Nginx (Port 8085)
- Analytics: Run
For research queries or to contribute new enterprise-grade vulnerabilities:
- Project Lead: Abinav3ac
© 2026 Hellcorp Global Enterprise. Authorized security research only.