The driver was developed as part of my mission at INT-13, PT-START 2024. Personal motivation is understanding Linux kernel modules and C basics of development.
You can install the package:
git clone https://github.com/flipthewho/INT-13-Stage-2.git
cd INT-13-Stage-2/Installing driver:
git clone https://github.com/flipthewho/INT-13-Stage-2.git
cd driver/
make
sudo insmod Ksecret.koBuilding tool:
cd tool/
gcc KStool.c -o KStoolusage: ./KStool -d | -r | -w
-d delete the secret from memory
-r read the secret from memory
-w write the secret to memory from stdin
$ ./KStool
usage: ./KStool -d | -r | -w
-d delete the secret from memory
-r read the secret from memory
-w write the secret to memory from stdin
$ ./KStool -r
secret:
$ ./KStool -w
enter the secret:
123ioctl
$ ./KStool -r
secret: 123ioctl
$ ./KStool -d
$ ./KStool -r
secret: Q: How can i remove temp files like Ksecret.mod Ksecret.mod.c Ksecret.mod.o Ksecret.o modules.order Module.symvers ?
A: $ make clean in current driver directory
Q: How can i remove module?
A: $ sudo rmmod Ksecret