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 Secure-Shell
[Top] [All Lists]

Re: On why debugging OpenSSH can be so hard

Subject: Re: On why debugging OpenSSH can be so hard
Date: Wed, 9 Jul 2008 12:12:42 -0400
No. He's saying that it leaks information that doesn't need to be leaked.

But this is a straw man argument.

Since nobody seems to be aware of how debugging works on OpenSSH, let me just tell you that there is a client process and a server process and they separately have debug modes. These debug modes are entirely independent from one another. And what is displayed on the server never gets near the client. The client debug mode could merely say "Login failed. Ask your admin to run in debug mode to diagnose this problem." and let it go at that. The server mode is where all the juicy details go.

Please let me know how the attacker is going to get the server into debug mode, let alone read its output?


For comparison, long long ago, there used to be different error messages when authentication failed. It would helpfully tell you that your password was wrong, or that you'd supplied the wrong username.
Great for debugging, right? Well yeah ... and it was great for enumerating the users on the box, making further attacks much simpler.

Apparently they had more diligent programmers back then; they just put the information in the wrong log file.


By the way, you might want to actually read the bug report. Nowhere is the OpenSSH programmer indicating any concern of security; he is even calling my suggestion "logspam". Then again, perhaps he's not aware of this supposedly long-debated security issue.
--


Maurice Volaski, mvolaski@aecom.yu.edu
Computing Support, Rose F. Kennedy Center
Albert Einstein College of Medicine of Yeshiva University

<Prev in Thread] Current Thread [Next in Thread>