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:40:31 -0500 |
On Mon, Nov 27, 2006 at 04:27:24PM -0500, J. Oquendo wrote:
So for the third time now. Explain to me how I am backdooring someone's
system.
[root@localhost include]# uname -a
Linux int-mrkt 2.6.18-1.2200.fc5 #1 Sat Oct 14 16:59:26 EDT 2006 i686
i686 i386 GNU/Linux
[root@localhost include]# awk '/error retrieving/{getline;print $13}'
/var/log/secure|sort -ru
222.171.20.252
211.137.74.58
My logs parse out addresses not named and there is no redirection going
on. If you want to say "Hey... It should be written as such" then gladly
do so.
You are dealing with output you can't trust there. $13 could be anything, including "\n`rm -rf /`". Later on, you pass $13, unstripped of newlines, backticks, or any number of other special character to a shell running as uid 0. That shell will proceed to execute whatever we would like it to, where "we" are "the remote attacker who doesn't even have an account". I don't believe the suggestion was ever that you had malicious intent, but rather that you have very horrible coding security habits. I'm disinclined to sort out which of your machines I can get root on right now because you are running this script, but I would expect that someone reading this mailing list is already on the way and would strongly advise that you disable those cron jobs. -- gabriel rosenkoetter gr@eclipsed.net
pgpQw8Uc2uhBZ.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, J. Oquendo |
| Previous by Thread: | Re: [Full-disclosure] SSH brute force blocking tool, Tavis Ormandy |
| Next by Thread: | Re: [Full-disclosure] SSH brute force blocking tool, J. Oquendo |
| Indexes: | [Date] [Thread] [Top] [All Lists] |