Deflate 압축 알고리즘에서 악성코드 주입 취약점 분석

Vol. 32, No. 5, pp. 869-879, 10월. 2022
10.13089/JKIISC.2022.32.5.869, Full Text:
Keywords: Deflate, ZIP, Non-compressed block, Steganography, Malware
Abstract

본 연구를 통해 매우 대중적인 압축 알고리즘인 Deflate 알고리즘을 통해 생성되는 3가지 유형의 압축 데이터 블록 가운데 원본 데이터 없는 비 압축 블록(No-Payload Non-Compressed Block;NPNCB) 유형을 임의로 생성하여 정상적인 압축 블록 사이에 미리 설계된 공격 시나리오에 따라 삽입하는 방법을 통해 악의적 코드 또는 임의의 데이터를 은닉하는 취약점을 발견하였다. 비 압축 블록의 헤더에는 byte align을 위해서만 존재하는 데이터 영역이 존재하며, 본 연구에서는 이 영역을 DBA(Disposed Bit Area)라고 명명하였다. 이러한 DBA 영역에 다양한 악성 코드와 악의적 데이터를 숨길 수 있었으며, 실험을 통해 정상적인 압축 블록들 사이에 오염된 블록을 삽입했음에도 기존 상용 프로그램에서 정상적으로 경고 없이 압축 해제 되었고, 악의적 디코더로 해독하여 악성 코드를 실행할 수 있음을 보였다.

Statistics
Show / Hide Statistics

Statistics (Cumulative Counts from December 1st, 2017)
Multiple requests among the same browser session are counted as one view.
If you mouse over a chart, the values of data points will be shown.


Cite this article
[IEEE Style]
김정훈, "Deflate 압축 알고리즘에서 악성코드 주입 취약점 분석," Journal of The Korea Institute of Information Security and Cryptology, vol. 32, no. 5, pp. 869-879, 2022. DOI: 10.13089/JKIISC.2022.32.5.869.

[ACM Style]
김정훈. 2022. Deflate 압축 알고리즘에서 악성코드 주입 취약점 분석. Journal of The Korea Institute of Information Security and Cryptology, 32, 5, (2022), 869-879. DOI: 10.13089/JKIISC.2022.32.5.869.