• No results found

WEB APPLICATION SECURITY

N/A
N/A
Protected

Academic year: 2021

Share "WEB APPLICATION SECURITY"

Copied!
43
0
0

Loading.... (view fulltext now)

Full text

(1)

Governance and Risk Management

WEB APPLICATION SECURITY

YOUR LAST LINE OF DEFENSE

© 2008 IBM Corporation

Anthony Lim

MBA CISSP CSSLP FCITIL

Director, Security, Asia Pacific

Rational Software

Aug 06 2009

(2)

Governance & Risk Management

Prolog / Disclaimer:

State of Application Security Awareness Today



Half the people don’t know about it



Of the other half who may know something about it

½ of whom may know quite abit about it … but …

½ of these tend it keep the matter to themselves and/or assume others know

as much about it

The other half tend to be opinionated

© 2008 IBM Corporation

IBM Security

2

Of the other half

½ of these think its other people’s job /problem

The other ½ don’t care about it or don’t want to know about it …



they have other things to worry about or



Don’t want to take on additional work



Or fear if they can’t deal with it well they will get into trouble with the

bos

(3)

Governance & Risk Management

Smarter planet opportunities driven by Web-enabled

applications

The Opportunity – smarter planet

Globalization and Globally Available Resources

© 2008 IBM Corporation

IBM Security

3

New Forms of Collaboration Access to streams of information in the Realtime

Billions of mobile devices accessing the Web

Web 2.0

SOA

(4)

Governance & Risk Management

Prolog: The Security Journey Continues

New, More, Bigger, Better …

• SYSTEMS

• APPLICATIONS

• SERVICES

•-> New Risks

© 2008 IBM Corporation IBM Security

4

•-> New Risks

•-> New Vulnerabilities

•-> New Hacking methods

•Viruses, Worms, RATS, Bots …

(Remote Access TROJANS = Spyware)

-> NEW: GOVERNANCE &

COMPLIANCE!

• Data Privacy

(5)

Governance & Risk Management

Regulation & Compliance

SARBANES-OXLEY

, HIPAA, BASEL II …



It is part of doing business



Business Continuity



An environment of TRUST

For doing business

Ensure Orderliness in Internet

world

Promote Economic growth



More than just

Confidentiality, Integrity

and Availability



Privacy

3

rd

Party Customer Data

© 2008 IBM Corporation

IBM Security

(6)

Governance & Risk Management

GOVERNANCE

AND

COMPLIANCE

ILLEGAL TO

STEAL

© 2008 IBM Corporation IBM Security

6

AND /OR

MISUSE

DATA

INCLUDING

ELECTRONIC

DATA

(7)

Governance & Risk Management

It Gets Worse

• WAP, GPRS, EDGE, 3G

• 802.1x

• Broadband

© 2008 IBM Corporation IBM Security

(8)

Governance & Risk Management

Changing security landscape creates complex threats

Web-enabled applications drive the

need for security



New applications are increasing the

attack surface



Complex Web applications create

complex security risks



Making applications more available

© 2008 IBM Corporation

IBM Security

8



Making applications more available

to “good” users, makes them more

available to “bad” users



Web attacks are evolving to blended

attacks (i.e. planting of malware on

legitimate Web sites)

Desktop:

Browser

Server:

Hypervisor and Virtualization Web Applications

(9)

Governance & Risk Management

The Myth: “Our Site Is Safe”

We Have Firewalls

and IPS in Place

Port 80 & 443 are open

for the right reasons

We Audit It Once a

Quarter with Pen Testers

Applications are constantly

changing

© 2008 IBM Corporation IBM Security

9

We Use Network

Vulnerability Scanners

Neglect the security of the

software on the network/web

server

We Use SSL Encryption

Only protects data between

site and user not the web

(10)

Governance & Risk Management

SOMETHING IS STILL OUT THERE …

© 2008 IBM Corporation

IBM Security

(11)

Governance & Risk Management

© 2008 IBM Corporation

IBM Security

(12)

Governance & Risk Management

© 2008 IBM Corporation

IBM Security

(13)

Governance & Risk Management

© 2008 IBM Corporation

IBM Security

(14)

Governance & Risk Management

© 2008 IBM Corporation

IBM Security

(15)

Governance & Risk Management

May 7, 2009 CNet Tech News

Report: Hackers broke into FAA air traffic control

systems

© 2008 IBM Corporation

IBM Security

(16)

Governance & Risk Management

© 2008 IBM Corporation

IBM Security

(17)

Governance & Risk Management

Reality: Security and Spending Are Unbalanced

© 2008 IBM Corporation

IBM Security

17

of All Attacks on Information Security are

Directed to the Web Application Layer

75%

75%

of All Web Applications are Vulnerable

2/3

(18)

Governance & Risk Management

WHY DO HACKERS TODAY TARGET APPLICATIONS?



Because they know you have firewalls

So its not very convenient to attack the network anymore

But they still want to attack ‘cos they still want to steal data …



Because firewalls do not protect against app attacks!

So the hackers are having a field day!

Very few people are actively aware of application security issues

© 2008 IBM Corporation

IBM Security

18



Because web sites have a large footprint

No need to worry anymore about cumbersome IP addresses



Because they can!

It is difficult or impossible to write a comprehensively robust application

Developers are yet to have secure coding as second nature

Developers think differently from hackers

Cheap, Fast, Good – choose two, you can’t have it all

It is a nightmare to manually QA the application

(19)

Governance & Risk Management

Top Hack Attacks Today Target Web Applications

© 2008 IBM Corporation

IBM Security

(20)

Governance & Risk Management

Web Application Hacks are a Business Issue

Application Threat

Negative Impact

Potential Business Impact

Buffer overflow

Denial of Service (DoS)

Site Unavailable; Customers Gone

Cookie poisoning

Session Hijacking

Larceny, theft

Hidden fields

Site Alteration

Illegal transactions

Debug options

Admin Access

Unauthorized access, privacy liability, site

© 2008 IBM Corporation

IBM Security

20

Misdirect customers to bogus site

Debug options

Admin Access

Unauthorized access, privacy liability, site

compromised

Cross Site scripting

Identity Theft

Larceny, theft, customer mistrust

Stealth Commanding

Access O/S and Application

Access to non-public personal

information, fraud, etc.

Parameter Tampering

Fraud, Data Theft

Alter distributions and transfer accounts

Forceful Browsing/

SQL Injection

Unauthorized Site/Data Access

Read/write access to customer

databases

(21)

Governance & Risk Management

© 2008 IBM Corporation

IBM Security

(22)

Governance & Risk Management

© 2008 IBM Corporation

IBM Security

(23)

Governance & Risk Management

© 2008 IBM Corporation

IBM Security

(24)

Governance & Risk Management

© 2008 IBM Corporation

IBM Security

(25)

Governance & Risk Management

© 2008 IBM Corporation

IBM Security

(26)

Governance & Risk Management

© 2008 IBM Corporation

IBM Security

(27)

Governance & Risk Management

25-27 FEB 2009, GOLD COAST, AUSTRALIA

© 2008 IBM Corporation

IBM Security

27

(28)

Governance & Risk Management

Now there’s

Web “Man-in-the Middle” Attacks

First presented at OWASP AP Conference © 2008 IBM Corporation IBM Security

28

Mar 09 Brisbane

(29)

Governance & Risk Management

Malware on Web Applications



Malware can be delivered in many

ways:

– E-mail, IM, network vulnerabilities…



Today, Malware is primarily

delivered via Web Applications:

– Aims to infect those browsing the site

– Installed via Client-Side (e.g. Browser) Vulnerabilities & Social Engineering Image (host.com) © 2008 IBM Corporation IBM Security

29

29



Malicious content can be

downloaded:

– From the web application itself

– Through frames & images leading to other websites

– Through links leading to malicious destinations



Legitimate Sites Hijacked to

distribute Malware!

McAfee, Asus, US Govt Staff Travel Site, Wordpress.org, SuperBowl, …

http://evil.org http://host.com

<script src=file.js>

(30)

Governance & Risk Management

Real Example: Online Travel Reservation Portal

Change the reserID to 2001200

© 2008 IBM Corporation

IBM Security

(31)

Governance & Risk Management

Real Example :

Parameter Tampering

Reading another user’s transaction – insufficient authorization

Another customer’s transaction

slip is revealed, including the

email address

© 2008 IBM Corporation

IBM Security

(32)

Governance & Risk Management

Parameter Tampering

Reading another user’s invo

ice

The same customer invoice

that reveals the address and

contact number

© 2008 IBM Corporation

IBM Security

(33)

Governance & Risk Management

Attacks Sophistication vs. Intruder Knowledge

High

Intruder

Knowledge

Tools

© 2008 IBM Corporation IBM Security

33

1980

1985

1990

1995

2000

2005

Today

Low

Attack

Sophistication

(34)

Governance & Risk Management

DON’T TRY THIS AT HOME!

© 2008 IBM Corporation

IBM Security

(35)

Governance & Risk Management

Software Application Development Pressures

Today I’m being asked to:

Deliver product faster (a lot faster!)

• Increase product innovation

• Improve quality

• Reduce cost

Deliver a secure product (?)

© 2008 IBM Corporation

IBM Security

35

(36)

Governance & Risk Management

WHY DO APPLICATION SECURITY PROBLEMS EXIST?



IT security solutions and professionals are normally from

the network /infrastructure /sysadmin side

They usually have little or no experience in application development

And developers typically don’t know or don’t care about security or

networking



Most companies today still do not have an application

© 2008 IBM Corporation

IBM Security

36



Most companies today still do not have an application

security QA policy or resource

IT security staff are focused on other things and are swarmed

App Sec is their job but they don’t understand it and don’t want to deal with it

Developers think its not their job or problem to have security in coding

People who outsource expect the 3

rd

party to security-QA for them



It is cultural currently to not associate security with coding

“Buffer Overflow” has been around for 25 years!

(37)

Governance & Risk Management

Top 10 OWASP Critical Web Application Security Issues ‘09

1 Unvalidated Input

2 Broken Access Control

3 Broken Authentication and Session Management

4 Cross Site Scripting Flaws

5 Buffer Overflows

© 2008 IBM Corporation

IBM Security

37

6 Injection Flaws

7 Improper Error Handling

8 Insecure Storage

9 Denial of Service

(38)

Governance & Risk Management

SECURITY TESTING IS PART OF SDLC QUALITY TESTING

Collaborative Application Lifecycle Management

Test Management and Execution

SDLC Quality Assurance

Quality Dashboard Defect Management Requirements Management © 2008 IBM Corporation IBM Security

38

TEAM SERVER Manage Test Lab Create

Plan BuildTests

Report Results

Functional

Testing Performance

Testing Web ServiceQuality

Code Quality

Security and Compliance

Open Lifecycle Service Integrations Best Practice Processes

homegrown Open Platform Java System z, i SAP .NET

(39)

Governance & Risk Management

Building security & compliance into the SDLC – further back

Build

SDLC

SDLC

Developers

Coding

QA

Security

Production

Enable Security to effectively drive remediation into development © 2008 IBM Corporation IBM Security

39

Developers Developers

Provides Developers and Testers with expertise on detection and

remediation ability Ensure vulnerabilities are addressed before applications are put into production

(40)

Governance & Risk Management

THE NEED FOR SECURITY IN SOFTWARE DEVELOPMENT

HAS COME OF AGE … NOW

“SOFTWARE CISSP”

1.

Secure Software Concepts

2.

Secure Software

Requirements

© 2008 IBM Corporation

IBM Security

40

3.

Secure Software Design

4.

Secure Software Coding

and Implementation

5.

Secure Software Testing

6.

Software Acceptance

7.

Software Deployment,

Operations, Maintenance

and Disposal

(41)

Governance & Risk Management

Conclusion: Application QA for Security



The Application Must Defend Itself

You cannot depend on firewall or infrastructure security to do so



Bridging the GAP between Software development and Information

Security



QA Testing for Security must now be integrated and strategic

© 2008 IBM Corporation

IBM Security

41



We need to move security QA testing back to earlier in the

SDLC

at production or pre-production stage is late and expensive to fix

Developers need to learn to write code defensively and securely

Lower Compliance & Security Costs by:

• Ensuring Security Quality in the Application up front

• Not having to do a lot of rework after production

(42)

Governance & Risk Management

SDLC QA - YOUR LAST LINE OF DEFENSE

© 2008 IBM Corporation

IBM Security

(43)

Governance and Risk Management

WEB APPLICATION SECURITY

YOUR LAST LINE OF DEFENSE

© 2008 IBM Corporation

Thank You

Anthony LIM

References

Related documents

In addition, in the multivariate logistic regression analysis, the following combined variables were significantly associated with adherence to type 2 diabetes medication: age

Physical connection is established (outside the protocol) Server supporting Protocol Layer (XX) Client supporting Protocol Layer (XX) Client AL xDLMS ASE Client AL ACSE COSEM-

Figure 23 Elongated Welded Square Nose Model Front Impact Four Points Static Force Simulation and Stress Key

The revisions to the CPC notes in the Tariff are required to accommodate the discharge (from 1 May 2016) of Inward Processing under Article 85 of the Union Customs Code.(ex

See, Zeran, 129 F.3d, at 333 (noting that if notice could be used to trigger litigation, the ISPs would respond by removing the speech on the Internet, even if the speech is

lipstick and lip gloss eighteen months liquid eyeliner six months cream foundation one year lip liner one year mascara three months eyeliner eighteen months powder foundation

The purpose of this study was to evaluate the impact of an international fieldwork placement on occupational therapy doctoral (OTD) students’ cultural competence,

In addition we also send you general information about the country and the specific SOS Children’s Village where your sponsored child lives or that you support through a