Integer overflow vulnerability will cause buffer overflow.The research on the relationship between them will help us to detect integer overflow vulnerability.We present a dynamic analysis methods RICB(Run-time Integer...Integer overflow vulnerability will cause buffer overflow.The research on the relationship between them will help us to detect integer overflow vulnerability.We present a dynamic analysis methods RICB(Run-time Integer Checking via Buffer overflow).Our approach includes decompile execute file to assembly language;debug the execute file step into and step out;locate the overflow points and checking buffer overflow caused by integer overflow.We have implemented our approach in three buffer overflow types:format string overflow,stack overflow and heap overflow.Experiments results show that our approach is effective and efficient.We have detected more than 5 known integer overflow vulnerabilities via buffer overflow.展开更多
A simplified integer overflow detection method based on path relaxation is described for avoiding buffer overflow triggered by integer overflow. When the integer overflow refers to the size of the buffer allocated dyn...A simplified integer overflow detection method based on path relaxation is described for avoiding buffer overflow triggered by integer overflow. When the integer overflow refers to the size of the buffer allocated dynamically, this kind of integer overflow is most likely to trigger buffer overflow. Based on this discovery, through lightly static program analysis, the solution traces the key variables referring to the size of a buffer allocated dynamically and it maintains the upper bound and lower bound of these variables. After the constraint information of these traced variables is inserted into the original program, this method tests the program with test cases through path relaxation, which means that it not only reports the errors revealed by the current runtime value of traced variables contained in the test case, but it also examines the errors possibly occurring under the same execution path with all the possible values of the traced variables. The effectiveness of this method is demonstrated in a case study. Compared with the traditional buffer overflow detection methods, this method reduces the burden of detection and improves efficiency.展开更多
基金Supported by the National Natural Science Foundation of China(60903188)Shanghai Education Commission Innovation Foundation(11YZ192)World Expo Science and Technology Special Fund of Shanghai Science and Technology Commission(08dz0580202).
文摘Integer overflow vulnerability will cause buffer overflow.The research on the relationship between them will help us to detect integer overflow vulnerability.We present a dynamic analysis methods RICB(Run-time Integer Checking via Buffer overflow).Our approach includes decompile execute file to assembly language;debug the execute file step into and step out;locate the overflow points and checking buffer overflow caused by integer overflow.We have implemented our approach in three buffer overflow types:format string overflow,stack overflow and heap overflow.Experiments results show that our approach is effective and efficient.We have detected more than 5 known integer overflow vulnerabilities via buffer overflow.
基金The National Natural Science Foundation of China (No.60873050,60703086)the Opening Foundation of State Key Laboratory of Software Engineering in Wuhan University (No.SKLSE20080717)
文摘A simplified integer overflow detection method based on path relaxation is described for avoiding buffer overflow triggered by integer overflow. When the integer overflow refers to the size of the buffer allocated dynamically, this kind of integer overflow is most likely to trigger buffer overflow. Based on this discovery, through lightly static program analysis, the solution traces the key variables referring to the size of a buffer allocated dynamically and it maintains the upper bound and lower bound of these variables. After the constraint information of these traced variables is inserted into the original program, this method tests the program with test cases through path relaxation, which means that it not only reports the errors revealed by the current runtime value of traced variables contained in the test case, but it also examines the errors possibly occurring under the same execution path with all the possible values of the traced variables. The effectiveness of this method is demonstrated in a case study. Compared with the traditional buffer overflow detection methods, this method reduces the burden of detection and improves efficiency.