IQJB részvételi opció 2019

Node.js and Web application security

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

A tanfolyam célja

As a developer, your duty is to write bulletproof code. However...

What if we told you that despite all of your efforts, the code you have been writing your entire career is full of weaknesses you never knew existed? What if, as you are reading this, hackers were trying to break into your code? How likely would they be to succeed? What if they could steal away your database and sell it on the black market?

This Web application security course will change the way you look at code. A hands-on training during which we will teach you all of the attackers’ tricks and how to mitigate them, leaving you with no other feeling than the desire to know more.

It is your choice to be ahead of the pack, and be seen as a game changer in the fight against cybercrime.

  •     Understand basic concepts of security, IT security and secure coding
  •     Learn Web vulnerabilities beyond OWASP Top Ten and know how to avoid them
  •     Learn about XML security
  •     Learn client-side vulnerabilities and secure coding practices
  •     Learn about Node.js security
  •     Have a practical understanding of cryptography
  •     Understand security concepts of Web services
  •     Learn about JSON security
  •     Learn about MongoDB security
  •     Learn about typical coding mistakes and how to avoid them
  •     Get information about some recent vulnerabilities in the Java framework
  •     Learn about denial of service attacks and protections
  •     Get practical knowledge in using security testing techniques and tools
  •     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
  •     Web application security
  •     Client-side security
  •     Node.js security
  •     Practical cryptography
  •     Security of Web services
  •     JSON security
  •     MongoDB security
  •     Common coding errors and vulnerabilities
  •     Denial of service
  •     Security testing techniques
  •     Deployment environment
  •     Principles of security and secure coding
  •     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
  •         Classification of security flaws
    •             Landwehr’s taxonomy
    •             The Seven Pernicious Kingdoms
    •             OWASP Top Ten 2017

    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
    •             Other injection flaws
      •                 Command injection
      •                 Command injection exercise – starting Netcat
      •                 Case study – ImageMagick
  •         Broken authentication
    •             Session handling threats
    •             Session handling best practices
  •         Sensitive data exposure
    •             Sensitive data exposure
    •             Transport layer security
  •         XML external entity (XXE)
    •             XML Entity introduction
    •             XML bomb
    •             XML external entity attack (XXE) – resource inclusion
    •             XML external entity attack – URL invocation
    •             XML external entity attack – parameter entities
    •             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
    •             Case study – Facebook Notes
  •         Security misconfiguration
    •             Security misconfiguration
  •         Cross-Site Scripting (XSS)
    •             Persistent XSS
    •             Reflected XSS
    •             DOM-based XSS
    •             Exercise – Cross Site Scripting
    •             Exploitation: CSS injection
    •             Exploitation: injecting the tag
    •             XSS prevention
    •             Node.js encoding and escaping libraries
  •         Insecure deserialization
    •             Deserialization basics
    •             Security challenges of deserialization
    •             From deserialization to code execution
    •             Issues with deserialization – JSON
  •         Using components with known vulnerabilities
  •         Insufficient logging and monitoring
    •             Detection and response
    •             Logging and log analysis
    •             Intrusion detection systems and Web application firewalls

 2. Client-side security

  •         JavaScript security
  •         Same Origin Policy
  •         Cross Origin Resource Sharing (CORS)
  •         Exercise – Client-side authentication
  •         Client-side authentication and password management
  •         Protecting JavaScript code
  •         Exercise – JavaScript obfuscation
  •         Clickjacking
    •             Clickjacking
    •             Exercise – Do you Like me?
    •             Protection against Clickjacking
    •             Anti frame-busting – dismissing protection scripts
    •             Protection against busting frame busting
  •         AJAX security
    •             XSS in AJAX
    •             Script injection attack in AJAX
    •             Exercise – XSS in AJAX
    •             XSS protection in Ajax
    •             Exercise CSRF in AJAX – JavaScript hijacking
    •             CSRF protection in AJAX
  •         HTML5 security
    •             New XSS possibilities in HTML5
    •             HTML5 clickjacking attack – text field injection
    •             HTML5 clickjacking – content extraction
    •             Form tampering
    •             Cross-origin requests
    •             HTML proxy with cross-origin request
    •             Exercise – Client side include

    Node.js security

  •         Node.js introduction
  •         Typical attack surface for a Node.js app
  •         Node.js security architecture and features
    •             Creating your Web server
    •             Express.js security considerations
    •             Using cookie-session and helmet to secure headers and cookies
    •             Authentication
    •             Authorization
    •             Node Package Manager pitfalls
    •             The rimrafall malicious package
    •             The Node Security Project
  •         Common coding mistakes in Node.js
    •             Escaping and filtering difficulties
    •             Node.js Buffer issues
    •             Buffer information leakage in request v2.67.0 and earlier
    •             String null termination problem in Node.js
    •             Global namespace pollution – guess the output!
    •             Eval is evil
    •             Server side code injection
    •             Dangerous JS constructs – spot the bug!
    •             Using strict mode
  •         Vulnerabilities in the Node.js framework
    •             Hardcoded CA certificates
    •             Abusing methodOverride
    •             CVE-2013- – Bypassing XSS filters
    •             CVE-2015-5380 – heap memory corruption in Unicode decoder
    •             CVE-2016-3956 – npm bearer token vulnerability

    Practical cryptography

  •         Symmetric-key cryptography
    •             Providing confidentiality with symmetric cryptography
    •             Symmetric encryption algorithms
  •         Other cryptographic algorithms
    •             Hash or message digest
    •             Hash algorithms
    •             Message Authentication Code (MAC)
    •             Providing integrity and authenticity with a symmetric key
  •         Asymmetric (public-key) cryptography
    •             Providing confidentiality with public-key encryption
    •             Rule of thumb – possession of private key
    •             Combining symmetric and asymmetric algorithms
    •             X.509 digital certificate

    Security of Web services

  •         SOAP security
    •             SOAP - Simple Object Access Protocol
    •             Message level security
  •         Security of RESTful web services
    •             Authentication with REST
    •             Authorization with REST
    •             Vulnerabilities in connection with REST

 3. JSON security

  •             Introduction
  •             JSON parsing
  •             Embedding JSON server-side
  •             JSON injection
  •             JSON hijacking
  •             Case study – XSS via spoofed JSON element

        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

        Common coding errors and vulnerabilities

  •             Input validation
    •                 Input validation concepts
    •                 Integer problems
      •                     Representation of negative integers
      •                     Integer overflow
      •                     Integer issues in Javascript
      •                     Parsing integers in Javascript
      •                     Integer issues in Javascript – guess the output!
      •                     Integer problem – best practices
    •                 Path traversal vulnerability
      •                     Path traversal mitigation
    •                 Unvalidated redirects and forwards
    •                 Log forging
      •                     Some other typical problems with log files
  •             Improper use of security features
    •                 Typical problems related to the use of security features
    •                 Insecure randomness
      •                     Weak PRNGs in Node.js
    •                 Password management
      •                     Exercise – Weakness of hashed passwords
      •                     Password management and storage
      •                     Special purpose hash algorithms for password storage
      •                     Argon2 and PBKDF2 implementations for Node.js
      •                     bcrypt and scrypt implementations for Node.js
      •                     Case study – the Ashley Madison data breach
      •                     Typical mistakes in password management
  •             Improper error and exception handling
    •                 Typical problems with error and exception handling
    •                 Error and exception handling in Node.js
    •                 Empty catch block

        Denial of service

  •             DoS introduction
  •             Asymmetric DoS
  •             SSL/TLS renegotiation DoS
  •             Slowloris-type attacks against Node apps
  •             Denial of service protection in Node.js
  •             Regular expression DoS (ReDoS)
    •                 Exercise ReDoS
    •                 ReDoS mitigation
    •                 Case Study – ReDos in Stack Exchange
  •             Hashtable collision attack
    •                 Using hashtables to store inputs
    •                 Hashtable collision

        Security testing techniques

  •             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
    •                 Web vulnerability scanners
      •                     SQL injection tools
      •                     Exercise – Using SQL injection tools

        Deployment environment

  •             Configuration management
  •             Hardening
  •             Patch management

        Principles of security and secure coding

  •             Matt Bishop’s principles of robust programming
  •             The security principles of Saltzer and Schroeder

        Knowledge sources

  •             Secure coding sources – a starter kit
  •             Vulnerability databases



Kinek ajánljuk


Basic Web application development

Kapcsolódó tanfolyamok

Ajánlja másoknak is!