Overview

Migrating to the cloud introduces immense benefits for companies and individuals in terms of efficiency and costs. With respect to security, the effects are quite diverse, but it is a common perception that using cloud services impacts security in a positive manner. Opinions, however, diverge many times even on defining who is responsible for ensuring the security of cloud resources.

Covering IaaS, PaaS and SaaS, first the security of the infrastructure is discussed: hardening and configuration issues as well as various solutions for authentication and authorization alongside identity management that should be at the core of all security architecture. This is followed by some basics regarding legal and contractual issues, namely how trust is established and governed in the cloud.

The journey through cloud security continues with understanding cloud-specific threats and the attackers’ goals and motivations as well as typical attack steps taken against cloud solutions. Special focus is also given to auditing the cloud and providing security evaluation of cloud solutions on all levels, including penetration testing and vulnerability analysis.

The focus of the course is on application security issues, dealing both with data security and the security of the applications themselves. From the standpoint of application security, cloud computing security is not substantially different than general software security, and therefore basically all OWASP-enlisted vulnerabilities are relevant in this domain as well. It is the set of threats and risks that makes the difference, and thus the training is concluded with the enumeration of various cloud-specific attack vectors connected to the weaknesses discussed beforehand.

Read more

Prerequisites

An understanding of cloud computing and software development concepts.

Read more

Delegates will learn how to

  • Understand basic concepts of security, IT security and secure coding
  • Understand major threats and risks in the cloud domain
  • Learn about elementary cloud security solutions
  • Understand security concepts of Web services
  • Learn about XML security
  • Have a practical understanding of cryptography
  • Learn Web vulnerabilities beyond OWASP Top Ten and know how to avoid them
  • Learn about denial of service attacks and protections
  • Learn typical input validation mistakes
  • Understand data security challenges in the cloud
  • Learn about NoSQL security
  • Learn about MongoDB security
  • Understand the challenges of auditing and evaluating cloud systems for security
  • Learn how to secure the cloud environment and infrastructure
  • Learn how to set up and operate the deployment environment securely
  • Get sources and further readings on secure coding practices
Read more

Outline

DAY 1

  • IT security and secure coding
  • Nature of security
  • What is risk?
  • IT security vs. secure coding
  • From vulnerabilities to botnets and cybercrime
    • Nature of security flaws
    • From an infected computer to targeted attacks
    • The Seven Pernicious Kingdoms
    • OWASP Top Ten 2017

Cloud security basics

  • Introduction to cloud security
    • What makes cloud applications different?
    • Cloud delivery models and security
    • Public and private clouds
    • Security challenges in the cloud

Threats and risks in the clouds

  • Requirements and threats of cloud computing
    • The Jericho Cloud Cube model
    • The Jericho Cloud Cube model – Requirements specification
    • Cloud deployment models vs risks
  • Threat modeling
    • Attacker profiles
    • Main attacker profiles in the cloud
    • Threat modeling
    • Threat modeling based on attack trees
    • Threat modeling based on misuse/abuse cases
    • Misuse/abuse cases – a simple example
    • SDL threat modeling
    • The STRIDE threat categories
    • Diagramming – elements of a DFD
    • Data flow diagram – example
    • Threat enumeration – mapping STRIDE to DFD elements
    • Risk analysis – classification of threats
    • Standard mitigation techniques of MS SDL
  • Cloud-specific threats
    • Cloud abuse by the attackers
    • Insider threats – malicious other tenants
    • Problems stemming from virtualization
    • Elevation of privilege
    • Leakage of sensitive information
    • Hard coded secrets
    • Exercise – Hard coded passwords
    • Intellectual property exposure
    • Insecure delegation

Cloud security solutions

  • Container security
    • Virtualization techniques
    • Containers vs. VMs
    • Evolution of process isolation
    • POSIX capabilities
    • Linux Containers – LXC
    • Docker
    • Linking Docker containers
    • Docker and POSIX capabilities
    • Docker API
    • Docker container related threats
    • Docker best practices
  • XML security
    • Introduction
    • XML parsing
    • XML injection
    • (Ab)using CDATA to store XSS payload in XML
    • Exercise – XML injection
    • Protection through sanitization and XML validation
    • XML bomb
    • Exercise – XML bomb

DAY 2

Practical cryptography

  • Rule #1 of implementing cryptography
  • Cryptosystems
    • Elements of a cryptosystem
  • Symmetric-key cryptography
    • Providing confidentiality with symmetric cryptography
    • Symmetric encryption algorithms
    • Modes of operation
  • Other cryptographic algorithms
    • Hash or message digest
    • Hash algorithms
    • SHAttered
    • Message Authentication Code (MAC)
    • Providing integrity and authenticity with a symmetric key
    • Random number generation
    • Random numbers and cryptography
    • Cryptographically-strong PRNGs
    • Hardware-based TRNGs
    • Testing random number generators
  • Asymmetric (public-key) cryptography
    • Providing confidentiality with public-key encryption
    • Rule of thumb – possession of private key
    • Combining symmetric and asymmetric algorithms
  • Public Key Infrastructure (PKI)
    • Man-in-the-Middle (MitM) attack
    • Digital certificates against MitM attack
    • Certificate Authorities in Public Key Infrastructure
    • X.509 digital certificate
  • Web application security
    • Injection
    • Injection principles
    • SQL injection
    • Exercise – SQL injection
    • Typical SQL Injection attack methods
    • Blind and time-based SQL injection
    • SQL injection protection methods
    • Detecting SQL Injection
    • Detecting SQL Injection – Typical tests
    • Detecting SQL Injection – Bypass defenses
    • Other injection flaws
    • Command injection
    • Detecting command injection
    • Case study – ImageMagick
  • Broken authentication
    • Session handling threats
    • Session handling best practices
    • Setting cookie attributes – best practices
  • XML external entity (XXE)
    • XML Entity introduction
    • XML external entity attack (XXE) – resource inclusion
    • XML external entity attack – URL invocation
    • XML external entity attack – parameter entities
    • Exercise – XXE attack
    • Case study – XXE in Google Toolbar
  • Cross-Site Scripting (XSS)
    • Persistent XSS
    • Reflected XSS
    • DOM-based XSS
    • Exercise – Cross Site Scripting
    • XSS prevention
    • Detecting XSS vulnerabilities
    • Bypassing XSS filters

Denial of service

  • DoS introduction
  • Economic Denial of Sustainability (EDoS)
  • Asymmetric DoS
  • Regular expression DoS (ReDoS)
    • Exercise ReDoS
    • ReDoS mitigation
    • Case study – ReDos in Stack Exchange
  • Hashtable collision attack
    • Using hashtables to store data
    • Hashtable collision
    • Hashtable collision in Java

DAY 3

Input validation

  • Input validation concepts
  • Integer problems
    • Representation of negative integers
    • Integer overflow
    • Exercise IntOverflow
    • What is the value of Math.abs(Integer.MIN_VALUE)?
    • Integer problem – best practices
    • Integer problem – best practices
    • Avoiding arithmetic overflow – addition
    • Avoiding arithmetic overflow – multiplication
    • Detecting arithmetic overflow in Java 8
    • Exercise – Using addExact() in Java
    • Testing for integer problems
  • Path traversal vulnerability
    • Path traversal – weak protections
    • Path traversal – best practices
  • Unvalidated redirects and forwards
  • Log forging
    • Some other typical problems with log files

Data security in the cloud

  • Data at rest and in motion
  • Data security lifecycle in the cloud
  • Controls for data at rest
  • Controls for data in motion
  • NoSQL security
    • NoSQL introduction
    • NoSQL attack vectors
    • NoSQL authentication issues
  • MongoDB security
    • MongoDB introduction
    • MongoDB security architecture and features
    • Authentication and access control
    • Document validation in MongoDB
    • Securing MongoDB communication via TLS
    • Secure configuration and hardening
    • Typical MongoDB security issues
    • NoSQL injection in MongoDB
    • Exercise – MongoDB NoSQL injection
    • Preventing NoSQL injection – Mongoose
    • Case studies: some past MongoDB weaknesses and vulnerabilities

Security audit in the cloud

  • Functional testing vs. security testing
  • Security vulnerabilities
  • Prioritization – risk analysis
  • Security testing techniques and tools
    • General testing approaches

Dynamic security testing

  • Manual vs. automated security testing
  • Web vulnerability scanners
    • Exercise – Using a vulnerability scanner
    • SQL injection tools
    • Exercise – Using SQL injection tools

Securing the cloud environment

  • Assessing the environment
  • Patch and vulnerability management
    • Patch management
    • Insecure APIs in the cloud
    • Vulnerability repositories
    • Vulnerability attributes
    • Common Vulnerability Scoring System – CVSS
    • Vulnerability management software
    • Exercise – checking for vulnerable packages
    • Case study - Shellshock
    • Shellshock – basics of using functions in bash
    • Shellshock – vulnerability in bash
    • Exercise - Shellshock
    • Shellshock fix and counterattacks
    • Exercise – Command override with environment variables

Knowledge sources

  • Secure coding sources – a starter kit
  • Vulnerability databases
  • Recommended books – cloud security
Read more

Scademy

In partnership with our Secure Coding partner Scademy.

Click here to view all our Scademy courses.

ELCAS Enhanced Learning Credits Administration Service

 

 

 

 

 

QA is an approved training provider for ELCAS, proud to support service leavers in their transition into the tech industry.

Learn more

NCSC Assured Training

Why choose QA

Dates & Locations

Cyber Security learning paths

Want to boost your career in cyber security? Click on the roles below to see QA's learning pathways, specially designed to give you the skills to succeed.

Required Star = Required
Certification = Certification
Application Security
Cloud Security
Information Security Management
Security Risk
Cyber Tech Generalist
DFIR Digital Forensics & Incident Response
Industrial Controls & OT Security
NIST Pathway
OffSec
Privacy Professional
Security Auditor
Secure Coding
Cyber Blue Team
Vulnerability Assessment & Penetration Testing
AI Security
Reverse Engineer
Security Architect

Software Engineering learning paths

Want to boost your career in software engineering? Click on the roles below to see QA's learning pathways, specially designed to give you the skills to succeed.

Required Star = Required
Certification = Certification
Front End Developer
Back End Developer Java
Back End Developer .NET
Cloud Developer AWS
Cloud Developer Azure
Application Security
Secure Coding

Secure Engineering learning paths

Want to boost your career in Secure Engineering? View QA's learning pathway below, specially designed to give you the skills to succeed.

Required Star = Required
Certification = Certification
Application Security
Secure Coding
Security Architect

Frequently asked questions

See all of our FAQs

How can I create an account on myQA.com?

There are a number of ways to create an account. If you are a self-funder, simply select the "Create account" option on the login page.

If you have been booked onto a course by your company, you will receive a confirmation email. From this email, select "Sign into myQA" and you will be taken to the "Create account" page. Complete all of the details and select "Create account".

If you have the booking number you can also go here and select the "I have a booking number" option. Enter the booking reference and your surname. If the details match, you will be taken to the "Create account" page from where you can enter your details and confirm your account.

Find more answers to frequently asked questions in our FAQs: Bookings & Cancellations page.

How do QA’s virtual classroom courses work?

Our virtual classroom courses allow you to access award-winning classroom training, without leaving your home or office. Our learning professionals are specially trained on how to interact with remote attendees and our remote labs ensure all participants can take part in hands-on exercises wherever they are.

We use the WebEx video conferencing platform by Cisco. Before you book, check that you meet the WebEx system requirements and run a test meeting (more details in the link below) to ensure the software is compatible with your firewall settings. If it doesn’t work, try adjusting your settings or contact your IT department about permitting the website.

Learn more about our Virtual Classrooms.

How do QA’s online courses work?

QA online courses, also commonly known as distance learning courses or elearning courses, take the form of interactive software designed for individual learning, but you will also have access to full support from our subject-matter experts for the duration of your course. When you book a QA online learning course you will receive immediate access to it through our e-learning platform and you can start to learn straight away, from any compatible device. Access to the online learning platform is valid for one year from the booking date.

All courses are built around case studies and presented in an engaging format, which includes storytelling elements, video, audio and humour. Every case study is supported by sample documents and a collection of Knowledge Nuggets that provide more in-depth detail on the wider processes.

Learn more about QA’s online courses.

When will I receive my joining instructions?

Joining instructions for QA courses are sent two weeks prior to the course start date, or immediately if the booking is confirmed within this timeframe. For course bookings made via QA but delivered by a third-party supplier, joining instructions are sent to attendees prior to the training course, but timescales vary depending on each supplier’s terms. Read more FAQs.

When will I receive my certificate?

Certificates of Achievement are issued at the end the course, either as a hard copy or via email. Read more here.

Contact Us

Please contact us for more information