Showing posts with label hacker. Show all posts
Showing posts with label hacker. Show all posts

Jan 30, 2008

Password Crackers

I have been getting a lot of hits from Google searchers looking for ways to crack passwords for many different things, mainly people’s online e-mail, though I’m sure they were looking to crack other things as well. I mean, lets face it, people are lazy and I will go out on a limb here and say that 90% of people use one password for everything. If you find their password for one thing, there is a greater possibility that they will use it for everything from online banking, to Paypal, to MySpace. The trick is to find that one password.


I wrote before about using a Keylogger to secretly find a password, but what if you don’t have time to wait for them to get on the computer and type away so you can read the log later? What if you need to gain access now? That is where you need to find a different method. Here is a list of password attacking programs that I picked up from SecurityForest.com:


leet, l337, 1337Please remember, that use of these items may be illegal to use in some states and in some countries, please check your local laws before using any of these programs. I cannot be held responsible for someone’s misuse of these programs!


John the Ripper (Windows, Linux, BSD): John the Ripper is a fast password cracker, currently available for many flavors of Unix (11 are officially supported, not counting different architectures), DOS, Win32, BeOS, and OpenVMS. Its primary purpose is to detect weak Unix passwords. It supports several crypt(3) password hash types which are most commonly found on various Unix flavors, as well as Kerberos AFS and Windows NT/2000/XP LM hashes. Several other hash types are added with contributed patches.


L0phtcrack (Windows): L0phtCrack attempts to crack Windows passwords from hashes which it can obtain (given proper access) from stand-alone Windows NT/2000 workstations, networked servers, primary domain controllers, or Active Directory. In some cases it can sniff the hashes off the wire. It also has numerous methods of generating password guesses (dictionary, brute force, etc).


Lepton’s Crack (Windows, Linux): It can perform a dictionary-based (wordlist) attack, as well as a brute-force (incremental) password scan, including enumeration of a regular expression (useful if you know something about the password). Currently the formats supported are: standard MD4 hash, standard MD5 hash, NT MD4/Unicode, Lotus Domino HTTP password (R4), SHA-1 and
LM (LAN Manager).


Cain and Abel (Windows): Cain & Abel is a free password recovery tool for Microsoft Operating Systems. It allows easy recovery of various kind of passwords by sniffing the network, cracking encrypted passwords using Dictionary & Brute-Force attacks, decoding scrambled passwords, revealing password boxes, uncovering cached passwords and analyzing routing protocols. It is also a great tool for arp spoofing and MITM attacks. Source code is not provided.


Creddump (Windows): The program follows the same methodology used by Todd Sabin in his PWDUMP2 program to decrypt credential files. It uses the "DLL injection" technique to run a thread in the same security context of the Local Security Authority Subsystem process. The thread's executable code must first be copied to the address space of LSASS process and this requires an account with the SeDebugPrivilege user right. By default only Administrators have this right. Once injected and executed, the thread will run with the same access privileges of the Local Security Authority Subsystem and will use the native undocumented LsaICryptUnprotectData API from LSASRV.DLL to decrypt the credentials file. The thread stores the output of this API in a temporary file named cred.txt located in the same directory of the program. Finally, user's credentials are dumped and put ont the screen. Credential Manager can store various kind of passwords, they can be saved as MultiByte or WideChar strings, security BLOBS and certificates too. The choice of the final encryption method is left to the user. The program will try to recognize plaintext passwords stored as MultiByte strings or WideChar strings, and will also decode Passport and Standard (no entropy) credential BLOBS originally stored using the CryptProtectData API.


Brutus (Windows): This Windows-only cracker bangs against network services of remote systems trying to guess passwords by using a dictionary and permutations thereof. It supports HTTP, POP3, FTP, SMB, TELNET, IMAP, NTP, and more. No source code is available. UNIX users should take a look at THC-Hydra.


THC-Hydra (Windows, Linux, BSD): This tool allows for rapid dictionary attacks against network login systems, including FTP, POP3, IMAP, Netbios, Telnet, HTTP Auth, LDAP NNTP, VNC, ICQ, Socks5, PCNFS, and more. It includes SSL support and is apparently now part of Nessus. Like Amap, this release is from the fine folks at THC.


Crack 5.0a (Linux, BSD): Crack is a password cracking program that is designed to quickly locate insecurities in Unix (or other) password files by scanning the contents of a password file, looking for users who have misguidedly chosen a weak login password. Crack v5.0 is a relatively smart program, and is pre-programmed to expect a variety of crypt() algorithms to be available for cracking in any particular environment.


VNCPwdump (Windows): VNCPwdump can be used to dump and decrypt the registry key containing the encrypted VNC password in a few different ways. It supports dumping and decrypting the password by: 1) Dumping the current users registry key. 2) Retrieving it from a NTUSER.DAT file. 3) Decrypting a command line supplied encrypted password. 4) Injecting the VNC process and dumping the owners password.


Ophcrack (Linux, windows): Ophcrack is a Windows password cracker based on a time-memory trade-off using rainbow tables. This is a new variant of Hellman's original trade-off, with better performance.


RainbowCrack (Linux, windows): In short, the RainbowCrack tool is a hash cracker. While a traditional brute force cracker try all possible plaintexts one by one in cracking time, RainbowCrack works in another way. It precompute all possible plaintext - ciphertext pairs in advance and store them in the file so called "rainbow table". It may take a long time to precompute the tables, but once the one time precomputation is finished, you will always be able to crack the ciphertext covered by the rainbow tables in seconds. (MD5,LM,SHA-1)


Cachedump (Windows): CacheDump will create a CacheDump NT Service to get SYSTEM right and make his stuff on the registry. Then, it will retrieve the LSA Cipher Key to decrypt (rc4/hmac_md5 GloubiBoulga) cache entries values. A John The Ripper module has been developed to attack the hashed values that are retrieved ( timing equivalent to MD4( MD4( password|U(username) ) ).


Mdcrack (Windows): MDcrack is primarily a fast cracker for (raw) MD5 and MD4 hashes, but it also supports NTLM hashes (case sensitive, MD4-based) that are actually used by Windows NT/2000/XP. It's rather dumb in which candidate passwords it tries and it doesn't support loading of entire password files, so its practical use is limited. However, it demonstrates how it's possible to compute the hashes at a very fast rate.


Don't Forget your Bauer-Power Gear!

Jan 15, 2008

Just How Secure Is Your WPA Encrypted Wireless Network?

We all know how crappy WEP is. It has been proven time and time again that it can be broken. I have even done posts on cracking WEP. What about WPA? WPA is supposed to be pretty secure right?

One of my favorite tech sites on the interweb, Hak.5 (http://www.hak5.org) decided to put their own WPA access point to the test just to see how secure it really was. They used the eeePC, Backtrack 3, and Aircrack-ng to see if they could Hack their AP. Want to know if they did it or not? Watch their video:



If you want to watch this full episode, you can catch it on Youtube here (Hak.5 Youtube) or you can download it directly from their website. (http://www.hak5.org)

So what's the moral of the story boys and girls? Strong passwords!

If you have a wireless access point, make sure you have a complicated enough password so that it will be virtually impossible, or take an un-godly amount of time to guess. You want to make your network harder to hack than the next guy's. Nine times out of ten, the average hacker will go for the easier target. Don't let your access point be the easy hack!

Dec 3, 2007

Cracking Passwords With Google

My buddy Karl over at Ask The Admin found this, and I just had to repost it:

A website we read Hackaday posted this interesting piece last week on how to use Google as a password cracker.

If you don't know what md5 hashed passwords are then this isnt for you and you should stop reading (Check back in a bit for a piece of password cracking) or see what they are here.


But if you are like me and need to um recover passwords on a system you have physical access to you know you can dump passwords from the local sam database as hashed passwords.

Using a program like l0pht crack (LC5 to those in the know - more on this later) to decpypher them is time consuming but acording to this post you can simply google the hash - if it is even a fairly common password google will return the answer. How fucking cool is that?


In the following example they use it after a machine was hacked they wanted to be able to login as that user and spy on the enviroment for some forensic goodness.

"Usually we're into hardware hacks, but once in a while I run across something that's just too good. [Steven]'s blog was cracked a while back, and while he was doing forensics, he was trying to crack the md5 hashed password for the unauthorized account. Eventually he slapped the hash into Google, and guess that it was 'Anthony' based on the results that came up. Thanks to [gr] (Yes, I know it was on Slashdot a few days ago, but I don't care."


I missed it on slasdot so thanks hackaday.com! This will be a big time saver for me in the future.

Originally Posted on Ask The Admin By Karl Gechlik

Dec 2, 2007

Eavesdropping Via Bluetooth

Have you ever seen people walking down the street talking to themselves? No, I am not talking about crazy homeless people. I am talking about, what I like to refer to as, "blue tooth people". You know who I am talking about, I am talking about the people that walk around everywhere with a bluetooth headset on their heads all of the time.


I found a video on 5Min.com that shows you how to connect to those headsets using a Linux program called Car Whisperer and a bluetooth dongle. Using this tool, you can connect to any bluetooth headset because the default pin number on all of them is 0000. Once connected you can eavesdrop on phone conversations, and even conversations the person is having without his phone being on.


For added prankster fun, this utility also lets you inject arbitrary audio into their headset as well. Reminds me of the movie Real Genius.


"Hello Kent. This is God. Stop Playing with yourself."


Anyway, here is the video I am referring to. It is pretty eye opening. Enjoy!


Apr 27, 2007

FTP Attack Thwarted by Awesome Freeware



Last night, before I went to bed I noticed that there was a connection to my FTP server open. I know it was open because I use this really great Open Source FTP server software that puts an icon in the system tray. When there is an open connection the color changes in the icon. The only thing is, my FTP server isn’t advertised and I am the only one that should be using it. What’s that smell? Mmmmm, it smells like an attack!

I was just finishing up an install that required a reboot so I decided to just shut the server down for the night. They can’t get in if the server is not online.

This morning, when I booted it up, I immediately checked the FTP server logs, and sure enough from about 6:00pm until midnight before I shut it down someone was trying to access my server using different user names. They were trying all of the common ones, administrator, admin, anonymous, guest, user and so forth. Each attempt was thwarted though by this incredible server software.

The problem with regular FTP is that it is 100% unsecured. If you take a packet sniffer like Wireshark and run it while accessing a regular FTP server, you will notice that your username and password are both being sent across the wire in plain text. Anybody with a little bit of know how can use a packet sniffer, and pick up your username and password, then use that to access your server, or maybe other systems on your network.

The server software I use is Filezilla, and it offers connections using FTPS, where S stands for Secure. It uses self signed SSL certificates (up to 4096 bits) to secure the connection and the data transfer. You can even require that all users use the secure connection (Which is what I did, and is why the bad hackers couldn’t get in).

If you’re looking for an FTP solution, I highly recommend FilesZilla! It literally saved my server :-)



Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | stopping spam