62
By Buddhika Siddhisena CTO & CoFounder ThinkCube Systems Member of LKLUG Free & Opensource Software and Security

FOSS and Security

  • View
    1.666

  • Download
    1

Embed Size (px)

DESCRIPTION

This presentation originally developed as part of FOSSSL 2006 (FOSSMil), was recently slightly updated and delivered at CERT SL Conference. In my talk, I discuss why FOSS is generally considered to be more secure than proprietary software.

Citation preview

Page 1: FOSS and Security

By Buddhika Siddhisena

CTO & CoFounder ThinkCube SystemsMember of LKLUG

Free & Opensource Softwareand

Security

Page 2: FOSS and Security

“Opensource software lets anyone to look at the blue print source code”

Page 3: FOSS and Security

“What happens if these blue prints got into the wrong hands?”

Page 4: FOSS and Security

Can you achieve securitythrough Openess?

Page 5: FOSS and Security

NSA

Page 6: FOSS and Security

NSA = No Such Agency

Page 7: FOSS and Security

NSA = National Security Agency

Page 8: FOSS and Security

“NSA is famous for keeping secrets, including their existence”

Page 9: FOSS and Security

“NSA releases SELinux, a security enhanced version of Linux as

Opensource Software”

Page 10: FOSS and Security

“Hey wait a second !”

Page 11: FOSS and Security

#1 org to keep secrets releases their blueprints?

Page 12: FOSS and Security

"Let me assure you that this action by the NSA was the crypto-equivalent of the Pope coming down off the balcony in Rome, working the crowd with a few

loaves of bread and some fish, and then inviting everyone to come over to his place to watch the soccer game and

have a few beers” --Larry Loeb

Source: http://www.ibm.com/developerworks/library/s-selinux/?n-s-381

Page 13: FOSS and Security

So whats going on @ NSA?

Page 14: FOSS and Security

Why did the most security conscious agency in the US do this?

Page 15: FOSS and Security

"The Information Assurance Research Group of the NSA is responsible for

carrying out the research and advanced development of technologies needed to

enable NSA to provide the solutions, products, and services to achieve

Information Assurance for information infrastructures critical to U.S. National

Security interests.”

Source: http://www.nsa.gov/selinux/info/faq.cfm

Page 16: FOSS and Security

critical to U.S. National Security interests

Page 17: FOSS and Security

critical to U.S. National Security interests

Page 18: FOSS and Security

All computer software, whether Open Source or proprietary...

Page 19: FOSS and Security

Has had bugs...

Page 20: FOSS and Security

Currently has bugs...

Page 21: FOSS and Security

And will continue to have bugs...

Page 22: FOSS and Security

“Given enough eye ballsall bugs are shallow”

- Eric S. Raymond

Page 23: FOSS and Security

EnglishTranslation : Given the fact that many people are constantly looking

at the source code, and because anyone can improve it (by reporting or fixing bugs for eg.), it is less likely to

contain many bugs.

Page 24: FOSS and Security

“So how secure is Linux?”

Page 25: FOSS and Security

A four-year study released by Coverity, reports Linux has a low bug count, making the code more stable and secure. The 2.6

Linux production kernel, now being shipped with software from Novell and other Linux vendors, contains 985 bugs in 5.7 million

lines of code, far below the industry average, said Seth Hallem, Coverity's CEO.

Source: http://www.internetnews.com/dev-news/article.php/3448001

Page 26: FOSS and Security

Commercial software contains 20 to 30 bugs for every thousand lines of code, according

to Carnegie Mellon University's CyLab Sustainable Computing Consortium. That is the equivalent to 114,000 to 171,000 bugs in

5.7 million lines of code.

Page 27: FOSS and Security

Opensource vs Proprietary

985 bugs vs 114,000+ bugs

Page 28: FOSS and Security

Defect density declined by 2.2 percent as the total lines of code in the Linux kernel

continues to grow from 5.76 million in December 2004 to 6.03 million in July 2005,

which represents a 4.7 percent increase.

"Although the size of the Linux kernel increased over the six-month study, we

noticed a significant decrease in the number of potentially serious defects in the core Linux kernel," said Seth Hallem, CEO of

Coverity, in a statement.

Page 29: FOSS and Security

Free & Opensoure software is transparent

Page 30: FOSS and Security

“Did you someone say Free?”

Page 31: FOSS and Security

“Free as in Freedom not as in

Free Beer!” - Richard M. Stallman

Page 32: FOSS and Security

By using FOSS you have 4 types of freedom

Page 33: FOSS and Security

Freedom 0

The freedom to run the program for any purpose

Page 34: FOSS and Security

Freedom 1

The freedom to study how the program works and adopt it to your

need

Page 35: FOSS and Security

Freedom 2

The freedom to redistribute copies

Page 36: FOSS and Security

Freedom 3

The freedom to improve the software and release the

improvements to the world

Page 37: FOSS and Security

Many Governments are adopting or have completely migrated to FOSS

Page 38: FOSS and Security

Brazil

Source: http://news.zdnet.co.uk/software/linuxunix/0,39020390,39196592,00.htm

Page 39: FOSS and Security

Germany

Source:

Page 40: FOSS and Security

France

Source: http://www.technewsworld.com/story/36886.html

Page 41: FOSS and Security

China

Source : http://news.zdnet.co.uk/software/linuxunix/0,39020390,39196592,00.htm

Page 42: FOSS and Security

South Korea

Source: http://news.com.com/2100-7344-5084811.html

Page 43: FOSS and Security

To name a few...

Page 44: FOSS and Security

but what aboutSri Lanka?

Page 45: FOSS and Security

Why are they adopting or migrating?

Page 46: FOSS and Security

Its not always because of the lower price of acquiring FOSS

Page 47: FOSS and Security

Its not always because of the lower Total Cost of Ownership (TCO) of

using FOSS

Page 48: FOSS and Security

Though they alone are good reasons!

Page 49: FOSS and Security

Some Chinese officials are convinced that having an American government dominate the market compromises national security. Secret security flaws in Windows can be

used to access Chinese networks. Officials like to state the discovery of the NSA key in Windows as proof that Microsoft is working

with the US government on intelligence issues.

Source: http://www.g4tv.com/screensavers/features/39528/China_The_Republic_of_Linux.html

Page 50: FOSS and Security

“Officials like to state the discovery of the NSA key in Windows as proof that Microsoft is working with the US government on intelligence issues?”

Page 51: FOSS and Security

Conspiracy Theory?

http://en.wikipedia.org/wiki/NSAKEY

Page 52: FOSS and Security

Kraft points to an ongoing public battle between the Commonwealth of

Massachusetts and Microsoft. The state is trying to pass legislation that would have the state adopt an open source document policy

by January 2007 in order to better protect the accessibility of its digital documents.

Source:http://searchopensource.techtarget.com/originalContent/0,289142,sid39_gci1180306,00.html

Page 53: FOSS and Security

The state is arguing that if Microsoft or another closed source software vendor ceased to support older versions of its

platforms, thousands of the state's archived documents could be rendered useless.

Page 54: FOSS and Security

Imagine during an emergency or after a disaster, governmental

organizations not being able to work effectively because they relied on a

closed document format

Page 55: FOSS and Security

And finally...

Page 56: FOSS and Security

Why aren't there a lot of Linux viruses?

Page 57: FOSS and Security

A computer virus, like a biological virus, must have a reproduction rate that exceeds

its death (eradication) rate in order to spread.

If the reproduction rate falls below the threshold necessary to replace the existing

population, the virus is doomed from the beginning

Page 58: FOSS and Security

The reason that we have not seen a real Linux virus epidemic in the wild is simply

that none of the existing Linux viruses can thrive in the hostile environment that Linux provides. The Linux viruses that exist today are nothing more than technical curiosities;

the reality is that there is no viable Linux virus.

Source: http://librenix.com/?inode=21

Page 59: FOSS and Security

And finally finally finally ...

Page 60: FOSS and Security

True security comes NOT from OBSCURITY

Page 61: FOSS and Security

True security comes fromTRANSPARENCY

Page 62: FOSS and Security

~ the end