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-Signatures
[Top] [All Lists]

[Snort-sigs] http post on port 25

Subject: [Snort-sigs] http post on port 25
Date: Tue, 8 Feb 2005 17:42:12 +0100

hi all 

this days i noticed some strange dialogs on smtp port 25
hosts around the world are trying to setup a dialog
immediatly after the SYN - SYN ACK - ACK frames
with the following content:
 POST / HTTP/1.1
 Host: my.hostname.com:25
 Content-Type: text/plain
 ... and so on

o.k. - i am not crazy, i really speak about e-mail, and 
this is not the content of the message body, it's the tcp-flow
later in the dialog there is a rset, but game over 
with sendmail and greeting feature. 

there are some additional infos, like a tcpdump and a rule for 
snort, to find at  http://ma.yer.at/2005/smtp_post.html

i would be interested, if you could also notice such traffic.
i can't belive, are there any mail-gateways, which respond to
http-post-commands on port 25 ? 

here the rule, which does the job for me perfectly:

alert tcp $EXTERNAL_NET any -> $SMTP_SERVERS 25 (msg:"SMTP POST"; 
flow:to_server,established; content:"post"; nocase; content:"/"; nocase; 
pcre:"/^post\s+\/\s+http\/1.1/smi"; classtype:attempted-recon; sid:050201; 
rev:10;)

i am new to snort, so i don't know if this rule is correct, 
for example, i don't know where to get a correct sid, i took 
the current date. 
what i did, i took an other smtp-rule and did modify the content. 


best regards 
hans 

p.s.: i hope this is the correct forum, or should i post 
      in the Snort-users list ? 

-- 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Snort-sigs mailing list
Snort-sigs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snort-sigs

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