Automatic Prevention of Buffer Overflow Vulnerability Using Candidate Code Generation

Young-Su JANG, Jin-Young CHOI
2018 IEICE transactions on information and systems  
The security of a software program critically depends on the prevention of vulnerabilities in the source code; however, conventional computer programs lack the ability to identify vulnerable code in another program. Our research was aimed at developing a technique capable of generating substitution code for the detection of buffer overflow vulnerability in C/C++ programs. The technique automatically verifies and sanitizes code instrumentation by comparing the result of each candidate variable
more » ... th that expected from the input data. Our results showed that statements containing buffer overflow vulnerabilities could be detected and prevented by using a substitution variable and by sanitizing code vulnerabilities based on the size of the variables. Thus, faults can be detected prior to execution of the statement, preventing malicious access. Our approach is particularly useful for enhancing software security monitoring, and for designing retrofitting techniques in applications. key words: information security, buffer overflow vulnerability, software security monitoring
doi:10.1587/transinf.2018edp7192 fatcat:2pjbypj5xvfp7hunxgu3tk3yj4