no cloud allowed
play

No Cloud Allowed Denying Service to DDOS Protection Services - PowerPoint PPT Presentation

No Cloud Allowed Denying Service to DDOS Protection Services Presented by: Allison Nixon Allison.Nixon@integralis.com Pentesting, Incident Response PaulDotCom host Cloud Based DDOS Protection How it works Fundamental flaws


  1. No Cloud Allowed Denying Service to DDOS Protection Services Presented by: Allison Nixon Allison.Nixon@integralis.com Pentesting, Incident Response PaulDotCom host

  2. Cloud Based DDOS Protection How ¡it ¡works ¡ Fundamental ¡flaws ¡ Many ¡ways ¡to ¡find ¡the ¡origin ¡IP ¡ Mi:ga:ng ¡the ¡threat ¡ Other ¡alterna:ves ¡ Slide ¡2 ¡

  3. How it Works – Filtering Traffic in Theory Inbound ¡Requests ¡ Response ¡is ¡passed ¡back ¡ (good ¡and ¡evil) ¡ through ¡the ¡filtering ¡ service ¡to ¡the ¡client ¡ Filtering ¡service ¡ receives ¡all ¡requests ¡ Filtering ¡Service ¡ The ¡user ¡ Only ¡good ¡requests ¡ are ¡passed ¡along. ¡ ¡ ¡ cannot ¡ Server ¡ (AKA ¡the ¡origin) ¡ interact ¡ directly ¡with ¡ Server ¡processes ¡requests ¡ and ¡sends ¡response ¡ the ¡origin ¡ Slide ¡3 ¡

  4. How it Works – DNS Based Mitigation Normal ¡ Inbound ¡Requests ¡ Or ¡we ¡could ¡ opera:ons ¡ (using ¡DNS ¡ take ¡a ¡more ¡ normally) ¡ direct ¡route… ¡ Inbound ¡Requests ¡ (manually ¡ Filtering ¡Service ¡ resolving ¡DNS) ¡ No filtering Server ¡ haha oops! (AKA ¡the ¡origin) ¡ Poin:ng ¡your ¡DNS ¡to ¡the ¡filter ¡will ¡not ¡block ¡traffic ¡to ¡the ¡origin ¡ DNS ¡resolu:on ¡is ¡NOT ¡a ¡network ¡access ¡control ¡ The ¡origin ¡IP ¡can ¡be ¡kept ¡secret ¡but ¡this ¡is ¡security ¡by ¡obscurity ¡ All ¡filtering/DDoS ¡blocking ¡can ¡be ¡bypassed ¡if ¡the ¡origin ¡can ¡be ¡found ¡ Slide ¡4 ¡

  5. Fundamental Flaws Cloud ¡Based ¡DDoS ¡protec:on ¡bypass ¡ • Fundamental ¡flaws ¡-­‑ ¡Mi:ga:ons ¡are ¡messy ¡and ¡difficult ¡ • Mul:ple ¡providers ¡are ¡affected, ¡including ¡the ¡largest ¡ones ¡ on ¡the ¡market ¡ Techniques ¡may ¡be ¡effec:ve ¡for ¡other ¡cloud-­‑ based ¡filtering ¡services ¡like ¡WAF ¡and ¡e-­‑mail ¡ filtering ¡ Slide ¡5 ¡

  6. Fundamental Flaws Three ¡ways ¡to ¡route ¡traffic: ¡DNS, ¡BGP, ¡inline ¡ Using ¡DNS ¡to ¡reroute ¡traffic ¡ • Clever ¡a]ackers ¡can ¡send ¡traffic ¡to ¡the ¡origin ¡ • There ¡is ¡low ¡awareness ¡of ¡just ¡how ¡easy ¡it ¡is ¡ • Every ¡provider ¡that ¡uses ¡DNS ¡based ¡mi:ga:on ¡is ¡affected ¡ Providers ¡that ¡use ¡BGP ¡based ¡mi:ga:on ¡or ¡inline ¡filtering ¡ are ¡not ¡affected ¡ • BGP ¡is ¡prac:cally ¡inline ¡because ¡IP ¡traffic ¡cannot ¡choose ¡how ¡it ¡is ¡routed ¡ Slide ¡6 ¡

  7. Fundamental Flaws A ¡server’s ¡public ¡facing ¡IP ¡was ¡not ¡intended ¡to ¡be ¡ secret ¡informa:on ¡ Many ¡sources ¡of ¡informa:on ¡leakage ¡can ¡reveal ¡the ¡ origin. ¡ Once ¡the ¡origin ¡IP ¡is ¡known, ¡all ¡protec:on ¡is ¡lost ¡ Unmasking ¡an ¡origin ¡is ¡very ¡easy ¡ Slide ¡7 ¡

  8. Many ways to find the origin IP Verifying ¡the ¡origin ¡IP ¡is ¡straighdorward ¡ • Manually ¡resolve ¡DNS ¡and ¡view ¡the ¡origin’s ¡website ¡ directly ¡ • If ¡firewall ¡rules ¡prevent ¡verifica:on, ¡DDoS ¡the ¡origin ¡ • The ¡provider ¡will ¡show ¡a ¡cached ¡copy ¡of ¡the ¡site ¡if ¡ the ¡origin ¡is ¡unreachable ¡ Slide ¡8 ¡

  9. Many ways to find the origin IP Verifying ¡the ¡origin ¡IP ¡is ¡straighdorward ¡ Slide ¡9 ¡

  10. Many ways to find the origin IP Slide ¡10 ¡

  11. Many ways to find the origin IP Slide ¡11 ¡

  12. Many ways to find the origin IP Verifying ¡the ¡origin ¡IP ¡is ¡straighdorward ¡ Slide ¡12 ¡

  13. Many ways to find the origin IP Slide ¡13 ¡

  14. Many ways to find the origin IP - DNS Related ¡DNS ¡records ¡ • www.vic:m.com ¡points ¡to ¡a ¡DDoS ¡protec:on ¡ provider’s ¡range, ¡but ¡ip.vic:m.com ¡points ¡to ¡the ¡ origin ¡ • www.vic:m2013event.com ¡may ¡point ¡to ¡the ¡origin. ¡ Check ¡all ¡domains ¡owned ¡by ¡your ¡target ¡ Historical ¡DNS ¡records ¡ • If ¡the ¡origin ¡IP ¡was ¡not ¡changed ¡aier ¡protec:on ¡is ¡set ¡ up, ¡historical ¡DNS ¡services ¡exist ¡that ¡could ¡have ¡ recorded ¡the ¡origin ¡IP ¡ Slide ¡14 ¡

  15. Many ways to find the origin IP - Connections Outbound ¡connec:ons ¡to ¡an ¡a]acker ¡controlled ¡server ¡ • DDoS ¡protec:on ¡services ¡act ¡as ¡HTTP ¡reverse ¡proxies, ¡but ¡they ¡do ¡not ¡ proxy ¡outbound ¡connec:ons ¡ • Applica:on ¡specific ¡features ¡like ¡“avatar ¡upload” ¡on ¡forums ¡ Outbound ¡e-­‑mail ¡headers ¡ • “I ¡forgot ¡my ¡password” ¡ • “I ¡wish ¡to ¡subscribe ¡to ¡your ¡newsle]er” ¡ Slide ¡15 ¡

  16. Many ways to find the origin IP - Leaks Server ¡specific ¡informa:on ¡leakage ¡ • HTTP ¡authoriza:on ¡some:mes ¡leak ¡origin ¡IP ¡ Applica:on ¡specific ¡informa:on ¡leakage ¡ • Overly ¡helpful ¡error ¡messages ¡ • Exposed ¡config ¡files ¡ Slide ¡16 ¡

  17. Many ways to find the origin IP - Providers DMCA ¡complaints ¡ • Submit ¡bogus ¡DMCA ¡complaints ¡to ¡obtain ¡the ¡origin ¡IP ¡of ¡ Cloudflare ¡customers* ¡ Other ¡types ¡of ¡abuse ¡complaints ¡ • Depends ¡on ¡the ¡policies ¡of ¡the ¡DDoS ¡protec:on ¡provider ¡ Exceeding ¡capacity ¡ • DDoSing ¡with ¡a ¡large ¡enough ¡a]ack ¡can ¡apparently ¡drop ¡the ¡ customer ¡into ¡bypass ¡mode, ¡especially ¡for ¡cheap/free ¡ accounts** ¡ * ¡h]p://blog.cloudflare.com/thoughts-­‑on-­‑abuse ¡ ¡ ** ¡link ¡to ¡a ¡google ¡cached ¡version ¡of ¡a ¡malicious ¡"Cloudflare ¡dropping" ¡service. ¡Not ¡personally ¡tested ¡by ¡me ¡ ¡ ¡ ¡ Slide ¡17 ¡

  18. Many ways to find the origin IP - Other As ¡of ¡yet ¡undiscovered ¡methods ¡to ¡discover ¡the ¡origin ¡IP ¡ • Not ¡much ¡serious ¡research ¡has ¡been ¡done ¡in ¡gepng ¡a ¡server ¡to ¡divulge ¡ its ¡public ¡facing ¡IP, ¡because ¡this ¡is ¡generally ¡not ¡a ¡security ¡issue ¡ • If ¡more ¡research ¡is ¡done, ¡more ¡exploits ¡may ¡emerge ¡ Target ¡specific ¡informa:on ¡leakage ¡ • Informa:on ¡is ¡not ¡considered ¡sensi:ve ¡so ¡may ¡be ¡carelessly ¡lei ¡around, ¡ can ¡be ¡found ¡manually ¡ Slide ¡18 ¡

  19. Many ways to find the origin IP - Scanner NoCloudAllowed.com ¡ L ¡ • Scans ¡the ¡en:re ¡Internet ¡for ¡servers ¡that ¡ look ¡like ¡the ¡protected ¡website ¡ • Same ¡method ¡as ¡manual ¡origin ¡verifica:on, ¡ but ¡against ¡every ¡IP ¡in ¡an ¡arbitrary ¡range ¡ • Unmasks ¡the ¡origin ¡even ¡in ¡the ¡absence ¡of ¡ informa:on ¡leakage ¡ • Obscurity ¡is ¡no ¡more ¡ Slide ¡19 ¡

  20. Mitigating the Threat Non-­‑standard ¡configura:ons ¡to ¡prevent ¡unmasking ¡ • Block ¡traffic ¡from ¡outside ¡the ¡provider’s ¡range ¡ Mi:ga:on ¡techniques ¡may ¡harm ¡availability ¡ • Blocking ¡outside ¡requests ¡can ¡backfire ¡if ¡the ¡provider ¡must ¡go ¡ into ¡bypass ¡mode ¡or ¡the ¡provider ¡sends ¡traffic ¡from ¡new ¡ranges ¡ Security ¡non-­‑issues ¡become ¡security ¡issues ¡ • The ¡public ¡facing ¡IP ¡of ¡a ¡server ¡is ¡generally ¡not ¡considered ¡ sensi:ve ¡data, ¡apps ¡are ¡not ¡designed ¡to ¡conceal ¡this ¡ Slide ¡20 ¡

  21. Mitigating the Threat Inspect ¡all ¡apps ¡for ¡ Outbound ¡mail ¡ Check ¡error ¡ outbound ¡ must ¡obscure ¡the ¡ messages ¡for ¡IP ¡ connec:ons ¡ source ¡ leakage ¡ Remove ¡all ¡DNS ¡ Fix ¡IP ¡leakage ¡ Security ¡by ¡ records ¡poin:ng ¡to ¡ issues ¡specific ¡to ¡ obscurity ¡ the ¡origin ¡ your ¡setup ¡ A]ackers ¡bypass ¡ Fix ¡problems ¡ Change ¡your ¡IP ¡ your ¡protec:ons ¡ caused ¡by ¡ every ¡:me ¡it ¡is ¡ every ¡:me ¡they ¡ changing ¡your ¡ leaked ¡ find ¡your ¡IP ¡ server’s ¡IP ¡ Slide ¡21 ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend