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: [Full-disclosure] SSH brute force blocking tool |
|---|---|
| Date: | Tue, 28 Nov 2006 12:29:31 -0600 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 28 Nov 2006 10:59:43 -0600 "J. Oquendo" <sil@infiltrated.net> wrote:
Tavis Ormandy wrote:On Tue, Nov 28, 2006 at 04:02:36PM +0000, Tavis Ormandy wrote: I notice you also havnt solved the local privilege escalation,this canbe abused by local users to gain root by attempting to loginwith theusername set to a valid passwd entry and then winning the raceconditionby creating a symlink to the system passwd file (of course,there aredozens of other attacks). Thanks, Tavis.And just what on God's earth does "SOMEONE LOGGING IN WITH USERNAME SET TO A VALID PASSWORD ENTRY" have to do with this script. Let me take my script out of the equation for a minute. "SOMEONE LOGS IN WITH A USERNAME SET TO A VALID PASSWORD ENTRY" don't you think this is a problem with the system they're on? Please explain to me how because I'm seriously curious to know how you envision this happening with this script of mine. Nov 27 16:31:21 local sshd[67010]: Illegal user dd from 213.134.128.227 awk '($5=="Illegal"||$6=="Illegal")&&$9=="from"{print $10}' Would stop the insertion attack and only print out the tench field if fields 5, 6 and 9 match Illegal user from. So that would pretty much minimize the attack on name insertion. If I wanted to I could also make sure that if someone came after field 10, then ignore the entire line: Nov 27 16:31:21 local sshd[67010]: Illegal user dd from 213.134.128.227 But before you shoot back let me send your response for you: Tavis Ormandy will write:"Someone could log in using: "Illegal User foo from$OWNIPADDRESS"@host which would make an entry:Nov 27 16:31:21 local sshd[67010]: Illegal user dd fromIllegal User foo from $OWNIPADDRESS 213.134.128.227" SO let me restate. I could modify it to look at lines 5, 6, and 9 ... Take a look at the tenth column and if anything comes after that...Ignore that entire line... Should I have done so, maybe... Will I do so... Maybe... But wait there's more... Before you respond back Tavis, I will do so for you: Tavis Ormandy will write:"Someone could cause a race condition in awk that will allowpeanut butter to seep into my colo" Sorry can't help you there. As to a fix to someone injecting ranDumb addresses. That same awk statement above will work but if they're doing some netcat voodoo, then feel free to shoot off another email on how my script broke TCP/IP entirely. -- ==================================================== J. Oquendo http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1383A743 sil . infiltrated @ net http://www.infiltrated.net The happiness of society is the end of government. John Adams
please take disagreements off list and make sure quoting does not exceed that which is necessary to convey context. Thanks. -----BEGIN PGP SIGNATURE----- Note: This signature can be verified at https://www.hushtools.com/verify Version: Hush 2.5 wpwEAQECAAYFAkVsgAsACgkQ3AEcWsxdEQ4qeQP+M4H5IfprYdHqysEMl9frCqXsfh9T 3z8XL6MD44oBRr657t3ren6Dl/mhUxuWsIJ2dIApxSJYK51J8RShFL+KuW/7VKnUqZEQ ln93svmpEt3A1hsB8/TPsJePKSP5avRUh9X5WxfxZRmi5WVM3uOcpDr1//EsgnUd7tyI dvwNGRY= =TtP4 -----END PGP SIGNATURE----- Concerned about your privacy? Instantly send FREE secure email, no account required http://www.hushmail.com/send?l=480 Get the best prices on SSL certificates from Hushmail https://www.hushssl.com?l=485 _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Full-disclosure] SSH brute force blocking tool, Thierry Zoller |
|---|---|
| Next by Date: | Re: [Full-disclosure] FWD: RE: [Dailydave] Symantec Blackberry Whitepaper. (fwd), b . hines |
| Previous by Thread: | Re: [Full-disclosure] SSH brute force blocking tool, J. Oquendo |
| Next by Thread: | [Full-disclosure] ProFTPD 1.3.0 remote stack overflow, research |
| Indexes: | [Date] [Thread] [Top] [All Lists] |