How to Write Secure Code Training Course
In the wake of major attacks on national infrastructures, security professionals have identified that the majority of vulnerabilities leading to these breaches stem from poor and insecure code written by developers.
Developers must now master the techniques of writing secure code, as we face a reality where anyone can use available tools to write a script capable of effectively disabling a large organization's systems due to flawed code.
This course aims to achieve the following objectives:
- Enable developers to master the techniques of writing secure code
- Assist software testers in verifying application security before deployment to the production environment
- Help software architects understand the risks associated with applications
- Support team leaders in establishing security baselines for developers
- Aid web masters in configuring servers to avoid misconfigurations
Throughout this course, you will examine details of recent cyber attacks and the countermeasures used to stop and prevent them.
You will witness firsthand how developer mistakes have led to catastrophic attacks. By participating in labs during the course, you will apply security controls in practice, gaining the experience and knowledge needed to produce secure code.
Who Should Attend This Course?
This Secure Code training is ideal for professionals in roles such as, but not limited to:
- Web Developers
- Mobile Developers
- Java Developers
- .NET Developers
- Software Architects
- Software Testers
- Security Professionals
- Web Masters
Course Outline
Module 1: Introduction to Secure Coding
- Overview of secure coding practices
- Common vulnerabilities in software
- Importance of secure development life cycle
Module 2: Web, Windows, and Mobile Application Basics
- Introduction to application platforms
- Security implications for each platform
- Best practices for secure development
Module 3: Application Attacks and Exploits
- Cross-Site Scripting (XSS)
- SQL Injection
- Cross-Site Request Forgery (CSRF)
Module 4: Server Attacks and Exploits
- Denial of Service (DoS) attacks
- Buffer Overflow (BOF)
- Common server vulnerabilities
Module 5: Validation and Verification
- Input validation techniques
- Data sanitization and output encoding
- Verifying security measures
Module 6: Security Controls and Countermeasures
- Implementing access control
- Using encryption for data security
- Protecting against common threats
Module 7: Mobile Application Secure Coding
- Security concerns in mobile development
- Implementing secure mobile app architectures
- Handling mobile data securely
Module 8: Security Standards and Testing
- Overview of security standards (e.g., OWASP)
- Testing for security vulnerabilities
- Best practices for security testing
Requirements
- Basic knowledge of any programming language
- Basic knowledge of the software development life cycle
Audience
- Developers
- Software architects
- Security professionals
Need help picking the right course?
How to Write Secure Code Training Course - Enquiry
Testimonials (3)
The labs practice
Angel - Vodacom
Course - How to Write Secure Code
seeing the security threats in action
kesh - Vodacom
Course - How to Write Secure Code
Module3 Applications Attacks and Exploits, XSS, SQL injection Module4 Servers Attacks and Exploits, DOS, BOF
Tshifhiwa - Vodacom
Course - How to Write Secure Code
Upcoming Courses
Related Courses
ABAP Secure code
14 HoursUpon completion of this training, participants will be able to:
- Explain application security and vulnerabilities
- Describe ABAP programming best practices and handling of SY-SUBRC
- Understand injection vulnerabilities
- Describe security testing tools
- Explain ATC and CVA
Course Format
- Interactive lecture and discussion.
- Extensive exercises and practice.
- Hands-on implementation in a live-lab environment.
Applications Security Foundation
21 HoursThis course addresses the essential secure coding topics crucial for a wide range of web application developers. Participants will learn the core principles of secure programming by examining specific code segments, identifying potential security vulnerabilities, and implementing effective remediation strategies.
Throughout the training, you will observe demonstrations of real-world attack vectors and learn how to mitigate them, building confidence in your ability to enhance the security posture of your applications.
Duration: 3 days
Target Audience: Developers seeking to expand their expertise in secure coding practices.
Upon Completion
• Participants will gain knowledge in:
• Web Application Security.
• Common Web Application Risks.
• Penetration Testing of Demo Web Applications.
• Data Validation.
• Authentication.
• Session Management.
• Secure SDLC.
Android Security
14 HoursAndroid serves as an open platform for mobile devices, including smartphones and tablets. While it offers a wide array of security features to facilitate the development of secure software, it also lacks certain security aspects found in other handheld platforms. This course provides a thorough overview of these features, highlighting critical gaps related to the underlying Linux system, file structure, and general environment, as well as issues concerning permissions and other Android development components.
The course details typical security pitfalls and vulnerabilities for both native code and Java applications, offering recommendations and best practices to avoid and mitigate these risks. Many discussed issues are illustrated with real-life examples and case studies. Additionally, the course provides a brief guide on using security testing tools to identify security-related programming bugs.
Participants attending this course will
- Understand fundamental concepts of security, IT security, and secure coding
- Learn about security solutions available on Android
- Learn to utilize various security features of the Android platform
- Gain information on recent Java vulnerabilities on Android
- Learn about common coding mistakes and how to prevent them
- Gain insight into native code vulnerabilities on Android
- Recognize the severe consequences of insecure buffer handling in native code
- Understand architectural protection techniques and their weaknesses
- Obtain sources and further readings on secure coding practices
Audience
Professionals
Network Security and Secure Communication
21 HoursDeveloping secure networked applications can be challenging, even for developers experienced with cryptographic building blocks like encryption and digital signatures. To help participants grasp the role and application of these cryptographic primitives, this course establishes a solid foundation on the core requirements of secure communication—including secure acknowledgment, integrity, confidentiality, remote identification, and anonymity. It also highlights common threats to these requirements alongside practical real-world solutions.
Since cryptography is a critical component of network security, the course covers essential algorithms in symmetric cryptography, hashing, asymmetric cryptography, and key agreement. Rather than focusing on complex mathematical theory, the content approaches these topics from a developer's perspective, illustrating typical use cases and practical considerations such as public key infrastructures. Additionally, various security protocols are introduced, with a detailed examination of widely used families like IPSEC and SSL/TLS.
The course addresses typical crypto vulnerabilities associated with specific algorithms and protocols, such as BEAST, CRIME, TIME, BREACH, FREAK, Logjam, Padding oracle, Lucky Thirteen, POODLE, and RSA timing attacks. For each issue, practical implications and potential consequences are explained without delving into deep mathematical details.
Finally, as XML technology is central to data exchange in networked applications, the course explores its security aspects. This includes the use of XML in web services and SOAP messages, protection mechanisms like XML signature and XML encryption, and vulnerabilities such as XML injection, XML external entity (XXE) attacks, XML bombs, and XPath injection.
Participants attending this course will
- Understand basic concepts of security, IT security, and secure coding
- Understand the requirements of secure communication
- Learn about network attacks and defenses at different OSI layers
- Have a practical understanding of cryptography
- Understand essential security protocols
- Understand some recent attacks against cryptosystems
- Get information about some recent related vulnerabilities
- Understand security concepts of Web services
- Get sources and further readings on secure coding practices
Audience
Developers, Professionals
C/C++ Secure Coding
21 HoursThis three-day program provides a comprehensive overview of protecting C/C++ code from malicious exploitation, focusing on vulnerabilities related to memory management and input handling. Participants will learn the fundamental principles of writing robust and secure software.
Advanced Java Security
21 HoursEven seasoned Java developers do not always fully master the array of security services provided by Java, nor are they consistently aware of the diverse vulnerabilities that impact web applications built with Java.
Beyond introducing the security components of Standard Java Edition, this course addresses security challenges in Java Enterprise Edition (JEE) and web services. The discussion of specific services begins with the fundamentals of cryptography and secure communication. A variety of exercises explore declarative and programmatic security techniques in JEE, while both transport-layer and end-to-end security for web services are examined. Participants engage in practical exercises that allow them to test the discussed APIs and tools hands-on.
The course also reviews and explains the most common and critical programming flaws associated with the Java language and platform, as well as web-related vulnerabilities. In addition to typical errors made by Java programmers, the covered security vulnerabilities include both language-specific issues and problems arising from the runtime environment. Each vulnerability and its corresponding attack vectors are demonstrated through accessible exercises, followed by recommended coding guidelines and potential mitigation strategies.
Participants attending this course will
- Grasp the fundamental concepts of security, IT security, and secure coding
- Learn about web vulnerabilities beyond the OWASP Top Ten and understand how to avoid them
- Comprehend the security concepts underlying web services
- Acquire skills in utilizing various security features of the Java development environment
- Gain a practical understanding of cryptography
- Understand the security solutions available in Java EE
- Identify typical coding mistakes and learn how to prevent them
- Receive information on recent vulnerabilities within the Java framework
- Obtain practical experience with security testing tools
- Access resources and further reading on secure coding practices
Audience
Developers
Standard Java Security
14 HoursDescription
While the Java language and Runtime Environment (JRE) were designed to eliminate many of the critical security vulnerabilities found in languages like C and C++, developers and architects must go beyond simply utilizing Java's built-in security features (positive security). They must also maintain a keen awareness of the numerous vulnerabilities that remain pertinent to Java development (negative security).
The course begins with a concise overview of cryptographic foundations, establishing a common baseline to help participants understand the purpose and functionality of the relevant components. This knowledge is then applied through practical exercises, allowing attendees to experiment with the discussed APIs firsthand.
Additionally, the curriculum examines the most frequent and severe programming flaws specific to the Java language and platform. This includes both typical errors made by Java programmers and issues unique to the language and its environment. All identified vulnerabilities and associated attacks are demonstrated through accessible exercises, followed by recommended coding guidelines and effective mitigation techniques.
Participants attending this course will
- Grasp the fundamental concepts of security, IT security, and secure coding
- Identify web vulnerabilities extending beyond the OWASP Top Ten and learn how to prevent them
- Master the usage of various security features within the Java development environment
- Gain a practical understanding of cryptography
- Avoid common coding mistakes
- Review information regarding recent vulnerabilities in the Java framework
- Access resources and further reading on secure coding practices
Audience
Developers
.NET, C# and ASP.NET Security Development
14 HoursToday, a variety of programming languages are available to compile code for the .NET and ASP.NET frameworks. This environment offers robust tools for security development; however, developers must understand how to apply architecture- and code-level programming techniques to implement desired security functions while preventing vulnerabilities or limiting their exploitation.
The primary objective of this course is to train developers through extensive hands-on exercises on how to prevent untrusted code from executing privileged actions, safeguard resources via strong authentication and authorization, facilitate remote procedure calls, manage sessions, and explore various implementation strategies for specific functionalities, among other topics.
The introduction to different vulnerabilities begins by highlighting typical programming issues encountered when using .NET, while the discussion on ASP.NET vulnerabilities addresses various environment settings and their impacts. Furthermore, the topic of ASP.NET-specific vulnerabilities covers not only general web application security challenges but also specialized issues and attack methods, such as ViewState attacks and string termination attacks.
Participants attending this course will
- Gain a solid understanding of the fundamental concepts of security, IT security, and secure coding
- Learn about web vulnerabilities beyond the OWASP Top Ten and discover methods to avoid them
- Master the use of various security features within the .NET development environment
- Acquire practical expertise in utilizing security testing tools
- Identify typical coding mistakes and learn how to avoid them
- Receive information regarding recent vulnerabilities in .NET and ASP.NET
- Access sources and further readings on secure coding practices
Audience
Developers
The Secure Coding Landscape
14 HoursThis course provides an introduction to fundamental security concepts, offering a broad perspective on vulnerabilities that transcend specific programming languages and platforms. It explains how to manage risks associated with software security across the various phases of the software development lifecycle. Rather than diving into deep technical specifics, the course highlights some of the most critical and prevalent vulnerabilities found in different software development technologies. It also addresses the challenges of security testing, presenting practical techniques and tools that can be applied to identify existing issues in your code.
Upon completion, participants will be able to:
- Grasp the basic concepts of security, IT security, and secure coding practices.
- Understand web vulnerabilities affecting both server-side and client-side environments.
- Recognize the severe consequences of improper buffer handling.
- Stay informed about recent vulnerabilities affecting development environments and frameworks.
- Learn to identify typical coding mistakes and how to prevent them.
- Understand security testing approaches and methodologies.
Intended Audience
Managers
Secure coding in PHP
21 HoursThis course equips PHP developers with the vital skills needed to build applications that are resilient against modern internet-based threats. Participants will explore web vulnerabilities through practical PHP examples that extend beyond the OWASP Top Ten list. The curriculum covers a wide range of attack vectors, including various injection attacks, script injections, weaknesses in PHP session handling, insecure direct object references, and file upload issues. PHP-related vulnerabilities are categorized into standard types such as missing or inadequate input validation, improper error and exception handling, misuse of security features, and time- and state-dependent issues. Specific advanced attacks discussed include open_basedir bypass, denial-of-service via magic floats, and hash table collision attacks. In every scenario, participants will master the key techniques and functions required to mitigate these risks.
A dedicated focus is placed on client-side security, addressing issues within JavaScript, Ajax, and HTML5. The course introduces essential PHP security extensions, such as hash, mcrypt, and OpenSSL for cryptography, as well as Ctype, ext/filter, and HTML Purifier for robust input validation. Best practices for hardening the environment are covered, including PHP configuration (php.ini settings), Apache server configurations, and general server security. Finally, the course provides an overview of various security testing tools and techniques available to developers and testers, including security scanners, penetration testing, exploit packs, sniffers, proxy servers, fuzzing tools, and static source code analyzers.
Both the introduction of vulnerabilities and the configuration guidelines are reinforced through hands-on exercises. These activities demonstrate the impact of successful attacks, illustrate the application of mitigation strategies, and introduce the practical use of various extensions and security tools.
Participants attending this course will
- Gain a clear understanding of core security concepts, IT security principles, and secure coding standards.
- Identify web vulnerabilities beyond the OWASP Top Ten and learn how to prevent them.
- Understand client-side vulnerabilities and implement secure coding practices.
- Develop a practical understanding of cryptography.
- Learn how to effectively utilize PHP's built-in security features.
- Recognize common coding mistakes and understand how to avoid them.
- Stay informed about recent vulnerabilities affecting PHP frameworks.
- Acquire practical experience with security testing tools.
- Access resources and further reading materials on secure coding practices.
Audience
Developers
Microsoft SDL Core
14 HoursThe Combined SDL core training provides an in-depth look at secure software design, development, and testing within the framework of the Microsoft Secure Development Lifecycle (SDL). It offers a foundational overview of SDL's essential components, followed by design techniques aimed at identifying and resolving vulnerabilities during the early stages of the development process.
During the development phase, the course outlines common security-related programming errors found in both managed and native code. It presents attack vectors for these vulnerabilities alongside corresponding mitigation strategies. Through a series of hands-on exercises that offer participants engaging, live hacking experiences, these concepts are practically demonstrated. The training then introduces various security testing methods and showcases the effectiveness of different testing tools. Participants gain a clear understanding of how these tools operate by applying them to previously discussed vulnerable code in practical exercises.
Participants attending this course will
Comprehend the fundamental concepts of security, IT security, and secure coding
Become familiar with the critical steps of the Microsoft Secure Development Lifecycle
Master secure design and development practices
Learn the principles of secure implementation
Understand security testing methodology
- Access resources and further reading materials on secure coding practices
Audience
Developers, Managers
Security Testing
14 HoursUpon mastering the fundamentals of vulnerabilities and attack vectors, participants will explore the comprehensive methodologies and techniques used in security testing to uncover specific flaws. The process begins with information gathering regarding the system under evaluation (ToC), followed by rigorous threat modeling to identify and prioritize all potential threats. This leads to the development of a risk-based test plan.
Security assessments are integral to various stages of the Software Development Life Cycle (SDLC). This course covers design and code reviews, reconnaissance, implementation testing, and environment hardening for secure deployment. Detailed instruction is provided on techniques such as taint analysis, heuristic code reviews, static code analysis, dynamic web vulnerability testing, and fuzzing. Participants will also learn to utilize tools that automate the security evaluation of software, reinforced by hands-on exercises where these tools are applied to previously discussed vulnerable code. Additionally, real-world case studies are used to deepen understanding of diverse vulnerabilities.
This course equips testers and QA professionals with the ability to effectively plan and execute security tests, select optimal tools and techniques to detect hidden security flaws, and acquire practical skills immediately applicable in the workplace.
Participants attending this course will
- Grasp the fundamental concepts of security, IT security, and secure coding
- Identify web vulnerabilities beyond the OWASP Top Ten and learn mitigation strategies
- Understand client-side vulnerabilities and secure coding practices
- Comprehend security testing approaches and methodologies
- Gain practical experience using security testing techniques and tools
- Access resources and further reading on secure coding practices
Audience
Developers, Testers
Secure Web Application Development and Testing
21 HoursProtecting web-accessible applications demands security professionals who are constantly vigilant regarding emerging attack vectors and trends. While a wide array of technologies and environments facilitate the comfortable development of web applications, professionals must not only understand platform-specific security issues but also grasp general vulnerabilities that apply regardless of the development tools used.
This course provides a comprehensive overview of security solutions for web applications, with a special emphasis on understanding the critical cryptographic mechanisms required for robust security. We explore web application vulnerabilities on both the server side (aligned with the OWASP Top Ten) and the client side. Each vulnerability class is demonstrated through relevant attack scenarios, followed by recommended coding techniques and mitigation strategies to prevent associated risks. The module on secure coding concludes by addressing common security-related programming errors, such as flaws in input validation, misconfiguration of security features, and poor code quality.
Testing is pivotal in ensuring the security and resilience of web applications. A variety of approaches—from high-level auditing and penetration testing to ethical hacking—can be employed to uncover diverse vulnerabilities. However, to go beyond easily exploitable issues, security testing must be meticulously planned and executed. It is crucial to remember that while security testers should ideally identify all bugs to fully protect a system, an adversary only needs to find a single exploitable vulnerability to breach it.
Practical exercises are designed to deepen the understanding of web application vulnerabilities and programming mistakes, with a strong focus on mitigation techniques. Through hands-on trials with a range of tools—including security scanners, sniffers, proxy servers, fuzzing tools, and static source code analyzers—this course equips participants with essential practical skills that can be immediately applied in the workplace.
Participants attending this course will
- Grasp fundamental concepts of security, IT security, and secure coding
- Learn about web vulnerabilities beyond the OWASP Top Ten and understand how to avoid them
- Study client-side vulnerabilities and secure coding best practices
- Gain a practical understanding of cryptography
- Understand security testing approaches and methodologies
- Acquire practical knowledge in applying security testing techniques and tools
- Stay informed about recent vulnerabilities across various platforms, frameworks, and libraries
- Access sources and further reading materials on secure coding practices
Audience
Developers, Testers
CYBERSECURE CODER (CSC)
21 HoursThis course is designed for professionals such as software developers, testers, and architects involved in creating software using various programming languages and platforms, including desktop, web, cloud, and mobile. It aims to enhance their ability to produce high-quality software, with a specific focus on security and privacy aspects.
DevOps Security: Creating a DevOps Security Strategy
7 HoursIn this instructor-led, live course in the UAE, participants will learn how to formulate a proper security strategy to address the challenges of DevOps security.