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. |

| Subject: | Re: [Snort-users] Snort rule to detect Windows PE Executable Downloads |
|---|---|
| Date: | Thu, 12 Jul 2007 22:04:56 -0400 |
I realize my question was a bit long winded. Let's try something simpler. I think this rule should be highly effective in detecting the download of a Windows PE executable file. alert tcp $EXTERNAL_NET any -> $HOME_NET any (msg:"PE Executable Download"; content:"MZ"; depth:2; byte_jump:4,60,little,from_beginning; content:"PE|00 00|"; within:4; flow:established,from_server; sid:8000143; classtype:bad-unknown; rev:1;) It works this executable, http://www.cygwin.com/setup.exe, but not using this, http://the.earth.li/~sgtatham/putty/0.60/x86/putty.exe. Why? Could anyone try it on their sensors and let me know if it behaves any differently. Or if anyone has any suggestions on how to do this that does not involve matching the "!This program cannot be run in DOS mode." string, that would be appreciated. Sorry Matt, I just don't think you can depend on that string any more. I will take a look at the PEHunter plugin that Jamie suggests. But, I think the rule, or something very similar, should work in all cases. Thanks. --Dave ------------------------------------------------------------------------- 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> |
|---|---|---|
| ||
| Previous by Date: | [Snort-sigs] Sourcefire VRT Certified Snort Rules Update, research |
|---|---|
| Next by Date: | Re: [Snort-users] [Snort-sigs] Snort rule to detect Windows PE Executable Downloads, Matt Jonkman |
| Previous by Thread: | Re: [Snort-sigs] Snort rule to detect Windows PE Executable Downloads, Jamie Riden |
| Next by Thread: | Re: [Snort-users] [Snort-sigs] Snort rule to detect Windows PE Executable Downloads, Matt Jonkman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |