Palamida Open Source Compliance Solution

36
Copyright © 2012 Palamida, Inc. Open Source Software: The Intersection of IP and Security April 2012

description

Open Source Software: The Intersection of IP and Security

Transcript of Palamida Open Source Compliance Solution

Page 1: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Open Source Software: The Intersection of IP and Security

April 2012

Page 2: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

1995

F22 software (avionics only)~1.7M LOC

Page 3: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

2012

F22 software (avionics only)~1.7M LOC

“It takes dozens of microprocessors running 100 million lines of code to get

a premium car out of the driveway” (IEEE Spectrum February 2009 Image: General Motors)

Page 4: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Cloud Computing … a style of computing in which massively scalable IT-relatedcapabilities are provided “as a service” using Internet technologies to multiple external customers.Definition: Gartner Group

New Ways of Composing Services

Page 5: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Smarter Devices

Page 6: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

The point is…

Page 7: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

SoftwareMore and Better…

Page 8: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Less TimeIn…

Page 9: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Smaller BudgetsAnd with…

Page 10: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

A software development organization cannot be competitive without widespread use of open source

Today’s Reality…

Page 11: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Gartner OSS Predictions

• By 2016, OSS will be included in mission-critical software portfolios within 99% of Global 2000 enterprises, up from 75% in 2010.

• By 2014, 50% of Global 2000 organizations will experience technology, cost and security challenges through lack of open-source governance.

• By 2015, OSS will be used and adopted to help enable over 60% of platform-as-a-service (PaaS) services.

• By 2014, 30% of applications running on proprietary versions of Unix will be migrated to OSS-based Linux on x86.

• By 2014, those organizations with effective, open-source community participation will consistently deliver high returns from their open-source investments.

• By 2013, up to 50% of Global 2000 non-IT enterprises will contribute to at least one OSS project.

• By 2016, 50% of leading non-IT organizations will use OSS as a business strategy to gain competitive advantage.

Predicts 2011: Open-Source Software, the Power Behind the Throne23 November 2010ID:G00209180

Page 12: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Typical Software Project Metrics

• 2.9 GB• 87,863 Files• 8,535,345 LOC• Copyright holders – ~350• Binaries/Archives/JARS – 1207

What is This Software Project Trying To Tell You?

Page 13: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Audit Example

Size15.9GB 59.1M LOC

Documented OS components

303

Undocumented OS components

535

Total # 838

% LOC from Open Source

60-65%

There is probably a lot of content that you don’t know about

Page 14: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Source: Palamida Audit Projects

1 2 3 4 5 6 7 8 9 10 11 12 130

50

100

150

200

250

300

350

Undisclosed

Disclosed

Open Source Components Disclosed In Advance of Audit vs. Undisclosed

It’s Likely Your Disclosure of 3rd Party Content is Incomplete…

Page 15: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

0%

5%

10%

15%

20%

25%

30%

Audit Breakdown by License

TOTAL %

Source: 2010 Year to Date Audit Engagements Performed by Palamida Professional Services

…With License Terms that May Be Problematic

Page 16: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

PLAINTIFFS'MEMORANDUM OF LAWIN SUPPORT OF THEIRMOTION FORPRELIMINARY INJUNCTIONAGAINST DEFENDANTSBEST BUY, CO., INC. ANDPHOEBE MICRO, INC.

SOFTWAREFREEDOM CONSERVANCY, INC. andERIK ANDERSEN,

Plaintiffs would be happy to settle this matter with Best Buy and Phoebe Micro if they either (i) ceased all distribution of BusyBox or (ii) committed to distribute BusyBox in compliance with the free and open source license terms under which Plaintiffs offer BusyBox to the world. Plaintiffs have patiently worked with Best Buy and Phoebe Micro to bring their products into compliance with the license, but unfortunately have now concluded that those efforts are destined to fail because neither Best Buy nor Phoebe Micro has the capacity and desire to meet either of Plaintiffs' demands for settlement. As such, Plaintiffs are forced to protect their interests in BusyBox by now respectfully moving for a preliminary injunction, pursuant to Rule 65, enjoining and restraining defendants Best Buy and Phoebe Micro from any further copying, distribution, or use of their copyrighted software BusyBox.

Filed 1/31/11

Open Source is not somehow “different”

Page 17: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

This afternoon, the database software giant said it was suing Google (GOOG), alleging patent and copyright infringement of Java-related intellectual property in the development of Android mobile operating system software.

Love, Larry: Here Is the Oracle Statement and Final Complaint Versus Googleby Kara Swisher Posted on August 12, 2010 at 6:46 PM PT

http://kara.allthingsd.com/20100812/love-larry-here-is-the-oracle-statement-and-final-complaint-versus-google/

Software IP is a potent competitive weapon

Page 18: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

0

10

20

30

40

50

60

70

80

90

Apache Tomcat

jQuery GNU C Library

libpng LibTIFF OpenSSL Zlib Libcurl Libxml2 OpenSSH

89

1

27 3141

61

5 5 11

60

And Open Source Is Not Immune to Vulnerabilities

Vulnerabilities in Popular Open Source Projects Source: National Vulnerability Database

Page 19: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

A notice appeared on www.kernel.org today informing visitors that the servers housing the Linux kernel source code had been hacked earlier this month. The breach was discovered yesterday and maintainers believe the source code itself is unaffected.

Oh No, Kernel.org was Hackedby Susan Linton - Aug. 31, 2011

Source: ostatic.com

Page 20: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

August 2011

‘Devastating’ Apache bug leaves servers exposedDevs race to fix weakness disclosed in 2007

Attack code dubbed “Apache Killer” that exploits the vulnerability in the way Apache handles HTTP-based range requests was published Friday on the Full-disclosure mailing list. By sending servers running versions 1.3 and 2 of Apache multiple GET requests containing overlapping byte ranges, an attacker can consume all memory on a target system.

August 14, 2011

Page 21: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Mango OSS Components

Quartz Enterprise Job Scheduler

Apache Commons Logging

Apache Jakarta Taglibs

Spring Framework

JfreeChart

Apache Jakarta Commons

Freemarker

Jcommon Utility Classes

Apache-db-derby

Apache Log4J

JavaMail API

MySQL

SAX: Simple API for XML

J2EE Java2 SDK Activation

AQP Alliance

DWR Direct Web Remoting

pngencoder

git-MM JDBC driver

Apache Xerces

DWR OSS Components

Apache Spring Framework

Apache Struts

Hibernate

Scriptaculous

Beehive

WebWork

Backport Util Concurrent

Google Injection Framework

Scriptaculous Components

PrototypeJS 1.5.0

NVD Reported Vulnerabilities: 0

NVD Reported Vulnerabilities: 4

NVD Reported Vulnerabilities: 1

Page 22: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Risk is RiskAnd you can’t mitigate risk you don’t know you have

Page 23: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Page 24: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

What to Do Tomorrow• Set up an OSRB or equivalent• Establish your policy for use of externally

sourced software• Don’t stop at IP, include security• Audit any software acquired via M&A• Evaluate compliance alternatives, and get

started

Page 25: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

• Comprised of Legal, Development and Security

• Review and Approve Policy for externally sourced software

• Establish the scope of information required and retained (the request form)

• Case-by-case use decisions• Review and approve the policy

for compliance with obligations• Reports to CFO, GC, VP

engineering or others periodically on compliance status

Open Source Review Board

Page 26: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Policy

Is this component in a software product that ships to customers?

Does this component contain encryption?

Have we modified this component?

What is the license?

Does this component contain known vulnerabilities?

When was the last time we checked this software for version and vulnerability?

Have we added this component to the notices file?

What is the name and version of this software component?

Where is it used?

Page 27: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Mergers and Acquisitions (and outsourced development)• Make code audit a contract item• Don’t rely on reps regarding code content – typically 3-5x more found

than disclosed• Use outside firms to maintain an “arms-length” relationship• Factor in remediation costs • Don’t integrate the code with yours until you are confident of origin

Page 28: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

What Acquiring Firms Are Concerned About Today• GPL and other Viral Licenses (esp v3.0)• Affero GPL• Commercial Content and Libraries• Restrictions on commercial use or field of use (e.g. no Military use)• Cryptography• Code with Unknown Licenses• % of undisclosed content

Page 29: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Evaluate Compliance Alternatives, and Get Started

• In-house process• External Professional Services – periodic reports• In-house system

• Owned by development• Used by development, legal and security• System of record for policy and content

• The first pass is the most time-consuming – consider a outside audit to populate the internal system

Page 30: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Key Questions to Ask…• How High is the Bar?

• What is “Good Enough”?

• Have You Scanned Everything? [Probably Not!]

• What’s Out There That’s Hard, But Important?

Page 31: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

• More Linux kernel and related materials “in scope”• More interest in historical versions / installed base• Open Source projects requiring more internal deep reviews• Management signing off on Bill of Materials or equivalent• More divestitures, concern about internal process exposure

How High Is the Bar?

Page 32: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

• The Community is getting more savvy and vocal• The “Community” includes commercial vendors $$$$$• More internal emphasis on tracking down source for LGPL binaries – compliance and

disaster recovery• Customers are demanding more; at delivery and at contract signing• Scanning is occurring at internal and external touch points• More historical versions being reviewed at M&A time• A supplier to my supplier is MY supplier!

What Is “Good Enough”?

Page 33: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

• Java: Maven becoming more prevalent• C/C++/etc…: Github remote repositories• Commercial Source compiled on laptop• Binary analysis bar is being raised• Where did all these binaries come from? 1000 to 10,000+• More naïve companies requiring scans / Bad Advice • Web services• Post acquisition discovery of missing code

Have You Scanned Everything [Probably Not]?

Page 34: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

• Object Oriented Design Issues (esp. C++/Java/C#)• Header files cut and pastes (The Google Bionic Issue)• Binaries and subcomponents• Code with Unknown licenses – more every day• Popular projects w/ Bad Licenses (Code Project CPOL or Stack Overflow CC BY-SA)• Employees that travel w/ “Toolkits” “Wall St. Programmer Guilty of Code Theft”

http://query.nytimes.com/gst/fullpage.html?res=9E00E2D81E31F932A25751C1A9669D8B63

What’s Out There That Is Hard, But Important?

Page 35: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

What’s In Your Code?

Page 36: Palamida Open Source Compliance Solution

Copyright © 2012 Palamida, Inc.

Open Source Software: The Intersection of IP and Security

April 2012