Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Snort-Users
[Top] [All Lists]

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

Subject: Re: [Snort-users] Snort rule to detect Windows PE Executable Downloads
Date: Thu, 12 Jul 2007 13:56:32 -0400
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,www.program-transformation.org/Transform/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/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

<Prev in Thread] Current Thread [Next in Thread>