Open source software security is the measure of assurance or guarantee in the freedom from danger and risk inherent to an open source software system.
Contents |
The debate
There is an ongoing debate on whether open source software increases software security or is detrimental to its security. There are a variety of different benefits and drawbacks for both sides of the argument. There are also a variety of metrics and models to measure the effectiveness of the security.
Benefits of open source security
- More people can inspect the source code to find and fix a possible vulnerability.
- Proprietary software forces the user to accept the level of security that the software vendor is willing to deliver and to accept the rate that patches and updates are released.[1]
- The end-user of Open Source code has the ability to change and modify source to implement any extra "features" of security they may wish for a specific use, which can extend to the kernel level if they so wish.
- It is assumed that any compiler that is used creates code that can be trusted, but it has been demonstrated by Ken Thompson that a compiler can be subverted using an eponymous Thompson hack to create faulty executables that are unwittingly produced by a well-intentioned developer.[2] With access to the source code for the compiler, the developer has at least the ability to discover if there is any mal-intention.
- Kerckhoffs' principle is based on the idea that an enemy can steal a secure military system and not be able to compromise the information. His ideas were the basis for many modern security practices, and followed that security through obscurity is a bad practice.[3]
Drawbacks of open source security
- All people have access to the source code, including potential attackers[2]. Any unpatched vulnerability can be used by attackers.
- Simply making source code available does not guarantee review. A good example of this occurring is when Marcus Ranum, an expert on security system design and implementation, released his first public firewall toolkit. At one point in time, there were over 2,000 sites using his toolkit, but only 10 people gave him any feedback or patches[4].
- Having a large amount of eyes reviewing code can "lull a user into a false sense of security"[5]. Having many users look at source code does not guarantee that security flaws will be found and fixed.
Financial Losses
If security of open source software is not good enough, the leak of information can be extremely costly. The loss of priceless information can occur such as credit card numbers, social security numbers and bank accounts just to name a few. Online hackers and malevolent Internet parties can commit identity theft. Around 10 million American get their identity stolen every year. Major businesses and institutions are suffering from these Internet thieves as well. The “Slammer Worm” that gained accesses to hundreds of these institutions resulted in an estimated 1.25 billion dollars in total losses.[6]
The United States Government
- The US government does not encourage or endorse open source or proprietary software.[7]
- It would rather see the power of the free market at work rather than trying to regulate the software security business.[8]
- The National Information Assurance Partnership was formed to meet security testing needs of the technology industry [9]
- The government developed a Linux-based application, which will improve security.[10]
Public Programs
Security breakdowns can occur as a result because of programming errors. The risk of software backdoors place by malicious programmers grow exponentially with every piece of valuable information the government is withholding from corporations and consumers. The National Security Association has allegedly placed encryption keys in versions of popular brand name software, such as Windows. This has led to the mistrust in the proprietary software market. Security shortcuts in proprietary software due to errors in production create open season for hackers and misuse by consumers.
Software companies now offer programs for the public to better understand the security of the software. Microsoft has offered in the past various Shared Source Initiative Programs, which allows entrance for organizations, researchers and governments that use the current Microsoft software. However, even though these users gain access to software, they are unable to modify it with fixes and other various improvements they wish to make.[11]
Metrics and Models
There are a variety of models and metrics to measure the security of a system. These are a few methods that can be used to measure the security of software systems.
Number of days between vulnerabilities
It is argued that a system is most vulnerable after a potential vulnerability is discovered, but before a patch is created. By measuring the number of days between the vulnerability and when the vulnerability is fixed, a basis can be determined on the security of the system. There are a few caveats to such an approach: not every vulnerability is equally bad, and fixing a lot of bugs quickly might not be better than only finding a few and taking a little bit longer to fix them, taking into account the operating system, or the effectiveness of the fix[2].
Poisson process
The Poisson process can be used to measure the rates at which different people find security flaws between open and closed source software. The process can be broken down by the number of volunteers Nv and paid reviewers Np. The rates at which volunteers find a flaw is measured by λv and the rate that paid reviewers find a flaw is measured by λp. The expected time that a volunteer group is expected to find a flaw is 1/(Nv λv) and the expected time that a paid group is expected to find a flaw is 1/(Np λp)[2].
Morningstar model
By comparing a large variety of open source and closed source projects a star system could be used to analyze the security of the project similar to how Morningstar, Inc. rates mutual funds. With a large enough data set, statistics could be used to measure the overall effectiveness of one group over the other. An example of such as system is as follows[12]:
- 1 Star: Many security vulnerabilities.
- 2 Stars: Reliability issues.
- 3 Stars: Follows best security practices.
- 4 Stars: Documented secure development process.
- 5 Stars: Passed independent security review.
Coverity scan
Coverity in collaboration with Stanford University has established a new baseline for open source quality and security. The development is being completed through a contract with the Department of Homeland Security. They are utilizing innovations in automated defect detection to identify critical types of bugs found in software[13]. The level of quality and security is measured in rungs. Rungs do not have a definitive meaning, and can change as Coverity releases new tools. Rungs are based on the progress of fixing issues found by the Coverity Analysis results and the degree of collaboration with Coverity[14]. They start with Rung 0 and currently go up to Rung 2.
- Rung 0
The project has been analyzed by Coverity’s Scan infrastructure, but no representatives from the open source software have come forward for the results[14].
- Rung 1
At rung 1, there is collaboration between Coverity and the development team. The software is analyzed with a subset of the scanning features to prevent the development team from being overwhelmed[14].
- Rung 2
There are 11 projects that have been analyzed and upgraded to the status of Rung 2 by reaching zero defects in the first year of the scan. These projects include: AMANDA, ntp, OpenPAM, OpenVPN, Overdose, Perl, PHP, Postfix, Python, Samba, and tcl[14].
External links
- Bruce Schneier: Open Source and Security Crypto-Gram Newsletter, September 15, 1999
References
- ^ Cowan, C. (2003, January). IEEE Security & Privacy. IEEE Security & Privacy, 38-45. Retrieved May 5, 2008, from IEEE Computer Society Digital Library.
- ^ a b c d Witten, B., Landwehr, C., & Caloyannides, M. (2001, September/October). Does Open Source Improve System Security? IEEE Software , 57-61. Retrieved May 5, 2008, from Computer Database.
- ^ Hoepman, J.-H., & Jacobs, B. (2007). Increased Security Through Open Source. Communications of the ACM , 50 (1), 79-83. Retrieved May 5, 2008, from ACM Digital Library.
- ^ Lawton, G. (2002, March). Open Source Security: Opportunity or Oxymoron? Computer , 18-21. Retrieved May 5, 2008, from IEEE Computer Society Digital Library.
- ^ Hansen, M., Köhntopp, K., & Pfitzmann, A. (2002). The Open Source approach - opportunities and limitations with respect to security and privacy. Computers & Security , 21 (5), 461-471. Retrieved May 5, 2008, from Computer Database.
- ^ Wong, W., & Vandenberg, E. (2004, December 09). Perspectives on the security of open source software. Retrieved from http://www.cs.washington.edu/education/courses/csep590/04au/clearedproject Gammal.pdf.
- ^ Wong, W., & Vandenberg, E. (2004, December 09). Perspectives on the security of open source software. Retrieved from http://www.cs.washington.edu/education/courses/csep590/04au/clearedproject Gammal.pdf.
- ^ Wong, W., & Vandenberg, E. (2004, December 09). Perspectives on the security of open source software. Retrieved from http://www.cs.washington.edu/education/courses/csep590/04au/clearedproject Gammal.pdf.
- ^ Wong, W., & Vandenberg, E. (2004, December 09). Perspectives on the security of open source software. Retrieved from http://www.cs.washington.edu/education/courses/csep590/04au/clearedproject Gammal.pdf.
- ^ Economides, N., & Katsamakas, E. (2006). Linux vs. windows: A comparison of application and platform innovation incentives for open source and proprietary software platforms. Retrieved from http://www.stern.nyu.edu/networks/Economides_Katsamakas_Linux_vs._Windows.pdf
- ^ O'Connor, A., Win Ong, K., Sander, T., & Ferlo, M. (2004). Government policies on open source. Retrieved from http://www.cs.washington.edu/education/courses/csep590/04au/clearedprojects/Ferlo.pdf
- ^ Peterson, G. (2008, May 06). Stalking the right software security metric. Retrieved May 18, 2008, from Raindrop: http://1raindrop.typepad.com/1_raindrop/security_metrics/index.html
- ^ Coverity. (n.d.). Accelerating Open Source Quality. Retrieved May 18, 2008, from Scan.Coverity.com: http://scan.coverity.com/index.html
- ^ a b c d Coverity. (n.d.). Scan Ladder FAQ. Retrieved May 18, 2008, from Scan.Coverity.com: http://scan.coverity.com/ladder.html