Back to course catalog

Secure coding master course for telecoms

CL-ITELC
5 days
Java, Web, C/C++
Course page in PDF Inquiry

Course information

Preparedness

Advanced Java, Web and C/C++ development

Exercises

Hands-on

Delivery methods

Classroom

Course Reviews

I liked the organization and the good overview of problems that I didn't know I might have to resolve. Good resources (links, examples, notes, exercises, etc.) for further reference.

September 2015, Temecula, CA, USA

View all reviews

Description

Telecommunication is the foundation on which critical infrastructures are built – all modern technologies heavily rely on its security. The continued adoption of IP-based telecommunication and the exposure of telecom equipment opens additional paths for attackers, with a massive increase in security incidents against telecom systems.

The security of customer premises equipment and the prevalence of Internet of Things (IoT) devices is especially critical, as these devices are directly exposed to attackers and potentially resulting in large-scale attacks against users and companies alike. IoT security is recognized by the industry as a critical area of telecommunications, as evidenced by the efforts of the GSM Alliance to produce a set of IoT security guidelines for network operators.

The threats against telecom systems run the gamut from simple-yet-effective DDoS attacks to large-scale exploitation of vulnerabilities in communication equipment. Ultimately, the best way to deal with these challenges, you need motivated secure coders with the right skills and the right attitude to fight security problems: a skilled team of software and network engineers.

This training program exclusively targets engineers developing software applications or network equipment for the healthcare sector. Our dedicated trainers share their experience and expertise through hands-on labs, and give real-life case studies from the telecom industry – engaging participants in hands-on labs to realize the harsh consequences of insecure coding.

Our dedicated trainers share their experience and expertise through hands-on labs, and give real-life case studies from the telecom industry – engaging participants in hands-on labs to realize the harsh consequences of insecure coding.

Participants attending this course will

  • Understand basic concepts of security, IT security and secure coding
  • Understand special threats in the telecom sector
  • Understand regulations and standards
  • 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
  • Have a practical understanding of cryptography
  • Learn about network attacks and defenses at different OSI layers
  • Learn about typical coding mistakes and how to avoid them
  • Get information about some recent vulnerabilities in the Java framework
  • Learn to use various security features of the Java development environment
  • Understand security concepts of Web services
  • Realize the severe consequences of unsecure buffer handling in native code
  • Understand the architectural protection techniques and their weaknesses
  • Realize the severe consequences of unsecure buffer handling
  • Learn about denial of service attacks and protections
  • Get sources and further readings on secure coding practices

Outline

  • IT security and secure coding
  • Special threats in the telecom sector
  • Regulations and standards
  • Web application security
  • Client-side security
  • Practical cryptography
  • Network security
  • Common coding errors and vulnerabilities
  • Foundations of Java security
  • Java security services
  • Secure communication in Java
  • x86 machine code, memory layout and stack operations
  • Buffer overflow
  • Some additional native code-related vulnerabilities
  • Denial of service
  • Principles of security and secure coding
  • Knowledge sources

Table of Contents

  • 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
        • Reasons of difficulty
        • From an infected computer to targeted attacks
    • Special threats in the telecom sector
      • Threats in telecom
      • Threats in telecom – trends
      • Attacker model
      • Attack response
      • Most significant targets
      • Attack vectors
    • Regulations and standards
      • ITU-T X.805 RecommendationSecurity architecture for systems providing end-to-end communications
        • Overview
        • Security dimensions
        • Security layers
        • Security planes
        • Architecture
        • Security threats (X.800)
      • GSMA IoT Security Guidelines for Network Operators
        • Overview and scope
        • Network security considerations for IoT
        • Service security considerations for IoT
      • Technical Guideline on Security measures for Article 4 and Article 13a
        • D1-2
        • D3-4
        • D5-7
    • 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
          • Effect of data storage frameworks on SQL injection in Java
        • Other injection flaws
          • Command injection
          • Case study – ImageMagick
      • 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
        • Preventing entity-related attacks
        • 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
      • Cross-Site Scripting (XSS)
        • Persistent XSS
        • Reflected XSS
        • DOM-based XSS
        • Exercise – Cross Site Scripting
        • XSS prevention
      • Insecure deserialization
        • Deserialization basics
        • Security challenges of deserialization
        • Deserialization in Java
        • From deserialization to code execution
        • POP payload targeting the Apache Commons gadget (Java)
        • Real-world Java examples of deserialization vulnerabilities
        • Issues with deserialization – JSON
        • Best practices against deserialization vulnerabilities
  • Day 2
    • Client-side security
      • JavaScript security
      • Same Origin Policy
      • Cross Origin Resource Sharing (CORS)
      • Clickjacking
        • Clickjacking
        • Exercise – Do you Like me?
        • Protection against Clickjacking
        • Anti frame-busting – dismissing protection scripts
        • Protection against busting frame busting
    • 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 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
        • The RSA algorithm
          • Introduction to RSA algorithm
          • Encrypting with RSA
          • Combining symmetric and asymmetric algorithms
          • Digital signing with RSA
      • 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
    • Network security
      • Overview
        • The TCP/IP stack
      • Data Link layer
        • Sniffing attacks
          • What is a sniffer?
          • A revision on hubs and switches
          • MAC flooding
        • Spoofing
          • Spoofing attacks
          • Address Resolution Protocol (ARP)
          • ARP spoofing
          • Dynamic Host Configuration Protocol (DHCP)
          • DHCP starvation
        • Man-in-the-Middle
          • Man-in-the-Middle
          • Man-in-the-Middle with ARP poisoning
          • Rogue DHCP server
        • Attacks against VLANs
          • VLANs, Native VLANs, DTP
          • VLAN hopping, Switch spoofing
          • Double tagging
        • Data Link layer protections
          • Segmentation
          • Detecting sniffing tools
          • VLAN security
          • Port Security
          • DHCP snooping
          • Dynamic ARP Inspection (DAI)
          • Private VLANs
      • Network layer
        • IP address spoofing
        • Maximum Transmission Unit
        • Fragmentation attack
        • ICMP attacks
          • Internet Control Message Protocol (ICMP)
          • Smurf attack
          • Ping of death
          • Route hijacking
        • Network layer protections
          • Ingress filtering, Egress filtering
          • IP Source Guard
          • Firewalls
          • Packet filtering firewalls
          • Intrusion Detection/Prevention Systems
      • Transport layer
        • Transmission Control Protocol (TCP)
          • Transmission Control Protocol
          • SYN flood
          • TCP session hijacking
        • User Datagram Protocol (UDP)
          • User Datagram Protocol
          • UDP flooding
        • Routing protocols
          • Routing protocols
        • Fingerprinting and service detection
          • connect() scan
          • SYN scan
          • FIN scan
          • X-mas scan
        • Transport layer protection
          • SYN proxy
          • SYN cookies
          • Stateful firewalls
          • Routing protocol security
  • Day 3
    • Common coding errors and vulnerabilities
      • Improper use of security features
        • Typical problems related to the use of security features
        • 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!
        • Password management
          • Exercise – Weakness of hashed passwords
          • Password management and storage
          • Special purpose hash algorithms for password storage
          • Argon2 and PBKDF2 implementations in C/C++
          • bcrypt and scrypt implementations in C/C++
          • Argon2 and PBKDF2 implementations in Java
          • bcrypt and scrypt implementations in Java
          • Case study – the Ashley Madison data breach
          • Typical mistakes in password management
          • Exercise – Hard coded passwords
        • Accessibility modifiers
          • Accessing private fields with reflection in Java
          • Exercise Reflection – Accessing private fields with reflection
        • Exercise ScademyPay – Integrity protection weakness
    • Foundations of Java security
      • The Java environment
      • Low-level security – the Java language and environment
        • Java language security
        • Type safety
        • Automatic memory management
        • Java execution overview
        • Bytecode Verifier
        • Class Loader
        • Protecting Java code
      • High-level security – access control
        • Protection domains
        • Security Manager and Access Controller
        • Permission checking
        • Effects of doPrivileged
        • Exercise Jars – Granting permission to signed code
    • Java security services
      • Java security services – architecture
      • Java Cryptographic Architecture
        • Java Cryptography Architecture / Extension (JCA/JCE)
        • Using Cryptographic Service Providers
        • Engine classes and algorithms
        • Exercise Sign – Generating and verifying signatures
    • Secure communication in Java
      • Java Secure Socket Extension (JSSE)
      • Exercise Https – Switching from HTTP to HTTPS
      • 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 4
    • x86 machine code, memory layout and stack operations
      • Intel 80x86 Processors – main registers
      • Intel 80x86 Processors – most important instructions
      • Intel 80x86 Processors – flags
      • Intel 80x86 Processors – control instructions
      • Intel 80x86 Processors – stack handling and flow control
      • The memory address layout
      • The function calling mechanism in C/C++ on x86
      • Calling conventions
      • The local variables and the stack frame
      • Function calls – prologue and epilogue of a function
      • Stack frame of nested calls
      • Stack frame of recursive functions
    • Buffer overflow
      • Stack overflow
        • Buffer overflow on the stack
        • Overwriting the return address
        • Exercises – introduction
        • Exercise BOFIntro
        • Exercise BOFShellcode
      • Protection against stack overflow
        • Specific protection methods
        • Protection methods at different layers
        • The PreDeCo matrix of software security
        • Stack overflow – Prevention (during development)
        • Stack overflow – Detection (during execution)
        • Fortify instrumentation (FORTIFY_SOURCE)
        • Exercise BOFShellcode – Fortify
      • Stack smashing protection
        • Stack smashing protection variants
        • Stack smashing protection in GCC
        • Exercise BOFShellcode – Stack smashing protection
        • Effects of stack smashing protection
      • Address Space Layout Randomization (ASLR)
        • Randomization with ASLR
        • Practical weaknesses and limitations to ASLR
        • Circumventing ASLR: NOP sledding
      • Non executable memory areas – the NX bit
        • Access Control on memory segments
        • The Never eXecute (NX) bit
      • Return-to-libc attack – Circumventing the NX bit protection
        • Circumventing memory execution protection
        • Return-to-libc attack
      • Return oriented programming (ROP)
        • Exploiting with ROP
        • ROP gadgets
    • Some additional native code-related vulnerabilities
      • Boundary violation
        • Array indexing – spot the bug!
        • Off-by-one and other null termination errors
        • The Unicode bug
      • Code quality problems
        • Poor code quality – spot the bug!
        • Unreleased resources
        • Type mismatch – Spot the bug!
        • Exercise TypeMismatch
        • Memory allocation problems
          • Smart pointers
          • Zero length allocation
          • Double free
          • Mixing delete and delete[]
      • Race condition
        • Serialization errors (TOCTTOU)
        • Attacks with symbolic links
        • Exercise TOCTTOU
      • Case study - the Shellshock bash vulnerability
        • Shellshock – basics of using functions in bash
        • Shellshock – vulnerability in bash
        • Exercise - Shellshock
        • Shellshock fix and counterattacks
        • Exercise – Command override with environment variables
  • Day 5
    • Common coding errors and vulnerabilities
      • Input validation
        • Input validation concepts
        • Integer problems
          • Representation of negative integers
          • Integer ranges
          • Integer overflow
          • Integer problems in C/C++
          • The integer promotion rule in C/C++
          • Arithmetic overflow – spot the bug!
          • Exercise IntOverflow
          • What is the value of Math.abs(Integer.MIN_VALUE)?
          • Signedness bug – spot the bug!
          • Integer truncation – spot the bug!
          • Integer problem – best practices
          • Case study – Android Stagefright
        • Path traversal vulnerability
          • Path traversal – best practices
        • Unvalidated redirects and forwards
        • Log forging
          • Some other typical problems with log files
      • Improper error and exception handling
        • Typical problems with error and exception handling
        • Empty catch block
        • Overly broad throws
        • Overly broad catch
        • Using multi-catch
        • Catching NullPointerException
        • Exception handling – spot the bug!
        • Exercise ScademyPay – Error handling
        • Exercise – Error handling
        • Case study – "e;#iamroot"e; authentication bypass in macOS
          • Authentication process in macOS (High Sierra)
          • Incorrect error handling in opendirectoryd
          • The #iamroot vulnerability (CVE-2017-13872)
      • Code quality problems
        • Dangers arising from poor code quality
        • Private arrays – spot the bug!
        • Private arrays – typed field returned from a public method
        • Exercise Object Hijack
        • Public method without final – object hijacking
        • Serialization – spot the bug!
        • Exercise Serializable Sensitive
        • Immutable String – spot the bug!
        • Exercise Immutable Strings
        • Immutability and security
    • 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
      • Hashtable collision attack
        • Using hashtables to store inputs
        • Hashtable collision
        • Hashtable collision in Java
    • 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
      • Java secure coding sources
      • Recommended books – C/C++
      • Recommended books – Java
Show full table of contents

Get more information