~/talk

Domain Borrowing: Catch My C2 Traffic if You Can

Talkat Black Hat Asia 2021 · 2021-05-04..05-07· [security, networking]
links:none on file
links:none on file
slides:none on file

Claim: a technique called domain borrowing lets a C2 use CDN infrastructure with SNI equals Host and a legitimately issued certificate borrowed from other users or obtained via lax HTTP validation, making decrypted traffic appear normal. Demonstrations use CloudFront, StackPath/CDN77 and an open‑source Carbonite implant to register subdomains, upload or borrow wildcard TLS certs, and route C2 through CDN edges to bypass Palo Alto anti‑evasion rules. Detections: compare SNI DNS results to connection IPs, enforce strict custom‑domain validation and revoke abused certs via CT.

AI-written summary · about

  1. 0:00Intro
  2. 1:19Outline
  3. 3:10Domain Fronting - Limitations
  4. 4:26Domain Hiding - Limitations
  5. 4:56What we want for an ideal C2
  6. 5:54The HTTPS CDN workflow
  7. 7:34Domian Borrowing Basics - Abandon DNS
  8. 9:55Abusing CDN domain validation
  9. 10:10When CDN can't find the certificate
  10. 10:44Borrow arbitrary domain
  11. 11:21Obtain valid HTTPS certificates
  12. 12:28CDN domain validation bypass
  13. 15:09CDN HTTPS certificates distribution
  14. 18:57Borrow valid HTTPS certificates
  15. 25:06Domain Borrowing vs. Others
  16. 26:05Detection
  17. 27:17Mitigation
  18. 30:21Bypass Palo Alto Firewall
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.