alichtman / gardening-starter-pack

Literally a rootkit. (LKM for Linux Kernels 4.14+)
GNU General Public License v3.0
1 stars 0 forks source link

Fix passing new parameters to kernel module issues #27

Closed alichtman closed 5 years ago

alichtman commented 5 years ago

https://tournasdimitrios1.wordpress.com/2011/02/07/passing-parameters-to-the-kernel-at-run-time-time-on-linux/

https://unix.stackexchange.com/questions/122918/change-kernel-parameters-at-runtime

https://www.tecmint.com/change-modify-linux-kernel-runtime-parameters/

https://stackoverflow.com/questions/11031554/kernel-module-parameters-changes-using-sys-module/33655017

set_fs(KERNEL_DS); section in https://www.linuxjournal.com/article/8110

https://buffer.antifork.org/linux/procfs-guide.pdf

alichtman commented 5 years ago

NOTE: Can only change block_removal from F -> T, not T -> F.

alichtman commented 5 years ago

Ok, we're pivoting to use syscalls with magic params for all of these that we can.