Questions tagged [keylogger]

Keystroke logging (Keylogging, Keylogger)

Keystroke logging (often called keylogging or "keylogger") is the action of tracking (or logging) the keys struck on a keyboard, typically in a covert manner so that the person using the keyboard is unaware that their actions are being monitored.

426 questions
6
votes
5 answers

C# - Transparent Window to defeat Keyloggers

How can I create a window which is fully apparent to the user but is not visible in screenshots. I know that this is possible since Neo SafeKeys (an onscreen keyboard to defeat keyloggers) does not appear in the screenshots taken by keylogging…
Matthew
  • 4,477
  • 21
  • 70
  • 93
6
votes
4 answers

How can you read keystrokes when the python program isn't in the foreground?

I'm trying to analyze my keystrokes over the next month and would like to throw together a simple program to do so. I don't want to exactly log the commands but simply generate general statistics on my key presses. I am the most comfortable coding…
Paul Tarjan
  • 48,968
  • 59
  • 172
  • 213
5
votes
2 answers

Low level keyboard hook not being called in .NET application

I am writing a keylogger in C# but am having some trouble getting my hook method called from the keyboard events. My code appears correct but for some reason the callback is not happening. Here is the relevant code: [DllImport("user32.dll", CharSet…
5
votes
5 answers

Detect key press combination in Linux with Python?

I'm trying to capture key presses so that when a given combination is pressed I trigger an event. I've searched around for tips on how to get started and the simplest code snippet I can find is in Python - I grabbed the code below for it from here.…
Ben L
  • 6,618
  • 8
  • 39
  • 34
5
votes
0 answers

How to differentiate typing text from pressing a shortcut

I'm trying to do some research on user activity with the app. I have found a way of making a special log module (combined with PRISM) which would use the EventManager.RegisterClassHandler static method. My question is - how would you differentiate…
5
votes
2 answers

Capture all keyboard events using VB.Net

I've written an app with a simple textbox which attempts to identify a user from their typing habits (interval between key presses, duration key is held, time between key strokes ie a->s is quicker than a->v for some users, shorter for others…
Basic
  • 26,321
  • 24
  • 115
  • 201
5
votes
2 answers

A function callback every time a key is pressed (regardless of which window has focus)?

I want to write a programme (in python) on Linux (Ubuntu Linux 9.10) that will keep track of how many key presses per second/minute I make. This includes normal letter keys, and control/shift/space/etc. Is there some way to hook into X so that I can…
Amandasaurus
  • 58,203
  • 71
  • 188
  • 248
5
votes
4 answers

BlackBerry - KeyListener with global scope

I am new to BlackBerry App development. I want to be able to listen for keypress events whenever the BlackBerry (8900 in my case) is on and on all screens is this possible? If so, it would be great for someone to direct me in the right direction. I…
Abs
  • 56,052
  • 101
  • 275
  • 409
5
votes
2 answers

pyHook for Python 3.3

I am coding a simple keylogger using Python. I hope to use pyHook to capture keyboard events.I couldn't find any packages of pyHook for python 3.3 which I have installed. Is there any other module for python 3.3 which provides similar…
Deepal
  • 1,729
  • 5
  • 24
  • 34
5
votes
2 answers

How to record all touch and acclerometer on an Android device in ALL apps

I am currently working on a research project which involves people playing games on an Android device. I am hoping to be able to write an android app that records the accelerometer and touch events. I would like my users to be able to play games…
4
votes
1 answer

Windows C++ GetKeyState caps lock detector does opposite

I've written a simple program that listens to the caps-lock key, and shows a message box saying wether the caps lock is currently on or off. So: user presses caps-lock, program determines what state the caps-lock is in now (on or off) and displays a…
user2190492
  • 1,174
  • 2
  • 9
  • 37
4
votes
1 answer

Keyboard input on OSX

I was wondering if it was possible to read the keyboards input, on OSx from somewhere, such as GNU/Linux with the /dev/input files. The purpose of this is to make a very simple keylogger, (learning purpose), or if there is a function that i could…
xabe
  • 51
  • 1
  • 4
4
votes
0 answers

Detect USB hardware keylogger

I need to determine is there hardware keylogger that was plugged to PC with USB keyboard. It needs to be done via software method, from user-land. However wiki says that it is impossible to detect HKL using soft, there are several methods exists.…
Denys Kazakov
  • 472
  • 3
  • 17
4
votes
3 answers

Key logger wont record key strokes without console

I created a small basic key logger in C++. For some reason when I compile and run the program with the console displayed, it will record every key stroke I make in whatever program I am using such as a browser and store it in a text file. However…
RandomGuy
  • 419
  • 4
  • 14
4
votes
2 answers

C++ simple keylogger

I`m trying to write a simple keylogger in C++ using WinAPI. Is there a way to get in which application the user is typing the captured key strokes? And here is my code so far: #include #include #include using…
user2166581
1
2
3
28 29