Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Reliable Automated Cloud Native Security Operat...

Akash Mahajan
November 07, 2019

Reliable Automated Cloud Native Security Operations

Demos are on Youtube.

Demo1
https://www.youtube.com/watch?v=qIGmlNk6Mr4
Demo 2
https://www.youtube.com/watch?v=2tNrL0dD_BA
Demo 3
https://www.youtube.com/watch?v=Jyl3ndjlYKo
Demo 4
https://www.youtube.com/watch?v=G5yUpvh8UJs

Gist 1 - Demo policy
https://gist.github.com/makash/0d969155e2f4de04bae5267f2f1c8a3c
Gist 2 - If policy was to be run periodically as an AWS Lambda
https://gist.github.com/makash/a8433db0245f36badb48ade2d3228f53
Gist 3 - All the commands from the demos
https://gist.github.com/makash/62c6e60d08c527202c088f745bb2923c

SecOps or Security Operations is changing enterprise IT the same way how DevOps
transformed enterprise Dev. The complexity of operations is ever increasing and with the advent and extensive usage of Public Cloud the risk is ever greater.

We need to gear up for this world and a workable approach is to tackle this new world with the same enthusiasm as developers have taken up.

By leveraging Cloud Native Services such as Serverless (Cloud functions, Lambda), Container run-times (Docker) and Container schedulers (Kubernetes) we can bring in near real time detection and blocking of security attacks, analyse incidents and even do remediation of potential security holes before they become a problem.

During this talk and demo we will cover two live demonstrations of this approach and use the demonstrations to expand on the following

1. What exactly is SecOps for the Cloud
2. When is it Cloud Native
3. Why do we need it to be Cloud Native4
4. What do you need to get started with this now

Demonstrations

1. Automated Real Time Blocking of Data Breaches due to public S3 buckets

Akash Mahajan

November 07, 2019
Tweet

More Decks by Akash Mahajan

Other Decks in Technology

Transcript

  1. Akash Mahajan – About Me • Co-Founder of Appsecco (appsecco.com)

    • Co-Founder of null.co.in – India’s largest open security community • Speaker at ADDO twice • Cool fact – I had one of my talks featured in Feedback Loops ☺ • Author of Security Books • Burp Suite Essentials • Security Automation using Ansible2 • Security Trainer c0c0n, nullcon, BlackHat US
  2. 1. Briefly describe what is reliable, automated & cloud native

    2. Make a strong case for why unintentional public S3 buckets are bad for security 3. Demo – A security response against public S3 buckets 4. Elaborate on why we want reliability 5. Conclusion on why cloud native SecOps 6. A simplified client case study – If we have time remaining Agenda for the next 20 minutes
  3. • There are many-many ways to meet our security objectives.

    • From my experience for the cloud native workloads, Security Operations need to be cloud native • Some of the audience of this conference may think that I am preaching to the choir • I feel that there is still a lot of merit in discussing specific use cases and drive home this point • I have security expertise, not running large scale prod systems expertise • That is what all of you viewers bring to the table Disclaimer
  4. Num Word What I mean 1. Reliable Our system will

    work without fail and with minimal MTTR 2. Automated Work done which has removed toil. Removed repetition, reduces human error and will scale as per the need 3. Cloud Native Leveraging services of that specific public IaaS cloud (AWS) 4. Security Specifically related to operational security. Runtime once deployed to production Words and What I mean
  5. Not just an alarming news headline A website that downloads

    files from public S3 buckets Access to data for free or 20 Euros per month!
  6. 1. List S3 buckets which are public in an AWS

    account 2. Remediate this security misconfiguration using automation 3. I lied, only two steps as once we have remediated, we can go back and list the buckets again 3 Steps to finding our public S3 buckets & securing them
  7. • Security choices will be made based on output of

    service that we automated for discovery of buckets • The service will become the primary interface, SecOps team members will be trained to respond to this instead of manual discovery. • Over time this will become the way • Beyond a certain scale, only automation will ensure timely coverage Why do we want reliability?
  8. Small agile teams can focus on creating and fulfilling business

    aligned security objectives and key results instead of managing the infrastructure around it Why become Cloud Native for our security operations?
  9. • Focus on solving issues that matter to business first

    • One less server is one less target for attackers • Infra as code, configuration managed as code • Secure defaults backed in • Automation to some extent is inherent • Newer security features can be rolled out • Scale our scope Secure Operations for our Cloud Native Security Operations
  10. • Major reskilling, capability building, and capacity building required •

    Compliance, legal challenges around data, privacy etc. • Already existing security costs in software, hardware and training – (anchoring bias, sunken cost) Challenges that you may face
  11. o Bring in near real time detection and blocking of

    security attacks oAnalyse incidents quickly and with automation oRemediate potential security holes before they become a problem What we would like to achieve from SecOps PoV
  12. 1. Developers create public buckets all the time 2. While

    awareness and security training is on-going (enforcement), this automated monitoring is finding public buckets daily 3. Public bucket which violate the tagging policy reported as security issues (via API) to their vulnerability management dashboard 4. Even though there is a gap in finding reported and remediation, the team has real data now. 5. This makes it easy for the secops to have relevant conversations with the team members A client case study