• No results found

Reducing Application Vulnerabilities by Security Engineering

N/A
N/A
Protected

Academic year: 2021

Share "Reducing Application Vulnerabilities by Security Engineering"

Copied!
26
0
0

Loading.... (view fulltext now)

Full text

(1)

Reducing Application Vulnerabilities

by

Security Engineering

- Subash Newton

(2)

Background

Application Security

Myths and Reality

Agenda

Application Security – Conventional Approach

© 2008, Cognizant Technology Solutions. Confidential

Security Engineering

2

Vulnerabilities

Trends

(3)

Background

Hacking incidents

» Greek Ministry website hit by Hackers intrusion – Feb 2008

» Indiatimes.com visitors risk high exposure to malware – Feb 2008

» Hacker steals Davidson Cos customer data – Feb 2008

- Web Application Security Consortium

 Over 75% of internet attacks occur through ports 80 and 443 which must be

left open to conduct business

- Gartner Group

 Network Security Management is getting mature

(4)

Background

Reasons

 Very Less awareness in Application Security Testing

 Today Security Testing is being seen as optional Testing

What is the Solution?

 Should we need to have dedicated Security Testing Team?

 Can Security Testing be outsourced?

 Can we incorporate Application Security in our development lifecycle?

© 2008, Cognizant Technology Solutions. Confidential

(5)

Application Security

Vulnerability

A weakness in the application which can be a design flaw or an implementation bug, that allows hacker to cause harm to the stakeholders of an application

What is Application Security?

Use of software, hardware and procedural methods to protect applications, data and their control from external threats throughout its lifecycle

Need for Application Security

Patching or rebuilding application is expensive

(6)

Common Myths

6

© 2008, Cognizant Technology Solutions. Confidential

Firewall Protects the website

Security Assessments are performed on the website every year

Vulnerability Scanner reported no security issues

Website uses SSL

Web Application Security is a Developer problem

There is no ROI in Security Testing

Internet DMZ Trusted Inside Corporate Inside

HTTP(S)

IMAP FTP SSH TELNET POP3

Firewall only allows PORT 80 (or 443 SSL) traffic from the Internet to the web server.

Firewall only allows applications

on the web server to talk to application server

Firewall only allows application server to talk to database server.

IIS Web Server

Email Server Admin Server

DB

Application Server Portal Server

(7)

The Reality

Network Server Web Applications % of Attacks % of Dollars

75%

10%

25%

90%

Security

Spending

of All Attacks on Information Security Are Directed to the Web Application Layer 75%

75%

of All Web Applications Are Vulnerable 2/3

(8)

8

© 2008, Cognizant Technology Solutions. Confidential

Application Security – Conventional Approach

Security Scanning

Remediation & Reporting Application Study

Analysis

Re-scan

(9)

What it Leads to?

 Failure to capture vulnerabilities in all layer of the application  High cost for Fixing issues identified at later stage

 Loss of Revenue

(10)

© 2008, Cognizant Technology Solutions. All Rights Reserved. The information contained herein is subject to change without notice.

Vulnerabilities

Testing Servic es

Testing Servic es

(11)

Top 10 Vulnerabilities - 2007

Top 10 are key vulnerabilities that should be eliminated from any application as defined by

OWASP (Open Web Application Security Project)

Vulnerability Vulnerability Type

Cross Site Scripting (XSS) Application

Injection Flaws Application

Malicious File Execution Application

Insecure Direct Object Reference Application / Platform Cross Site Request Forgery (CSRF) Application

Information Leakage and Improper Error Handling Application

Broken Authentication and Session Management Application / Administrative Insecure Cryptographic Storage Application

Insecure Communications Application / Administrative Failure to Restrict URL Access Application

(12)

12

© 2008, Cognizant Technology Solutions. Confidential

Vulnerabilities – Few Causes

Less Server side validation

Port 80, 443 are always open for e-business

Improper User Authentication

Assuming Guest level user might not have technical competencies to exploit applications

Rely on https implementation

Stores clear text DSN connection strings in the configuration files

Assuming cross site scripting is not a big issue

Development Team typically under deadlines

Not following Secure coding guidelines

Networks handling traffic on internet are programmed to trust each other for the best routes for data

(13)
(14)

© 2008, Cognizant Technology Solutions. All Rights Reserved. The information contained herein is subject to change without notice.

Security Engineering

Testing Servic es

Testing Servic es

(15)

Overview

Conventional View

Software Engineering is about “Ensuring that certain things happen” whereas Security Engineering is about ensuring that they don’t.

Reality

 Security Systems differ greatly from one system to other.

 One typically needs some combination of user authentication, transaction integrity and

accountability, fault tolerance and message secrecy.

 Many systems fails because their designers protect the wrong things or protect the right things in the wrong way

(16)

16

© 2008, Cognizant Technology Solutions. Confidential

Process

• Understand Client’s security Posture/ Policy • Security Requirement Identification • Document Security Requirements • List Security objectives • Security Planning • Analyze the Compliance specific requirements • Threat Modeling • Security Architecture & Design Review • Develop & Design guidelines as per Policy • Security Code Reviews • Use Checklists and Design Guidelines • Use Source Code Analysis ToolsManual and tool based Penetration TestingCompliance Specific TestingAnalysis and Reporting • Security Administration Process • Deployment Review • Periodic Penetration Testing • Fix issues discovered during maintenance Design Testing Requirement Gathering Planning and

Analysis Development Deployment Post Deployment

S ec u ri ty T es ti n g A ct iv it ie s S D L C P h as es

(17)
(18)

18

© 2008, Cognizant Technology Solutions. Confidential

Advantages

• Provides confidence in Project Teams that the project is “On Track” • Earlier detection of Security related issues

• Faster resolution of identified issues

• Reduces cost associated in finding fixes in OAT Phase

• Iterative tests allows proper tuning of the application

(19)

Risks

• Major change in the application needs rework

• Non Availability of interfaces

• Non availability of Inter dependent modules

(20)

20

© 2008, Cognizant Technology Solutions. Confidential

Tasks

Threat Modeling Source code Analysis Secure code Reviews Penetration Testing Secure coding Checklists Security Design Review Debugging Vulnerability Scanning Security Assessments Manual Tools Compliance Testing

Security Engineering

Tasks

(21)
(22)

Best Practices

22

© 2008, Cognizant Technology Solutions. Confidential

 Engage Security Testing Team in early stages of Application Development  Ensure Security is part of the iterative Development Process

 Follow the security coding principle

 Application Development Team should accept that application security is their

responsibility

(23)

Data Security

Data Sanitization

• Process of disguising sensitive information in test and development databases by overwriting it with realistic looking but false data of a similar type

Data Sanitization Techniques

• Encryption/Decryption • Substitution • Masking Data • Shuffling records • Number variance • Null’ing out

(24)

24

© 2008, Cognizant Technology Solutions. Confidential

Future Security Trends

• Cell phone worms will infect more phones, jumping from phone to phone over wireless data

network

• Voice over IP (VoIP) systems will be the target of cyber attacks

• Spyware will continue to be a huge and growing issue

• Security Testing will grow from conventional testing methodology to deeper analysis phase on

identifying the traces of malicious code

• Laptop encryption will be made mandatory

• By 2009 , 60 percent of IT organizations will make security vulnerability detection an integral part of their SDLC processes - Gartner

(25)
(26)

26

© 2008, Cognizant Technology Solutions. Confidential

Thank you

Subash Newton

[email protected]

Testing Servic es Testing Servic es

References

Related documents

Type of governance innovation HIV/AIDS Ebola AMR General/Other Creation of new institutions and governance arrangements New institutions and partnerships : UNAIDS, GFATM, Unitaid PDPs

The Detailed Engineering Phase involves engineering activities as follows o Verification of FEED / Basic Design.. o Carrying out Pre-engineering Survey,

The program trained participants as gatekeepers utilizing Question, Persuade, Refer (QPR) strategies and incorporated audience- specific information related to suicide risk in

Indeed the centrality of parenting and bisexual identities, level of sexual identity salience, and experiences of parenting self-efficacy or guilt, bisexual self-esteem or shame,

disillusionments, and ongoing transformation in learning, regarding the mature learners’ preparation for a professional teaching career (Bresler, 2006). Informed by case study,

It is the process by which your data, and even your applications (your software and services), are moved online (i.e. away from your desktop) into the cloud, providing you and

Some VoIP services offer the opportunity to use your VoIP phone number no matter where you are so you can make calls and receive calls over your VoIP service anywhere a

The author presented a situation that service quality is a focused evaluation that reflects the customer’s perception of reliability, assurance, responsiveness,