security development lifecycle tools

22
Security Development Lifecycle Tools Presentation By : Sunil Yadav

Upload: nu-the-open-security-community

Post on 17-Dec-2014

1.612 views

Category:

Technology


9 download

DESCRIPTION

Security Development Lifecycle Tools by Sunil Yadav @ null Mumbai Meet, March, 2011

TRANSCRIPT

Page 1: Security Development Lifecycle Tools

Security Development Lifecycle Tools Presentation By : Sunil Yadav

Page 2: Security Development Lifecycle Tools

Security Development Lifecycle

SDL process used by Microsoft to develop software, that

defines security requirements and minimizes security related issues. Software development security assurance process SD3+C – Secure by Design, Secure by Default, Secure in

Deployment, and Communications

Page 3: Security Development Lifecycle Tools

A Security Framework SD3+C

Page 4: Security Development Lifecycle Tools

SDL Phases

Page 5: Security Development Lifecycle Tools

SDL Tools

Binscope Binary Analyzer SDL Regex Fuzzer Code Analysis Tool (CAT.NET) Minifuzz File Fuzzer

Page 6: Security Development Lifecycle Tools

Binscope Binary Analyzer

Binscope is a binary analyzer security tool to ensure that the assemblies comply with SDL requirements and recommendations. Binscope performs the following security checks to test the

weaknesses like buffer overflow, data execution etc. Check/Flag Description

/GS Prevent buffer overflow

/SafeSEH Ensures safe exception handling

/NXCOMPAT Ensure compatibility with Data Execution Prevention(DEP)

/SNCHECK Ensures unique key pairs and strong integrity check.

Page 7: Security Development Lifecycle Tools

Demo

Page 8: Security Development Lifecycle Tools
Page 10: Security Development Lifecycle Tools

SDL Regex Fuzzer

SDL Regex Fuzzer is a tool to help test regular expressions for potential denial of service vulnerabilities SDL Regex Fuzzer testing must be performed during

Microsoft security development lifecycle (SDL) Verification Phase.

Evil Regular Expressions

([a-zA-Z]+)*

(a|aa)+

(.*a){x} | for x > 10

(a|aa)+

Page 11: Security Development Lifecycle Tools

Demo

Page 12: Security Development Lifecycle Tools

References Download: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8737519c52d3-4291-9034-caa71855451f

Download SDL Tools: http://www.microsoft.com/security/sdl/getstarted/tools.aspx

Links:

http://blogs.msdn.com/b/sdl/archive/2010/10/12/new-tool-sdl-regexfuzzer.aspx http://msdn.microsoft.com/en-us/magazine/ff646973.aspx http://www.owasp.org/index.php/Regular_expression_Denial_of_Service__ReDoS http://www.sunilyadav.net/2011/02/sdl-regex-fuzzer/

Page 13: Security Development Lifecycle Tools

Code Analysis Tool (CAT.NET) Code Analysis Tool (CAT.NET) is a binary source code

analysis tool that helps in identifying common security flaws in managed code

Vulnerability

Cross Site Scripting(XSS)

SQL Injection

Process Command Injection

File Canonicalization

Exception Information

LDAP Injection

XPATH Injection

Redirection to User Controlled Site

Page 14: Security Development Lifecycle Tools

Demo

Page 15: Security Development Lifecycle Tools
Page 17: Security Development Lifecycle Tools

Minifuzz File Fuzzer

Minifuzz tool helps in detecting security flaws that may expose application vulnerabilities in file handling code The Minifuzz tool accepts the file content and creates a

multiple variations of the same file to identify the application behavior for handling different file formats Minifuzz testing must be performed during Microsoft security

development lifecycle (SDL) Verification Phase.

Page 18: Security Development Lifecycle Tools

Demo

Page 19: Security Development Lifecycle Tools
Page 20: Security Development Lifecycle Tools
Page 21: Security Development Lifecycle Tools

References Download http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=b2307ca4-638f-4641-9946-dc0a5abe8513

Links: http://www.microsoft.com/security/sdl/default.aspx http://www.owasp.org/index.php/Fuzzing http://www.sunilyadav.net/2011/02/minifuzz-file-fuzzer/

Page 22: Security Development Lifecycle Tools

Questions?