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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|