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

Re: Weird SSH attack last night and this morning (still ongoing)

Subject: Re: Weird SSH attack last night and this morning (still ongoing)
Date: Fri, 16 May 2008 17:49:07 -0400
On Fri, 16 May 2008 17:19:16 EDT, dxp said:

Correction, one would only need to generate the amount of keys which
would equal the size of maximum PID value on Linux based system
(PID_MAX_DEFAULT).  That equals to 32768 (2^15) on 32bit platform or
more precisely on LP32 data model systems.

That would be very nice, except that many of us are on 64-bit platforms
and can set /proc/sys/kernel/pid_max much higher. include/linux/threads.h says:


/*
 * This controls the default maximum pid allocated to a process
 */
#define PID_MAX_DEFAULT (CONFIG_BASE_SMALL ? 0x1000 : 0x8000)

/*
 * A maximum of 4 million PIDs should be enough for a while.
 * [NOTE: PID/TIDs are limited to 2^29 ~= 500+ million, see futex.h.]
 */
#define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 :         
(sizeof(long) > 4 ? 4 * 1024 * 1024 : PID_MAX_DEFAULT))

Attachment: pgppEDeruKWRU.pgp
Description: PGP signature

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