SEARCH
TOOLBOX
LANGUAGES
Training 2017 - Pentesting the Modern Application Stack

Training 2017 - Pentesting the Modern Application Stack

From BruCON 2017

Revision as of 15:55, 6 June 2017 by Tom.Gilis (talk | contribs) (Hardware/software Requirements)

Jump to: navigation, search

Pentesting the Modern Application Stack

Pentesting the Modern Application Stack is a unique course that covers red team tactics for pentesting modern day application stack. Attendees will learn to identify, exploit and exfiltrate data from Database Servers, Software Collaboration tools, CI tools, Distributed Configuration & Resource management tools, Containers, Big Data Environments, Search Technologies and Message Brokers. The 2 days course is a fast paced and completely hands on program that aims to impart the technical know-how methodology and tools of trade for testing these systems. Real world corporate stacks are emulated in the form of containerised challenges to prepare students for real world scenarios.

Course Description

Continuous Build & Deployment tools, Message brokers, Configuration Management systems, Resource Management systems and Distributed file systems are some of the most common systems deployed in modern cloud infrastructures thanks to the increase in the distributed nature of software. Modern day pentesting is no more limited to remote command execution from an exposed web application. In present day scenario, all these applications open up multiple doors into a company’s infrastructure. One must be able to effectively find and compromise these systems for a better foothold on the infrastructure which is evident through the recent attacks on the application stack through platforms like Shodan paving way for a full compromise on corporate infrastructures.

In this 2 day course we start by looking into red team tactics for pentesting modern application stack consisting of Databases,CI tools, Distributed Configuration & Resource management tools, Containers, Big Data Environments, Search technologies and Message Brokers.

Along with the training knowledge, the course also aims to impart the technical know-how methodology of testing these systems. This course is meant for anyone who would like to know, attack or secure the modern day stack. The students are bound to have some real fun and entirely new experience through this unique course, as we go through multiple challenging scenarios one might not have come across.

During the entire duration of the course, the students are expected to learn the following

  • Look for vulnerabilities within the application stack.
  • Gain in depth knowledge on how to pentest the modern stack consisting of Continuous Build & Deployment tools, Message broker's, Configuration Management systems, Resource Management systems and Distributed file systems.
  • Security testing of an entire application stack from an end-to-end perspective.

Course Contents

Day 1

Pentesting some of the widely used systems in the modern stack :

Module 0: Modern Application Stack

  • Evolution of Application Stack
  • Components of Stack
  • Threat Modelling
  • Attack Surface

Module 1: Pentesting Databases

  • MySQL,Postgres and OracleDB
    • Basic Enumeration
    • Laying out the attack surface
    • Pentesting third party plugins.
    • Attacking Database Servers.
    • Case Study of CVE-2016-6663
    • Security testing using tools of trade.
  • Pentesting NoSQL Databases & Caches: MongoDB, Cassandra, Redis & Memcache
    • Fingerprinting NoSQL databases,
    • Injection attacks on NoSQL Databases.
    • Attacking and identifying vulnerabilities in NoSQL databases through NoSQL exploitation framework.
    • Case study on Mongo Ransomware and hands on vulnerable applications.
  • Securing databases.

Module 2: Public Cloud Environments

  • Introduction to Cloud Environments.
  • AWS Configurations & AWS Security Checks.
  • Pentesting AWS lambda servers.
  • Secure Best practices for Cloud environments and Securing AWS instances

Module 3: CI Tools

  • Introduction to Jenkins, TeamCity and Go.
  • Basic misconfigurations and attack surface for these tools.
  • Security testing of CI Tools and outlook on vulnerabilities in Jenkins, TeamCity and Go.
  • Case Study: Remote Code Execution on Jenkins.

Module 4: Software Collaboration Tools

  • Leveraging Version Control Systems like Git, SVN and Perforce.
  • Attacking Code collaboration tools - Phabricator, Gitlab and Github Enterprise.

Module 5: Message Brokers

  • Introduction to RabbitMQ and Kafka.
  • Common misconfigurations.
  • Attacking and extracting juicy information from Message brokers.

Day 2

Module 6: Containers

  • Hacking Docker environments.
  • Setting up vulnerability static analysis for Docker containers (Clair and other tools).
  • Hacking Vagrant instances.
  • Securing Docker and Vagrant instances.

Module 7: Distributed Configuration Management Systems (DCMS)

  • Attacking Apache Zookeeper, HashiCorp Consul & Serf, CoreOS Etcd.
  • Owning the entire application thorough DCMS , pivoted attacks.
  • Attacking and Scanning using Garfield.

Module 8: Distributed File System

  • Basic misconfigurations for Hadoop.
  • Analysing the threat model for Hadoop.
  • Attacks and remote code executions on Hadoop.
  • Securing Hadoop Instances.

Module 9: Kubernetes,Mesos and Marathon (Distributed Deployment & Resource Management)

  • Introduction to Kubernetes,Mesos and Marathon
  • Fingerprinting Kubernetes,Mesos and Marathon
  • Common Misconfigurations
  • Pentesting Kubernetes and pivoting through kubernetes containers.
  • Hacking entire application stack through Mesos and Marathon.
  • Securing Mesos instances.

Module 10: Search Technologies

  • Introduction to ElasticSearch and Apache Solr (Lucene)
  • Laying out the attack surface and common misconfigurations.
  • Pentesting ElasticSearch and Solr.
  • Case Study :ElasticSearch CVE-2015-1427 RCE Exploit.

Labs: 10+ containerized labs to emulate sophisticated production stack along with applications..

Target audience

DevSecOps, Security Engineers, Penetration testers, Bug bounty hunters, System Administrators, SOC analysts, Security enthusiasts and anyone interested in the modern application stack.

Requirements

Students should have :

  • Knowledge of basic pentesting, web application working and linux command line basics
  • The ability to use a web proxy like Burp Suite, ZAP, and the ability to write basic scripts in any interpreted language is an added advantage.

Hardware/software Requirements

The requirement for the course is a laptop with administrative and USB access and minimum configuration of 8GB RAM and 100GB hard-disk space.Full virtualisation support, Virtual Box and Docker should be installed.Unix box is preferred.

Testimonials

Trainer Biography

Heiderich.jpg

Dr.-Ing. Mario Heiderich, Director of Cure53, handsome heart-breaker, bon-vivant and (as he loves to call himself) “security researcher” is from Berlin, likes everything between lesser- and greater-than and leads a small yet exquisite pen-test company. He commonly pesters peaceful attendees on various capitalist conferences with powerpoint-slides and profanities. Wherever Mario goes, bad weather and thunderstorms follow him. Doctors worldwide are clueless about this extraordinary condition of his.


300px-twitter-icon.jpg @0x6D6172696F

Links :

Mon. 2 - 4 October 2017 (09:00 - 17:00) (3-day) - Novotel Ghent Centrum

Register.jpg

Back to Training Overview