LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Catch specially crafted jpeg? (https://www.linuxquestions.org/questions/linux-general-1/catch-specially-crafted-jpeg-236106/)

J_Szucs 09-28-2004 02:53 AM

Catch specially crafted jpeg?
 
I want to protect our network from specially crafted jpegs that can crash some applications.
Our mails e.g. are filtered through clamav, but that does not seem to catch such jpegs.

However, I found some binary patters on the internet by which those jpegs could be identified.

If I could find a command-line tools that can do "hexadecimal regex" matching on binary files, then I could use that in our mail server to catch those jpegs.

Is there a command line tool that can do a hexadecimal search inside binary files?

hw-tph 09-28-2004 05:43 AM

You could use a simple Perl construct, like the Easynews team did here to find that new JPEG virus.


Håkan


All times are GMT -5. The time now is 07:12 PM.