I feel like a professional auto mechanic is telling me, all serious-like, that he just learned the hard way why you shouldn't try to drive while running alongside your car, reaching through the window to work the steering wheel, with a brick on the accelerator.
Don't use 1234 as your password
11–20 of 56 posts
Re: Don't use 1234 as your password
#12Also, fail2ban is a useful thing in this instance. But if your password is 1234... what's the deal with that?
One of the first commands I type into a new VPS: sudo apt-get install fail2ban I remember when I got my very first VPS, and within a couple of days I was getting a really long bruteforce where the attacker tried every common name "aaron, adam, alex, etc" and around 120 common passwords for each of them (fortunately my text-based password on that VPS was 41 characters). I think they tried a few thousand usernames tota…
Re: Don't use 1234 as your password
#13I telnetted to port 25 and tried RCPT TO hypothesized names, like so
$ telnet host 25
MAIL FROM: a@a.com
250 Sender OK
RCPT TO: afranks
550 Recipient not found
RCPT TO: arty.franks
250 Recipient OK
...With this list of usernames I logged into the FTP to try to guess trivial passwords:
$ telnet host 21
USER arty.franks
User OK
PASS 1234
Login failed
PASS password
...Eventually I got a valid username/password combo.
Now I can just telnet and log in. I got a line like this:
Last login April 12, 1992.
$
It had this ancient version of IRIX on it, a hard drive under 100 MB, no X, a version of egcs, some ancient version of perl, no bash, and I think 12MB of RAM?It was fun, but I didn't know what I wanted to do with it. We executed this attack from the school library. Putz'd around a bit, in amazement of how old it was, and that it was still online, and then logged out - never to return.
https://www.youtube.com/watch?v=9EEY87HAHzk - a video of the machine
Re: Don't use 1234 as your password
#14The very first time I tried Linux, after spending an entire day downloading Slackware, copying it to a set of install diskettes, partitioning a hard drive and installing it, I set my root password to "12345". I was around 10 at the time, 1995 plus or minus a year or two. After booting for the first time, I dialed up AOL and logged on to a Linux-topic IRC channel. I talked to the strangers there about how excited I wa…
Re: Don't use 1234 as your password
#15I found a 68K SGI Iris 2400 machine up and running in college in about 2004. It had a sticker with the hostname on it. Later on that week, I went to the department homepage, got the staff roster and tried to guess the usernames. I telnetted to port 25 and tried RCPT TO hypothesized names, like so $ telnet host 25 MAIL FROM: a@a.com 250 Sender OK RCPT TO: afranks 550 Recipient not found RCPT TO: arty.franks 250 Recipi…
Re: Don't use 1234 as your password
#16Re: Don't use 1234 as your password
#17Re: Don't use 1234 as your password
#18Re: Don't use 1234 as your password
#19Re: Don't use 1234 as your password
#20Earlier quoted context omitted.
Pardon me, but 12345 is 3 extra bits.
explain.
log(10000) / log(2) == 13.28771
With 5 characters, each 0-9, there are 100,000 possible combinations, and that requires 17 bits: log(100000) / log(2) == 16.60964
Therefore, 12345 offers 3 extra bits of security compared to 1234.