In-depth lesson · Crypto
Tips for beginners
Every point the Crypto reports back under this heading, best-backed first, each with the reports it is seen in.
-
Avoid reporting configuration hygiene with no demonstrated impact. A missing CAA record, a short HSTS max-age or an absent SPF record is only worth reporting if you can show how it enables a concrete attack, and many programs treat these as informational.
Seen in 10 reports
-
Check the fix, not just the bug. When a program patches a check, retest the sibling backends and the reuse paths, because the evidence shows fixes applied in one place while another path still skips the check.
Seen in 10 reports
-
Test token and secret generation by collecting many samples and analysing them for predictability or low entropy. Check whether the generator is seeded from a clock, whether invitation tokens are short enough to brute force, and whether framework secret keys are default or guessable.
Seen in 9 reports
-
Stay in scope. Many of these findings are in third-party libraries or in protocol versions the program has explicitly excluded. Check the policy before spending time on SSLv2, SSLv3, TLS 1.0, 3DES or SHA-1, and do not report a deprecated protocol the program already knows about.
Seen in 9 reports
-
Test SSH host key handling. Connect with a backend that has no host key callback, or with an invalid signature, and check whether an unknown host key or bad signature is accepted. Also check whether a default protocol setting that selects SSH skips verification.
Seen in 7 reports
-
Begin with the client, not the server. The richest findings here are in HTTP client TLS backends, SSH backends, mail clients and proxy agents, where checks are implemented per backend. Read the code or documentation for each backend and compare what each one verifies.
Seen in 6 reports
-
Test certificate status properly. Present a stapled OCSP response that reports a revoked status, and separately request enforcement on a build that uses the Apple trust path, then check whether the connection still completes. A response being present is not the same as its status being good.
Seen in 6 reports
-
Test pinning on every protocol version and backend. Supply a pinned public key that does not match the server's key over HTTP/3, and proxy mobile app traffic with a self-signed certificate, then check whether the connection succeeds.
Seen in 6 reports
-
Test comparison timing. Measure response times for valid and invalid API tokens, and check whether application passwords are compared with a strict equality operator rather than a constant-time function. Report only a measurable difference, not a theoretical one.
Seen in 6 reports
-
Test encryption integrity. Submit modified ciphertext to an endpoint that decrypts it and observe padding error differences, and check whether the encryption module enforces integrity protection on encrypted data.
Seen in 6 reports
-
Show impact concretely. A skipped hostname check is only interesting if you can show interception or impersonation; a predictable token only matters if you can use it. Demonstrate the consequence, not just the missing check.
Seen in 6 reports
-
Test connection reuse. Reuse an existing connection for a request that requires TLS, or after changing the verify callback or SSL configuration flags, and check whether the new requirement or setting is honoured.
Seen in 4 reports
-
Test what a signature covers. Try altering the endpoint or payload of a signed request, adding headers after the signature block, or waiting for the replay cache to expire while the timestamp is still valid, then resending with a different payload.
Seen in 4 reports
-
Test hostname verification with an IP address and with a certificate for an unrelated name. A check guarded by the presence of a server name indication will pass the DNS case and fail the IP case, which is a clean, reproducible demonstration.
Seen in 3 reports
-
Test session resumption across trust settings. Resume a session that was validated with the native CA store from a transfer that disabled it, or under a stricter signature algorithm policy from a permissive sibling, and see whether the weaker decision is reused.
Seen in 3 reports