Container to use the dwarf2json tool to generate Linux Profiles based on CentOS7 for Volatility3
docker build --tag dwarf2json-centos7:0.0.1 .
Edit the Dockerfile to update the kernel version you need.
docker run --rm --user=$(id -u):$(id -g) -v "$(pwd)":/output:ro,Z -ti dwarf2json-centos7:0.0.1
docker ps
docker cp <CONTAINER ID>:/tmp/output/<distro><version>.json.xz .
zip -a volatility3/volatility/symbols/linux.zip <distro><version>.json.xz
python3 vol.py -f collected_memory.lime yarascan.YaraScan --yara-file <rules.yar>