160 likes | 609 Views
Fuzzing. ECE 4112 Jonathan King Andrew Mishoe. WHAT IS FUZZING. Fuzzing attempts to discovers security vulnerabilities Fault injection technique sends various input data to target application Vulnerability leads to program exception, crash or server error. USES OF FUZZING.
E N D
Fuzzing ECE 4112 Jonathan King Andrew Mishoe
WHAT IS FUZZING • Fuzzing attempts to discovers security vulnerabilities • Fault injection technique sends various input data to target application • Vulnerability leads to program exception, crash or server error ECE 4112 - Group 11
USES OF FUZZING Fuzzing techniques allows detection of almost all types of security vulnerabilities: • Buffer overflows, • Integer overflows, • Format string vulnerabilities, • Race condition vulnerabilities, • SQL injection, • Cross Site Scripting (XSS), • Remote command execution, • Filesystem attacks (reverse traversal, etc.), • Information leaking vulnerabilities. ECE 4112 - Group 11
TYPES OF FUZZING • Session Data Fuzzing • Capture commands given during session and exploit with fuzzer • Server Application Fuzzing • Attack protocol with fuzz (ftp, http, smtp…) • Application Monitoring During Fuzzing • Debugger monitors program exceptions during fuzz session ECE 4112 - Group 11
DEFENSES FOR FUZZING Use of defensive coding techniques to harden your programs against random data: • Checksums • XML data storage • code verification ECE 4112 - Group 11
Fuzzing Tools • FTPStress Fuzzer • FTP protocol specific fuzzer (server application fuzzing) • Sends random input to listening ftp port to cause server crash • T.A.O.F. • Session data fuzzer • Finds vulnerabilities in commands during application (buffer overflow, etc.) ECE 4112 - Group 11
Lab Example 1Fuzzing CesarFTP • Fuzzed CesarFTP with FTPStress Fuzz • Results: • Server CPU Overload (100%) • Connection unresponsive (DoS) • Caused by cwd command with large payload ECE 4112 - Group 11
Lab Example 2Fuzzing Savant Web Server • Fuzzed Savant with T.A.O.F. • Captured session data to fuzz • Results: • Server became unresponsive (DoS) • Failure to handle exceptional conditions of long input requests ECE 4112 - Group 11
Fuzzing Concluded • Useful for finding security vulnerabilities in applications • Good technique for good guys and bad guys • Defensive coding techniques to reduce vulnerabilities ECE 4112 - Group 11
Questions? ECE 4112 - Group 11