apt-get update gives errors in Ubuntu 17.10

When I run apt-get update it gives following output: [email protected]:~# apt-get update Ign:1 http://archive.ubuntu.com/ubuntu artful InRelease Ign:2 http://archive.ubuntu.com/ubuntu artful-updates InRelease Ign:3 http://archive.ubuntu.com/ubuntu artful-security InRelease Err:4 http://archive.ubuntu.com/ubuntu artful Release 404 Not Found [IP: 91.189.88.31 80] Err:5 http://archive.ubuntu.com/ubuntu artful-updates Release 404 Not Found [IP: 91.189.88.31 80] Err:6 http://archive.ubuntu.com/ubuntu artful-security Release 404 Not Found [IP: 91.189.88.31 80] Reading…

Details

printk causes kernel panic when used to hook set_uid in sys_call_table

I am working on developing a rootkit for Ubuntu 18.04, kernel 5.0.0.37-generic. I’ve successfully hooked the sys_call_table using kallsyms, and enabled/disabled write. After hooking get_uid, I’ve found that when I execute the following code asmlinkage long set_uid(uid_t uid) { return (* old_setuid) (uid); } everything works as expected. However, when I run either of the…

Details