1

How can someone detect a malicious code, executable or not, inside an image file ? What techniques and what programs are out there that will help you for the detection procedure ?

This question is a sequel to the question: Can you get infected by viewing an image?

2

The nature of an exploit using an image often is a buffer overrun, for instance:

Buffer Overrun in JPEG Processing (GDI+) Could Allow Code Execution (833987)

To defend against such an attack, all practices and techniques to detect attacks on the stack and heap of your image processing programs will help. Rigorously checking the source code is the first step. Other means include hardening OS and even using special hardware is an option.

A nice overview can be found in this paper on buffer overruns.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.