Skip to main content

Enforcement of Architectural Safety Guards to Deter Malicious Code Attacks through Buffer Overflow Vulnerabilities

  • Conference paper
Organic and Pervasive Computing – ARCS 2004 (ARCS 2004)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2981))

Included in the following conference series:

  • 263 Accesses

Abstract

The buffer overflow attack is the single most dominant and lethal form of security exploits as evidenced by recent worm outbreaks such as Code Red and SQL Slammer. In this paper, we propose a new architectural solution to detect and deter the buffer overflow exploit. The idea is that the buffer overflow attacks usually exhibit abnormal symptoms in the system. This kind of unusual behavior can be simply detected by checking the integrity of instruction and data references at runtime, avoiding the potential data or control corruptions made by such attacks. Both the hardware cost and the performance penalty of enforcing the integrity rules are negligible. By performing detailed execution-driven simulations on the programs selected from SPEC CPU2000 benchmark, we evaluate the effectiveness of the proposed safety guards. By randomly corrupting stack and other data sections of a process’s address space during simulation, we create various buffer overflow scenarios, including both stack and heap smashing. Experimental data shows that enforcing two safety guards not only reduces the number of system failures substantially but it also circumvents virtually all forms of malicious code execution made by stack smashing or function pointer corruptions.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aleph One, Smashing the Stack for Fun and Profit, BugTraq Archives, http://immunix.org/StackGuard/profit.html

  2. Baratloo, A., Singh, N., Tsai, T.: Transparent Run-Time Defense Against Stack Smashing Attacks. In: Proceedings of the USENIX Annual Technical Conference (June 2000)

    Google Scholar 

  3. Snow, B.: Future of Security, Panel Presentation at IEEE Security and Privacy (May 1999)

    Google Scholar 

  4. Bulba, Kil3r: Bypassing Stackguard and Stackshield. Phrack 10(56) (May 2000)

    Google Scholar 

  5. Cooperative Association for Internet Data Analysis (CAIDA), Analysis of the Sapphire Worm (January 2003), http://www.caida.org/analysis/security/sapphier/

  6. CERT/CC Statistics 1988-2003, http://www.cert.org/stats/cert_stats.html

  7. Pyo, C., Lee, G.: Encoding Function Pointers and Memory Arrangement Checking against Buffer Overflow Attack. In: Proceedings of the Fifth International Conference on Information and Communications Security (October 2003)

    Google Scholar 

  8. Common Vulnerabilities and Exposures (CVE), [TECH] Vulnerability Types Seen in CVE, http://cve.mitre.org/board/archives/2002-10/msg00005.html

  9. Cowon, C., Beattie, S., Day, R.F., Pu, C., Wagle, P., Walthinsen, E.: Protecting Systems from Stack Smashing Attacks with StackGuard. In: The Linux Expo (1999)

    Google Scholar 

  10. Cowan, C., Wagle, P., Pu, C., Beattie, S., Walpole, J.: Buffer Overflows: Attacks and Defenses for the Vulnerability of the Decade. In: Proceedings of the DARPA Information Survivability Conference and Exposition (January 2000)

    Google Scholar 

  11. Dean, D., Felten, E.W., Wallach, D.S.: Java Security: From HotJava to NetScape and Beyond. In: Proceedings of the IEEE Symposium on Security and Privacy, Oakland, CA (1996)

    Google Scholar 

  12. Lee, G., Tyagi, A.: Encoded Program Counter: Self-Protection from Buffer Overflow Attack. In: Proceedings of the International Conference on Internet Computing (June 2000)

    Google Scholar 

  13. Openwall Project, Linux kernel patch from the openwall project, http://openwall.com/linux

  14. Jones, R., Kelly, P.: Bounds Checking for C (July 1995) http://www-ala.doc.ic.ac.uk/~phjk/BoundsChecking.html

  15. SANS Institute and FBI, The Twenty Most Critical Internet Security Vulnerabilities The Expert’s Consensus (2003) http://www.sans.org/top20

  16. Symantec, Blended Attack Exploits, Vulnerabilities and Buffer-Overflow Techniques in Computer Viruses. In: Proceedings of the Virus Bulletin Conference (September 2002)

    Google Scholar 

  17. Chiueh, T.-C., Hsu, F.-H.: RAD: A Compile-Time Solution to Buffer Overflow Attacks. In: Proceedings of the 21st International Conference on Distributed Computing Systems (2001)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Choi, L., Shin, Y. (2004). Enforcement of Architectural Safety Guards to Deter Malicious Code Attacks through Buffer Overflow Vulnerabilities. In: Müller-Schloer, C., Ungerer, T., Bauer, B. (eds) Organic and Pervasive Computing – ARCS 2004. ARCS 2004. Lecture Notes in Computer Science, vol 2981. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-24714-2_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-24714-2_6

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-21238-6

  • Online ISBN: 978-3-540-24714-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics