Get in Touch

Course Outline

Introduction to Secure C and C++ Development

  • Comprehending secure software development principles
  • Identifying prevalent security risks in C and C++ applications
  • The link between programming errors and security vulnerabilities
  • Adhering to secure coding standards and best practices

Common C and C++ Programming Vulnerabilities

  • Recognising coding errors that introduce security risks
  • Addressing memory safety concerns in C and C++
  • Understanding vulnerability patterns and their potential impact
  • Examining examples of insecure code

Secure Programming Principles

  • Implementing defence-in-depth strategies
  • Writing code that is both robust and maintainable
  • Reducing the attack surface
  • Applying secure design principles to C and C++ applications

Input Validation and Data Handling

  • Recognising the critical importance of input validation
  • Preventing the exploitation of malicious inputs
  • Employing data sanitization techniques
  • Securing the handling of user and external data

Error Handling and Exception Management

  • Risks posed by improper error handling
  • Designing secure mechanisms for error and exception management
  • Preventing information leakage via error messages
  • Building resilient applications

Memory Safety and Buffer Overflow Protection

  • Understanding vulnerabilities related to memory management
  • Stack-based buffer overflows
  • Heap-based buffer overflows
  • Detecting and preventing memory corruption
  • Techniques for safe memory handling

Stack Protection and Runtime Security Features

  • Understanding stack overflow vulnerabilities
  • Security protections provided by compilers
  • Stack canaries and other protection mechanisms
  • Address Space Layout Randomization (ASLR)
  • Security features in modern operating systems

Advanced C++ Security Considerations

  • Securing object lifecycle management
  • Preventing use-after-free vulnerabilities
  • Safe management of pointers and references
  • Mitigating type confusion issues
  • Secure utilization of C++ language features

Secure Coding Tools and Techniques

  • Utilising static analysis tools to detect vulnerabilities
  • Techniques for security-focused code review
  • Approaches to automated security testing
  • Integrating security checks into development workflows

Secure Coding Standards and Best Practices

  • Reviewing industry-standard secure coding guidelines
  • Applying defensive programming techniques
  • Embedding security throughout the software development lifecycle
  • Maintaining secure and reliable C/C++ applications

Practical Secure Coding Workshop

  • Analysing examples of vulnerable C/C++ code
  • Applying security fixes and enhancements
  • Testing code against common vulnerabilities
  • Course summary and recommendations for secure development

Requirements

Fundamental knowledge of C/C++

 21 Hours

Number of participants


Price per participant

Testimonials (6)

Upcoming Courses

Related Categories