8000 GitHub - lapd-devops/sectest
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lapd-devops/sectest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Security Test Demo

Overview

This is a demo of security in kubernetes and Istio.
This includes what problem are there in a service on kubernetes, and how to protect by Istio.
This demo was used in Open Source Summit Japan 2018.
The slides of demo overview are here.

image

Attack Overview

  1. Wiretap
    attacker try to wiretap the communication in kubernetes cluster.
  2. Spoofing(Already Password Leaked)
    attacker try to get secret information by using password.
  3. Worse Case Spoofing(Already Password and Certificate Leaked)
    attacker try to get secret information by using password and Istio certificate.

Prerequire

  • Istio

    • To deploy apps in Istio, install Istio to your Kubernetes cluster.
      please see more detail at official page
    • you can install istio by following steps.
      • cd system
      • vi helm_values.yaml (If you need)
      • ./install-istio.sh
  • Nginx Ingress Controller

    • In order to deploy sample apps without Istio, sectest requires Nginx Ingress Controller.
    • you can install Nginx Ingress Controller by following steps.
      • kubectl apply -f system/ingress-controller-nginx.yaml

Usage

  1. deploy sample application

    • create secret file
    cd kubernetes
    ./make_secret.sh
    
    • deploy apps by kubectl command and access from your web browser
    cd kubernetes
    kubectl apply -f .
    * access to https://<ingress-controller-address>
    
    • check program
      please input user name and password. If your apps works normally, you can get secret message.
    User: "root"
    Password: "ossj_sectest"
    
  2. create attacker and protect by Istio
    please see attacker/command_docs/*.txt and attacker/command_docs/countermeasure/*.txt for more detail.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 80.8%
  • Ruby 13.3%
  • HTML 4.8%
  • Dockerfile 1.1%
0