IQJB részvételi opció 2019

Application security in the cloud

3 nap
210 000 Ft + ÁFA
tanfolyamkezdési időpontok:

A tanfolyam célja

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.

  •     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
  •     Understand essential security protocols
  •     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


  •     IT security and secure coding
  •     Cloud security basics
  •     Threats and risks in the clouds
  •     Cloud security solutions
  •     Security of Web services
  •     Practical cryptography
  •     Security protocols
  •     Web application security
  •     Denial of service
  •     Input validation
  •     Data security in the cloud
  •     Security audit in the cloud
  •     Testing the implementation
  •     Securing the cloud environment
  •     Knowledge sources

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
    •             Reasons of difficulty
    •             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

    Security of Web services

  •         SOAP security
    •             SOAP - Simple Object Access Protocol
    •             Transport layer security
    •             Message level security
  •         Security of RESTful web services
    •             Authentication with REST
    •             Authorization with REST
    •             Vulnerabilities in connection with REST
  •         XML security
    •             Introduction
    •             XML parsing
    •             XML injection
      •                 (Ab)using CDATA to store XSS payload in XML
      •                 Exercise – XML injection


2. Practical cryptography

  •         Cryptosystems
    •             Elements of a cryptosystem
  •         Symmetric-key cryptography
    •             Providing confidentiality with symmetric cryptography
    •             Symmetric encryption algorithms
    •             Block ciphers – 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 numbers and cryptography
    •             Cryptographically-strong PRNGs
    •             Hardware-based TRNGs
  •         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

    Security protocols

  •         Secure network protocols
  •         Specific vs. general solutions
  •         SSL/TLS protocols
    •             Security services
    •             SSL/TLS handshake

    Web application security

  •         Injection
    •             Injection principles
    •             SQL injection
      •                 Exercise – 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
  •         Sensitive data exposure
    •             Sensitive data exposure
  •         XML external entity (XXE)
    •             XML Entity introduction
    •             XML bomb
    •             Exercise – XML bomb
    •             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
  •         Broken access control
    •             Typical access control weaknesses
    •             Insecure direct object reference (IDOR)
    •             Exercise – Insecure direct object reference
    •             Protection against IDOR
    •             Testing for insecure direct object reference
    •             Testing for insecure direct object references
    •             Case study – Facebook Notes

    Denial of service

  •         DoS introduction
  •         Asymmetric DoS
  •         SSL/TLS renegotiation DoS
  •         Asymmetric DOS with JSON deserialization
  •         Regular expression DoS (ReDoS)
    •             Exercise ReDoS
    •             ReDoS mitigation
    •             Case Study – ReDos in Stack Exchange
    •             Economic Denial of Sustainability (EDoS)
  •         Hashtable collision attack
    •             Using hashtables to store inputs
    •             Hashtable collision
    •             Hashtable collision in Java

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 mitigation
  •         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 study: Past MongoDB weaknesses and vulnerabilities
    •             Unsecured MongoDB instances exposed to the Internet
    •             CVE-2014-3971 – Crash when processing malformed certificate
    •             CVE-2015-1609 – Denial of service via Unicode string

    Security audit in the cloud

  •         Functional testing vs. security testing
  •         Security vulnerabilities
  •         Prioritization – risk analysis
  •         Security in the SDLC
  •         Security assessments in various SDLC phases
  •         Security testing techniques and tools
    •             General testing approaches

    Testing the implementation

  •         Dynamic security testing
  •         Manual vs. automated security testing
  •         Penetration testing
  •         Stress tests
  •         Proxy servers and sniffers
    •             Testing with proxies and sniffers
    •             Packet analyzers and proxies
    •             Exercise – Testing with proxy
  •         Web vulnerability scanners
    •             Exercise – Using a vulnerability scanner
    •             SQL injection tools
    •             Exercise – Using SQL injection tools

    Securing the cloud environment
        Configuration management

  •         Hardening
  •         Patch management
  •         Cloud deployment environment
  •         Assumed security and misconfiguration in the cloud
  •         Assessing the environment
    •             Assessing the environment
  •         Insecure randomness
    •             Weak PRNGs in C and C++
    •             Stronger PRNGs in C
    •             Weak PRNGs in Java
    •             Exercise RandomTest
    •             Using random numbers in Java – spot the bug!
  •         Vulnerability management
    •             Insecure APIs in the cloud
    •             Vulnerability repositories
    •             Vulnerability attributes
    •             Common Vulnerability Scoring System – CVSS
    •             Vulnerability scanners
  •         Case study - Heartbleed
    •             TLS Heartbeat Extension
    •             Heartbleed – information leakage in OpenSSL
  •         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

Kinek ajánljuk


Cloud computing basics, software development

Kapcsolódó tanfolyamok

Ajánlja másoknak is!