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

스트립된 바이너리에서 LSTM을 이용한 함수정보 추출 기법

Extraction Scheme of Function Information in Stripped Binaries using LSTM

0

조회

0

다운로드

0

인용

0

참고문헌

키워드

주제분류컴퓨터학

초록

악성코드를 분석하여 방어하기 위해, 함수 위치 정보 등을 분석 방식으로 리버스 엔지니어링을 활용한다. 하지만, 스트립 된 바이너리는 함수 심볼 정보가 제거되어 함수 위치 등의 정보를 찾기가 쉽지 않다. 이를 해결하기 위해, BAP, BitBlaze IDA Pro 등 다양한 바이너리 분석 도구가 존재하지만, 휴리스틱을 기반으로 하므로 일반적인 성능이 우수하진 못하다. 본 논문에서는 재귀 하강 방식으로 역 어셈블리어에 대응되는 바이너리를 데이터로 N-byte 기법의 알고리즘을 제시해 LSTM 기반 모델을 적용하여 함수정보를 추출하는 기법을 제안한다. 실험을 통해 제안 기법이 수행 시간과 정확도 면에서 기존 기법들보다 우수함을 보였다.

Abstract

To analyze and defend malware codes, reverse engineering is used as identify function location information. However, the stripped binary is not easy to find information such as function location because function symbol information is removed. To solve this problem, there are various binary analysis tools such as BAP and BitBlaze IDA Pro, but they are based on heuristics method, so they do not perform well in general. In this paper, we propose a technique to extract function information using LSTM-based models by applying algorithms of N-byte method that is extracted binaries corresponding to reverse assembling instruments in a recursive descent method. Through experiments, the proposed techniques were superior to the existing techniques in terms of time and accuracy.

참고문헌 (10)

  1. 박동혁, "DEX 파일을 이용한 효율적인 안드로이드 변종 악성코드 탐지 기술", 정보보호학회논문지, 26(4), pp.895~902 (2016), 한국정보보호학회[DOI]
  2. CHA, Sang-Gil, "Software Security and Binary Analysis", Communications of the Korean Institute of Information Scientists and Engineers, 36(3), pp.11~16 (2018)
  3. 김태은, "바이너리 취약점의 자동 탐색을 위한 동적분석 정보 기반 하이브리드 퍼징 연구", 한국산학기술학회논문지, 20(6), pp.541~547 (2019), 한국산학기술학회[DOI]
  4. 정호철, "에너지인터넷에서 1D-CNN과 양방향 LSTM을이용한 에너지 수요예측", 전기전자학회논문지, 23(1), pp.134~142 (2019), 한국전기전자학회[DOI]
  5. 황성운, "실행코드 취약점 분석 프로세스 방법론", 한국인터넷방송통신학회 논문지, 12(5), pp.237~242 (2012), 한국인터넷방송통신학회[DOI]
  6. Jianming Fu, "Function Risk Assessment Under Memory Leakage", Networking and Network Applications (NaNA) 2018 International Conference on, pp.284~291 (2018)
  7. BRUMLEY, David, "BAP: A binary analysis platform", International Conference on Computer Aided Verification, pp.463~469 (2011), platform
  8. SHIN, Eui Chul Richard, "Recognizing functions in binaries with neural networks", 24th USENIX Security Symposium (USENIX Security 15), pp.611~626 (2015)
  9. DAVID, Yaniv, "Neural reverse engineering of stripped binaries using augmented control flow graphs", Proceedings of the ACM on Programming Languages, 4(Neural reverse engineering of stripped binaries using augmented control flow graphs), pp.1~28 (2020)[DOI]
  10. Laune C. Harris, "Practical analysis of stripped binary code", SIGARCH Comput. Archit. News, 33(5), pp.63~68 (2005)[DOI]

관련 논문AI추천

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