Jump to content

Hardware keylogger: Difference between revisions

From IdeaWazaWiki
They can also be installed inside a keyboard, or the keyboard could be manufactured with this "feature".
Copyedit
Line 1: Line 1:
{{refimprove}}
{{Mergewith|Keystroke logging|date=September 2008}}
{{Mergewith|Keystroke logging|date=September 2008}}
'''Hardware Keyloggers''' are used for [[keystroke logging]], a method of capturing and recording computer user keystrokes. They plug in between a computer keyboard and a computer and log all keyboard activity to an internal memory. They are typically designed to have an innocuous appearance that blends in with the rest of the hardware, such as appearing to be an [[EMC]] [[Balun]].  They can also be installed inside a keyboard (as a circuit attachment/modification), or the keyboard could be manufactured with this "feature".
'''Hardware keyloggers''' are used for [[keystroke logging]], a method of capturing and recording computer users' keystrokes, including sensitive passwords. They can be implemented via [[BIOS]]-level [[firmware]], or alternatively, via a device plugged inline between a [[computer keyboard]] and a computer.  They log all keyboard activity to their internal memory.  


They are designed to work with [[PS/2 connector|PS/2]] keyboards, and more recently with [[USB]] keyboards.
==Description==
Hardware keyloggers have an advantage over software keyloggers as they do not require software installation and can begin logging from the moment a computer is turned on (and are therefore able to intercept passwords for the [[BIOS]] or [[disk encryption software]]).


Hardware keyloggers have an advantage over software keyloggers as they begin logging from the moment a computer is turned on (and are therefore able to collect a [[BIOS]] password for instance), and do not require software installation (unlike software solutions).
All hardware keylogger devices have to have the following:


== How do they work? ==
* A [[microcontroller]] - this interprets the datastream between the keyboard and computer, processes it, and passes it to the non-volatile memory
All hardware keyloggers have to have the following:
* A non-volatile memory device, such as flash memory - this stores the recorded data, retaining it even when power is lost


* A microcontroller - this interprets the datastream between the keyboard and computer, processes it, and passes it to the non-volatile memory
Generally, recorded data is retrieved by typing a special password into a computer text editor. The hardware keylogger plugged in between the keyboard and computer detects that the password has been typed and then presents the computer with "typed" data to produce a menu. Beyond text menu some keyloggers offer a high-speed download to speed up retrieval of stored data; this can be via USB mass-storage enumeration or with a USB or serial download adapter.
* A non-volatile memory device, such as Flash - this stores the recorded data, retaining it even when power is lost


Generally,  recorded data is retrieved by typing a special password into a computer text editor. The hardware keylogger plugged in between the keyboard and computer detects that the password has been typed and then presents the computer with "typed" data to produce a menu. Beyond text menu some keyloggers offer a high-speed download to speed up retrieval of stored data; this can be via USB mass-storage enumeration or with a USB or serial download adapter.
Typically the memory capacity of a hardware keylogger may range from a few [[kilobytes]] to several [[megabytes]], with each keystroke recorded typically consuming a [[byte]] of memory <ref>[http://www.keyloggersdirect.com/index.php?keycarbon].</ref>.
 
Typically the memory capacity of a hardware keylogger will range from a few [[kilobytes]] to several [[megabytes]], with each keystroke recorded typically consuming a [[byte]] of memory <ref>[http://www.keyloggersdirect.com/index.php?keycarbon].</ref>.


== Types of Hardware Keyloggers ==
== Types of Hardware Keyloggers ==


'''1) Regular Hardware Keyloggers''' - are used for keystroke logging by means of a hardware circuit that is attached somewhere in between the computer keyboard and the computer. It logs all keyboard activity to its internal memory which can be accessed by typing in a series of pre-defined characters. A hardware keylogger has an advantage over a software solution; because it is not dependent on the computers operating system it will not interfere with any program running on the target machine and hence cannot be detected by any software.
'''1) Regular Hardware Keyloggers''' - are used for keystroke logging by means of a hardware circuit that is attached somewhere in between the computer [[Keyboard (computing)|keyboard]] and the computer. It logs all keyboard activity to its internal memory which can be accessed by typing in a series of pre-defined characters. A hardware keylogger has an advantage over a software solution; because it is not dependent on the computers operating system it will not interfere with any program running on the target machine and hence cannot be detected by any software. They are typically designed to have an innocuous appearance that blends in with the rest of the cabling or hardware, such as appearing to be an [[EMC]] [[Balun]].  They can also be installed inside a keyboard itself (as a circuit attachment/modification), or the keyboard could be manufactured with this "feature".  They are designed to work with legacy [[PS/2 connector|PS/2]] keyboards, or more recently, with [[USB]] keyboards.  Some variants, known as wireless hardware keyloggers, have the ability to be controlled and monitored remotely by means of a wireless communication standard.{{fact}}


'''2) Remote Access Hardware Keyloggers''' – Or otherwise know as Wireless Hardware Keyloggers work in much the same way as regular hardware keyloggers. Except they have the ability to be controlled and monitored remotely by means of a wireless communication standard.
'''3) Wireless Keylogger sniffers''' -  Collect packets of data being transferred from a wireless keyboard and its receiver and then attempts to crack the encryption key being used to secure wireless communications between the two devices.


'''3) Wireless Keylogger sniffers''' - Collect packets of data being transferred from a wireless keyboard and its receiver and then attempts to crack the encryption key being used to secure wireless communications between the two devices.
'''4) Firmware''' - A computer's [[BIOS]], which is typically responsible for handling keyboard events, is possible to reprogram so that it records keystrokes as it processes them.


==Countermeasures==
==Countermeasures==

Revision as of 03:32, 19 April 2009

Template:Refimprove Template:Mergewith Hardware keyloggers are used for keystroke logging, a method of capturing and recording computer users' keystrokes, including sensitive passwords. They can be implemented via BIOS-level firmware, or alternatively, via a device plugged inline between a computer keyboard and a computer. They log all keyboard activity to their internal memory.

Description

Hardware keyloggers have an advantage over software keyloggers as they do not require software installation and can begin logging from the moment a computer is turned on (and are therefore able to intercept passwords for the BIOS or disk encryption software).

All hardware keylogger devices have to have the following:

  • A microcontroller - this interprets the datastream between the keyboard and computer, processes it, and passes it to the non-volatile memory
  • A non-volatile memory device, such as flash memory - this stores the recorded data, retaining it even when power is lost

Generally, recorded data is retrieved by typing a special password into a computer text editor. The hardware keylogger plugged in between the keyboard and computer detects that the password has been typed and then presents the computer with "typed" data to produce a menu. Beyond text menu some keyloggers offer a high-speed download to speed up retrieval of stored data; this can be via USB mass-storage enumeration or with a USB or serial download adapter.

Typically the memory capacity of a hardware keylogger may range from a few kilobytes to several megabytes, with each keystroke recorded typically consuming a byte of memory [1].

Types of Hardware Keyloggers

1) Regular Hardware Keyloggers - are used for keystroke logging by means of a hardware circuit that is attached somewhere in between the computer keyboard and the computer. It logs all keyboard activity to its internal memory which can be accessed by typing in a series of pre-defined characters. A hardware keylogger has an advantage over a software solution; because it is not dependent on the computers operating system it will not interfere with any program running on the target machine and hence cannot be detected by any software. They are typically designed to have an innocuous appearance that blends in with the rest of the cabling or hardware, such as appearing to be an EMC Balun. They can also be installed inside a keyboard itself (as a circuit attachment/modification), or the keyboard could be manufactured with this "feature". They are designed to work with legacy PS/2 keyboards, or more recently, with USB keyboards. Some variants, known as wireless hardware keyloggers, have the ability to be controlled and monitored remotely by means of a wireless communication standard.[citation needed]

3) Wireless Keylogger sniffers - Collect packets of data being transferred from a wireless keyboard and its receiver and then attempts to crack the encryption key being used to secure wireless communications between the two devices.

4) Firmware - A computer's BIOS, which is typically responsible for handling keyboard events, is possible to reprogram so that it records keystrokes as it processes them.

Countermeasures

Denial of physical access to sensitive computers, e.g. by locking the server room, is the most effective means of preventing hardware keylogger installation. Visual inspection is the primary means of detecting hardware keyloggers, since there are no known methods of detecting them through software. In cases in which the computer case is hidden from view (e.g. at some public access kiosks where the case is in a locked box and only a monitor, keyboard, and mouse are exposed to view), a user might thwart a keylogger by typing part of a password, using the mouse to move to a text editor or other window, typing some garbage text, mousing back to the password window, typing the next part of the password, etc. so that the keylogger will record an unintelligible mix of garbage and password text[2] See also Keystroke logging (Non-technological methods).

The main risk associated with keylogger use is that physical access is needed twice: initially to install the keylogger, and secondly to retrieve it. Thus, if the victim discovers the keylogger, they can then set up a sting operation to catch the person in the act of retrieving it. This could include camera surveillance or the review of access card swipe records to determine who gained physical access to the area during the time period that the keylogger was removed.

References

strokey open-source hardware keylogger hosted at sourceforge