• No results found

DOES OPEN MEAN VULNERABLE?

N/A
N/A
Protected

Academic year: 2021

Share "DOES OPEN MEAN VULNERABLE?"

Copied!
29
0
0

Loading.... (view fulltext now)

Full text

(1)

© 2015 Black Duck Software, Inc.  All Rights Reserved.

DOES OPEN MEAN VULNERABLE?

GENIVI All Members Meeting, Seoul Korea - October 2015

Bill Weinberg, Senior Director, Open Source Strategy

(2)

2

© 2015 Black Duck Software, Inc.  All Rights Reserved.

AGENDA

Introduction

Security by Obscurity

Security through Openness

Open Source Hygiene

(3)

3

© 2015 Black Duck Software, Inc.  All Rights Reserved.

(4)

4

© 2015 Black Duck Software, Inc.  All Rights Reserved.

YOUR SPEAKER

Bill Weinberg, Senior Director, Open Source Strategy – Black Duck Software

Bill helps Fortune 1000 clients create secure approaches to enable, build, and

deploy software for intelligent devices, IoT, automotive systems, enterprise data

centers, and cloud infrastructure.

Working with FOSS since 1997, Bill also boasts more than thirty years

of experience in embedded and open systems, telecommunications,

and enterprise software. As a founding team-member at MontaVista Software,

Bill pioneered Linux as leading platform for intelligent and mobile devices.

During his tenure as Senior Analyst at OSDL (today, the Linux Foundation), Bill

ran Carrier Grade and Mobile Linux initiatives and worked closely with

foundation members, analyst firms, and the press. As General Manager of the

Linux Phone Standards Forum, he worked tireless to establish standards for

mobile telephony middleware.

Bill is also a prolific author and busy speaker on topics spanning

global FOSS adoption to real-time computing, IoT, legacy migration,

licensing, standardization, telecoms infrastructure, and mobile

(5)

5

© 2015 Black Duck Software, Inc.  All Rights Reserved.

7 of the top 10

Software companies, and

44% of the top 100

6 of the top 8

Mobile handset vendors

6 of the top 10

Investment Banks

24

Countries

185+

Employees

1,600

Customers

27 of the Fortune 100

BLACK DUCK – SECURING AND MANAGING OPEN SOURCE

Award for

Innovation

Four Years in the “Software

500” Largest Software

Companies

Six Years in a row

for Innovation

Gartner Group

“Cool Vendor”

“Top Place to Work,”

The Boston Globe

(6)

6

© 2015 Black Duck Software, Inc.  All Rights Reserved.

TWO COMPETING NARRATIVES

(7)

7

© 2015 Black Duck Software, Inc.  All Rights Reserved.

SECURITY BY OBSCURITY

(8)

8

© 2015 Black Duck Software, Inc.  All Rights Reserved.

SECURITY BY OBSCURITY

Least Privilege

Triple Fence

Mandatory Access Control

Eyes Only

Encryption

Need to know

Obfuscation

Top Secret

Classified

Hardened

Role-based

Non-disclosure

(9)

9

© 2015 Black Duck Software, Inc.  All Rights Reserved.

Practical Definition for Developers

Minimize/eliminate access to source code

Small teams create, review, maintain systems and apps

No purview by or sharing with third parties

Restrictions enforced by technical and statutory means

SECURITY BY OBSCURITY

(10)

10

© 2015 Black Duck Software, Inc.  All Rights Reserved.

OBSCURITY FALLACY

Hacking tools and malware don’t require source code

Root kits, RATs, fuzzing, etc.

Viruses, worms, DDoS, MitM, etc.

Fewer eyes mean less purview,

potentially more bugs

Closed favors black hats over white

Secrecy affects vendor behavior

False sense of security

(11)

11

© 2015 Black Duck Software, Inc.  All Rights Reserved.

SECURITY THROUGH OPENNESS

(12)

12

© 2015 Black Duck Software, Inc.  All Rights Reserved.

LINUS’ LAW

(13)

13

© 2015 Black Duck Software, Inc.  All Rights Reserved.

User Community & Ecosystem

Developer Community

Core Developers

OPEN SOURCE DEVELOPMENT MODEL

Core project developers create, maintain, curate code base

Vet contributions from larger communities

Focus on project goals – features, performance, etc.

(14)

14

© 2015 Black Duck Software, Inc.  All Rights Reserved.

User Community & Ecosystem

Developer Community

Core Developers

OPEN SOURCE CODE CURATION MODEL

Code v1

Code v2

Code vN

(15)

15

© 2015 Black Duck Software, Inc.  All Rights Reserved.

OPEN SOURCE CODE QUALITY ASSURANCE

CODE

unterminated strings

unchecked function returns

Indices out of bounds

memory leaks

faulty logic

regressions

misconfiguration

stray pointers

back doors

parameter reversal

improper type casts

incorrect permissions

debug code

race conditions

deprecated versions

priority inversion unitialized variables

privilege violations

COMMUNITY

Maintainers,

developers, users

exercise, debug & improve code

(16)

16

© 2015 Black Duck Software, Inc.  All Rights Reserved.

THEORETICAL “TRIPLE FENCE” OF OSS SECURITY

Enterprise / OEM Integration

Distribution / Platform Creation

OSS Project Purview

Production

Code

(17)

17

© 2015 Black Duck Software, Inc.  All Rights Reserved.

OPEN SOURCE CODE SECURITY GAP

Majority of eyes occupied elsewhere

Minority of community is security-savvy

CODE

unterminated strings

unchecked function returns

Indices out of bounds

memory leaks

faulty logic

regressions

misconfiguration

stray pointers

back doors

parameter reversal

improper type casts

incorrect permissions

debug code

race conditions

deprecated versions

priority inversion unitialized variables

privilege violations

(18)

18

© 2015 Black Duck Software, Inc.  All Rights Reserved.

WHAT DO THESE VULNERABILITIES HAVE IN COMMON?

Heartbleed

Shellshock

Freak

Ghost

Venom

Since:

Discovered:

2011

2014

1989

2014

1990’s

2015

2000

2015

2004

2015

Discovered by:

Component: OpenSSL

Riku, Antti,

Matti, Mehta

Bash

Chazelas

OpenSSL

Beurdouche

GNU C library

Qualys

researchers

QEMU

Geffner

(19)

19

© 2015 Black Duck Software, Inc.  All Rights Reserved.

INCREASING VULNERABILITIES

-

1,000

2,000

3,000

4,000

5,000

6,000

7,000

8,000

9,000

2005

2006

2007

2008

2009

2010

2011

2012

2013

2014

VULNERABILITIES DISCLOSED PER YEAR (NVD)

In 2014:

Over 7,900 new vulnerabilities disclosed & catalogued

~4,300 in Open Source, ~3,600 in commercial software

(20)

20

© 2015 Black Duck Software, Inc.  All Rights Reserved.

THE BROADER IT INDUSTRY IS CONCERNED

“Through 2020, security and quality defects

publicly attributed to OSS projects will

increase significantly, driven by a growing

presence within high-profile, mission-critical

and mainstream IT workloads.”

Gartner, Road Map for Open-Source Success: Understanding

Quality and Security, Mark Driver, 3 March 2014.

(21)

21

© 2015 Black Duck Software, Inc.  All Rights Reserved.

OPEN SOURCE HYGIENE

(22)

22

© 2015 Black Duck Software, Inc.  All Rights Reserved.

Open Source Hygiene

is the

practice of cross referencing the

open source content of a company

or product software stack, module

by module, version by version, with

databases of known vulnerabilities

of those software components.

 

(23)

23

© 2015 Black Duck Software, Inc.  All Rights Reserved.

Software Composition Analysis (SCA)

(24)

24

© 2015 Black Duck Software, Inc.  All Rights Reserved.

OSS HYGIENE COMPLEMENTS SECURITY TESTING

ANALYZE

DESIGN

CODE

TEST

MAINTAIN

Static

Analysis

Dynamic

Analysis

Penetration

Testing

Rule-based

Vulnerability Testing

OSS POLICIES

OSS SELECTION

OSS DETECTION

OSS ALERTING

OSS MONITORING

OPEN SOURCE HYGIENE

SOFTWARE DEVELOPMENT LIFE-CYCLE

(25)

25

© 2015 Black Duck Software, Inc.  All Rights Reserved.

DUE DILIGENCE ACROSS THE DEVELOPMENT LIFE-CYCLE

Scan

Identify

Inventory

BOM

Map

Vulnerabilities

Monitor

Accurate list of

open source components

automatically created

for any application

at any point in the SDL

Identify vulns during

development

Alert new vulns in

production apps

(26)

26

© 2015 Black Duck Software, Inc.  All Rights Reserved.

THE ROAD TO SECURE OSS USE – BEST PRACTICES

§

Identify OSS in use

§

Map known vulnerabilities

§

ID and assess risk

§

Monitor for new

vulnerabilities

§

Review vuln details

§

Assess CVE impact

§

Rank / tier app risk

§

Triage and develop

remediation plan

§

Track remediation

§

Inventory & track usage

§

Configure risk policies

and actions

§

Determine approval

request workflow and

management

(27)

27

© 2015 Black Duck Software, Inc.  All Rights Reserved.

DOES OPEN MEAN VULNERABLE? IT DEPENDS . . .

1.

Under ideal conditions, open is more secure than closed

2.

Conditions are never ideal

3.

Integrators and end-users need to supplement community

(28)

28

© 2015 Black Duck Software, Inc.  All Rights Reserved.

DIVIDER  

(29)

References

Related documents

To harness the benefits of cloud computing, we have instituted a Cloud First policy.. This policy is intended to accelerate the pace at which the government will realize the

This award is presented each year to the Outstanding Young Patroller volunteer selected from among nominations sent by the Division Directors or designees to the national

income effects that induce households to provide more labor in the market than they would have done if the tax revenues were rebated. Finally, notice that the model with

© InfoTrends 2011 8 “We’ve built a bridge to support the sales rep’s solid client relationships with a team of resources that possess technical and marketing skills required

Due to the fact that (1) hardware is typically more expensive, (2) monthly service fees are high (and polling rate is low, cost is high; see polling rate), (3)

Big data has the potential to improve transportation operations both incrementally and radically. Big data approaches to data capture and management analysis will accelerate

Choose the correct alternative to fill the missing term/terms in the given series.. They have certain relationship between them. The same relationship exists between the