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] rules for Jabber and Google Talk

Subject: [Snort-sigs] rules for Jabber and Google Talk
Date: Mon, 13 Feb 2006 11:29:00 -0800
I've been using the following rules for detecting Jabber and Google
Talk IM traffic.

Google Talk uses the Jabber protocol which is assigned TCP port 5222. 
The traffic is in XML format.  If anyone has other or better rules,
please share.

Thanks,

Steven

#Jabber/Google Talk traffic from the client
alert tcp $HOME_NET any -> $EXTERNAL_NET 5222 (msg:"Jabber/Google Talk
Outgoing Traffic"; flow:to_server,established; content:"<stream";
offset:0; nocase; classtype:policy-violation; sid:62000; rev:1;)
alert tcp $HOME_NET any -> $EXTERNAL_NET 5222 (msg:"Jabber/Google Talk
Outgoing Auth"; flow:to_server,established; content:"<auth"; offset:0;
nocase; classtype:policy-violation; sid:62001; rev:1;)
alert tcp $HOME_NET any -> $EXTERNAL_NET 5222 (msg:"Google Talk
Logon"; flow:to_server,established; content:"<stream\:stream
to=\"gmail.com\""; offset:0; nocase; classtype:policy-violation;
sid:62002; rev:1;)
alert tcp $HOME_NET any -> $EXTERNAL_NET 5222 (msg:"Jabber/Google Talk
Outoing Message"; flow:to_server,established; content:"<message";
offset:0; nocase; classtype:policy-violation; sid:62003; rev:1;)
alert tcp $HOME_NET any -> $EXTERNAL_NET 5222 (msg:"Jabber/Google Talk
Log Out"; flow:to_server,established; content:"</stream"; offset:0;
nocase; classtype:policy-violation; sid:62006; rev:1;)


#Jabber/Google Talk traffic from the server
alert tcp $EXTERNAL_NET 5222 -> $HOME_NET any (msg:"Jabber/Google Talk
Logon Success"; flow:to_client,established; content:"<success";
offset:0; nocase; classtype:policy-violation; sid:62009; rev:1;)
alert tcp $EXTERNAL_NET 5222 -> $HOME_NET any (msg:"Jabber/Google Talk
Incoming Message"; flow:to_client,established; content:"<message";
offset:0; nocase; classtype:policy-violation; sid:62010; rev:1;)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd_______________________________________________
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>
  • [Snort-sigs] rules for Jabber and Google Talk, Steven Alexander <=