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] packet content and signature unmatch

Subject: Re: [Snort-users] packet content and signature unmatch
Date: Mon, 17 Jul 2006 08:54:17 -0500
--On July 17, 2006 9:31:50 AM -0400 hchlai@netscape.net wrote:

Hi Snorters,

 I have 2 questions regarding sid:1811

  /etc/snort/rules/attack-responses.rules:alert tcp $HOME_NET 22 ->
$EXTERNAL_NET any (msg:"ATTACK-RESPONSES successful gobbles ssh exploit
uname"; flow:from_server,established; content:"uname";
reference:bugtraq,5093; reference:cve,2002-0390;
reference:cve,2002-0639; reference:nessus,11031; classtype:misc-attack;
sid:1811; rev:9;

  First of all, since ssh sessions are encrypted, I should never see a
packet content of "uname" in non-encrypted format. Am I missing
something fundamental in here or it's just a Monday morning?
  Secondly, this signature is recorded in 2 packets by BASE, but neither
packets nor their combine contents contain "uname" in it, so what
exactly triggered this signature? Many thanks!

When investigating the whys and wherefores of a rule's triggering, it's a good idea to first read the relevant exploit information - <http://www.securityfocus.com/bid/5093/discuss>

"It is possible for attackers to exploit the vulnerabilities by constructing a malicious response. As this occurs before the authentication process completes, it may be exploited by remote attackers without valid credentials. Successful exploitation may result in the execution of shellcode or a denial of service."

As I'm sure you are aware, the challenge-response portion occurs before encryption has taken place, so you would indeed see the characters in the packet.

Paul Schmehl (pauls@utdallas.edu)
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

Attachment: p7sCZAyYjm8Ww.p7s
Description: S/MIME cryptographic signature


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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>