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: | Mon, 27 Nov 2006 16:34:06 -0500 |
On Mon, Nov 27, 2006 at 09:29:33PM +0000, Tavis Ormandy wrote:
Gabriel, I was referring to this line:
awk '!/#/ && /\./ && !a[$0]++
{print "iptables -A INPUT -s "$1" -i eth0 -d '$ifaddr' -p TCP --dport 22
-j REJECT"}' /etc/hosts.deny |\
awk '/iptables/ && !/#/ && !/-s -i/'|sh
(note the |sh), $1 can be controlled by specially crafted attempted
logins.
Aha. Yep, sure can! I couldn't find where the malicious input was actually executed, but I didn't spend long looking. I take back my take back. -- gabriel rosenkoetter gr@eclipsed.net
pgpMJjm21ktDu.pgp
Description: PGP signature
_______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/
| Previous by Date: | Re: [Full-disclosure] SSH brute force blocking tool, Tavis Ormandy |
|---|---|
| Next by Date: | Re: [Full-disclosure] SSH brute force blocking tool, Michael Holstein |
| Previous by Thread: | Re: [Full-disclosure] SSH brute force blocking tool, Tavis Ormandy |
| Next by Thread: | Re: [Full-disclosure] SSH brute force blocking tool, Michael Holstein |
| Indexes: | [Date] [Thread] [Top] [All Lists] |