click click

Showing posts with label LINUX. Show all posts
Showing posts with label LINUX. Show all posts

Thursday, May 20, 2010

Ubuntu Studio Theme

You can install the very modern and fancy Ubuntu Studio black and blue theme by enter in terminal:


sudo apt-get install ubuntustudio-theme ubuntustudio-icon-theme ubuntustudio-wallpapers ubuntustudio-gdm-theme


After download and install, go to System/Preferences/Appearance and select Ubuntu Studio theme. Also in System/Preferences/Appearance/Background you can found official Ubuntu Studio Background.


For more perfect backgrounds click here.


More interesting Ubuntu and Gnome themes here.

Nvidia and ATI Release New Video Drivers for Linux

Nvidia and ATI Release New Video Drivers for Linux

Support for new GPUs and new operating systems



Enlarge picture


On November 12th, Nvidia and ATI/AMD, the two major companies specialized in programmable graphics processor technologies, released new versions of their video drivers for Linux-based operating systems.


While the 177.82 Nvidia graphics driver introduces support for a few Quadro FX GPUs and fixes three important bugs, the ATI/AMD company released version 8.11 of its video driver with support for new operating systems and enhancements to the ATI CrossFireX mode.


Highlights of Nvidia 177.82:


· The image corruption issue for the Mozilla Firefox 3 web browser was fixed;

· The power management problem, which took up to 30 seconds to resume from S3 on some recent mobile GPUs, was resolved;

· The hotkey switching issue for some new mobile GPUs was repaired.



Moreover, Nvidia 177.82 adds support for the following new GPUs:


· Quadro NVS 450

· Quadro FX 370 LP

· Quadro FX 470

· Quadro FX 4800

· Quadro FX 5800

· Quadro CX


Highlights of ATI Catalyst 8.11:


· Added support for the newly released Red Hat Enterprise Linux 4.7 operating system;


· Added support for display scaling. This feature will allow ATI users to resize the display devices that offer support for 480i/p, 720p, 1080i, 1080p TV timings;

· A new option was added in the ATI Catalyst Control Center that allows users to verify if an OpenGL application is running in ATI CrossFireX mode;

· The issue when the installation could not be complete because the Powersaved function was enabled was fixed.


How to install the Nvidia or ATI drivers?


Log out of your current session and hit the CTRL+ALT+F1 key combination, in order to enter a text mode session. Log in as root (System Administrator), go to the folder where you’ve downloaded the Nvidia driver installer (see below for links), and type:


sh NVIDIA-Linux-x86-173.08-pkg1.run


Then, follow the on-screen instructions to install the video driver. The Linux headers and a GCC compiler will be required to complete the installation!


On the other hand, the ATI driver can be installed with its easy to use graphical installer.


Download the ATI/AMD Linux Display 8.11 driver now from Softpedia.



Download the Nvidia display driver 177.82 for IA32 architecture right now from Softpedia.


Download the Nvidia display driver 177.82 for AMD64/EM64T architecture right now from Softpedia.


Download the Nvidia display driver 177.82 for FreeBSD systems right now from Softpedia.

Sunday, May 16, 2010

How to Crack a Wi-Fi Network's WEP Password with BackTrack

You already know that if you want to lock down your Wi-Fi network, you should opt for WPA encryption because WEP is easy to crack. But did you know how easy? Take a look.

Today we're going to run down, step-by-step, how to crack a Wi-Fi network with WEP security turned on. But first, a word: Knowledge is power, but power doesn't mean you should be a jerk, or do anything illegal. Knowing how to pick a lock doesn't make you a thief. Consider this post educational, or a proof-of-concept intellectual exercise.

Dozens of tutorials on how to crack WEP are already all over the internet using this method. Seriously—Google it. This ain't what you'd call "news." But what is surprising is that someone like me, with minimal networking experience, can get this done with free software and a cheap Wi-Fi adapter. Here's how it goes.

What You'll Need

Unless you're a computer security and networking ninja, chances are you don't have all the tools on hand to get this job done. Here's what you'll need:

  • A compatible wireless adapter—This is the biggest requirement. You'll need a wireless adapter that's capable of packet injection, and chances are the one in your computer is not. After consulting with my friendly neighborhood security expert, I purchased an Alfa AWUS050NH USB adapter, pictured here, and it set me back about $50 on Amazon. Update: Don't do what I did. Get the Alfa AWUS036H, not the US050NH, instead. The guy in this video below is using a $12 model he bought on Ebay (and is even selling his router of choice). There are plenty of resources on getting aircrack-compatible adapters out there.
  • A BackTrack 3 Live CD. We already took you on a full screenshot tour of how to install and use BackTrack 3, the Linux Live CD that lets you do all sorts of security testing and tasks. Download yourself a copy of the CD and burn it, or load it up in VMware to get started. (I tried the BackTrack 4 pre-release, and it didn't work as well as BT3. Do yourself a favor and stick with BackTrack 3 for now.)
  • A nearby WEP-enabled Wi-Fi network. The signal should be strong and ideally people are using it, connecting and disconnecting their devices from it. The more use it gets while you collect the data you need to run your crack, the better your chances of success.
  • Patience with the command line. This is an ten-step process that requires typing in long, arcane commands and waiting around for your Wi-Fi card to collect data in order to crack the password. Like the doctor said to the short person, be a little patient.

Crack That WEP

To crack WEP, you'll need to launch Konsole, BackTrack's built-in command line. It's right there on the taskbar in the lower left corner, second button to the right. Now, the commands.

First run the following to get a list of your network interfaces:

airmon-ng

The only one I've got there is labeled ra0. Yours may be different; take note of the label and write it down. From here on in, substitute it in everywhere a command includes (interface).

Now, run the following four commands. See the output that I got for them in the screenshot below.


airmon-ng stop (interface)
ifconfig (interface) down
macchanger --mac 00:11:22:33:44:55 (interface)
airmon-ng start (interface)

If you don't get the same results from these commands as pictured here, most likely your network adapter won't work with this particular crack. If you do, you've successfully "faked" a new MAC address on your network interface, 00:11:22:33:44:55.

Now it's time to pick your network. Run:

airodump-ng (interface)

To see a list of wireless networks around you. When you see the one you want, hit Ctrl+C to stop the list. Highlight the row pertaining to the network of interest, and take note of two things: its BSSID and its channel (in the column labeled CH), as pictured below. Obviously the network you want to crack should have WEP encryption (in the ENC) column, not WPA or anything else.

Like I said, hit Ctrl+C to stop this listing. (I had to do this once or twice to find the network I was looking for.) Once you've got it, highlight the BSSID and copy it to your clipboard for reuse in the upcoming commands.

Now we're going to watch what's going on with that network you chose and capture that information to a file. Run:

airodump-ng -c (channel) -w (file name) --bssid (bssid) (interface)

Where (channel) is your network's channel, and (bssid) is the BSSID you just copied to clipboard. You can use the Shift+Insert key combination to paste it into the command. Enter anything descriptive for (file name). I chose "yoyo," which is the network's name I'm cracking.



You'll get output like what's in the window in the background pictured below. Leave that one be. Open a new Konsole window in the foreground, and enter this command:

aireplay-ng -1 0 -a (bssid) -h 00:11:22:33:44:55 -e (essid) (interface)

Here the ESSID is the access point's SSID name, which in my case is yoyo. What you want to get after this command is the reassuring "Association successful" message with that smiley face.

You're almost there. Now it's time for:

aireplay-ng -3 -b (bssid) -h 00:11:22:33:44:55 (interface)

Here we're creating router traffic to capture more throughput faster to speed up our crack. After a few minutes, that front window will start going crazy with read/write packets. (Also, I was unable to surf the web with the yoyo network on a separate computer while this was going on.) Here's the part where you might have to grab yourself a cup of coffee or take a walk. Basically you want to wait until enough data has been collected to run your crack. Watch the number in the "#Data" column—you want it to go above 10,000. (Pictured below it's only at 854.)

Depending on the power of your network (mine is inexplicably low at -32 in that screenshot, even though the yoyo AP was in the same room as my adapter), this process could take some time. Wait until that #Data goes over 10k, though—because the crack won't work if it doesn't. In fact, you may need more than 10k, though that seems to be a working threshold for many.



Once you've collected enough data, it's the moment of truth. Launch a third Konsole window and run the following to crack that data you've collected:

aircrack-ng -b (bssid) (file name-01.cap)

Here the filename should be whatever you entered above for (file name). You can browse to your Home directory to see it; it's the one with .cap as the extension.

If you didn't get enough data, aircrack will fail and tell you to try again with more. If it succeeds, it will look like this:

The WEP key appears next to "KEY FOUND." Drop the colons and enter it to log onto the network.

Problems Along the Way

With this article I set out to prove that cracking WEP is a relatively "easy" process for someone determined and willing to get the hardware and software going. I still think that's true, but unlike the guy in the video below, I had several difficulties along the way. In fact, you'll notice that the last screenshot up there doesn't look like the others—it's because it's not mine. Even though the AP which I was cracking was my own and in the same room as my Alfa, the power reading on the signal was always around -30, and so the data collection was very slow, and BackTrack would consistently crash before it was complete. After about half a dozen attempts (and trying BackTrack on both my Mac and PC, as a live CD and a virtual machine), I still haven't captured enough data for aircrack to decrypt the key.

So while this process is easy in theory, your mileage may vary depending on your hardware, proximity to the AP point, and the way the planets are aligned. Oh yeah, and if you're on deadline—Murphy's Law almost guarantees it won't work if you're on deadline.

BackTrack is a Security-Focused Live CD Packed With System Tools

BackTrack was the winner of our recent Hive Five for best Live CD, so we decided to take it for a test drive and show off a few of the features for everybody else.

BackTrack can be installed to a regular boot cd, a USB drive, installed to the hard drive, or even downloaded as a VMware virtual machine. For our testing, we used the BackTrack 3 stable release instead of the Beta 4 version since most commenters directly mentioned version 3 in the original call for contenders.

After inserting the LiveCD and starting the boot process, you'll be prompted to choose which window environment to load up—the distribution includes the more graphically pleasing KDE, or the trimmed-down Fluxbox window manager.

Once you've booted to the desktop you'll notice the default resolution is 800x600, but can be easily changed through the system tray icon to any resolution.

The slick system monitoring application on the right-hand side of the first screenshot doesn't get started automatically—to open it, you'll need to use the Alt+F2 shortcut key and type leetmode into the command window. You can unlock the position of the monitors through the context menu, and drag them wherever on the screen you'd like.

One of the more interesting features in the Live CD is the inclusion of the excellent and previously mentioned Yakuake drop-down terminal window, which can be launched through the Alt+F2 dialog, or found under the System menu. Once started, simply use the F12 key to toggle the slide-down terminal.
Connecting to any network resource can be done easily with the Network Folder Wizard, found in the menus at Internet -> KNetAttach. You can easily map to a Windows share, SSH, or FTP server using the wizard—which is nothing more than an easy front-end to the Konqueror browser's rich connection support.

Since this distribution is focused on security, you can find a ton of security-focused tools under the Backtrack menu, although there are far too many to mention every one of them here—you'll have to explore them on your own.

One of the more useful security tools for everyday use is the chntpw utility (found in the menus under Privilege Escalation -> PasswordAttacks) that can reset any Windows password easily from the command line. For more on this command, I've previously written an article about changing your forgotten Windows password.

BackTrack 3 is a free download, works almost anywhere Linux does. Be sure to check out the original Hive Five for the rest of the Live CD choices from your fellow Lifehacker readers, or learn how to rescue files with Knoppix.

how to make a backtrack 4 hard drive

Backtrack 4 does not contain any installer yet thus we wrote this step by step guide based on muts cookbook on how to install Backtrack 4 on our hard disk drive.

Step 1 - Creating the partitions

First we will need to create three partitions to be able to install backtrack on our hard disk drive. We will need boot, swap and root partitions to be created. (We can still create 2 partitions and install the boot inside the root partition)

fdisk /dev/sda

Creating the partitions

Activate Boot Partition & Specify Swap

Step 2 - Format the file systems
We format our file system with mkreiserfs for root partition, ext2 for boot and swap for the swap partition.

mkfs.ext2 /dev/sda1

prepare swap

mkfs.reiserfs /dev/sda3

Step 3 - Mount and Copy Directories

After we had prepare the file systems its time to copy over the backtrack files to our hard drive and configure it to run the backtrack on boot.

Mount and Copy the Directory Structure

NOTE: The copy operation will take some time so be patient until it finish

Step 4 - Configure Bootloader

nano /etc/lilo.conf

We will need to configure /etc/lilo.conf and define the boot and root partition so we will be able to boot into backtrack. In case we do not correctly define the root partition we will get an error “Kernel panic: no init found”.

Configure fstab

Edit /etc/fstab and append the following lines:

/dev/sda3 / reiserfs defaults 0 0 # AutoUpdate
/dev/sda2 none swap sw 0 0

Execute lilo -v

Execute lilo -v and reboot

BackTrack 4 - Hacking galore

We have already had three articles on Linux forensics. This is the fourth.

In the first three parts, we had an introduction to basic concepts on and some common tools and two detailed reviews of Helix and Protech, Linux distributions specially designed for penetration testing, security auditing, incidence handling, system investigation and analysis, data recovery, and other useful tasks.

Teaser

Today, we will review another high-end, security-oriented distribution, BackTrack.

Introduction

BackTrack is one of the more popular distributions in the white hat circles. It is specially suited for penetration testing, with more than 300 tools available for the task. Like both Helix and Protech, BackTrack is based on Ubuntu. This means good stability and hardware detection and a whole lot of software that can be easily obtained.

Sound quite interesting. Let's see how it behaves. We're going to check version 4 Beta.

Lots of great stuff

Like most Linux distros - and definitely all forensics/security-oriented tools, BackTrack works primarily as a live CD, with good hardware detection and low memory footprint, intended to make it usable even on older machines. It is also possible to install BackTrack, should one desire.

The boot menu is simple and elegant, with three options.

Boot menu

The second option (Console no FB) stands for Console no Framebuffers, i.e. the failsafe mode with minimal graphics that should work well on all hardware. Thanks k finity! As to the third option, MSRAMDUMP, I did try booting it, but this produced an error and threw me back into the boot menu.

Anyhow ...

The distro maintains its elegance by booting into the best-looking console I have seen, with stylish color gradients and mirror effects. You can begin working instantly on the command-line or boot into GUI desktop by issuing startx command.

Booting

One thing worth noting in the screenshot above is the mounting error on hda1, which is formatted with Ext4, a relatively new filesystem. In fact, the system I booted BackTrack on hosts a Jaunty install, with the Ext4 root partition. This is something that will probably be solved in future releases.

Desktop

The desktop is simple and functional, running a lightweight KDE3 manager. You get a simple wallpaper with dragon-like theme. Another interesting element is the Run box embedded in the panel, which allows you to run applications without invoking a terminal first.

Desktop

The network is not enabled by default and you'll have to fire it up manually.

Tools

BackTrack is all about lots and lots of hacking tools. Once again, I'm only going to present the tools, not show you how to use them. These tools are all double-edged swords, and without the right amount of respect, skill and integrity, you may cause more harm than good. Furthermore, do not deploy them in a production environment without the explicit approval from system administrators and INFOSEC people.

The tools can all be found under Backtrack in the menu, arranged into sub-categories. The collection is long and rich and it will take you a long time pouring over all of them, let alone mastering them. Most of the tools are command-line utilities, with menu items a link to the console with the relevant tool running inside it.

Apps 1

Apps 2

Apps 3

A few practical examples, there's the venerable nmap, Hydra and hping3:

nmap

hydra

Hping3

You may also want to audit Bluetooth devices. On the test machine, there are no Bluetooth devices, which explains the error you see below.

BlueSmash

Then, there's the gdb (GNU Debugger) for analyzing crash dumps and memory cores.

gdb

Last but not the least, you get the great Wireshark (formerly Ethereal):

Wireshark

Other programs

BackTrack is mainly loaded with security applications, however it also has a reasonable assortment of "normal" programs. You get Firefox, already configured to use the exceptional Noscript extension.

Firefox

You also get Synaptic, which makes software management easy and pleasant:

Synaptic

You also have Wine for Windows software.

WINE

And then, you can change wallpapers and get classic KDE looks.

Wallpaper

How I miss that wallpaper! To the best of my knowledge, it has not been included in most KDE releases since Kubuntu 6.06.

You can find more stuff in the K-menu:

K-menu

Errors

Being a beta, BackTrack 4 was not the most stable distro. In addition to the Ext4 error during the boot, there were some other problems. For example, both Lynx text browser and QtParted partitioning software refused to work.

Lynx

QtParted

Other things

One thing that may bother you is the issue with the documentation section on the official site. It's secure site, self-signed with an expired certified, at last when this article was written, although the expiration has been in effect since August 2008.

This is not something you expect to see on a site catering to the security-conscious audience.

Furthermore, there's the small issue of inconsistency when it comes to application names. For example, BlueSmash shows up as blue-smash on the command line, hping3 has a capital H in the menus, etc. BackTrack itself also comes in two flavors, with both lowercase and uppercase Ts.

Overall, there were no big issues, except for the occasional application errors.

Conclusion

BackTrack is a powerful hacking suite. It is well made, with stylish touches that add to the overall feel of the distribution. It runs very fast in the live mode, even faster than most installed distributions. Most importantly, the array of tool is rich, well balanced and overall quite impressive.

The Beta version did throw a few errors here and there, but it was nothing major. Small consistency issues also arise, and there's the lack of support for Ext4, which I expect will be solved soon. Documentation needs to be improved, starting with the website SSL certificate and continuing with lots of questions regarding the general usage.

Nevertheless, for security professionals looking for a complete testing package that has all their favorite gadgets neatly arrayed, on top of a stable, popular distribution and with Synaptic package management for easy replenishment of any missing bits, BackTrack is an excellent candidate for their work.

Cheers.

del.icio.us del.icio.us stumbleupon stumble digg digg reddit reddit slashdot slashdot

tiap2 hari click je

Link2Communion.com

ip-address

Followers