sudo apt install -y build-essential git libdistorm3-dev yara libraw1394-11 libcapstone-dev capstone-tool tzdata
sudo apt install -y python2 python2.7-dev libpython2-dev
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py
sudo python2 -m pip install -U setuptools wheel
python2 -m pip install -U distorm3 yara pycrypto pillow openpyxl ujson pytz ipython capstone
sudo python2 -m pip install yara
sudo ln -s /usr/local/lib/python2.7/dist-packages/usr/lib/libyara.so /usr/lib/libyara.so
python2 -m pip install -U git+https://github.com/volatilityfoundation/volatility.git
sudo apt install -y python3 python3-dev libpython3-dev python3-pip python3-setuptools python3-wheel
python3 -m pip install -U distorm3 yara pycrypto pillow openpyxl ujson pytz ipython capstone
python3 -m pip install -U git+https://github.com/volatilityfoundation/volatility3.git
qemu-img convert -f raw -O qcow2 image.img image.qcow2
# vol3
.\vol.py -f PVE.vmem banner
# Or Using strings
git clone https://github.com/hanasuru/vol_profile_builder
cd vol_profile_builder
# Build volatility2 profile for Ubuntu Xenial (16.04) with 4.4.0-186-generic kernel
./build.sh 16.04 4.4.0-186-generic
cp <Profile>.zip ~/tools/volatility/volatility/plugins/overlays/linux
# Verify
python ~/tools/volatility/vol.py --info
cp <Profile>.json /home/kali/.local/lib/python3.11/site-packages/volatility3/framework/symbols/linux/
linux_bash
limux_bash_hash