You must sign these kernel modules before using VirtualBox code example
Example 1: If your system is using EFI Secure Boot you may need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them.
sudo -i
cd /root/module-signing
chmod 700 /root/module-signing/sign-vbox-modules
./sign-vbox-modules
Example 2: how to sign virtualbox kernel modules
sudo chmod 700 /root/bin/sign-vbox-modules
sudo -i sign-vbox-modules