Software:The Update Framework (TUF)

From HandWiki

The Update Framework (TUF) is a software framework designed to protect mechanisms that automatically identify and download updates to software.[1] TUF uses a series of roles and keys to provide a means to retain security, even when some keys or servers are compromised. It does this with a stated goal of requiring minimal changes and effort from repository administrators, software developers, and end users.[2] In this way, it protects software repositories, which are an increasingly desirable target for hackers.[3][4][5][6][7] A software update, sometimes referred to as a patch, can add functionalities and address flaws in existing code.[8] Unfortunately, in delivering updates to neutralize flaws, these systems can unintentionally introduce vulnerabilities that, in turn, can be exploited by attackers.[9][10][11]

The design of TUF acknowledges that all software repositories will likely be compromised at some point, so any security strategy must be prepared for that scenario. TUF-enabled systems focus on limiting the impact of attacks and providing a mechanism for recovery. This strategy of “compromise-resilience” improves on existing methods based on keysigning[12][13] by incorporating techniques, such as separation of signing duties and setting a threshold number of required signatures. Dividing the responsibility for authenticating a file or image ensures no single hacker can compromise the system. It also helps to ensure that keys used to perform a sensitive action can be stored in a secure, offline manner. Even if one party—or the repository itself—is compromised, the number of projects affected will be limited.[14]

To date, the list of tech companies and organizations using TUF include IBM,[15] VMware,[16] Digital Ocean,[17] Microsoft,[18] Google,[19] Amazon,[20] Leap,[21] Kolide,[22] Docker,[23] and Cloudflare.[24]

The technology that evolved into TUF was first developed at the University of Washington in 2009 by Justin Samuel and Justin Cappos, and its principles were first discussed in a paper Samuel and Cappos coauthored with Nick Mathewson and Roger Dingledine, researchers from The Tor Project, Inc.[25] Since 2011, TUF has been based at New York University Tandon School of Engineering, where Cappos continues to work with a team of graduate students and programmers in the Secure Systems Lab to supervise its maturation, development and integration into production use across different communities.

One of the more significant earlier adoptions of TUF in the open-source community was by Docker Content Trust,[26][27] an implementation of the Notary project from Docker that deploys Linux containers.[28] Notary, which is built on TUF, can both certify the validity of the sources of Docker images, and encrypt the contents of those images.[29][30] Through Notary Content Trust, TUF also secures operations for Microsoft Azure.[18]

Since 2017, both Notary and TUF have been hosted by the Linux Foundation under the Cloud Native Computing Foundation.[31][32] Cappos remains with the project as consensus builder. In December 2019, TUF was awarded “graduate” status within the organization, signifying that it has completed a series of steps needed to move the project to the highest level of maturity in the CNCF.[33] These steps included completing an independent third party security audit, adopting the CNCF Code of Conduct, and explicitly defining a project governance and committer process. TUF became both the first security project and the first project led by an academic researcher to graduate within CNCF.[34]

Because it was designed for easy adaptation, versions of TUF have been created in a number of programming languages. It has been independently implemented in the Go language by Flynn, an open-source platform as a service (PaaS) for running applications in production.[35][36][37] Implementations of TUF have also been written in Haskell,[38] Ruby[39] and Rust.[40] A Rust version called Tough[41] was created by Amazon Web Services Labs for use with on-demand cloud computing platforms and APIs . Google has also implemented a version of TUF to secure its open source operating system, Fuchsia.[19]

In 2017, an adaptation of this technology called Uptane, designed to protect computing units on automobiles, was named one of the top security inventions for 2017 by Popular Science.[42]

References

  1. Diaz, Vladimir. "The Update Framework Specification". SSL NYU Tandon. https://github.com/theupdateframework/specification/blob/master/tuf-spec.md#1-introduction. Retrieved 14 February 2018. 
  2. "The Update Framework: A framework for securing software update systems". SSL NYU Tandon. https://theupdateframework.io/security/. Retrieved 13 April 2020. 
  3. "The Cracking of Kernel.org". The Linux Foundation. 31 August 2011. https://www.linuxfoundation.org/blog/the-cracking-of-kernel-org/. Retrieved 1 February 2018. 
  4. "Debian Investigation Report after Server Compromise". Debian.org. 2 December 2003. https://www.debian.org/News/2003/20031202. Retrieved 1 February 2018. 
  5. "Infrastructure report,2008-08-22 UTC 1200". Redhat.com. 22 August 2008. https://www.redhat.com/archives/fedora-announce-list/2008-August/msg00012.html. Retrieved 1 February 2018. 
  6. Bradbury, Danny (30 October 2018). "Snakes in the grass! Malicious code slithers into Python PyPI repository". Naked Security.com. https://nakedsecurity.sophos.com/2018/10/30/snakes-in-the-grass-malicious-code-slithers-into-python-pypi-repository/. Retrieved 13 April 2020. 
  7. Claburn, Thomas (26 November 2018). "Check your repos...Crypto-coin-stealing code sneaks into fairly popular NPM lib". The Register. https://www.theregister.co.uk/2018/11/26/npm_repo_bitcoin_stealer//. Retrieved 13 April 2020. 
  8. "Software Update as a Mechanism for Resilience and Security: Proceedings of a Workshop". National Academies Press. February 2017. pp. 53–58. https://www.nap.edu/read/24833/chapter/11. Retrieved 12 February 2018. 
  9. Redmiles, Elissa (16 May 2017). "Installing Software Updates Makes us WannaCry". Scientific American. https://www.scientificamerican.com/article/why-installing-software-updates-makes-us-wannacry/. Retrieved 13 November 2017. 
  10. Zetter, Kim (25 March 2019). "Hackers Hijacked ASUS Software Updates to Install Backdoors on Thousands of Computers". Vice.com. https://www.vice.com/en_us/article/pan9wn/hackers-hijacked-asus-software-updates-to-install-backdoors-on-thousands-of-computers. Retrieved 13 April 2020. 
  11. Cimpanu, Catalin (10 May 2019). "Software update crashes police ankle monitors in the Netherlands". ZDNet.com. https://www.zdnet.com/article/software-update-crashes-police-ankle-monitors-in-the-netherlands/. Retrieved 13 April 2020. 
  12. Spring, Tom (7 November 2017). "Assessing Weaknesses in Public Key Infrastructure". Threatpost.com. https://threatpost.com/assessing-weaknesses-in-public-key-infrastructure/128793/. Retrieved 13 February 2018. 
  13. Chandra, Sourabh; Paira, Smita; Alam, Sk Safikul; Sanyal, Goutam (November 2014). "2014 International Conference on Electronics, Communication and Computational Engineering (ICECCE)". ICECCE. pp. 83–93. doi:10.1109/ICECCE.2014.7086640. ISBN 978-1-4799-5748-4. 
  14. Kuppusamy, Trishank Karthik; Torres-Arias, Santiago; Diaz, Vladimir; Cappos, Justin (March 2016). "Diplomat: Using Delegations to Protect Community Repositories". Usenix. pp. 567–581. https://www.usenix.org/conference/nsdi16/technical-sessions/presentation/kuppusamy. 
  15. "Signing images for trusted content". IBM Cloud Docs. 13 February 2020. https://cloud.ibm.com/docs/services/Registry?topic=registry-registry_trustedcontent#registry_trustedcontent. Retrieved 13 April 2020. 
  16. "Error: no |title= specified when using {{Cite web}}". VMware. https://www.vmware.com/. Retrieved 13 April 2020. 
  17. "Error: no |title= specified when using {{Cite web}}". Digital Ocean. https://www.digitalocean.com/. Retrieved 13 April 2020. 
  18. 18.0 18.1 "Content trust in Azure Container Registry". Microsoft. 6 September 2019. https://docs.microsoft.com/en-us/azure/container-registry/container-registry-content-trust. Retrieved 13 April 2020. 
  19. 19.0 19.1 "Fuchsia Project". Google. 2 April 2020. https://fuchsia.dev/. Retrieved 13 April 2020. 
  20. "AWS Tough Repository". Amazon. 9 April 2020. https://github.com/awslabs/tough. Retrieved 13 April 2020. 
  21. "New releases for a new year". Leap Encryption Action Project. 23 December 2014. https://leap.se/en/2014/darkest-night. Retrieved 13 April 2020. 
  22. "Kolide Updater". Kolide. 1 November 2014. https://github.com/kolide/updater/blob/master/README.md. Retrieved 13 April 2020. 
  23. "Docker Trusted Registry". Mirantis.com. https://www.mirantis.com/software/docker/image-registry/. Retrieved 13 April 2020. 
  24. Sullivan, Nick (16 March 2018). "A container identity bootstrapping tool". Cloudflare Blog. https://blog.cloudflare.com/pal-a-container-identity-bootstrapping-tool/. Retrieved 13 April 2020. 
  25. Samuel, Justin; Mathewson, Nick; Cappos, Justin; Dingledine, Roger. "Survivable Key Compromise in Software Update Systems". ACM. pp. 61–72. https://justinsamuel.com/papers/survivable-key-compromise-ccs2010.pdf. 
  26. Monica, Diogo (12 August 2015). "Introducing Docker Content Trust – Docker Blog". Docker. https://blog.docker.com/2015/08/content-trust-docker-1-8/. Retrieved 2 October 2016. 
  27. "Docker Content Trust Protects Integrity of Dockerized Content". CIO Review. http://www.cioreview.com/news/docker-content-trust-protects-integrity-of-dockerized-content-nid-8372-cid-92.html. Retrieved 2 October 2016. 
  28. Fulton III, Scott M. (12 August 2015). "Docker: With Content Trust, You Can Run Containers on Untrusted Networks – The New Stack". The New Stack. http://thenewstack.io/docker-content-trust-can-run-containers-untrusted-networks/. Retrieved 3 October 2016. 
  29. Vaughan-Nichols, Steven J.. "Docker 1.8 adds serious container security ZDNet". CBS Interactive. http://www.zdnet.com/article/docker-1-8-adds-serious-container-security/. Retrieved 3 October 2016. 
  30. Myers, Astasia (13 February 2018). "Docker's Head of Security David Lawrence: on TUF, Notary, and the importance of software security". Medium. https://medium.com/memory-leak/dockers-head-of-security-david-lawrence-on-tuf-notary-and-the-importance-of-software-security-aaf30b260862. Retrieved 13 April 2020. 
  31. Jackson, Joab (24 October 2017). "CNCF Brings Security to the Cloud Native Stack with Notary, TUF Adoption". The New Stack. https://thenewstack.io/cncf-brings-security-cloud-native-stack-notary-tuf-adoption/. 
  32. Ferguson, Scott (24 October 2017). "Cloud Native Computing Foundation Adopts 2 Security Projects". Enterprise Cloud News. http://www.enterprisecloudnews.com/author.asp?section_id=571&doc_id=737560. 
  33. "Cloud Native Computing Foundation Announces TUF Graduation". CNCF. 18 December 2019. https://www.cncf.io/announcement/2019/12/18/cloud-native-computing-foundation-announces-tuf-graduation/. Retrieved 13 April 2020. 
  34. "Cloud Native Computing Foundation Announces TUF Graduation". LWN.net. 19 December 2019. https://lwn.net/Articles/807777/. Retrieved 13 April 2020. 
  35. Yegulalp, Serdar (28 July 2016). "Open source Flynn takes the headaches out of app deployment". IDG. http://www.infoworld.com/article/3101765/open-source-tools/open-source-flynn-takes-the-headaches-out-of-app-deployment.html. Retrieved 3 October 2016. 
  36. "Security – Flynn". https://flynn.io/docs/security. Retrieved 3 October 2016. 
  37. "flynn/go-tuf". GitHub, Inc.. https://github.com/flynn/go-tuf#install. Retrieved 3 October 2016. 
  38. "Hackable Security Alpha Release". Well-Typed.com. 8 July 2015. https://www.well-typed.com/blog/2015/07/hackage-security-alpha/. Retrieved 13 April 2020. 
  39. Shay, Xavier (6 December 2013). "Securing RubyGems with TUF, Part 1". Medium.com. https://medium.com/square-corner-blog/securing-rubygems-with-tuf-part-1-d374fdd05d85. Retrieved 6 April 2018. 
  40. "Rust implementation of The Update Framework (TUF)". https://github.com/heartsucker/rust-tuf. Retrieved 13 April 2020. 
  41. "AWSlabs/Tough". 5 November 2019. https://github.com/awslabs/tough/blob/develop/README.md. Retrieved 13 April 2020. 
  42. Atherton, Kelsey D.; Feltman, Rachel (17 October 2017). "The Year's Most Important Innovations in Security". Popular Science. https://www.popsci.com/top-security-innovations-2017. 

External links

Selected publications