1 / 18

Software and Software Vulnerabilities

Software and Software Vulnerabilities. Synopsis. Array overflows Stack overflows String problems Pointer clobbering. Dynamic memory management Integer arithmetic problems Formatted Output Output File I/O Others (the cwe.mitre.org taxonomy). Arrays.

yestin
Download Presentation

Software and Software Vulnerabilities

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Software and Software Vulnerabilities

  2. Synopsis • Array overflows • Stack overflows • String problems • Pointer clobbering. • Dynamic memory management • Integer arithmetic problems • Formatted Output Output • File I/O • Others (the cwe.mitre.org taxonomy)

  3. Arrays • Array are data groupings; they are numbered sequentially. • The programmer refers to them through a number (constant) or a variable (datum). • The trouble is, sometimes the data doesn't have the value you expect..

  4. Array overflows • If you are referencing an array, are outside the array, and are modifying the array, you are really modifying something else: among the possibilities are: • Other data, • Instructions, • pointers

  5. Stack overflows • A stack is a special kind of array in that it is implemented in an array; the problem may be because you tro to store too much data in the stack.

  6. Strings • Strings are sequences of characters. • They are either terminated by a special character (common) or their length is indicated somewhere (less common).

  7. String problems • String termination • Off-by-one errors • Buffer and input overflows • Code injection • Arc injection

  8. Pointers

  9. Pointer clobbering.

  10. Dynamic memory management

  11. Dynamic memory management

  12. Integer arithmetic problems

  13. Integer arithmetic problems

  14. Formatted Output Output

  15. Formatted Output Output

  16. File I/O

  17. File I/O

  18. Others (the cwe.mitre.org taxonomy)

More Related