Re: [Snort-users] Snort rule to detect Windows PE Executable

This is a discussion on Re: [Snort-users] Snort rule to detect Windows PE Executable within the Snort forums, part of the System Security and Security Related category; Yes, I saw those rules. While they should be fairly reliable, the DOS stub that prints "This program cannot ...


Go Back   Usenet Forums > System Security and Security Related > Snort

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-12-2007
Humes, David G.
 
Posts: n/a
Default Re: [Snort-users] Snort rule to detect Windows PE Executable

Yes, I saw those rules. While they should be fairly reliable, the DOS
stub that prints "This program cannot be run in DOS mode" is not
guarantied. A malware author can link in their own DOS stub that
includes whatever he or she wants. Also, some file-infecting malware
overwrites the DOS stub. So, I'd rather not rely on that string.

> -----Original Message-----
> From: Jeffrey Denton [mailto:dentonj@gmail.com]
> Sent: Thursday, July 12, 2007 1:10 PM
> To: Humes, David G.
> Cc: snort-users@lists.sourceforge.net
> Subject: Re: [Snort-users] Snort rule to detect Windows PE
> Executable Downloads
>
>
> On 7/12/07, Humes, David G. <David.Humes@jhuapl.edu> wrote:
> > I would like to have a Snort rule to reliably detect the

> download of a
> > Windows PE executable file.

>
> alert tcp $EXTERNAL_NET any -> $HOME_NET any (msg:
> "BLEEDING-EDGE PE EXE or DLL Windows file download"; flow:
> established; content:"MZ";
> isdataat: 76,relative; content:"This program cannot be run in
> DOS mode."; distance: 0; isdataat: 10,relative; content:"PE";
> distance: 0;
> classtype: misc-activity; sid: 2000419; rev:6; )
>
> alert tcp $EXTERNAL_NET any -> $HOME_NET any (msg:
> "BLEEDING-EDGE PE EXE Install Windows file download"; flow:
> established; content:"MZ";
> isdataat: 76,relative; content:"This program must be run under Win32";
> distance: 0; isdataat: 140,relative; content:"PE"; distance:
> 0; reference:url,http://www.program-transformation.or...m/PcExeFormat;
> classtype: misc-activity; sid: 2000427; rev:6; )
>
>
> If you are running the Bleedingthreats rules, this signatures
> are commented out by default.
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/...fo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.p...st=snort-users
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:54 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0