1 / 27

The Case for Network Witnesses

Supported by:. The Case for Network Witnesses. Wu-chang Feng Travis Schluessler. Internet protocol design (1970s). Programmers and users cooperative Limited semiconductor capabilities Public-key cryptography in a nascent state Result Simple design Quickly deployed

Download Presentation

The Case for Network Witnesses

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Supported by: The Case for Network Witnesses Wu-chang Feng Travis Schluessler

  2. Internet protocol design (1970s) • Programmers and users cooperative • Limited semiconductor capabilities • Public-key cryptography in a nascent state • Result • Simple design • Quickly deployed • Immensely successful • But, was ultimately and tragically insecure

  3. Fast forward to 2008 • Programmer and user are not trusted • Denial-of-service, Botnets, Spam • Phishing, DNS poisoning, TCP RST attacks, IP spoofing • Cheating in on-line games, Rootkits • Semiconductor technology explosion • Moore’s law over 30+ years • Widespread use of public-key cryptography • Web transactions, IPSec, VPNs, SSL accelerators • Trusted hardware and software platforms • PS3, Xbox 360 game consoles • IBM Trusted Platform Modules (TPM) • Intel AMT and TXT • Windows Vista

  4. A clean-slate approach • What if we revisited Internet protocol design in today’s landscape? • Users are untrusted • Semiconductor technology can support high-speed cryptographic operations in the data-path

  5. Network Witness • Tamper-resistant, trusted third party at end-host • Our take on Shai Halevi’s “Angel in the Box” • Functions • Provide authenticated measurements of host activity • Enforce protocol rules and requirements

  6. Characteristics of a Network Witness • Reliable introspection • Can measure the state of the host and its network usage • Attestation • Can report such measurements in an authenticated manner to other witnesses in the network • Isolation • Measurements are not unduly influenced by host • Trusted execution • Only executes code cryptographically signed by a trusted third party (e.g. the IETF or the manufacturer) • Tamper-resistance • Cost of tampering exceeds value of the witness service

  7. An example witness • Intel’s Active Management Technology platform • Introduced in 2005 • Now, a commodity component on all Intel motherboards • Trusted processor in memory controller (iAMT2) • Sees all network traffic • Sees all peripheral activity • Has access to all memory locations • OOB channel to communicate across the network

  8. An example witness • Intel’s Active Management Technology platform • Tamper-resistant operation • Can not be tampered with from host processor’s software stack • Only runs code signed by Intel • Equipped with keys to authentically sign host measurements for transmission over the network

  9. DHCP request Q: What is the state of the host A: Windows XP with unknown drivers loaded and anti-virus software disabled DHCP reply: VLAN = Quarantined Intel AMT with Cisco NAC • Network access control based on host integrity • Measured “security posture” of the running OS and applications determine level of access Infected system

  10. Quake game protocol Q: Do the keyboard/mouse events given to the game client match those coming in over the USB bus? A:They don’t match. Input fabrication detected! Disconnect and ban Intel AMT and On-line Games • On-line game access based on valid host operation • Measure that the keyboard/mouse event the game gets • Schluessler et. al. “Is a Bot at the Controls?”, NetGames 2007. Aimbot

  11. Generalizing the approach • Observation • Trusted third parties greatly simplify network security protocols • How might this approach be applied to a range of network protocol problems?

  12. Game protocol Q: Keyboard/ mouse mileage in the last minute? List of code page hashes of running game? Stack frame trace of running game? A: No measurable activity over the USB bus. Modified code pages, Unknown stack frame Disconnect and ban Cheating in on-line games • Use network witness to attest to human activity and game process integrity • “Stealth Measurements for Cheat Detection in On-line Games”, NetGames 2008. Cheater

  13. httpa://yahoo.com/signup httpa://poll-daddy.com/vote.cgi Q: Keyboard/mouse mileage in the last minute? Visits to httpa://yahoo.com/signup last month? Visits to httpa://poll-daddy.com/vote.cgi last day? A: No measurable activity over USB bus. 1000 visits to link in last month 1 visit to link in last day Deny request Sybil attacks • Use network witness to attest to human activity and prior web account signup or on-line voting activity Sybil attacker

  14. SMTP messages, Web requests Q: Keyboard/mouse mileage in the last minute? Aggregate port 25/80 activity in last day? A: No measurable activity over USB bus. 1GB of port 25/80 packets in last day Deny request Spam, denial-of-service, botnets • Use network witness to attest to human activity and prior network usage Spammer Bot

  15. TCP SYN TCP SYN Q: TCP work weight over the last day? A: 100:1 Drop packets from Scanner X Port scanning • Use network witness to attest to the ratio of TCP SYN packets sent to TCP SYN/ACK packets received Scanner

  16. TCP RST from A to B X Auth DNS reply for a.com X TCP Xmas packet X TCP Optimistic ACK X TCP stealth scan X IP spoofing flood with address not obtained via DHCP X Protocol enforcement • Use network witness to ensure packets from the host do not violate protocol rules a.com A Protocol molester B

  17. Towards new protocols • Network witnesses can address problems in existing protocols • Seems like a waste of our brand new super powers • Can we use it to do new things besides cleaning up after an elderly protocol (i.e. TCP)? • Maybe…

  18. Public proof-of-work • Use witness to prevent requests with invalid or missing proof-of-work from leaving the end-host • “The Case for Public Work”, Global Internet 2007. • “Portcullis … ”, SIGCOMM 2007.

  19. Only allow packets to me from this host between 5pm-6pm PDT Do not reveal this data to the host until after Christmas Scheduled transmission and reception • Use witness to ensure • Host does not send anything to a site until a scheduled time • Host does not receive particular data until a scheduled time a.com A B

  20. More half-baked ideas in the paper • Attestation-assisted congestion control • Attested tit-for-tat for peer-to-peer networks • Data exfiltration prevention • Execute-once protocols

  21. That was fun, but… • Devil in the details • Issues with Network Witnesses • Location • Measurement fidelity • Storage issues • Privacy and usability issues • Deployment issues

  22. Location • Network witness location (as defined here) directly determines mitigated threats • Current placement in memory controller • Drives adversaries (cheaters) into peripherals • Placement in end hosts • Drives adversaries into the network

  23. Accuracy • Does the network witness have 20/20 vision? • A blind witness can’t attest to much • Intel’s ME runs at a fraction of the speed of the FSB • Can not implement a “memory watchpoint” to prevent information exposure cheating in on-line games • Might not be able to accurately measure what it is asked to attest

  24. Storage issues • Witness will not have an “elephant file system” for its measurements • What happens when witness is unable to attest to the desired measurement due to space limitation?

  25. Privacy and usability • How can users trust network witnesses not to measure and give away arbitrary data? • Attesting all keyboard activity would be a disaster • Attesting inter-key timings would also be bad • Attesting aggregate keyboard/mouse mileage?

  26. Deployment incentives • Must give the user some benefit • Be able to play on-line games with other players that you can verify are not cheating? • Remove CAPTCHA tests for those willing to use hardware that attests keyboard/mouse activity? • Others?

  27. Conclusion • A half-baked approach for building networks around the notion of “network witnesses” • An approach increasingly being pushed by industry • Hopefully, we as researchers can influence how industry fully bakes it

More Related