printk is the Linux kernel’s logging function, able to print formatted strings similar to printf() in userspace. It outputs messages to the kernel ring buffer which can be viewed with the dmesg command, /proc/kmsg, and sometimes /var/log/kern.log.
printk
2025-04-04
Recent Posts
Linux Persistence: Modular Software
2025-04-17 DFIR CTF persistence linux persistence apache asterisk
Linux Persistence: Web Shells
2025-04-16 DFIR persistence webshell linux persistence webshell apache nginx PHP
Linux Persistence: Rootkits
2025-04-15 DFIR persistence rootkit LKM linux persistence LKM rootkit LD_PRELOAD kprobe ftrace ld.so hooking
Defanging Linux LKM Rootkits With cleanup_module()
2025-04-05 Linux LKM rootkits EDR hooks incident response Linux LKM rootkit