Getting the OSSI for Linux
- Supported OS: Linux 64-bit, versions 4.1 to 4.14.9 included
- PTI and KASLR protections: disabled.
- The kernel headers installed in the VM.
Disabling KASLR and PTI
You need to add the
nokaslr options to your kernel command line.
On most systems, the following procedure should work almost as-is:
- Edit the file
- Find the variable
- Add the
nokaslroptions, making the line look like this:
GRUB_CMDLINE_LINUX_DEFAULT="[...] nopti nokaslr"
- Regenerate your grub configuration:
grub2-mkconfig -o /etc/grub2.cfgfor CentOS
other distributions should work in a similar way.
- Verify that you have the options present in
Installing the kernel headers
For Debian-like distributions, this should be done with a command similar to
sudo apt install linux-headers-$(uname -r)
For RedHat-based distributions, the command is more like the following:
sudo dnf install kernel-devel kernel-headers
Obtaining OSSI for a scenario
This should be as simple as:
- Preparing the snapshot you want to use for the record.
- Recording your scenario.
- Checking the "OSSI" option at the replay step.
However, depending on the distribution you are recording, the generation of the
kernel_description.json resource may fail. In that case, contact the support
to get help in the process of generating it manually.