藉由神經網絡辨識資料結構之記憶體映像分析
DeepMemIntrospect: Recognizing Data Structures in Raw Memory Using Deep Learning
摘要
尚未完全解決且非常重要的記憶體取證問題是從指定的記憶體範圍定位與恢復資料結構信息。現今最先進的記憶體取證技術基於記憶體原始資料做特徵掃描,用以發掘調查人員感興趣的數據結構實體。而分析資料結構特徵的依據又分為欄位值特徵 (資料結構中特定欄位是否擁有特定範圍值) 與結構特徵。然而這兩類特徵辨識技術各有其限制:有時資料結構中並不存在特徵;有時調查人員無法取得完整的記憶體資訊,僅能取得片段記憶體資料。在以上情境下進行記憶體鑑識是困難的,於是, 異於以往的特徵辨識技術我們提出了 DeepMemIntrospect ,是第一個藉由深度神經網絡的記憶體取證系統,能不依賴特徵提取就從指定的記憶體範圍恢復資料結構信息。藉由DeppMemIntrospect能輔助目前的記憶體取證技術。
我們的實驗顯示:給定記憶體位址,從該位址讀取一段資料分析是否是特定資料結構有高達99%準確度。而從任意位址取出一段資料分析是否有特定資料結構且定位該資料結構的位置有67%以上準確度。
我們的實驗顯示:給定記憶體位址,從該位址讀取一段資料分析是否是特定資料結構有高達99%準確度。而從任意位址取出一段資料分析是否有特定資料結構且定位該資料結構的位置有67%以上準確度。
One yet-to-be-solved but very vital memory forensic problem is to locate and recover data structure information from a specified memory range. State-of-the-art memory forensics involves signature-based scanning of raw memory to uncover data structure instances of interest to investigators. Data structure signature-based analysis can be divided into two approaches in accordance with value-invariants and structure-invariants. However, these two types of signature scanning techniques have their own limitations: sometimes there are no signatures in the data structure; the investigator may not be able to acquire the complete memory information, and only partial memory fragments can be obtained. In these two cases, it is difficult to perform memory forensics using the conventional methods relying on the fixed signatures of value or structure. To cope with the problem, our proposed DeepMemIntrospect is the first convolution neural network (CNN) based memory forensic system that can recover data structure information merely from raw memory without relying on signatures or expert. DeepMemIntrospect can complement, not to replace, current memory forensic techniques. As our experiments showed, given a memory address, reading instance of raw data from the address to determine a particular data structure has accuracy up to 99%. Furthermore, by taking instance of raw data from an arbitrary address to determine and located a specific data structure, DeepMemIntrospect has more than 67% accuracy.