Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 01 · Security · Think Like an Attacker · about 18 min to read

Play it as a journeyTutor comes with a plan

Robots that hunt bugs: SAST, DAST, SCA and fuzzing

Application Hardening
Application Hardening · Open board

: the habits that keep an app safe. This lesson puts four of them on a machine, so they run on every change and nobody has to remember.

Before you start. Review the fix (secure code review) had you review code by hand: follow a value from its source to its sink and check the guard in between. Application Hardening listed the automatic checks in one paragraph and said a dependency scan must run on every change. The risk register (security as a programme) gave you the CVE, a public id for one known flaw in one product, and the CVSS score that says how bad it is. When memory betrays you: overflows, ROP and mitigations showed that a program can read memory it was never given. This lesson builds the four robots that find those bugs before an attacker does. The Assembly Line (CI/CD) gave you CI, the server that runs checks on every change, and that is where the robots live.

Lesson 36 of 39 in Security

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • April 2014: a bug found by a machine that sends bad messages
  • SAST: read the code without running it
  • SCA: check the list of parts you bought
  • DAST: knock on the running app
  • Fuzzing: send inputs nobody planned
  • Coverage-guided fuzzing: keep inputs that reach new code
  • Putting the four robots into CI
  • SAST: pattern, taint and false alarms
  • SCA: ranges, reachability and the lockfile
  • DAST: crawl, attack, compare
  • Fuzzing: the loop in full
  • Where each robot sits in CI

Terms it explains: SAST, SCA, DAST, Fuzzing, Coverage, Common mistakes, false positive, false negative, taint analysis, sanitizers, allowlist vs denylist, canonicalize, CVE, fail securely, hardening, input validation, lockfile, masked variable, OIDC-to-cloud, output encoding, SAST/DAST, SBOM, secret scanning, security headers, security misconfiguration, SLSA/sigstore, supply chain.

Review Security