🚀 Submit a Challenge — SecDim AppSec Village CTF at DEF CON 34 and Win a ROG Xbox Ally

Defensive Programming 1st Core Principle

2h 30mBeginnerSecure Design

Our first defensive programming core principle addresses a major design flaw in many programs. Let's first formalise the problem into a number of anti patterns, then learn how to systematically address them.

Topics

  1. Anti patterns

    Lesson15m

    By far, the majority of security attacks are resulted from trusting an untrusted data. The following anti-patterns can result into this issue.

  2. Principle

    Lesson1h

    We explore "Parse Untrusted Input" by first discussing what parsing is, the difference between parsing and validation, and safety checks that a parser must implement.

  3. Void Safety

    Lesson15m

    First data safety property that a secure parser must implement.

  4. Range Safety

    Lesson15m

    Second data safety property that a secure parser must implement.

  5. Character Set Safety

    Lesson15m

    Third data safety property that a secure parser must implement.

  6. Format Safety

    Lesson15m

    Fourth data safety property that a secure parser must implement.

  7. Semantic Safety

    Lesson15m

    Fifth data safety property that a secure parser must implement.