Keystroke logging – Optical Ethernet Switch – E1 Video Encoder/Decoder
Application
Software-based keyloggers
These are software programs designed to work on the target computer operating system. From a technical perspective there are five categories:
Hypervisor-based: The keylogger can theoretically reside in a malware hypervisor running underneath the operating system, which remains untouched. It effectively becomes a virtual machine. Blue Pill is a conceptual example.
Kernel based: This method is difficult both to write and to combat. Such keyloggers reside at the kernel level and are thus difficult to detect, especially for user-mode applications. They are frequently implemented as rootkits that subvert the operating system kernel and gain unauthorized access to the hardware, making them very powerful. A keylogger using this method can act as a keyboard driver for example, and thus gain access to any information typed on the keyboard as it goes to the operating system.
Hook based: Such keyloggers hook the keyboard using functionality provided by the operating system for applications to subscribe to keyboard events legitimately. The operating system notifies the keylogger each time a key is pressed and the keylogger simply records it.
Passive Methods: Here the coder uses operating system APIs like GetAsyncKeyState(), GetForegroundWindow(), etc. to poll the state of the keyboard or to subscribe to keyboard events. These are the easiest to write, but where constant polling of each key is required, they can cause a noticeable increase in CPU usage and can miss the occasional key. A more recent example simply polls the BIOS for preboot authentication PINs that have not been cleared from memory.
Form Grabber based: Form Grabber-based keyloggers log web form submissions by recording the web browsing onSubmit event functions. This records form data before it is passed over the internet and bypasses https encryption.
Remote access software keyloggers
These are local software keyloggers programmed with an added feature to transmit recorded data from the target computer to a monitor at a remote location. Remote communication is facilitated by one of four methods:
Data is uploaded to a website, database or an FTP account.
Data is periodically emailed to a pre-defined email address.
Data is wirelessly transmitted by means of an attached hardware system.
The software enabling a remote monitor to log into the local machine via the internet or ethernet and access the logs stored on the target machine.
Related Features
Software Keyloggers may be augmented with features that capture user information without relying on keyboard key presses as the sole input. Some of these features include:
Clipboard logging. Anything that has been copied to the clipboard can be captured by the program.
Screen logging. Screenshots are taken in order to capture graphics-based information. Applications with screen logging abilities may take screenshots of the whole screen, just one application or even just around the mouse cursor. They may take these screenshots periodically or in response to user behaviours (for example, when a user has clicked the mouse). A practical application used by some keyloggers with this screen logging ability is to take small screenshots around where a mouse has just clicked; these defeat web-based keyboards (for example, the web-based screen keyboards that are often used by banks) and any web-based on-screen keyboard without screenshot protection.
Programmatically capturing the text in a control. The Microsoft Windows API allows programs to request the text ‘value’ in some controls. This means that some passwords may be captured, even if they are hidden behind password masks (usually asterisks).
Hardware-based keyloggers
Main article: Hardware keylogger
Hardware-based keyloggers do not depend upon any software being installed as they exist at a hardware level in a computer system.
Firmware-based: BIOS-level firmware that handles keyboard events can be modified to record these events as they are processed. Physical and/or root-level access is required to the machine, and the software loaded into the BIOS needs to be created for the specific hardware that it will be running on.
Keyboard hardware: 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, typically inline with the keyboard’s cable connector. More stealthy implementations can be installed or built into standard keyboards, so that no device is visible on the external cable. Both types log all keyboard activity to their internal memory, which can be subsequently accessed, for example, by typing in a secret key sequence. A hardware keylogger has an advantage over a software solution: it is not dependent on being installed on the target computer’s operating system and therefore will not interfere with any program running on the target machine or be detected by any software. However its physical presence may be detected if, for example, it is installed outside the case as an inline device between the computer and the keyboard. Some of these implementations have the ability to be controlled and monitored remotely by means of a wireless communication standard.[citation needed]
Wireless keyboard sniffers
These passive sniffers collect packets of data being transferred from a wireless keyboard and its receiver. As encryption may be used to secure the wireless communications between the two devices, this may need to be cracked beforehand if the transmissions are to be read.
Keyboard overlays
Criminals have been known to use keyboard overlays on ATM machines to capture people’s PINs. Each keypress is registered by the keyboard of the ATM as well as the criminal’s keypad that is placed over it. The device is designed to look like an integrated part of the machine so that bank customers are unaware of its presence.
Acoustic keyloggers
Acoustic cryptanalysis can be used to monitor the sound created by someone typing on a computer. Each character on the keyboard makes a subtly different acoustic signature when stroked. It is then possible to identify which keystroke signature relates to which keyboard character via statistical methods such as frequency analysis. The repetition frequency of similar acoustic keystroke signatures, the timings between different keyboard strokes and other context information such as the probable language in which the user is writing are used in this analysis to map sounds to letters. A fairly long recording (1000 or more keystrokes) is required so that a big enough sample is collected.
Electromagnetic emissions
It is possible to capture the electromagnetic emissions of a wired keyboard from up to 20 metres (66 ft) away, without being physically wired to it. In 2009, Swiss researches tested 11 different USB, PS/2 and laptop keyboards in a semi-Anechoic chamber and found them all vulnerable, primarily because of the prohibitive cost of adding shielding during manufacture. The researchers used a wide-band receiver to tune into the specific frequency of the emissions radiated from the keyboards.
Optical surveillance
Not a keylogger in the classical sense, but an approach that can nonetheless be used to capture passwords or PINs. A strategically placed camera, such as a hidden surveillance camera at an ATM, can allow a criminal to watch a PIN or password being entered.
History
An early keylogger was written by Perry Kivolowitz and posted to the Usenet news group net.unix-wizards,net.sources on November 17, 1983 . The posting seems to be a motivating factor in restricting access to /dev/kmem on Unix systems. The User-mode program operated by locating and dumping character lists (clists) as they were assembled in the Unix kernel.
Cracking
Writing software applications for keylogging is trivial,[citation needed] and like any nefarious computer program, can be distributed as a trojan horse or as part of a virus. What is not trivial for an attacker however, is installing a covert keystroke logger without getting caught and downloading data that has been logged without being traced. An attacker that manually connects to a host machine to download logged keystrokes risks being traced. A trojan that sends keylogged data to a fixed e-mail address or IP address risks exposing the attacker.
Trojan
Young and Yung devised several methods for solving this problem and presented them in their 1997 IEEE Security & Privacy paper (their paper from ’96 touches on it as well).[citation needed] They presented a deniable password snatching attack in which the keystroke logging trojan is installed using a virus or worm. An attacker that is caught with the virus or worm can claim to be a victim. The cryptotrojan asymmetrically encrypts the pilfered login/password pairs using the public key of the trojan author and covertly broadcasts the resulting ciphertext. They mentioned that the ciphertext can be steganographically encoded and posted to a public bulletin board such as Usenet.[citation needed]
Ciphertext
Young and Yung also mentioned having the cryptotrojan unconditionally write the asymmetric ciphertexts to the last few unused sectors of every writable disk that is inserted into the machine.[citation needed] The sectors remain marked as unused. This can be done using a USB token. So, the trojan author may be one of dozens or even thousands of people that are given the stolen information. Only the trojan author can decrypt the ciphertext because only the author knows the needed private decryption key. This attack is from the field known as cryptovirology.
Federal Bureau of Investigation
This section requires expansion with:
more details on how the FBI used it or what they found.
In 2000, the FBI used a keystroke logger to obtain the PGP passphrase of Nicodemo Scarfo, Jr., son of mob boss Nicodemo Scarfo.
Use in surveillance software
Some surveillance software[vague] has keystroke logging abilities and is advertised to monitor the internet use of minors. Such software has been criticized on privacy grounds, and because it can be used maliciously or to gain unauthorized access to users’ computer systems.
Countermeasures
Countermeasures against keyloggers will vary depending on the type of keylogger in use.
Live CD
Rebooting the computer using a Live CD is a possible countermeasure against software keyloggers if the CD is clean of malware and the operating system contained on it is fully patched so that it cannot be infected as soon as it’s started. Booting a different operating system does not impact the use of a hardware keylogger.
Code signing
64-bit versions of Windows Vista and Server 2008 implement mandatory digital signing of kernel-mode device drivers, thereby restricting the installation of key-logging rootkits.
Anti-spyware
Many anti-spyware applications are able to detect keyloggers and quarantine, disable or cleanse them. These applications are able to detect software-based keyloggers based on patterns in executable code, heuristics and keylogger behaviours (such as the use of hooks and certain APIs).
No software-based anti-spyware application can be 100% effective against all keyloggers. Also, software-based anti-spyware cannot defeat non-software keyloggers (for example, hardware keyloggers attached to keyboards will always receive keystrokes before any software-based anti-spyware application, rendering the anti-spyware application useless).
However, the particular technique that the anti-spyware application uses will influence its potential effectiveness against software keyloggers. As a general rule, anti-spyware applications with higher privileges will defeat keyloggers with lower privileges. For example, a hook-based anti-spyware application cannot defeat a kernel-based keylogger (as the keylogger will receive the keystroke messages before the anti-spyware application), but it could potentially defeat hook and API-based keyloggers.
Firewall
Enabling a firewall does not stop keyloggers per se, but can prevent the remote installation of key logging software, and possibly prevent transmission of the logged material over the internet if properly configured.
Network monitors
Network monitors (also known as reverse-firewalls) can be used to alert the user whenever an application attempts to make a network connection. This gives the user the chance to prevent the keylogger from “phoning home” with his or her typed information.
Automatic form filler programs
Automatic form-filling programs may prevent keylogging by removing the requirement for a user to type personal details and passwords using the keyboard. Form fillers are primarily designed for web browsers to fill in checkout pages and log users into their accounts. Once the user’s account and credit card information has been entered into the program, it will be automatically entered into forms without ever using the keyboard or clipboard, thereby reducing the possibility that private data is being recorded. However someone with physical access to the machine may still be able to install software that is able to intercept this information elsewhere in the operating system or while in transit on the network. (Transport Layer Security prevents the interception of data in transit by network sniffers and proxy tools.)
Alternative keyboard layouts
Most keylogging hardware/software assumes that a person is using the standard QWERTY keyboard layout, so by using a layout such as Dvorak, frequency analysis is required to determine the mapping of captured keystrokes. For additional security, custom keyboard layouts can be created using tools like the Microsoft Keyboard Layout Creator.
One-time passwords (OTP)
Using one-time passwords is completely keylogger-safe because the recorded password is always invalidated as soon as it’s used. This solution is useful if you are often using public computers where you can’t verify what is running on them. One-time passwords also prevent replay attacks where an attacker uses the old information to impersonate. One example is online banking where one-time passwords are implemented to protect accounts from keylogging attacks as well as replay attacks. In this instance, an attacker with remote control over a user’s machine can wait for the user to log on before remotely conducting an unauthorised transaction via the user’s own computer.
Security Tokens
Use of smart cards or other security tokens may improve security in some ways even in the face of a successful keylogging attack.[citation needed] In particular, under some systems, knowing the keystrokes, mouse actions, display, clipboard etc at a compromised computer will not help the attacker gain access to a protected resource on an uncompromised server. For example, some security tokens work as a type of hardware assisted one time password system, and others implement a cryptographic challenge-response authentication, which can improve security in a manner conceptually similar to one time passwords. Smartcard readers and their associated keypads for PIN entry may be vulnerable to keystoke logging through a supply chain attack.
On-screen keyboards
Program-to-program (non-web) keyboards
It is sometimes said that a third-party (or first party) on-screen keyboard program is a good way to combat keyloggers, as it only requires clicks of the mouse. However, this is not always true.
Most on screen keyboards (such as the onscreen keyboard that comes with Microsoft Windows XP) send keyboard event messages to the external target program to type text. Every software keylogger can log these typed characters sent from one program to another. Additionally, some programs also record or take snapshots of what is displayed on the screen (periodically, and/or upon each mouse click).
However, there are some on-screen keyboard programs that do offer some protection, using other techniques described in this article (such as dragging and dropping the password from the on-screen keyboard to the target program).
Web-based keyboards
Web-based on-screen keyboards (written in JavaScript, etc.) do provide protection from most keyloggers. However, web-based on-screen keyboards will not provide any protection from malware with screen logging capabilities (see the Related Features section above) or from shoulder surfing.
Notably, the game MapleStory uses, in addition to a standard alphanumeric password, a 4-digit PIN code secured by both on-screen keyboard entry and a randomly changing button pattern; there is no real way to get the latter information without logging the screen and mouse movements; another MMORPG called RuneScape makes a similar system available for players to protect their in-game bank accounts and removes the text of the keyboard upon mouse-over so as to render useless all but active screenloggers and Van Eck phreaking attacks.
Many banks, such as HSBC, use the web-based screen keyboard to prevent key logging.
Anti-keylogging software
Keylogger detection software is also available. Some of this type of software use “signatures” from a list of all known keyloggers. The PC’s legitimate users can then periodically run a scan from this list, and the software looks for the items from the list on the hard-drive. One drawback of this approach is that it only protects from keyloggers on the signature-based list, with the PC remaining vulnerable to other keyloggers.
Other detection software doesn’t use a signature list, but instead analyzes the working methods of many modules in the PC, allowing it to block the work of many different types of keylogger. One drawback of this approach is that it can also block legitimate, non-keylogging software. Some heuristics-based anti-keyloggers have the option to unblock known good software, but this can cause difficulties for inexperienced users.
Keystroke Interference software
Keystroke Interference software is also available. These programs trick all keyloggers by introducing random keystrokes causing difficulties for the keystroke software to capture the real keystrokes.
Speech recognition
Similar to on-screen keyboards, speech-to-text conversion software can also be used against keyloggers, since there are no typing or mouse movements involved. The weakest point of using voice-recognition software may be how the software sends the recognized text to target software after the recognition took place.
Handwriting recognition and mouse gestures
Also, many PDAs and lately Tablet PCs can already convert pen (also called stylus) movements on their touchscreens to computer understandable text successfully. Mouse gestures utilize this principle by using mouse movements instead of a stylus. Mouse gesture programs convert these strokes to user-definable actions, such as typing text. Similarly, graphics tablets and light pens can be used to input these gestures, however these are less common everyday.
The same potential weakness of speech recognition applies to this technique as well.
Macro expanders/recorders
With the help of many Freeware/Shareware programs, a seemingly meaningless text can be expanded to a meaningful text and most of the time context-sensitively, e.g. “we” can be expanded “en.Wikipedia.org” when a browser window has the focus. The biggest weakness of this technique is that these programs send their keystrokes directly to the target program. However, this can be overcome by using the ‘alternating’ technique described below, i.e. sending mouse clicks to non-responsive areas of the target program, sending meaningless keys, sending another mouse click to target area (e.g. password field) and switching back and forth.
Window transparency
Using many readily available utilities, the target window could be made temporarily transparent, in order to hinder screen-capturing by advanced keyloggers.[citation needed] Although not a fool-proof technique against keyloggers on its own, this could be used in combination with other techniques.
Non-technological methods
Some keyloggers can be fooled by alternating between typing the login credentials and typing characters somewhere else in the focus window. Similarly, a user can move their cursor using the mouse during typing, causing the logged keystrokes to be in the wrong order e.g. by typing a password beginning with the last letter and then using the mouse to move the cursor for each subsequent letter. Lastly, someone can also use context menus to remove, copy, cut and paste parts of the typed text without using the keyboard.
Another very similar technique utilizes the fact that any selected text portion is replaced by the next key typed. E.g. if the password is “secret”, one could type “s”, then some dummy keys “asdfsd”. Then these dummies could be selected with mouse, and next character from the password “e” is typed, which replaces the dummies “asdfsd”.
See also
Automation Software
Black-bag cryptanalysis
Computer surveillance
Digital footprint
Hardware keylogger
Reverse connection
Spyware
Trojan horse
References
^ Jonathan Brossard (2008-09-03) (PDF). Bypassing pre-boot authentication passwords by instrumenting the BIOS keyboard buffer (practical low level attaks against x86 pre-boot authentiation softwares). Iviz Technosolutions. http://www.ivizsecurity.com/research/preboot/preboot_whitepaper.pdf. Retrieved 2008-09-23.
^ Microsoft. “EM_GETLINE Message()”. Microsoft. http://msdn.microsoft.com/en-us/library/bb761584(VS.85).aspx. Retrieved 2009-07-15.
^ “Keyghost”. keyghost.com. http://www.keyghost.com/sx/. Retrieved 2009-04-19.
^ Jeremy Kirk (2008-12-16). “Tampered Credit Card Terminals”. IDG News Service. http://www.pcworld.com/article/155525/.html?tk=rss_news. Retrieved 2009-04-19.
^ Berkeley.edu
^ “Remote monitoring uncovered by American techno activists”. ZDNet. 2000-10-26. http://news.zdnet.co.uk/security/0,1000000189,2082190,00.htm. Retrieved 2008-09-23.
^ Martin Vuagnoux and Sylvain Pasini (2009-06-01). Compromising Electromagnetic Emanations of Wired and Wireless Keyboards. Lausanne: Security and Cryptography Laboratory (LASEC). http://lasecwww.epfl.ch/keyboard/.
^ “ATM camera”. snopes.com. http://www.snopes.com/fraud/atm/atmcamera.asp. Retrieved 2009-04-19.
^ “The Security Digest Archives”. http://securitydigest.org/unix/archive/006. Retrieved 2009-11-22.
^ A. Young, M. Yung, “Deniable Password Snatching: On the Possibility of Evasive Electronic Espionage,” IEEE Symposium on Security & Privacy, pages 224-235, May 4-7, 1997.
^ John Leyden (2000-12-06). “Mafia trial to test FBI spying tactics: Keystroke logging used to spy on mob suspect using PGP”. The Register. http://www.theregister.co.uk/2000/12/06/mafia_trial_to_test_fbi/. Retrieved 2009-04-19.
^ “Kernel-Mode Code Signing Policy (Windows Server 2008 and Windows Vista)”. Msdn. http://msdn.microsoft.com/en-us/library/aa906239.aspx. Retrieved 2008-11-16.
^ Austin Modine (2008-10-10). “Organized crime tampers with European card swipe devices”. The Register. http://www.theregister.co.uk/2008/10/10/organized_crime_doctors_chip_and_pin_machines/. Retrieved 2009-04-18.
^ Cormac Herley and Dinei Florencio (2006-02-06). “How To Login From an Internet Cafe Without Worrying About Keyloggers” (PDF). Microsoft Research. http://cups.cs.cmu.edu/soups/2006/posters/herley-poster_abstract.pdf. Retrieved 2008-09-23.
External links
Keylogging Hardware and software keylogging methods.
Introduction to Spyware Keyloggers
Keyloggers: How they work and how to detect them
How To Login From an Internet Cafe Without Worrying About Keyloggers
Keyloggers at the Open Directory Project
Categories: Cryptographic attacks | Spyware | Surveillance | Computer crimesHidden categories: Articles needing cleanup from March 2008 | All pages needing cleanup | Articles needing cleanup from August 2009 | All articles with unsourced statements | Articles with unsourced statements from April 2009 | Articles with unsourced statements from August 2009 | Articles to be expanded from August 2009 | All articles to be expanded | Wikipedia expand-section box with explanation text | All Wikipedia articles needing clarification | Wikipedia articles needing clarification from August 2009 | Articles with unsourced statements from October 2009 | Articles with unsourced statements from September 2008
The e-commerce company in China offers quality products such as Optical Ethernet Switch , E1 Video Encoder/Decoder, and more. For more , please visit TDM over IP today!
Sound interesting…
Keystroke logging – Optical Ethernet Switch is helpful for all type of key stroke storing and great invention.Any one know how much key stroke store by optical ethernet switch.