講演名 2013-06-21
データ実行防止機能を用いた汎用的なアンパッキング手法の提案(ネットワーク観測,インターネットセキュリティ,一般)
伊沢 亮一, 神薗 雅紀, 井上 大介,
PDFダウンロードページ PDFダウンロードページへ
抄録(和) 数多く存在するパッカーに対抗するため,汎用的なアンパッキング手法が盛んに研究されている.パッキングされたファイルは必ずメモリ上でオリジナルコードを復号,書き込みした後,そのコードが実行される.書込/実行された領域の抽出はデータ実行防止機能により可能だが,書込/実行は複数発生するため,複数の候補からOEP(オリジナルエントリポイント)を決定する必要がある.本研究では高精度にOEPを判定することを目的とし,2つの方法を提案する.1つ目はメモリのエントロピによる判定,2つ目はメモリ上に書き込まれたAPIのアドレス(数値)の個数で判定する.前者ではパッキングされたコードに比べて命令には偏りがあり,エントロピの値が低くなる傾向を利用する.復号処理が進むに従い,メモリ上に命令が増える.後者ではメモリ上に記述されるAPIのアドレスが増えていくことに着目した.2つの判定方法の両方を満たした候補をOEPとする.評価実験では異なるパッカーでパッキングされたファイルを20種類用意し提案手法でアンパッキングをした結果,14種類のファイルからOEPが正しく検出できた.
抄録(英) To skip unpacking steps, automated generic unpacking methods are strongly required. The basic idea of the generic unpacking is to find memory areas on which data was written and then executed. That is because the unpacker code of a packed file, no matter which packer is used, decrypts the original code, writes it to an area on the memory, and then executes it. DEP (data execution prevention) provides us a way to detect such areas. However, writing and executing data often occur on the memory, so that the candidates of the original entory point are created. In this paper, we propose a detection method that decides which candidate is true. Our method calculates an entropy value of the memory when a candidate is created. Next our method searches for API address values on the memory. The original point is determined by the two factors. The experiment shows that our method can detect each entry point of 14 packed files, in which the total number of packed files is 20.
キーワード(和) マルウェア解析 / パッカー / カーネルモード / NXビット
キーワード(英) Malware analysis / Packer / Kernel mode / NX bit
資料番号 IA2013-13,ICSS2013-13
発行日

研究会情報
研究会 IA
開催期間 2013/6/13(から1日開催)
開催地(和)
開催地(英)
テーマ(和)
テーマ(英)
委員長氏名(和)
委員長氏名(英)
副委員長氏名(和)
副委員長氏名(英)
幹事氏名(和)
幹事氏名(英)
幹事補佐氏名(和)
幹事補佐氏名(英)

講演論文情報詳細
申込み研究会 Internet Architecture(IA)
本文の言語 JPN
タイトル(和) データ実行防止機能を用いた汎用的なアンパッキング手法の提案(ネットワーク観測,インターネットセキュリティ,一般)
サブタイトル(和)
タイトル(英) Generic Unpacking Method Using Data Execution Prevention
サブタイトル(和)
キーワード(1)(和/英) マルウェア解析 / Malware analysis
キーワード(2)(和/英) パッカー / Packer
キーワード(3)(和/英) カーネルモード / Kernel mode
キーワード(4)(和/英) NXビット / NX bit
第 1 著者 氏名(和/英) 伊沢 亮一 / Ryoichi ISAWA
第 1 著者 所属(和/英) 独立行政法人情報通信研究機構
National Institute of Information and Communications Technology
第 2 著者 氏名(和/英) 神薗 雅紀 / Masaki KAMIZONO
第 2 著者 所属(和/英) 独立行政法人情報通信研究機構:株式会社セキュアブレイン
National Institute of Information and Communications Technology:SecureBrain Corporation
第 3 著者 氏名(和/英) 井上 大介 / Daisuke INOUE
第 3 著者 所属(和/英) 独立行政法人情報通信研究機構
National Institute of Information and Communications Technology
発表年月日 2013-06-21
資料番号 IA2013-13,ICSS2013-13
巻番号(vol) vol.113
号番号(no) 94
ページ範囲 pp.-
ページ数 6
発行日