An xtask to speed up Windows kernel driver development in rust.
kernel-task is an xtask script that speeds up Windows kernel driver development by completing the repetitive tasks, which are compiling, signing, and deploying the driver. It accomplishes those tasks by sending remote commands to the second system using SSH. kernel-task supports logging through a file.
- Install xtask.
- A second system where the driver will run.
- Logging into a file, if you are using VMWare follow memn0ps instructions to setup serial logging.
- Setup an SSH server with key-based authentication.
- Enable testsigning in the second system.
- Follow xtask steps in order to get it working.
- Modify constants with "REQUIRED" to what they should be in your case in main.rs.
cargo task build
builds the driver.cargo task sign
signs the driver with a testsigning certificate.cargo task deploy
deploys the built and signed driver in the second system.cargo task bsd
aka build, sign and deploy.
For release builds: add release
at the end.
Open an issue if you are experiencing, make it detailed if possible. PRs are welcome.
- https://github.com/memN0ps/ for the certificate installation and COM logging.