Skip to content
projecthellhoundPublic

About

HELLCORP GLOBAL ENTERPRISE (HGE) INTENTIONALLY VULNERABLE WEB APPLICATION, DESIGNED FOR ENTERPRISE-FOCUSED SECURITY TRAINING AND TESTING.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

HellCorp Banner

HellCorp — Local Vulnerability Research Lab

A deliberately vulnerable web application for hands-on security testing, exploit validation, and vulnerability-report practice.

Project HellCorp Security Research Docker Environment Active


01. Project Overview

HellCorp is an intentionally vulnerable web application built for local vulnerability discovery and hands-on security research. It provides a deliberately exposed application to assess, together with a separate triage service that evaluates the vulnerability reports submitted by learners.

Rather than providing flags, walkthroughs, or vulnerability hints, HellCorp follows a black-box research workflow: map the application, identify weaknesses, demonstrate the issue with a working request, and document the result. The triager replays the submitted reproduction steps against the lab, checks the evidence against the application source, and provides feedback on what was demonstrated convincingly and what is missing.

Core Objectives

  • Provide a controlled environment for practical web application security testing.
  • Encourage independent reconnaissance and vulnerability discovery without embedded hints.
  • Give learners experience producing clear, reproducible vulnerability reports.
  • Evaluate submitted reproduction steps against the running lab and its source.
  • Reinforce safe testing practices through Docker network and container isolation.

Security Notice: HellCorp contains real, exploitable vulnerabilities. Run it only on a machine you control and keep it isolated. Do not expose the target or its supporting services to public networks or production infrastructure. Review Section 07 — Isolation Model before deployment.


02. Prerequisites & Environment Setup

HellCorp is designed to run locally through Docker Compose. For the standard lab deployment, the only required runtime dependency is Docker with the Compose v2 plugin. Git is needed only if you use the clone instructions below.

2.1 Requirements

Requirement Purpose
Docker Engine or Docker Desktop Builds and runs the containers
Docker Compose v2 plugin Builds and orchestrates the multi-container environment
Git Clones the repository (optional if you download the source another way)

You do not need to install Node.js, Python, MongoDB, Redis, or the mail service separately to run the Docker-based lab.

2.2 Verify Your Host Setup

Open a terminal and verify that Docker, Compose v2, and Git (if cloning) are available:

docker --version
docker compose version
git --version

Make sure the Docker daemon is running. You can verify that the Docker engine is reachable with:

docker info

The Compose command must be docker compose (Compose v2). The standalone legacy docker-compose command is not the documented requirement for this lab.


03. Clone & Deploy HellCorp

Follow these steps from a terminal to obtain the project, configure it if needed, and start the complete environment.

Step 1 — Clone the Repository

git clone https://github.com/project-hellhound-org/HellCorp.git
cd HellCorp

If you already have the repository, change into its root directory—the directory containing lab.sh, .env.example, and the Docker Compose configuration.

Step 2 — Make the Lab Script Executable

chmod +x ./lab.sh

Step 3 — Configure Optional Triage Credentials

HellCorp works without an API key. By default, the triager uses its built-in offline mock mode, so you can skip this step and continue to deployment.

To use a real model for report triage, create the environment file:

cp .env.example .env

Edit .env and add your NVIDIA_API_KEY, or configure an OpenAI-compatible endpoint using the variables supported by the triager configuration. Keep credentials private and do not commit your .env file to the repository.

The model credential is used by the triager only. It is not provided to the vulnerable lab.

Step 4 — Build & Start the Environment

From the repository root, run:

./lab.sh up

This command builds and starts the lab services. The first build may take a few minutes, depending on your system and network connection.

Step 5 — Verify the Sandbox Isolation

After the services start, run:

./lab.sh doctor

The doctor command checks the live isolation properties, including:

  • No internet access from the lab network.
  • No network route from the lab to the triage service.
  • Published service ports are bound to loopback only.

Do not begin testing until the isolation checks complete successfully. If a check fails, stop and investigate the Docker/network configuration before using the vulnerable application.

Step 6 — Open the Local Services

Access the services from the same machine running Docker:

Component URL Purpose
HellCorp Target http://localhost:3000 Application to map and assess
Mail Inbox http://localhost:8025 View password-reset and contact emails generated by the lab
Triage Console http://localhost:4000 Submit vulnerability reports and review feedback

All three published ports are bound to 127.0.0.1; they are intended for local access, not access from other machines.


04. System Architecture

HellCorp separates the vulnerable target from the report-evaluation service. The services are deliberately isolated so that application compromise does not provide a network path into the triager.

Component Role Access
Vulnerable Web Application Primary target for reconnaissance, testing, and proof-of-concept validation http://localhost:3000
Mail Inbox Captures reset and contact emails generated by the application http://localhost:8025
Triage Service Replays report steps, checks evidence against the source, and returns assessment feedback http://localhost:4000
Databases, Redis, and Cloud Mocks Internal supporting services used by the lab Not published to the host

Architecture Highlights

  • The lab services use an internal Docker network without a route to the internet or the host LAN.
  • The triager runs on a separate network; the lab has no route to the triager.
  • Databases, Redis, and cloud-mock services are not published as host ports.
  • Only three service ports are published, and all are bound to loopback.
  • The repository is not mounted into a container; the built images use an annotation-stripped source copy.
  • The triager can run with an offline mock model, with optional model-backed evaluation when configured.

05. Vulnerability Research Methodology

HellCorp is designed as a no-hint application assessment. The learner is expected to discover the application's behavior and weaknesses independently rather than follow a predefined exploit checklist.

Recommended Assessment Workflow

  1. Reconnaissance: Map the application, identify visible functionality, and enumerate the endpoints used by the interface.
  2. Analysis: Assess authentication, authorization, input handling, application workflows, and trust boundaries.
  3. Validation: Prove each suspected issue with a controlled, repeatable request against the local target.
  4. Documentation: Record the title, affected endpoint, reproduction steps, impact, and remediation.
  5. Triage: Submit the report to the triage console and review which parts of the proof were convincing or incomplete.

Report Requirements

Field What to Include
Title A concise description of the vulnerability
Affected Endpoint The route or application function affected
Reproduction Steps Ordered, repeatable steps and the relevant request details
Impact The security consequence and realistic scope of the issue
Remediation A practical correction or mitigation

Triage Workflow

The triage service replays the submitted reproduction steps against the lab and checks the report against the application source. Its feedback is intended to help distinguish a demonstrated vulnerability from an unsupported observation, and to identify missing evidence or report details.


06. Application Research Environment

The environment includes the vulnerable application, a local mail inbox, and a separate triage console. These components support an end-to-end workflow from discovery through report review.

HellCorp Target

http://localhost:3000

Use this application as the assessment target. Explore its functionality, map its routes, and validate suspected weaknesses using requests against the local lab.

Mail Inbox

http://localhost:8025

Use the inbox to inspect reset and contact emails generated during application testing.

Triage Console

http://localhost:4000

Submit reports and review the triager's evaluation of the reproduction steps, evidence, impact, and remediation.


07. Lab Operations & Maintenance

The lab.sh wrapper provides the normal lifecycle commands for the Docker environment. Run these commands from the repository root.

Command Description
./lab.sh up Build and start the lab
./lab.sh doctor Verify the live isolation configuration
./lab.sh reset Reset lab databases, uploads, and logs while retaining triage history
./lab.sh nuke Remove all lab data, including triage history
./lab.sh logs app Follow the application service logs

Reset the Lab

Use this when you want a fresh target state while preserving the triage history:

./lab.sh reset

Remove All Lab Data

Use this only when you intend to delete everything, including triage history:

./lab.sh nuke

Follow Application Logs

./lab.sh logs app

08. Isolation Model

HellCorp is designed so that code execution inside the vulnerable lab does not provide an intended path to the host, the host LAN, or the triage service. The isolation model includes the following controls:

Control Implementation
Published ports Only three ports are published, all bound to 127.0.0.1
Lab networking The lab uses an internal Docker network with no route to the internet or host LAN
Triage separation The triager is attached to a different network, and the lab cannot reach it
Browser request protections The triage service rejects cross-origin and DNS-rebinding requests originating from the deliberately vulnerable pages open in the same browser
Supporting services Databases, Redis, and cloud mocks are not published to the host
Source handling The repository is never mounted into a container; images contain an annotation-stripped source copy
Container restrictions Containers use no-new-privileges and memory/PID limits; project-built images drop all Linux capabilities
Docker socket The Docker socket is not mounted into containers

Important Limitation

Ordinary containers share the host's kernel. Docker provides a strong isolation boundary for this lab, but it is not a perfect security boundary against every possible container escape or kernel vulnerability.

  • On Linux, prefer rootless Docker or run the lab inside a dedicated virtual machine.
  • On macOS and Windows, Docker Desktop runs containers inside a virtual machine.
  • Run ./lab.sh doctor to verify the live network-isolation properties checked by the project.

Do not treat a successful doctor check as a guarantee against host-kernel vulnerabilities or all possible container escapes. Keep the host and Docker installation patched, and use a dedicated VM for stronger separation.


09. Development & Testing

The following commands install the project dependencies and run the repository's automated checks. These steps are for contributors and developers; they are not required for the standard Docker deployment described in Section 03.

Install Dependencies

Run from the repository root:

npm install --legacy-peer-deps && (cd tools && npm install) && (cd triager && npm install)

Run Application Tests

npm test

This test suite boots the real server with stubbed databases and performs route and isolation checks.

Run Triage Tests

cd triager
npm test

This runs the triage pipeline end-to-end using the offline model.

Security and Consistency Checks

File Responsibility
tools/check-routes.js Verifies that every route called by the UI exists and helps catch route-mounting mistakes
tools/check-lab.js Checks isolation invariants in docker-compose.yml and fails if the sandbox configuration is weakened
tools/strip-annotations.js Runs during image builds and fails the build if source annotations would be included in an image

Deliberately Exposed Lab Artifacts

The following paths are intentional parts of the vulnerable target and should remain confined to the isolated lab:

  • lab/exposed.env is deliberately exposed by the application at /.env; it is also the application's real environment file.
  • lab/exposed-git/ is a real Git directory served at /.git/; its history contains a removed secret.
  • Author notes such as // VULNERABLE: … remain in server/ as the answer key and are excluded from the built images by the annotation-stripping process.

10. Project Status & Roadmap

HellCorp currently provides the vulnerable local application, the isolated triage service, report submission and replay, and automated checks for routes and sandbox configuration.

The following capabilities are not yet implemented:

  • Hunter Dashboard with per-learner vulnerability selection.
  • Tier-based challenge gating.
  • A vulnerability manifest that allows the triager to verify a learner's own proof of concept.

For the implemented vulnerability families and their current coverage, refer to docs/COVERAGE.md.


11. Security & Responsible Usage

HellCorp is developed for controlled security research, cybersecurity education, and authorized testing within a lab environment.

  • Run the application only on a machine you control.
  • Do not deploy HellCorp on production infrastructure.
  • Do not expose the vulnerable target or supporting services to public networks.
  • Prefer rootless Docker or a dedicated virtual machine on Linux.
  • Never reuse production credentials or sensitive information in the lab.
  • Run ./lab.sh doctor and review the isolation model before testing.
  • Reset the environment after completing research activities when a clean state is required.

The project authors assume no responsibility for unauthorized deployment, misuse, or damage resulting from improper configuration.


12. Project Credits

ALPH4_X3

Developed by Project Hellhound
Part of the Project Hellhound ecosystem.

About

HELLCORP GLOBAL ENTERPRISE (HGE) INTENTIONALLY VULNERABLE WEB APPLICATION, DESIGNED FOR ENTERPRISE-FOCUSED SECURITY TRAINING AND TESTING.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages