본문 바로가기
KERD
논문KCI 등재

이진 코드 변환을 이용한 효과적인 버퍼 오버플로우 방지기법

Efficient Buffer-Overflow Prevention Technique Using Binary Rewriting

1

조회

0

다운로드

0

인용

0

참고문헌

키워드

주제분류공학

초록

버퍼 오버플로우 공격은 가장 흔하고 위협적인 취약점 중의 하나이다. 최근 이러한 버퍼 오버플로우 공격을 막기 위하여 많은 연구가 이루어지고 있으나 실행시 발생하는 오버헤드 때문에 이를 적용하는 문제가 있다.본 논문은 이진코드 형태의 파일에서 사용자 정의 함수를 변환하여 리턴 주소의 복사본을 스택의 특정 구역에 저장하고 공격 위험이 있는 문자열 함수를 재작성하고, 재작성된 함수 종료시 리턴 주소와 복사된 리턴 주소의 비교와 ebp 레지스터 값의 비교를 통해 오버플로우 공격을 탐지하는 방법을 제안한다.

Abstract

Buffer overflow is one of the most prevalent and critical internet security vulnerabilities. Recently, various methods to prevent buffer overflow attacks have been investigated, but they are still difficult to apply to real applications due to their run-time overhead.This paper suggests an efficient rewrite method to prevent buffer-overflow attacks only with lower costs by generating a redundant copy of the return address in stack frame and comparing return address to copied return address. Not to be overwritten by the attack data, the new copy will have the lower address number than local buffers have. In addition, for a safer execution environment, every vulnerable function call is transformed during the rewriting procedure.

참고문헌 (14)

  1. "Cert coordination center", Cert coordination center
  2. "The Ten Most Critical Web Application Security Vulnerabilities"
  3. "PSS Security Response Team Alert-New Worm"
  4. "A static vulnerability scanner for c and c++ code" (2000)
  5. "Testing C Programs for Buffer Overflow Vulnerabilities" (2003)
  6. "Automatic Adaptive Detection and Prevention of Buffer-Overflow Attacks" (1998), Crispin Cowan Aaron Grier
  7. "Compiler Security Checks In Depth"
  8. "버퍼오버플로우 공격 방지를 위한 컴파일러 기법", 9-c(4), pp.453~458 (2002)
  9. "Transparent run-time defense against stack smashing attacks" (2000)
  10. "StackGhost: Hardware facilitated stack protection" (2001)
  11. "A first step towards automated detection of buffer overrun vulnerabilities" (2000)
  12. "A Binary Rewriting Defense against Stack-based Buffer Overflow Attacks" (1996)
  13. "A Compile-time Solution to Buffer Overflow Attacks" (2001)
  14. "Windows disassembler"

관련 논문AI추천

이 간행물의 다른 논문 (18건)