160 likes | 375 Views
Security Assurance Tools. Amarendra Godbole. Software Security Analyst. Agenda. Security assurance and tools . 1. Categories and usage. 2. Host based . 3. Network based . 4. CVSS v2. 5. Disclaimer. Symantec does not endorse these tools
E N D
Security Assurance Tools Amarendra Godbole Software Security Analyst
Agenda Security assurance and tools 1 Categories and usage 2 Host based 3 Network based 4 CVSS v2 5 Security Assurance Tools
Disclaimer • Symantec does not endorse these tools • If anything breaks, both parts are yours. ;-) • Etc. Security Assurance Tools
Security Assurance and Tools • Ensure software operates at the designed level of security • Partial, but invaluable help from tools • Deep inspection • Tools are not the “silver bullet” • Find subset of issues • Have false-positives (FPs’) and/or false-negative (FNs’) • Analysis important – human intelligence • Defensive tools • More likely to be allowed in your organization • Open source • Check with your legal team for license compatibility. Security Assurance Tools
Categories • Host-based • Find issues on the host (permission checkers, config checkers, debuggers) • Standard system commands/tools being ignored in the light of more exotic ones (netstat, tcpdump, find, compiler flags anyone?) • Network-based • Tools for inspecting network packets (wireshark/ethereal, tcpdump) • Protocol specific tools (burp proxy, ratproxy, SkipFish for web) • Numerous other tools (see sectools.org) Security Assurance Tools
Compiler Flags • Flags enabling protection mechanisms during compile-time • Visual Studio (VC++) defenses • /GS • /SafeSEH • /DynamicBase • /NXCompat • GNU gcc • -fstack-protector • -Wformat -Wformat-security Security Assurance Tools
BinScope • Microsoft verification tool that analyzes binaries • Checks for compliance with the Microsoft SDLC • Stand-alone or can be integrated with Visual Studio 2008 Security Assurance Tools
SysInternal Tools • Windows deep-inspection tools • Runtime behavior • Procmon, Filemon, ProcessExplorer, Regmon – more than 60 tools. • Allow filtering of results. Security Assurance Tools
find • Unix command line utility for “finding” things • World-writable files and directories • Setuid binaries find / -type f –perm 0002 –exec ls –lg {} \; find / -type d \( -perm -0002 –a ! –perm -1000 \) –exec ls –ldg {} \; find / -type f \( -perm -4000 –o –perm -2000 \) –exec ls –lg {} \; Security Assurance Tools
base64 to ASCII encoder/decoder • c3ltYW50ZWM= • Many sites encode plain-text password to base64 • encoding, not encryption. • offers no security • http://www.hcidata.info/base64.htm Security Assurance Tools
netstat • Simple command line utilityfor Unix and Windows • Lists the open sockets and socket connections • List all TCP open ports: Windows: netstat–an | findstr LISTENING UNIX: netstat–an | grep LISTEN Linux: netstat-anpt -A inet | grep LISTEN Security Assurance Tools
tcpdump • Capture and dump packets, analyze network traffic • Large options, customized output Security Assurance Tools
Wireshark – Network protocol analyzer • Dissect well-known protocols via Dissectors • “Follow TCP Stream” option • Differentiate protocol headers and data/payload • Filters Security Assurance Tools
Web based tools • WebScarab • OWASP tool for use as web proxy • Inspect and modify user-agent http/s data • RatProxy • Semi-automated, passive web application security tool • Detects and prioritizes a broad range of web vulnerabilities (XSS, XSRF, cookie issues, trust-model violations, etc.) Security Assurance Tools
CVSS v2 Scores • Framework to standardize vulnerability scores Security Assurance Tools
Amarendra Godbole amarendra_godbole@symantec.com +91 20 4075 4401 Security Assurance Tools