APIs and Webhooks - Paiet/SEC-335 GitHub Wiki

Objectives:


  • What is an API?

    • A single web service that can facilitate multiple online sources
      • Less complexity
    • API Services
      • SOAP
      • REST
      • RESTful
      • XML
      • JSON
  • What is a Webhook?

    • Push notifications
  • API Security Risks

  • API Hacking Methodology

    • Identify the Target
    • Detect security standards
    • Identify the attack surface
    • Launch Attack
  • Security countermeasures for APIs and Webhooks

    • API
      • Sanitize User Input
      • Firewalls
      • Rate-Limiting
      • Parameterized Statements
      • Pagination
      • Rate-limiting and throttling
      • MFA
    • Webhooks
      • Require authentication
      • Blacklist calls from unauthorized sources
      • Webhook signing
      • Timestamps
        • X-Cld-Timestamp (timing attacks)
        • X-OP-Timestamp