Originally Posted by
mike*5*
Keyloggers or other malware can only be run by executing code. Image files and video files do not execute code, they just contain data to be interpreted by the image viewer or video player. So this means, malware can NOT be run from within an image, video, or other non executable file. There are many executable file types that are used on the windows OS, such as .exe, .scr, .pif. The only way you can run a program is by having one of those file extensions, if the file is .jpg, .gif, .png, .avi, or any other image or video file type, then it will not do anything. *But*, there are a few ways we CAN run code from a non executable file type, such as .jpg. This would be done through exploits, like the wmf exploit, which allows code to be executed through a .wmf file, a common image format. But exploits are uncommon and last for a very limited amount of time, so to answer your question, no, keyloggers can not be run through image or video files.