This Season
 

How to Hack UNIX

One of the reasons you might hack into a UNIX computer is if you are a systems administrator or if your job is to investigate fraud or security violations and you need to figure out the password of a system running on UNIX. Hacking your systems at work will also give you an idea how strong your security measures are to help you make better choices to improve on your network security. Here are some basic and simple hacks to help you perform your duties and responsibilities as a systems administrator.

Related Searches:
    Difficulty:
    Moderately Challenging

    Instructions

      • 1

        Know the UNIX operating system. You cannot hack UNIX without knowing how the operating system works and how it operates. Once you have mastered the usage of UNIX, you can begin learning some hacking techniques. Know the UNIX commands and the error messages and what each error message conveys.

      • 2

        Guess the login name and password. At times, doing this will yield access, especially if everyone in the office already has a standard login naming convention. Also, some users are careless; they leave their passwords on sticky notes, or they let other people see what they are typing. Teach them a lesson by hacking into their system and then tell them they should be more careful next time. Help them choose a stronger password that is hard to guess.

      • 3

        Log in to superuser accounts. Superuser names that are shortcut names commonly used to support the subsystems are "root" (has no restrictions), "sysadmin" (does not need a root account), "mountfsys" (mount files) and "makefsys" (make files). Some careless systems administrator might leave the password as "password" or they might use a password that is the same as the login name. For example, for login "root," they use the password "root." Other common ones are "bin" and "daemon." Teach other systems admins in your company to be more careful by doing this simple hack so they can strengthen the sysadmin accounts right away.

      • 4

        Use lowercase when guessing logins and passwords. Guess from 1 to 8 alpha and numerics. Sometimes, a weak password will have only alpha characters, so go there first.

      • 5

        Try basic commands once you are in. You know you are in if you see any of the following characters at the beginning of the line: $, % or #. Some basic commands to use are "ls- a" (list of files in current directory), "cd\name" (name of the subdirectory you choose), "cd\" (brings your home directory to current use) and "cat name" (a filename that the user name you got into has written). To find or look at the list of accounts created in the system, use "cat /etc/passwd." By default this is readable by anyone in the system.

      • 6

        Locate the "shadow" files. If the /etc text file doesn't show the password hashes, you can find them using "NIS/yp," which is a password shadowing the password data. Some UNIX systems use this to hide passwords.

      • 7

        Use a brute-force password-cracking technique. This is a repeated attempt to guess the password. This is useful to find a forgotten password, but it needs the aid of a systems administrator to allow this to be done repeatedly by clearing the lockouts when they happen.

      • 8

        Use a dictionary word-cracking technique. This is one of the most popular techniques to hack into UNIX passwords. This takes a word list and then tries to crack one or all the listed passwords listed in the file. Dictionary word-cracking tools filter, change or mutate the words, add prefixes or suffixes and mix letters and numbers by switching the orders they are used.

      • 9

        Use the Alex Muffet's program to crack passwords on UNIX. This can be configured by the systems administrator to run automatically and periodically, which then sends a "nastygram" or mail to users with weak passwords to remind them to create stronger passwords. This can be run manually and used across multiple systems.

      • 10

        Use Jack the Ripper cracking tool. This program is DOS-based and uses a number of features that are easy to use. There is also a version called John the Ripper, which was developed by Solar Designer; cracklike rules have been added and can run on DOS and UNIX. Either one will do to hack into any DOS- or UNIX-based system.

    Tips & Warnings

    • Teach junior systems administrators and your end-users ways to strengthen their passwords so that they will be harder to crack. This will ensure that their files and other corporate files are safeguarded.

    • For more information on securing your network, check the link in Resources below.

    • This is in no way intended for use to hack into private and corporate files. Hack only if you want to teach your users a lesson to make stronger passwords to help keep your users' files safe. Do not do this maliciously to attempt to steal files.

    Related Searches

    Resources

    Read Next:

    Comments

    • ptb49er Sep 03, 2008
      Great tips...so long as people will not abuse them!
    • ptb49er Sep 03, 2008
      Great tips...so long as people will not abuse them!
    • ptb49er Sep 03, 2008
      Great tips...so long as people will not abuse them!

    You May Also Like

    • How to Learn Unix Online

      Unix is a computer operating system that was originally developed in 1969 at Bell Labs. Since inception, Unix has been an interactive,...

    • How to Hack

      A hacker is a person who legally breaks into a computer system to identify the security flaws in that system. A hacker...

    • How to Work With a Unix Kernel

      The Unix operating system contains three parts: the kernel, the shell and the programs. The kernel is the core of the operating...

    • How to Hack an Apple Computer

      Hacking an Apple computer to improve and customized the controls and look of the machine is the owner's privilege. Below are a...

    • How to Add a Prefix to a Line in UNIX

      The suite of tools installed in the Unix operating system for handing text manipulation can be enough to put even full blown...

    • How to Use Basic UNIX Commands for cURL

      cURL is a command-line used for requesting data from a server. The requests can be made in a number of protocols including...

    • How to Reset a Password on Unix

      Unix is a computer operating system, and like all operating systems has security features built in to protect the computer and the...

    • How to Hack Windows

      Hacking programs and operating systems has become an intricate procedure that, when done correctly, can improve their performance. Unfortunately a slip of...

    • How to Calculate Free Disk Space Available in an AIX Unix Server

      AIX is a version of UNIX created by International Business Machines (IBM). AIX is used as the operating system for many different...

    • How to Locate a Specific File or Files on a UNIX Server

      Imagine that you have saved a file but can't remember the root directory for the file location. If you know how to...

    • How to Become a Hacker

      Computer hackers are part of a shared culture of individuals who pride themselves for their technical savvy and strong desire to solve...

    • How to Create a Hard-to-Crack Password

      Simple passwords put your online security--and all your information--at risk, but you may be surprised by how many people have easy-to-crack passwords....

    • Unix Audit Checklist

      Unix Audit Checklist. UNIX is trademark operating system created in 1969 by Ken Thompson, Dennis Ritchie and others working at AT&T Bell...

    • How to Protect Adobe Documents From Hacking

      With the various threats that lurk around any kind of Internet access, protecting documents from hackers becomes more and more important. Some...

    • How to Teach Yourself UNIX

      UNIX, which is one of the leading operating systems for both personal and business computers, can be difficult to install and maintain...

    • How to Retrieve a Lost RedHat Root Password

      Linux distributions, especially RedHat, make it very easy to recover passwords for root access. This is deliberately done as multiple ways already...

    • How to Change an AD Password Command Line

      The Active Directory (AD) is a Windows server utility that is used to contain all users, permissions and resources (such as printers)....

    • How to Change a Password Using WebAdmin

      Webmin lets you manage your Unix computer through a web-based interface from other locations, much like how Remote Desktop works in Windows,...

    • Microsoft NFS Problems

      NFS is a file-sharing service designed by Microsoft for Unix/Linux operating systems. Known to be user-friendly and efficient in sharing files across...

    Follow eHow

    Related Ads