1 day of crud seen at icsi 155k times
play

1 day of crud seen at ICSI (155K times) active-connection- - PowerPoint PPT Presentation

1 day of crud seen at ICSI (155K times) active-connection- DNS-label-len-gt-pkt HTTP-chunked- possible-split-routing reuse multipart bad-Ident-reply DNS-label-too-long HTTP-version- SYN-after-close mismatch bad-RPC


  1. 1 day of “ crud ” seen at ICSI (155K times) active-connection- DNS-label-len-gt-pkt HTTP-chunked- possible-split-routing reuse multipart bad-Ident-reply DNS-label-too-long HTTP-version- SYN-after-close mismatch bad-RPC DNS-RR-length- illegal-%-at-end-of- SYN-after-reset mismatch URI bad-SYN-ack DNS-RR-unknown- inappropriate-FIN SYN-inside- type connection bad-TCP-header-len DNS-truncated- IRC-invalid-line SYN-seq-jump answer base64-illegal- DNS-len-lt-hdr-len line-terminated-with- truncated-NTP encoding single-CR connection- DNS-truncated-RR- malformed-SSH- unescaped-%-in-URI originator-SYN-ack rdlength identification data-after-reset double-%-in-URI no-login-prompt unescaped-special- URI-char data-before- excess-RPC NUL-in-line unmatched-HTTP- established reply too-many-DNS- FIN-advanced-last- POP3-server- window-recision queries seq sending-client- commands DNS-label-forward- fragment-with-DF compress-offset

  2. • Many connections have holes, but little buffer required

  3. Adversary ¡can ¡fill ¡the ¡en0re ¡buffer ¡with ¡just ¡a ¡single ¡connec0on! ¡ Policy ¡1: ¡ Restrict ¡per-­‑connec0on ¡buffer ¡to ¡threshold ¡(= ¡?) ¡

  4. Adversary ¡can ¡fill ¡the ¡en0re ¡buffer ¡with ¡just ¡a ¡single ¡connec0on! ¡ Policy ¡1: ¡ Restrict ¡per-­‑connec0on ¡buffer ¡to ¡threshold ¡(say ¡20KB) ¡

  5. • Adversary ¡can ¡create ¡ mul$ple ¡connec0ons ¡to ¡exhaust ¡ the ¡buffer! ¡ • Policy ¡2: ¡ ¡ ¡Do ¡not ¡allow ¡a ¡single ¡host ¡to ¡create ¡two ¡ connec0ons ¡with ¡holes ¡

  6. • Adversary ¡aGacks ¡from ¡distributed ¡hosts! ¡( zombies ) ¡ – No ¡connec0on ¡can ¡be ¡isolated ¡as ¡adversary ’ s… ¡all ¡of ¡them ¡ look ¡good ¡ • Policy ¡3: ¡ Upon ¡buffer ¡exhaus0on ¡… ¡ – … ¡Evict ¡one ¡buffer ¡ page ¡randomly ¡ ¡ ¡ ¡ ¡and ¡reallocate ¡it ¡to ¡new ¡packet ¡ – Kill ¡the ¡connec0on ¡of ¡the ¡evicted ¡page ¡(mod ¡details) ¡ • If ¡the ¡buffer ¡is ¡ large , ¡then ¡ most ¡evicted ¡connec$ons ¡ belong ¡to ¡the ¡adversary ¡ – They ¡fight ¡an ¡uphill ¡baGle! ¡

  7. • Suppose ¡total ¡512 ¡MB, ¡2KB ¡page, ¡25KB/conn ¡ Avg. Legitimate Buffer = 30 KB

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