Giter Site home page Giter Site logo

example-scenarios's Introduction

This is a collection of example scenarios to help test your Sysdig Secure

General Purpose Zero-Day Exploit

Sysdig provides a general-purpose example exploit called Security Playground https://github.com/sysdiglabs/security-playground that is a Python app which just reads and writes whatever paths you GET/POST against it. You can also ask it to execute any command.

To understand a bit more about how that works visit the git repo link above. To deploy it to your environment do a kubectl apply -f security-playground.yaml.

The idea with this is that imagine there is another Apache Struts or Log4j critical vulnerability that there is not yet a known CVE for so your vulnerability scans don't pick it up. This shows that Sysdig can help you catch the anomolous behaviors of that being expoited even as a zero day.

You can see various examples of how this works in the security-playground-example.sh file. To run that script you need to specify first the IP of a Node then the NodePort - e.g. ./security-playground-example.sh 1.2.3.4 30001. You can find these by running:

  • kubectl get nodes -o wide - the IP is any INTERNAL-IP
  • kubectl get service security-playground -n security-playground - the port is the port after 8080: under the PORT(S)

NOTE: This is deployed with a service of type NodePort - if you'd prefer it to be a load balancer then modify that manifest to reconfigure it how you'd prefer. Just be careful as this is a very insecure app (by design) - don't put it on the Internet etc.

Crypto Mining Example

Now we'll use our security-playground exploited back door to kick off a crypto mining example.

Sysdig provides a crypto mining example at https://github.com/sysdiglabs/policy-editor-attack that we'll run.

NOTE: This example will deliberatly fail to actually mine - we are just triggering the rules looking for mining tools like cgminer

example-scenarios's People

Contributors

jasonumiker-sysdig 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.