Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Linux keylogger without root or sudo! Is it real?

Is it possible for a malicious website to install a key logger on my Ubuntu desktop?

If so, how can I detect and deactivate the key logger?

share|improve this question

marked as duplicate by Breakthrough, Sathya Jun 24 '11 at 16:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

As long as you are not running as root user it should not be possible. – Keith May 26 '11 at 0:40
even on home folder/browser? – alfi May 26 '11 at 0:48
A key logger would have to hook into the kernel event device, or X messages. Regular users don't have permissions to do that. – Keith May 26 '11 at 1:19
@Keith: False, see xinput. – cYrus Aug 9 '12 at 21:55
@cYrus That is for X windows, and X runs as root. It's basically acting as a proxy. The actual device node is usually protected from non-root access. – Keith Aug 9 '12 at 22:25
up vote -2 down vote accepted

It is possible, though unlikely. It would be more likely to have a repository that is hacked to include a keylogger.

For more information, see this answer

share|improve this answer
One obvious way: hack the Ubuntu repositories and add a keylogger component to, say, the Xorg package. – CarlF Jun 24 '11 at 13:25
The incredible lack of detail and ridiculous claims in this answer is amazing. Almost as amazing as the fact that it was selected as the right one. – Breakthrough Jun 24 '11 at 15:09

There is a claim of a Linux keylogger that doesn't need root.

See this other question Linux keylogger without root or sudo! Is it real?

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .