Abstract:In this paper, classical buffer overflow prevention methods for Intel 80x86 architecture and C/C++ are analyzed. A new stack buffer overflow prevention method based on dual-stack is proposed due to the shortcomings of classical methods. Besides, an object file reconstructing tool for ELF format files is implemented with the dual-stack structure. Experimental results show that the proposed method and the tool is efficient for buffer overflow attack prevention with low overhead.