Skip to content

vmummer/appsec-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

40d16a1 · Aug 14, 2024

History

83 Commits
Mar 2, 2021
Oct 31, 2022
Oct 31, 2022
Oct 21, 2022
Feb 26, 2021
Sep 16, 2022
Oct 13, 2022
Oct 31, 2022
Oct 31, 2022
Aug 14, 2024
Oct 20, 2022
Oct 16, 2022
Nov 15, 2022

Repository files navigation

Check Point CloudGuard AppSec demo using Win10/11 WSL and Docker

This is an enhancement to Stuart Green's simple docker-compose environment for deploy a Check Point AppSec embedded nano-agent demo. The enhancement allows for running on Windows WSL and includes an additional Client Host for traffic generations of good and bad traffic.

The deployment includes four containers, an NGINX reverse proxy, an agent-container (the nano-agent), tester host with traffic generators and the OWASP JuiceShop app. This was based off of Stuart Green's work

You will have two ways to access the Juice Store Web Site:

  • Port 80: Protected by AppSec
  • Port 3000: Direct to JuiceShop (unprotected)

Instructions:

  • Clone the repository
  • From a machine with docker and docker-compose installed, run:
source cpalias.sh          << Load Aliase commands
cptoken  cp-us-....token   << Token from Check Point Infinity Portal - AppSec>

cpcert                     << WSL does not provide CA certs - fetches the required to build the Docker Images.
docker-compose down -v --remove-orphans
docker-compose build
source .env
docker-compose up -d

[DEMO HERE]

cphelp - Will show alias command useful for this demo

cptrgood http://juiceshop.local:80 # Use to generate good traffic - This just does a simple crawl of the Juiceshop website

cptrbad http://juiceshop.local:80 # Use to generate questionable traffic on the Juiceshop website

docker-compose down

Notes: