LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-28-2004, 02:53 AM   #1
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
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?
 
Old 09-28-2004, 05:43 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

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


Håkan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The grub catch 22 Devyn Linux - Software 21 11-19-2005 09:39 PM
Help Designing new box specially for Linux eirbyte Linux - Hardware 6 04-16-2005 07:11 AM
try catch(...) Sinner6 Linux - Newbie 3 06-25-2004 09:22 AM
Well...I'll catch you all later... Whitehat General 30 03-11-2004 09:32 PM
Here's one fer yuh'all, specially all you Slackers. taz.devil Linux - General 8 12-05-2001 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration