Published June 17, 2021 | Version 1

NoSyms: A neural network approach to detecting data structures in raw memory

Authors/Creators

Description

This data was used for a experiments with graph convolutional neural networks for memory forensics as part of a bachelor thesis (included as pdf).

Abstract:

This work presents a neural network based approach for data structure detection in raw memory that does not require an entirely matching description of the target data structure. Instead, it’s merely necessary to provide multiple descriptions of data structures similar to the target as training data in the form of debugging symbols. The core contribution of this work is a formal description and implementation of encoding data structure definitions as well as raw memory contents such that they can be processed by graph convolutional neural networks. A description and implementation of a neural network meant to detect data structures in the memory contents of a Linux Kernel demonstrates the practical applicability of the described approach.

The Code is available on GitHub https://github.com/NiklasBeierl/nosyms.

nokaslr_dump is the qemu memory snapshot used to test the model.
nokaslr.raw is the "raw" form of the snapshot as produced by Volatility 3's layerwriter plugin.
symbols-training-data contains the Volatility symbol JSON files from which training data was derived.
nokaslr_pointers.csv lists the kernel space pointers in the snapshot and
nokaslr_tasks.csv lists task structs in the snapshot. Both were extracted via a Volatility plugins that are included in the GitHub Repo.
vmlinux-5.4.0-58-generic.json is the symbol file for the kernel the snapshot was taken from.
other-symbols.zip contains symbol files I generated vor various other kernels but did not end up using, use at your own discretion.

Files

nokaslr_pointers.csv

Files (1.7 GB)

Name Size
md5:72da4814e493e1423ac9429fb84a107c
536.9 MB Download
md5:030f75458a44f1a02838f62132f63b78
580.6 MB Download
md5:cfc9d40b55591929a1b2e5bfbb38f358
177.0 MB Preview Download
md5:0794c30d3c17dacd06d9de9e1f7fc567
17.8 kB Preview Download
md5:0f0908c2d2ba9764388dee71add8878a
947.6 kB Preview Download
md5:7bd8161fbba297b0e19a5620c64eba51
196.5 MB Preview Download
md5:9b7c3931f6f5266c77c144db4391dfaf
18.3 MB Preview Download
md5:ebb18e3b316c8e69833a6fbf177b6f40
37.6 MB Preview Download
md5:5e200c92524c58e2fe7d9cac4175d4c0
41.5 MB Preview Download
md5:4bf4f81da24213a4deab06ba9118719f
41.5 MB Preview Download
md5:693b3ad7dc954f9604d42c2fc7ed49ec
41.5 MB Preview Download