News for hackers. Stuff that matters.
Re:Linux terminal keylogger in userspace by iopuy on Monday December 17, 2012 @12:18AM (#4930939)
Echo the LD_PRELOAD environment variable first and check for anything suspect.
Re:Linux terminal keylogger in userspace by lordlicorice on Monday December 17, 2012 @12:21AM (#4930943)
Unless the shared object file also includes an override for the function that expands environment variables to lie about the true value of LD_PRELOAD.
Re:Linux terminal keylogger in userspace by est on Monday December 17, 2012 @12:46AM (#4930996)
the twist: echo is also hijacked...
Re:Linux terminal keylogger in userspace by iopuy on Monday December 17, 2012 @12:53AM (#4931011)
Okay... just type "Export" then.
Re:Linux terminal keylogger in userspace by DannyBee on Monday December 17, 2012 @02:13AM (#4931217)
okay, so now the getenv call is hijacked too. You can play this game all day, as long as the environment is stored in user space, you can get it and fake the output.