Thursday, August 28, 2008

Distributed Denial of Service

This is by far the most deadly of all denial of service attacks, since an easy fix is hard to come by. Instead of just installing the latest hardware and software, network administrators will usually need extra help with these types of attacks.A distributed denial of service attack, or DDoS, is much like the ping flood method, only multiple computers are being used. In this instance, the computers that are being used may or may not be aware of the fact that they are attacking a website or network. Trojans and viruses commonly give the hacker control of a computer, and thus, the ability to use them for attack. In this case the victim computers are called zombies.


A DDoS attack is very tough to overcome. The first thing to do is to contact your hosting provider or internet service provider, depending on what is under attack. They will usually be able to filter out the bulk of the traffic based on where it’s coming from. For more large-scale attacks, you’ll have to become more creative.

If you have access to your router, and are running a Cisco brand, enter the following command into your router command prompt: No ip verify unicast reverse-path.

This will ensure that attackers can’t spoof their IP address. This will still be a problem for zombie computers however, since those IP addresses aren’t spoofed at all. In this case, you can do one of several things.

Options in DDoS Prevention


  • 1. Hire a security company to assess and repair the damage
  • 2. Buy an intrusion detection system (IDS)

As a last resort, the traffic can be routed to a sink hole, which will route all traffic elsewhere until a solution can be obtained. This will route good traffic and bad traffic- so this is usually not a good choice


SYN flood attack

The SYN flood attack takes advantage of the TCP three-way handshake. This method operates two separate ways. Both methods attempt to start a three-way handshake, but not complete it. You can view the proper three-way handshake below.

The first attack method can be achieved when the attacker sends a synchronize request, or SYN, with a spoofed IP address. When the server tries to send back a SYN-ACK request, or synchronize-acknowledge request, it will obviously not get a response. This means that the server never obtains the client’s ACK request, and resources are left half-open.

Alternatively, the attacker can just choose to not send the acknowledgement request. Both of these methods stall the server, who is patiently waiting for the ACK request. Thankfully, this hole in the three-way handshake has been patched for years, just like the ping of death attack. Should you suspect that your older devices are the subject of this attack, upgrade them immediately.

Thursday, August 21, 2008

Fedora 9 on a USB Drive


This week's release of the Fedora 9 Linux distribution makes putting a full-fledged desktop on a portable USB thumb drive a three-click affair. Even better, you don't need Linux installed to create it, you can leave the data on your thumb drive untouched, and any files you create or settings you tweak remain in place the next time you boot up. After the jump, let's create a fully-functional desktop-to-go using a simple Windows program and a 1GB or larger thumb drive.

Why Fedora?

Turning a live CD ISO into a bootable USB image has been possible for some time now, but it usually involves some heavy lifting with the command line, and almost always in Linux. Fedora's liveusb-creator program makes USB imaging dead simple, and the Fedora distribution itself has a lot going for it. The latest "community" version of Red Hat's Linux package benefits from the same updates to the GNOME desktop that Ubuntu's Hardy Heron includes, and KDE fans get a pretty full-featured version that runs on the customizable KDE 4. You can see a full list of updates and improvements to Fedora 9 here, but it's best to check it out for yourself. Here's how.


Make your live USB

First we'll need to grab Fedora's liveusb-creator tool by grabbing the zip file listed under "Download," extracting it and running the liveusb-creator.exe file found inside in Windows.

The top options on the window let you choose to use a live Fedora CD image you've already downloaded or have the tool grab a copy of the standard Fedora 9 disc itself. If you'd rather grab the file yourself or download it through a torrent, use one of the links listed under "live media"
at the Fedora Project
. Plug in your USB drive if you haven't already, and make sure it's selected in the "Target" field. Don't worry about files you've got on there—as long as the tool has space to put Fedora on there, it won't touch your other files.

The slider to the right is the most important part—"Persistent Overlay" is the space on the thumb drive you want to use for storing your files and settings. The Fedora system itself is going to take up roughly the size of a stuffed CD; using an empty 1GB thumb drive, I chose 205MB for the overlay, which left 63MB free, but you can scale that up for larger drives or down if you want more free space. Keep in mind that any files you store on the drive itself can be accessed from inside your USB-booted system, so a bigger persistent overlay isn't always necessary.

Hit "Create Live USB," and watch the creator do its thing. Once it's done, your stick is probably ready to get plugged in and booted up.

Fix booting problems

I say "probably" because there's a chance, especially if you've done some formatting or other live-booting experiments, that you'll get an error at boot-up stating there's "No partition active" or something similar. If that's the case, head to your Start menu's "Run" command ("Start search" box in Vista), type in diskpart and hit Enter. You'll get a "DISKPART>" command prompt, where you should follow these commands to mark your USB drive as "active."diskpart%20%282%29.jpg
  • list disk (Note the number that corresponds to your USB drive, usually "1")
  • select disk 1 (Assuming "1" was your USB drive
  • list partition (If you multi-partitioned your USB drive, select the right one, otherwise we'll assume "1")
  • select partition 1
  • active
  • exit



Customize your persistent desktop

fedora_landing.jpgNow you should be set to boot into Fedora 9. You'll see a splash screen counting down from 10 when you boot (hit Enter twice to speed it up), and you'll land at a desktop that's pretty much a fresh Fedora 9 install. You can access to your USB drive's files from here, connect to a wired or wireless network with the icon in the upper-right system tray, and you've got a solid set of built-in applications—Firefox 3 Beta 5, the GIMP, Pidgin, the Transmission BitTorrent client, and a pretty nifty Bluetooth manager, to name a few.

Want to add Thunderbird or OpenOffice.org? Head to the upper-left menus and click to System->Administration->Add/Remove Programs. Anything you install goes into your "persistent overlay," so as long as you've got space for it, you can add whatever you'd like.

Now it's time to explore and get familiar with a GNOME-based Linux system (or KDE 4, depending on which image you grabbed). Here are a few suggestions on helpful tweaks you might want to make once you're set up:

  • ntfs-3g_cropped.jpgEnable your NTFS drives: If you've loaded a USB Fedora on a system with Windows installed, you'll want to open up Add/Remove Programs, search for "ntfs-config," and install that package. From the System menu again, choose NTFS Config, and you can select the drives you want to have access to.
  • Sync data with your Windows apps: Once you can see your NTFS drives on your desktop, you can use your established settings in Firefox 3, Thunderbird, Pidgin, and other apps if you're booting on the same system as Windows. Check out guide to dual-booting with shared data; if you're using Firefox 2 in Windows and only want to replicate bookmarks in Fedora, the GMarks synchronizer has updated to support versions 3 and 2.
  • Turn off annoying system sounds: One misstep Fedora makes, at least in my opinion, is enabling by default a slew of little chirps and whistles every time you click or do something. To silence them, head to System-Preferences->Hardware->Sound, click the "System" tab, and un-check the "Enable system sounds" box.
You've now got a portable system that's great for rescuing un-bootable computers, bringing your favorite work apps on the go, or just testing out Linux with realistic performance and custom options. What apps and tweaks have you made to your own live USB system?

Wednesday, August 20, 2008

Mandrake 9.2 Installation

With the release of Mandrake 9.2 a few months ago, many are now trying there hands out on this new distros. In this article we are going to take a look at the installation and configuration of Mandrake 9.2 from the Windows user's perspective. For those of you who want to get hands-on facts on working with Mandrake 9.2, you can take a look at our multimedia training on this month at

If you are a graphical interface fan like me, you will be glad to know that the installation of Mandrake 9.2 can be done entirely through the graphical user interface similar to that found in Windows. For anyone who has installed an operating system before in will be a walk in the park.

Mandrake 9.2 comes on three CD's. With CD 1 and 2 housing most files depending on what options you have selected during the installation. Remember that Mandrake, like most Linux distros, can be optimized for games, server or workstation. Another huge advantage of Mandrake 9.2 is the vast array of languages that comes with it. You can choose to install and run Mandrake on more than 50 languages. The documentations are however in English.

Mandrake 9.2 installation consists of 11 easy steps that I am going to show you in this article: These steps are as follows:

1. Language
2. License
3. Security
4. Partitioning
5. Install System
6. Root Password
7. Add Users
8. Install Boot loader
9. Summary
10. Install Update
11. Finish Setup

The Installation

We are going to install Mandrake 9.2 on a clean hard disk and clean partition. I will tell you later how to setup Mandrake 9.2 on another partition next to another operating system. Since Mandrake 9.2 is probably the easiest distro for newbie to install, we are going to start right away with the installation procedure.

Assuming you have the Images on CD, which is easiest way to install Mandrake 9.2 then boot your computer with disk 1 and follow the instruction on the screen. The first screen you get is the initial splash screen that gives you the option to select the install mode by pressing F1. You have four install modes: the default 800 x 600 default mode, the lower resolution of 640 X 480 mode or a higher resolution of 1024 X 768 Graphic. The fourth option is to carry out the installation using the text mode. For this article you can choose to install using the default mode.

After the initial splash screen has been loaded you are prompted with the screen to accept the language you want to setup Mandrake with. Although you will get full installation guidance on any language chosen, you will not be able to run Mandrake fully utilizing another language except English because some information will still be popping up in English language.



The licensing option will be presented and then you can proceed with the selection of the other installation options. After accepting the licensing you will come to the screen where you need to set up security, and add users to the system.



When the partition has been successfully created, you can then proceed with the selection of the packages to be installed.

The package selection screen

You can choose to setup Mandrake 9.2 as a Workstation or a Server and for every system you can select the applications or packages you want to install. You can then choose which desktop you want to install. If you are new to all of this then you can choose to install both GNOME and KDE desktop.
When you are finished with the selection you can proceed with the installation of the OS and grab yourself a cup of coffee. From here on it is a straight forward procedure, you will only be required to change the disk when it is time. As soon as you change the second disk that will signal the round up of the installation.

When the partition has been successfully created, you can then proceed with the selection of the packages to be installed.

Here you can see the configuration of the system and make some adjustments

You are now ready to customize the hardware on your system. You will notice that all devices will be automatically detected but you may have one or two devices that will not be detected correctly; these devices will be marked red. Just go there with your mouse and correct it and accept the configuration.

Finally, you are done and you will see a screen that gives you a complete summary of the installed hardware. At this time you are ready to go. Select yes as to the question if you should keep the changes made and proceed to complete the installation.

Summary

The next screen of the Mandrake 9.2 setup will ask you to decide if you want to start Mandrake with the graphical interface. I will choose yes because we came from a Windows environment.


After this the installation will be completed and you are ready to get updates from the Internet and if you are not connected to the Internet you can skip that part and go on to conclude the installation. Reboot the system and you are ready to go.

The welcome screen of KDE


Like you can see, the installation of Mandrake 9.2 is like taking a walk in the park. Gone are the days when you need to be a hacker to be able to install Linux. Today Linux has come of age. Next we are going to take a look at the KDE graphical user interface.

Suse Linux operating system

SUSE linux operating system is another company with desktop focus, although a range of less visible enterprise class products are also available. The distribution has received positive reviews for its installer and YaST configuration tools, developed by SUSE's own developers. The documentation, which comes with the boxed product, has repeatedly been labelled as the most complete, thorough and usable by far. The distribution has achieved substantial market share in Europe and North America, but it is not marketed in Asia and other parts of the world. SUSE was acquired by Novell in late 2003.

SUSE's linux operating system development takes place completely behind closed doors and no public betas are provided for testing. The company has a policy of not making the software available for free download until 1 - 2 months after the boxed versions are in stores. Even so, SUSE does not provide easily installable ISO images of SUSE LINUX, relying on sales of boxed sets to deliver the product to the majority of their users.

Pros: Professional attention to detail, easy-to-use YaST configuration tools.
Cons: Only available in parts of the world from software resellers or via FTP install (usually 1 - 3 months after release)
Software package management: YaST (RPM), third-party APT (RPM) repositories available
Free download: Historically, SUSE did not provide ISOvlinux operating system images for download, but this has changed starting with version 9.1, the Personal edition of which appeared on SUSE's FTP server about 2 months after the official release. The Professional edition of SUSE LINUX is available for installation via FTP, usually about 1 - 3 months after the official release. The FTP installation is not difficult but requires fast Internet connection.

linux operating system suse SUSE linux operating system Summary
Distribution SUSE LINUX (formerly SuSE Linux)
Home Page http://www.suse.com/
Origin Germany
Mailing Lists http://www.suse.com/us/private/support/mailinglists/index.html
User Forums SUSE Forums . SUSE Forums . LinuxQuestions.org . Alionet (French) . Unixboard.de (German) . Linux-Club.de (German) . ForoSUSE (Spanish)
Sponsored User Forums LinuxForums.org
Sponsored User Forums LinuxQuestions.org
Documentation http://www.suse.com/us/private/support/index.html
SUSE Support Knowledge Base
Download Mirrors http://www.suse.com/us/support/download/index.html
See also: LinuxQuestions.org - ISO Downloads . The Linux Mirror Project
Related Web Sites Unofficial SUSE FAQ . SUSE LINUX Support . SUSE LINUX Info . SUSE root . SUSE Administration Guide . APT for SUSE . Links2Linux.de . usr-local-bin . LSB RPMs . KDE RPMs for SUSE . RPMs for SUSE . Fast Online Update for SUSE . Sheflug's SUSE . Planet SUSE . SUSE Knowledge Portal . Freshmeat . SUSE Lithuania . SUSE Netherlands
Reviews 9.3: LinuxPlanet . Hardware Upgrade (Italian) . SiliconRepublic . QuebecOS (French) . Tux Journal (Italian) . eWEEK . Pro-Linux (German) . The Inquirer . Cool Solutions . USA LUG . linux-noob . Mad Penguin . Geektime Linux . Cool Solutions
9.2: . OSNews . Mandrakelinux Tips4Free . OSNews . LinuxPlanet . FRLinux.net (French) . Mad Penguin . Linux Gazette . OSNews . OSNews . Pro-Linux (German) . GeekTime Linux . OSNews . NewsForge
9.1: Linux Magazine (PDF) . ImAFish . FRLinux.net (French) . OSNews . OSNews . Linux Format (PDF) . Flexbeta . The Jem Report . The Jem Report . OSNews . Pro-Linux (German) . LWN . Sydney Morning Herald . Mad Penguin . Linux.com . NeoLink Computers . Mad Penguin . Linux.com
9.0: Sumeet M Moghe's . ExtremeTech . Planeta Linux (Spanish) . Internet Week . The Inquirer . FRLinux.net (French) . LinuxElectrons . UnixReview . Open . Pro-Linux (German) . Mad Penguin
8.2: Linux Journal . OfB . NewsForge . The Register . OSNews . Mad Penguin
8.1: ExtremeTech . LinuxFormat (PDF) . Unix Review . Linux Journal . The Register . LinuxLookup . OSNews
8.0: OfB . DistroWatch . LinuxLookup . The Register . NewsForge . DesktopLinux
7.3: ZDNet . NewsForge
7.2: LinuxLookup
7.1: UnixReview . LinuxNovice
SLES 9: NWFusion . Linux.com . Flexbeta
Linux Desktop: ZDNet . Mad Penguin
Office Desktop: Mad Penguin . eWeek . ExtremeTech
eMail Server: EarthWeb
Status This distribution is active

Fedora core Linux operating system

For many, the linux operating system name Red Hat epitomises Linux, as it is probably the best-known Linux company in the world. Founded in 1995 by Bob Young and Marc Ewing, Red Hat, Inc. has only recently started showing signs of profitability, due to services and its Red Hat Enterprise Linux operating system product line. However, Red Hat Linux 9 was the last version in the Red Hat Linux product line, which was replaced by Fedora Core in late 2003. While Fedora is officially sponsored by Red Hat, it is developed with community participation, has a short life-span and serves mainly as a testing base for Red Hat Enterprise Linux.

What is so special about Red Hat linux operating system and Fedora Core? It is a curious mix of conservative and leading-edge packages put together on top of many knowledge-intensive utilities developed in-house. The packages are not the most up-to-date; once a new beta version is announced, the package versions are frozen, except for security updates. The result is a well-tested and stable distribution, the beta program and bug reporting facility are open to the public and there are several mailing lists. Red Hat Linux has become a dominant Linux distribution on servers around the world.

One other reason for Red Hat's success is the variety of popular services the company offers. The software packages are easy to update via Red Hat Network, a free repository of software and valuable information. A vast range of support services and enterprise linux operating system products are available from the company and, while not always cheap, you are virtually assured of an excellent support by highly skilled support personnel. The company has even developed a certification program to further popularise its distribution - the RHCE (Red Hat Certified Engineer) training and examinations are now available in most parts of the world. All these factors have contributed to the fact that Red Hat is now a recognised brand name in the IT industry.

Pros: Widely used, excellent community support, lots of innovation.
Cons: Limited product life-span of the free edition, poor multimedia support, concerns over the Red Hat to Fedora transition
Software package management: up2date (RPM), YUM (RPM)
Free download: Yes

linux operating system fedora core Fedora linux operating system Summary
Distribution: Fedora Project
Home Page: http://fedora.redhat.com/
Origin: USA
Mailing Lists: http://fedora.redhat.com/participate/communicate/
User Forums: Fedora Forum . LinuxQuestions.org . Unixboard.de (German)
Sponsored User Forums: LinuxForums.org
Sponsored User Forums: LinuxQuestions.org
Documentation: http://fedora.redhat.com/docs/
Download: Mirrors: http://fedora.redhat.com/download/mirrors.html
See also: LinuxQuestions.org - ISO Downloads . The Linux Mirror Project
Related Web Sites: Fedora Project . Fedora NEWS . Fedora Forum . Fedorazine . The Unofficial Fedora FAQ . Fedora Tracker . RPM Search . freshrpms.net . Rex's RPMs . Dries APT/YUM RPM Repository . DAG: APT/YUM RPM Repository . ATrpms . PyVault RPM Repository . Planet CCRMA . nrpms.net . BIOrpms . The Fedora Legacy Project . . Alpha Core . Fedora PPC . Fedora People . Freshmeat . Fedora Brazil . Fedora France . Fedora Italy . Fedora Netherlands . Fedora Portugal . Fedora Romania . Fedora Spain
Reviews: 4: Mad Penguin . LinuxPlanet
3: QuebecOS (French) . PCInpact (French) . Linux Times . PPCNerds (PPC) . Linux Planet . NewsForge . eWEEK . OSNews . RedHat.com . OSNews . OSNews
2: Linux.com . OSNews . OSNews . eWEEK . Qwert.cz (Czech) . Mad Penguin . Linux.com . OSNews . OSNews . LinuxPlanet
1: Flexbeta . . Pro-Linux (German) . eWEEK . OSNews . LinuxElectrons . OSNews
Status: This distribution is active.

Slackware Linux operating system

Slackware linux operating system, created by Patrick Volkerding in 1992, is the oldest surviving Linux distribution. It offers no bells and whistles, sticking with a text-based installer and no graphical configuration tools. Where other distributions tried hard to develop easy-to-use front ends for many common utilities, Slackware offers no hand-holding and everything is still done through configuration files. Because of this, Slackware is only recommended to those novice users who intend to spend some time on learning about Linux.

Nevertheless, Slackware has a magic appeal to many users. It is extremely stable and secure - very suitable for server deployment. Experienced linux operating system administrators find that the distribution is less buggy as it uses most packages in their pristine forms and without too many in-house enhancements which have a potential to introduce new bugs. Releases are infrequent (about once a year), although up-to-date packages are always available for download after the official release. Slackware is a fine distribution for those who are interested in deeper knowledge of Linux internals.

Perhaps the best characteristic of this distribution I have heard is this: if you need help with your Linux box, find a Slackware user. A Slackware linux operating system user is more likely to fix the problem than a user familiar with any other distribution.

Pros: Highly stable and bug-free, strong adherence to UNIX principles.
Cons: All configuration is done by editing text files, limited hardware auto-detection.
Software package management: Slackware Package Management (TGZ)
Free download: Yes

Slackware linux operating system summary

 linux operating system Slackware
The Slackware Linux Project
http://www.slackware.com/

Mandriva Linux operating system

The Mandriva Linux Operating system (formerly Mandrakelinux), started by Gaël Duval, is a distribution that has experienced enormous rise in popularity since its first release in July 1998. The developers took the Red Hat distribution, changed the default desktop to KDE and added an easy-to-use installer, breaking the myth that Linux operating systems are hard to install. Mandrake's hardware detection features and disk partitioning utilities are considered by many to be the best in the industry and many users found themselves running Mandrake where other distributions failed to provide the required usability.

Mandriva Linux has since matured to become a popular distribution among those new to Linux and among home users looking for an alternative operating system. The Mandriva development is completely open and transparent with new packages appearing in the so-called "cooker" directory on a daily basis. When a new release is entering a beta stage, a cooker snapshot is accepted as the first beta. The beta testing process used to be short and intensive, but starting with version 9.0, it has become longer and more thorough. The beta mailing lists are extremely busy, but you are still likely to receive a very fast response to any bug or concern that you report.

The result of this type of development is a cutting edge release - a highly up-to-date Linux Operating system distribution. As a trade-off, the users are likely to notice more bugs and perhaps less stability than with other distributions. Many people find this trade-off acceptable on their desktops - they get the very latest software and the occasional application crash is something they can live with.

Pros: User-friendly, graphical configuration utilities, enormous community support, NTFS partition resizing.
Cons: Some releases are buggy, the releases are initially made available to MandrivaClub members only.
Software package management: urpmi (RPM)
Free download: FTP installation available immediately after release, ISO images only after a delay lasting several weeks

Linux operating system Mandriva
Mandriva Linux Operating system Summary
Distribution: Mandriva Linux
Home Page: http://www.mandrivalinux.com/
http://www.mandriva.com/
Origin: France
MailingLists: http://www.mandrakelinux.com/en/flists.php3
User Forums: Mandriva Users . LinuxQuestions.org. MandrivaUser.de (German) . Unixboard.de (German)
Sponsored User Forums: LinuxForums.org
Sponsored User Forums: LinuxQuestions.org
Documentation: http://www.mandrakeclub.com/ (MandrakeClub members only)
http://www.mandrakelinux.com/3
http://www.mandrakeuser.org/
Download Mirrors: http://www.mandrivalinux.com/en/ftp.php3
See also: LinuxQuestions.org - ISO Downloads . The Linux Mirror Project
Related Web Sites: Mandriva Club . Mandriva Expert . Mandriva Secure . Official Mandriva Community TWiki . Mandrakelinux Community . Penguin Liberation Front (unofficial Mandrake packages) . MandrakeUsers Board . Planet Mandriva . N9NU . Mandrake Tips 4 Free . Use Linux At Home . Freshmeat . Mandriva Czech Republic . Mandriva France . Mandriva Germany . Mandriva in Hindi . Mandriva Ireland . Mandriva Netherlands . Mandriva Poland . Mandriva Romania . Mandriva Spain
Reviews: 2005: playREACTION . Linux News (Polish) . GeekTimeLinux . LinuxPlanet . Mad Penguin . NewsForge . FRLinux (French) . tuxmachines.org
10.1: QuebecOSx (French) . NewsForge . OSNews . LWN . LinuxForums . Viva O Linux (Portuguese) . QuebecOS (French) . PPCNerds . Linux Tips For Free . . LinuxForums.org . Spidertools
10.0: DaveFancella.com . OSNews . OSNews . PCWorld . Flexbeta . MadPenguin . OSNews . Linux Tips For Free
9.2: Linux Tips For Free . MadPenguin . MadPenguin . LinuxElectrons . OfB
9.1: OfB (Part I . Part II) . open-mag.com . Väinö Järvelä . Peterborough LUG . TweakHound . DistroWatch . OSNews
9.0: TechSeekers . UnixReview . LinuxLookup . TweakHound . MozillaQuest . ExtremeTech . OSNews . NewsForge . CNET . LinuxHelp
8.2: NewsForge . XMInc.com . Open For Business
8.0: FreeOS . Little White Dog
Corporate Desktop: Linux.com
Corporate Server: NewsForge . eWEEK
MandrakeMove: ImAFish . LinuxFrench.Net (French) . OSNews
PPC: FRLinux.net (French) . DistroWatch . ATPM

Status: This distribution is active.

GeexBox Linux operating system



GeeXboX linux operating system is a full operating system, running under Linux and based on the excellent MPlayer. No need of hard drive, you just have to put the GeeXboX bootable CD into the CD-Drive of any pentium-class computer to boot it. Moreover, GeeXboX linux operating system is a free software, created thanks to many open-source software. This means that everyone can modify it and build his own release of the GeeXboX. You may wonder why you could have to boot on another operating system to play your media files, but just think about the Mini-ITX plateforms like VIA Epia/Eden or Shuttle barebones. It's now affordable to bring DivX to your home cinema, pluging this kind of computers directly to your TV. At the time of the first development release (December 2002), it was only able to play DivX movies, but for now, nearly every kind of media files can be played from GeeXboX.


linux operating system Geexbox GeeXboX linux operating system Summary
Distribution :
GeeXboX
Home Page :
http://www.geexbox.org/
Origin :
France
Mailing Lists :
http://www.geexbox.org/en/contact.html
User Forums :
http://www.geexbox.org/forum/index.php
Sponsored User Forums:
LinuxForums.org
Sponsored User Forums: LinuxQuestions.org
Documentation :
http://www.geexbox.org/en/doc.html
Download Mirrors :
http://www.geexbox.org/en/downloads.html
See also: LinuxQuestions.org - ISO Downloads . The Linux Mirror Project
Related Web Sites :
Reviews :
PPCNerds . Tuxme.com
Status :
This distribution is active.

Windows Gaming under Linux, game with WineX

The growing popularity of the Linux game depends for an important part on the gaming possibilities. Of course lots of people only use their computers for serous productive work, but the majority wants to have some fun as well.

Gaming under Linux was always a weakness. There were limited Linux games available and Windows games did not play on Linux.

The last half year has seen some change in this. With the outcome of the latest version of Wine 2x and WineX 3.x, Windows gaming under Linux is taken a step further. In this issue we concentrate on the commercial version of Wine especially for playing Windows games under Linux, WineX. Next month we will discus Wine itself in a separate article.

What is WineX

Simply said, WineX creates an environment for Windows games to run under Linux and is developed by transgaming.com. More technically said, WineX is an alternative implementation of Microsoft's Win32 Application Programming Interfaces (API) which form the basis to run all Windows software. The Win32 APIs themselves are extremely broad, covering thousands of functions like file and disk management, etc.


it free?

It's not a free software package distributed under GNU license, but you have to pay for it via a subscription service with a minimum subscription of three months of $15 or a year subscription of $60.
However you can download a trial version from

www.downseek.com/download/25339.asp

How many Windows Games work properly under WineX?

According to our research well over 300 Windows games work well under WineX. These include high rated games and entry level games as well. Some examples of popular Windows games are Max Payne, The Sims, Sim City, Spiderman, Half Life, Medal of Honor, Civilization, Emperor, GTA3, Counterstrike and much more Shooter, Strategy, Adventure, Action and other popular Platform and 3D games.

For a complete list of playable Windows games go to
www.transgaming.com/dogamesearch.php?order=working&showall=1

What are the system requirements for the latest version WineX 3.2.1
WineX supports a wide range of systems, including RPM and Debian based systems. It has been tested extensively on Mandrake Linux 8.1 Gaming Edition.

The core library requirements are:
o Linux Kernel 2.2 or higher
o XFree86 4.0 or higher (4.10 recommended)
o glibc 2.1.3 or higher
o A working hardware accelerated OpenGL implementation

The recommended minimum hardware is
o 500 MHz or faster Pentium or Athlon CPU
o 128 MB memory
o NVidia GeForce graphics card
o 2 -4 GB free hard disk space for games

Working with WineX
WineX requires you to install games into the fake "C:" drive that prepared on your home directory. While it is theoretically possible to run games from an existing Windows partition, there are several complications that you will have to overcome as you go along before you start playing your game. You will need to be patient.

The WineX Game Manager can help mading the job easier for you. This tool makes it easier for you to install and manage your Windows games under WineX and is distributed under the GNU GPL license.

Third party Graphic Game installation Tool WineX Game Manager

The WineX Game Manager has a graphical interface for the Command line version of TransGamings WineX 3.x. Each game gets its own registry and own configuration file and will be installed in a subdirectory of /usr/local/games.

WineX Game Manager makes it easier, as it creates a menu with all installed games from which the game can be launched. There is also an option to update and delete games.

Is it worthwhile to subscribe to Transgaming.com and get your WineX?

If you are a fanatic gamer and want to play lots of your Windows games on a Linux system the answer is yes. For $15 you have the complete version of WineX and three months support and upgrades, you are always free to extend your TransGaming subscription later or not. The other option is running Windows games under Wine.

Our conclusion

Of course you can't run as many Windows Games under Linux with Wine in comparison to WineX, but with the latest version of Wine you can run a substantial number of Windows games under Linux. The benefit of Wine is that it is completely free under the GNU license. For those of you in need for speed Windows is still your choice at this time.

More Info

For an overview of Windows applications and games that run under Wine we advise you to go to www.frankscorner.org. It's a great website with lots of useful info on Wine. For further info on Wine please go to www.winehq.com


Tuesday, August 12, 2008

ASUS Eee PC

The ASUS Eee PC (pronounced as the letter e, IPA /iː/) is a subnotebook computer designed by ASUS. At the time of its introduction, it was noted for its combination of a light weight, Linux-based operating system, solid-state drive and relatively low cost. Newer models have added the option of Windows XP operating system, traditional hard disk drives. Newer models have also increased in price, though they remain relatively inexpensive as laptops, and remarkably inexpensive for an ultra-small laptop.

According to ASUS, the name Eee derives from "the three Es," an abbreviation of its advertising slogan for the device: "Easy to learn, Easy to work, Easy to play". The device may fall into a newly defined category of netbooks. According to DigiTimes, it is manufactured by Pegatron Technology.

In the UK, the ASUS Eee PC is also distributed as the RM Asus Minibook by RM.


ASUS Eee PC
Image:ASUS Eee White Alt-small.png
Developer ASUSTeK Computer Inc.
Type Subnotebook/Netbook
Media 2/4/8/12/20/40/80 GB (2G, 4G, 8G, 900 Win, 900, 1000, 1000H)
Operating system Linux Xandros,
MS-Windows XP
Input Keyboard
Touchpad
Microphone

0.3 megapixel video camera (4G and 8G models)
or 1,3 megapixel video camera (900/1001 series)


Power 4 cell 4400 (700 series, surf models and 900 series) or 5200 (700 series, non-surf models) mAh battery

CPU 900 MHz Intel Celeron-M ULV 353/1.6Ghz Intel Atom

Memory 512 MB/512 MB/1 GB DDR2 SDRAM RAM (2G/4G/8G and 900 series)

Display 7 inch (diagonal) TFT LCD with LED backlight; 800×480 pixels (pels)
or 8.9 inch LCD (1024x600) in 900 series; 10 inch LCD in 1001 series
Graphics Intel UMA
Connectivity 10/100 Mbit Ethernet
802.11b/g wireless LAN
3 USB 2.0 ports
MMC/SD card reader
Web site http://eeepc.asus.com

Friday, August 8, 2008

History of cryptography

The history of cryptography begins thousands of years ago. Until recent decades, it has been the story of what might be called classic cryptography — that is, of methods of encryption that use pen and paper, or perhaps simple mechanical aids. In the early 20th century, the invention of complex mechanical and electromechanical machines, such as the Enigma rotor machine, provided more sophisticated and efficient means of encryption; and the subsequent introduction of electronics and computing has allowed elaborate schemes of still greater complexity, most of which are entirely unsuited to pen and paper.

The development of cryptography has been paralleled by the development of cryptanalysis — of the "breaking" of codes and ciphers. The discovery and application, early on, of frequency analysis to the reading of encrypted communications has on occasion altered the course of history. Thus the Zimmermann Telegram triggered the United States' entry into World War I; and Allied reading of Nazi Germany's ciphers shortened World War II, in some evaluations by as much as two years.

Until the 1970s, secure cryptography was largely the preserve of governments. Two events have since brought it squarely into the public domain: the creation of a public encryption standard (DES); and the invention of public-key cryptography.

  • Classical cryptography

The earliest known use of cryptography is found in non-standard hieroglyphs carved into monuments from Egypt's Old Kingdom (ca 4500+ years ago). These are not thought to be serious attempts at secret communications, however, but rather to have been attempts at mystery, intrigue, or even amusement for literate onlookers. These are examples of still other uses of cryptography, or of something that looks (impressively if misleadingly) like it. Some clay tablets from Mesopotamia, somewhat later are clearly meant to protect information — they encrypt recipes, presumably commercially valuable. Later still, Hebrew scholars made use of simple monoalphabetic substitution ciphers (such as the Atbash cipher) beginning perhaps around 500 to 600 BC.

A Scytale, an early device for encryption.
A Scytale, an early device for encryption.

Cryptography has a long tradition in religious writing likely to offend the dominant culture or political authorities. Perhaps the most famous is the 'Number of the Beast' from the Book of Revelation in the Christian New Testament. '666' might be a cryptographic (i.e., encrypted) way of concealing a dangerous reference; many scholars believe it's a concealed reference to the Roman Empire, or more likely to the Emperor Nero himself, (and so to Roman persecution policies) that would have been understood by the initiated (who 'had the key to understanding'), and yet be safe or at least deniable (and so 'less' dangerous) if it came to the attention of the authorities. At least for orthodox Christian writing, most of the need for such concealment ended with Constantine's conversion and the adoption of Christianity as the official religion of the Empire.
A Scytale, an early device for encryption.

The Greeks of Classical times are said to have known of ciphers (e.g., the scytale transposition cipher claimed to have been used by the Spartan military). Herodotus tells us of secret messages physically concealed beneath wax on wooden tablets or as a tattoo on a slave's head concealed by regrown hair, though these are not properly examples of cryptography per se as the message, once known, is directly readable; this is known as steganography. The Romans certainly did know something of cryptography (e.g., the Caesar cipher and its variations). There is ancient mention of a book about Roman military cryptography (especially Julius Caesar's); it has been, unfortunately, lost.

In India, cryptography was also well known. It is recommended in the Kama Sutra as a technique by which lovers can communicate without being discovered.

  • Medieval cryptography

It was probably religiously motivated textual analysis of the Qur'an which led to the invention of the frequency analysis technique for breaking monoalphabetic substitution ciphers by al-Kindi sometime around AD 800 (Ibrahim Al-Kadi -1992). It was the most fundamental cryptanalytic advance until WWII. Essentially all ciphers remained vulnerable to this cryptanalytic technique until the development of the polyalphabetic cipher by Alberti (ca 1465), and many remained so thereafter.[citation needed] Although Alberti is usually considered the father of polyalphabetic cipher, Prof. Al-Kadi's 1990 paper (ref- 3), reviewing Arabic contributions to cryptography reported knowledge of polyalphabetic ciphers 500 years before Alberti, based on a recently discovered manuscript.

The first page of al-Kindi's manuscript On Deciphering Cryptographic Messages, containing the first descriptions of cryptanalysis and frequency analysis.
The first page of al-Kindi's manuscript On Deciphering Cryptographic Messages, containing the first descriptions of cryptanalysis and frequency analysis.

The Arab mathematician, Abu Yusuf Yaqub ibn Ishaq ibn as-Sabbah ibn 'Omran ibn Ismail al-Kindi, wrote a book on crytography entitled Risalah fi Istikhraj al-Mu'amma (Manuscript for the Deciphering Cryptographic Messages), circa AD 800. He described the first cryptanalysis techniques, including some for polyalphabetic ciphers, cipher classification, Arabic Phonetics and Syntax, and, most importantly, described the use of several techniques for cryptanalysis, and gave the first descriptions on frequency analysis. He also covered methods of encipherments, cryptanalysis of certain encipherments, and statistical analysis of letters and letter combinations in Arabic.

Ahmad al-Qalqashandi (1355-1418) wrote the Subh al-a 'sha, a 14-volume encyclopedia which included a section on cryptology. This information was attributed to Taj ad-Din Ali ibn ad-Duraihim ben Muhammad ath-Tha 'alibi al-Mausili who lived from 1312 to 1361, but whose writings on cryptology have been lost. The list of ciphers in this work included both substitution and transposition, and for the first time, a cipher with multiple substitutions for each plaintext letter. Also traced to Ibn al-Duraihim is an exposition on and worked example of cryptanalysis, including the use of tables of letter frequencies and sets of letters which can not occur together in one word.

In Europe, cryptography became (secretly) more important as a consequence of political competition and religious revolution. For instance, in Europe during and after the Renaissance, citizens of the various Italian states — the Papal States and the Roman Catholic Church included — were responsible for rapid proliferation of cryptographic techniques, few of which reflect understanding (or even knowledge) of Alberti's polyalphabetic advance. 'Advanced ciphers', even after Alberti, weren't as advanced as their inventors / developers / users claimed (and probably even themselves believed). They were regularly broken. This over-optimism may be inherent in cryptography for it was then, and remains today, fundamentally difficult to really know how vulnerable your system actually is. In the absence of knowledge, guesses and hopes, as may be expected, are common.

Cryptography, cryptanalysis, and secret agent/courier betrayal featured in the Babington plot during the reign of Queen Elizabeth I which led to the execution of Mary, Queen of Scots. An encrypted message from the time of the Man in the Iron Mask (decrypted just prior to 1900 by Étienne Bazeries) has shed some, regrettably non-definitive, light on the identity of that real, if legendary and unfortunate, prisoner. Cryptography, and its misuse, were involved in the plotting which led to the execution of Mata Hari and in the conniving which led to the travesty of Dreyfus' conviction and imprisonment, both in the early 20th century. Fortunately, cryptographers were also involved in exposing the machinations which had led to Dreyfus' problems; Mata Hari, in contrast, was shot.

Outside of Europe, after the end of the Muslim Golden Age at the hand of the Mongols, cryptography remained comparatively undeveloped. Cryptography in Japan seems not to have been used until about 1510, and advanced techniques were not known until after the opening of the country to the West beginning in the 1860s.

  • Cryptography from 1800 to World War II

Although cryptography has a long and complex history, it wasn't until the 19th century that it developed anything more than ad hoc approaches to either encryption or cryptanalysis (the science of finding weaknesses in crypto systems). Examples of the latter include Charles Babbage's Crimean War era work on mathematical cryptanalysis of polyalphabetic ciphers, rediscovered and published somewhat later by the Prussian Friedrich Kasiski. Understanding of cryptography at this time typically consisted of hard-won rules of thumb; see, for example, Auguste Kerckhoffs' cryptographic writings in the latter 19th century. Edgar Allan Poe used systematic methods to solve ciphers in the 1840s. In particular he placed a notice of his abilities in the Philadelphia paper Alexander's Weekly (Express) Messenger, inviting submissions of ciphers, of which he proceeded to solve almost all. His success created a public stir for some months. He later wrote an essay on methods of cryptography which proved useful as an introduction for novice Room 40 British cryptanalysts attempting to break German codes and ciphers during World War I.

In 1917, Gilbert Vernam proposed a teletype cipher in which a previously-prepared key, kept on paper tape, is combined character by character with the plaintext message to produce the cyphertext. This led to the development of the one time pad and the use of electromechanical devices as cipher machines.

Mathematical methods proliferated in the period prior to World War II (notably in William F. Friedman's application of statistical techniques to cryptanalysis and cipher development and in Marian Rejewski's initial break into the German Army's version of the Enigma system) in 1932. Both cryptography and cryptanalysis have become far more mathematical since WWII. Even so, it has taken the wide availability of computers, and the Internet as a communications medium, to bring effective cryptography into common use by anyone other than national governments or similarly large enterprises.

  • World War II cryptography

The Enigma machine was widely used by Nazi Germany; its cryptanalysis by the Allies provided vital Ultra intelligence.

By World War II, mechanical and electromechanical cipher machines were in wide use, although — where such machines were impractical — manual systems continued in use. Great advances were made in cipher-breaking, all in secrecy. Information about this period has begun to be declassified as the official British 50-year secrecy period has come to an end, as U.S. archives have slowly opened, and as assorted memoirs and articles have appeared.

The Enigma machine was widely used by Nazi Germany; its cryptanalysis by the Allies provided vital Ultra intelligence.
The Enigma machine was widely used by Nazi Germany; its cryptanalysis by the Allies provided vital Ultra intelligence.

The Germans made heavy use, in several variants, of an electromechanical rotor machine known as Enigma. Mathematician Marian Rejewski, at Poland's Cipher Bureau, in December 1932 reconstructed the German Army Enigma, using mathematics and limited documentation supplied by Captain Gustave Bertrand of French military intelligence. This was the greatest breakthrough in cryptanalysis in a thousand years and more. Rejewski and his mathematical Cipher Bureau colleagues, Jerzy Różycki and Henryk Zygalski, continued reading Enigma and keeping pace with the evolution of the machine's components and encipherment procedures. As the Poles' resources became strained by the changes being introduced by the Germans, and as war loomed, the Cipher Bureau, on the Polish General Staff's instructions, on July 25, 1939, at Warsaw, initiated French and British intelligence representatives into the secrets of Enigma decryption.

Soon after World War II broke out on September 1, 1939, key Cipher Bureau personnel were evacuated southeastward; on September 17, as the Soviet Union entered eastern Poland, they crossed into Romania. From there they reached Paris, France; at PC Bruno, near Paris, they continued breaking Enigma, collaborating with British cryptologists at Bletchley Park as the British got up to speed. In due course, the British cryptologists — whose ranks included many chess masters and mathematics dons such as Gordon Welchman, Max Newman, and Alan Turing the conceptual founder of modern computing — substantially advanced the scale and technology of Enigma decryption.

At the end of the War, on 19 April 1945 Britain's top military officers were told that they could never reveal that the German Enigma code had been broken because it would give the defeated enemy the chance to say they "were not well and fairly beaten".

US Navy cryptographers (with cooperation from British and Dutch cryptographers after 1940) broke into several Japanese Navy crypto systems. The break into one of them, JN-25, famously led to the US victory in the Battle of Midway. A US Army group, the SIS, managed to break the highest security Japanese diplomatic cipher system (an electromechanical 'stepping switch' machine called Purple by the Americans) even before WWII began. The Americans referred to the intelligence resulting from cryptanalysis, perhaps especially that from the Purple machine, as 'Magic'. The British eventually settled on 'Ultra' for intelligence resulting from cryptanalysis, particularly that from message traffic enciphered by the various Enigmas. An earlier British term for Ultra had been 'Boniface'.

The German military also deployed several mechanical attempts at a one-time pad. Bletchley Park called them the Fish ciphers, and Max Newman and colleagues designed and deployed the Heath Robinson, and then the world's first programmable digital electronic computer, the Colossus, to help with their cryptanalysis. The German Foreign Office began to use the one-time pad in 1919; some of this traffic was read in WWII partly as the result of recovery of some key material in South America that was discarded without sufficient care by a German courier.

SIGABA is described in U.S. Patent 6,175,625 , filed in 1944 but not issued until 2001.
SIGABA is described in U.S. Patent 6,175,625 , filed in 1944 but not issued until 2001.

The Japanese Foreign Office used a locally developed electrical stepping switch based system (called Purple by the US), and also used several similar machines for attaches in some Japanese embassies. One of these was called the 'M-machine' by the US, another was referred to as 'Red'. All were broken, to one degree or another by the Allies.

  • Modern cryptography

Shannon

The era of modern cryptography really begins with Claude Shannon, arguably the father of mathematical cryptography, with the work he did during WWII on communications security. In 1949 he published the paper Communication Theory of Secrecy Systems in the Bell System Technical Journal and a little later the book, Mathematical Theory of Communication, with Warren Weaver. both included results from his WWII work. These, in addition to his other works on information and communication theory established a solid theoretical basis for cryptography and for cryptanalysis. And with that, cryptography more or less disappeared into secret government communications organizations such as the NSA, GCHQ, and equivalents elsewhere. Very little work was again made public until the mid '70s, when everything changed.

An encryption standard

The mid-1970s saw two major public (i.e., non-secret) advances. First was the publication of the draft Data Encryption Standard in the U.S. Federal Register on 17 March 1975. The proposed DES was submitted by IBM, at the invitation of the National Bureau of Standards (now NIST), in an effort to develop secure electronic communication facilities for businesses such as banks and other large financial organizations. After 'advice' and modification by the NSA, it was adopted and published as a Federal Information Processing Standard Publication in 1977 (currently at FIPS 46-3). DES was the first publicly accessible cipher to be 'blessed' by a national agency such as NSA. The release of its specification by NBS stimulated an explosion of public and academic interest in cryptography.

The aging DES was officially replaced by the Advanced Encryption Standard (AES) in 2001 when NIST announced FIPS 197. After an open competition, NIST selected Rijndael, submitted by two Belgian cryptographers, to be the AES. DES, and more secure variants of it (such as Triple DES; see FIPS 46-3), are still used today, having been incorporated into many national and organizational standards. However, its 56-bit key-size has been shown to be insufficient to guard against brute force attacks (one such attack, undertaken by the cyber civil-rights group Electronic Frontier Foundation in 1997, succeeded in 56 hours — the story is in Cracking DES, published by O'Reilly and Associates). As a result, use of straight DES encryption is now without doubt insecure for use in new cryptosystem designs, and messages protected by older cryptosystems using DES, and indeed all messages sent since 1976 using DES, are also at risk. Regardless of its inherent quality, the DES key size (56-bits) was thought to be too small by some even in 1976, perhaps most publicly by Whitfield Diffie. There was suspicion that government organizations even then had sufficient computing power to break DES messages; clearly others have achieved this capability.

Public key

The second development, in 1976, was perhaps even more important, for it fundamentally changed the way cryptosystems might work. This was the publication of the paper New Directions in Cryptography by Whitfield Diffie and Martin Hellman. It introduced a radically new method of distributing cryptographic keys, which went far toward solving one of the fundamental problems of cryptography, key distribution, and has become known as Diffie-Hellman key exchange. The article also stimulated the almost immediate public development of a new class of enciphering algorithms, the asymmetric key algorithms.

Prior to that time, all useful modern encryption algorithms had been symmetric key algorithms, in which the same cryptographic key is used with the underlying algorithm by both the sender and the recipient, who must both keep it secret. All of the electromechanical machines used in WWII were of this logical class, as were the Caesar and Atbash ciphers and essentially all cipher and code systems throughout history. The 'key' for a code is, of course, the codebook, which must likewise be distributed and kept secret.

Of necessity, the key in every such system had to be exchanged between the communicating parties in some secure way prior to any use of the system (the term usually used is 'via a secure channel') such as a trustworthy courier with a briefcase handcuffed to a wrist, or face-to-face contact, or a loyal carrier pigeon. This requirement is never trivial and rapidly becomes unmanageable as the number of participants increases, or when secure channels aren't available for key exchange, or when, as is sensible cryptographic practice, keys are frequently changed. In particular, if messages are meant to be secure from other users, a separate key is required for each possible pair of users. A system of this kind is known as a secret key, or symmetric key cryptosystem. D-H key exchange (and succeeding improvements and variants) made operation of these systems much easier, and more secure, than had ever been possible before.

In contrast, asymmetric key encryption uses a pair of mathematically related keys, each of which decrypts the encryption performed using the other. Some, but not all, of these algorithms have the additional property that one of the paired keys cannot be deduced from the other by any known method other than trial and error. An algorithm of this kind is known as a public key or asymmetric key system. Using such an algorithm, only one key pair is needed per user. By designating one key of the pair as private (always secret), and the other as public (often visible), no secure channel is needed for key exchange. So long as the private key stays secret, the public key can be widely known for a very long time without compromising security, making it safe to reuse the same key pair indefinitely.

For two users of an asymmetric key algorithm to communicate securely over an insecure channel, each user will need to know their own public and private keys as well as the other user's public key. Take this basic scenario: Alice and Bob each have a pair of keys they've been using for years with many other users. At the start of their message, they exchange public keys, unencrypted over an insecure line. Alice then encrypts a message using her private key, and then re-encrypts that result using Bob's public key. The double-encrypted message is then sent as digital data over a wire from Alice to Bob. Bob receives the bit stream and decrypts it using his own private key, and then decrypts that bit stream using Alice's public key. If the final result is recognizable as a message, Bob can be confident that the message actually came from someone who knows Alice's private key, and that anyone eavesdropping on the channel will need Bob's private key in order to understand the message.

Asymmetric algorithms rely for their effectiveness on a class of problems in mathematics called one-way functions, which require relatively little computational power to execute, but vast amounts of power to reverse. A classic example of a one-way function is multiplication of large prime numbers. It's fairly quick to multiply two large primes, but very difficult to factor the product of two large primes. Because of the mathematics of one-way functions, most possible keys are bad choices as cryptographic keys; only a small fraction of the possible keys of a given length are suitable, and so asymmetric algorithms require very long keys to reach the same level of security provided by relatively shorter symmetric keys. The need to both generate the key pairs, and perform the encryption/decryption operations make asymmetric algorithms computationally expensive, compared to most symmetric algorithms. Since symmetric algorithms can often use any sequence of (random, or at least unpredictable) bits as a key, a disposable session key can be quickly generated for short-term use. Consequently, it is common practice to use a long asymmetric key to exchange a disposable, much shorter (but just as strong) symmetric key. The slower asymmetric algorithm securely sends a symmetric session key, and the faster symmetric algorithm takes over for the remainder of the message.

Asymmetric key cryptography, Diffie-Hellman key exchange, and the best known of the public key / private key algorithms (i.e., what is usually called the RSA algorithm), all seem to have been independently developed at a UK intelligence agency before the public announcement by Diffie and Hellman in '76. GCHQ has released documents claiming that they had developed public key cryptography before the publication of Diffie and Hellman's paper. Various classified papers were written at GCHQ during the 1960s and 1970s which eventually led to schemes essentially identical to RSA encryption and to Diffie-Hellman key exchange in 1973 and 1974. Some of these have now been published, and the inventors (James H. Ellis, Clifford Cocks, and Malcolm Williamson) have made public (some of) their work.

Cryptography politics

This in turn broke the near monopoly on high quality cryptography held by government organizations (see S Levy's Crypto for a journalistic account of some of the policy controversy in the US). For the first time ever, those outside government organizations had access to cryptography not readily breakable by anyone (including governments). Considerable controversy, and conflict, both public and private, began more or less immediately. It has not yet subsided. In many countries, for example, export of cryptography is subject to restrictions. Until 1996 export from the U.S. of cryptography using keys longer than 40 bits was sharply limited. As recently as 2004, former FBI Director Louis Freeh, testifying before the 9/11 Commission, called for new laws against public use of encryption.

One of the most important people favoring strong encryption for public use was Phil Zimmermann. He wrote and then in 1991 released PGP (Pretty Good Privacy), a very high quality crypto system.. He distributed a freeware version of PGP when he felt threatened by legislation then under consideration by the US Government that would require back doors be included in all cryptographic solutions developed within the US. His efforts in releasing PGP worldwide earned him a long battle with the Justice Department for the alleged violation of export restrictions. The Justice Department eventually dropped its case against Zimmermann, and the freeware distribution of PGP made its way around the world and eventually became an open standard (RFC 2440 or OpenPGP).

  • Modern cryptanalysis

Modern cryptanalysts sometimes harness large numbers of integrated circuits. This board is part of the EFF DES cracker, which contained over 1800 custom chips and could brute force a DES key in a matter of days.

Modern cryptanalysts sometimes harness large numbers of integrated circuits. This board is part of the EFF DES cracker, which contained over 1800 custom chips and could brute force a DES key in a matter of days.
Modern cryptanalysts sometimes harness large numbers of integrated circuits. This board is part of the EFF DES cracker, which contained over 1800 custom chips and could brute force a DES key in a matter of days.

While modern ciphers like AES are widely considered unbreakable, poor designs are still sometimes adopted and there have been important cryptanalytic breaks of deployed crypto systems in recent years. Notable examples of broken crypto designs include DES, the first Wi-Fi encryption scheme WEP, the Content Scrambling System used for encrypting and controlling DVD use, the A5/1 and A5/2 ciphers used in GSM cell phones, and the CRYPTO1 cipher used in the widely deployed MIFARE Classic smart cards of NXP Semiconductors. All of these are symmetric ciphers. Thus far, not one of the mathematical ideas underlying public key cryptography has been proven to be 'unbreakable' and so some future advance might render systems relying on them insecure. While few informed observers foresee such a breakthrough, the key size recommended for security keeps increasing as increased computing power required for breaking codes becomes cheaper and more available.

Wired Equivalent Privacy

Wired Equivalent Privacy (WEP) is a deprecated algorithm to secure IEEE 802.11 wireless networks. Wireless networks broadcast messages using radio and are thus more susceptible to eavesdropping than wired networks. When introduced in 1999, WEP was intended to provide confidentiality comparable to that of a traditional wired network.

Beginning in 2001, several serious weaknesses were identified by cryptanalysts with the result that today a WEP connection can be cracked with readily available software within minutes. Within a few months the IEEE created a new 802.11i task force to counteract the problems. By 2003, the Wi-Fi Alliance announced that WEP had been superseded by Wi-Fi Protected Access (WPA), which was a subset of then upcoming 802.11i amendment. Finally in 2004, with the ratification of the full 802.11i standard, the IEEE declared that both WEP-40 and WEP-104 "have been deprecated as they fail to meet their security goals". Despite its weaknesses, WEP is still widely in use. WEP is often the first security choice presented to users by router configuration tools even though it provides a level of security that deters only unintentional use, leaving the network vulnerable to deliberate compromise.

WEP is sometimes inaccurately referred to as Wireless Encryption Protocol.

  • Encryption details

WEP was included as the privacy of the original IEEE 802.11 standard ratified in September 1999.[5] WEP uses the stream cipher RC4 for confidentiality,[6] and the CRC-32 checksum for integrity. It was deprecated as a wireless privacy mechanism in 2004, but for legacy purposes is still documented in the current standard.

Basic WEP encryption: RC4 keystream XORed with plaintext
Basic WEP encryption: RC4 keystream XORed with plaintext


Basic WEP encryption: RC4 keystream XORed with plaintext

Standard 64-bit WEP uses a 40 bit key (also known as WEP-40), which is concatenated with a 24-bit initialization vector (IV) to form the RC4 traffic key. At the time that the original WEP standard was being drafted, U.S. Government export restrictions on cryptographic technology limited the key size. Once the restrictions were lifted, all of the major manufacturers eventually implemented an extended 128-bit WEP protocol using a 104-bit key size (WEP-104).

A 128-bit WEP key is almost always entered by users as a string of 26 Hexadecimal (Hex) characters (0-9 and A-F). Each character represents 4 bits of the key. 4 × 26 = 104 bits; adding the 24-bit IV brings us what we call a "128-bit WEP key". A 256-bit WEP system is available from some vendors, and as with the above-mentioned system, 24 bits of that is for the I.V., leaving 232 actual bits for protection. This is typically entered as 58 Hexadecimal characters.
(58 × 4 = 232 bits) + 24 I.V. bits = 256 bits of WEP protection.

Key size is not the only major security limitation in WEP. Cracking a longer key requires interception of more packets, but there are active attacks that stimulate the necessary traffic. There are other weaknesses in WEP, including the possibility of IV collisions and altered packets, that are not helped at all by a longer key.

  • Authentication

Two methods of authentication can be used with WEP: Open System authentication and Shared Key authentication.

For the sake of clarity, we discuss WEP authentication in the Infrastructure mode (ie, between a WLAN client and an Access Point), but the discussion applies to the Ad-Hoc mode too.

In Open System authentication, the WLAN client need not provide its credentials to the Access Point during authentication. Thus, any client, regardless of its WEP keys, can authenticate itself with the Access Point and then attempt to associate. In effect, no authentication (in the true sense of the term) occurs. After the authentication and association, WEP can be used for encrypting the data frames. At this point, the client needs to have the right keys.

In Shared Key authentication, WEP is used for authentication. A four-way challenge-response handshake is used:

I) The client station sends an authentication request to the Access Point.

II) The Access Point sends back a clear-text challenge.

III) The client has to encrypt the challenge text using the configured WEP key, and send it back in another authentication request.

IV) The Access Point decrypts the material, and compares it with the clear-text it had sent. Depending on the success of this comparison, the Access Point sends back a positive or negative response. After the authentication and association, WEP can be used for encrypting the data frames.

At first glance, it might seem as though Shared Key authentication is more secure than Open System authentication, since the latter offers no real authentication. However, it is quite the reverse. It is possible to derive the keystream used for the handshake by capturing the challenge frames in Shared Key authentication. Hence, it is advisable to use Open System authentication for WEP authentication, rather than Shared Key authentication. (Note that both authentication mechanisms are weak).


  • Remedies

Use of encrypted tunneling protocols (e.g. IPSec, Secure Shell) can provide secure data transmission over an insecure network. However, replacements for WEP have been developed with the goal of restoring security to the wireless network itself.


  • 802.11i (WPA and WPA2)

The recommended solution to WEP security problems is to switch to WPA2 or the less resource intensive WPA. Either is much more secure than WEP. To add support for WPA or WPA2, some old Wi-Fi access points might need to be replaced or have their firmware upgraded. WPA was designed as an interim software solution for WEP; it runs on the same hardware that WEP does.


Implemented non-standard fixes

  • WEP2

This stopgap enhancement to WEP was present in some of the early 802.11i drafts. It was implementable on some (not all) hardware not able to handle WPA or WPA2, and extended both the IV and the key values to 128 bits. It was hoped to eliminate the duplicate IV deficiency as well as stop brute force key attacks.

After it became clear that the overall WEP algorithm was deficient however (and not just the IV and key sizes) and would require even more fixes, both the WEP2 name and original algorithm were dropped. The two extended key lengths remained in what eventually became WPA's TKIP.

  • WEPplus

Also known as WEP+. A proprietary enhancement to WEP by Agere Systems (formerly a subsidiary of Lucent Technologies) that enhances WEP security by avoiding "weak IVs". It is only completely effective when WEPplus is used at both ends of the wireless connection. As this cannot easily be enforced, it remains a serious limitation. It is possible that successful attacks against WEPplus will eventually be found. It also does not necessarily prevent replay attacks.

  • Dynamic WEP

Change WEP keys dynamically. Vendor-specific feature provided by several vendors such as 3Com.

The dynamic change idea made it into 802.11i as part of TKIP, but not for the actual WEP algorithm.


Thursday, August 7, 2008

Kismet

Kismet is a network detector, packet sniffer, and intrusion detection system for 802.11 wireless LANs. Kismet will work with any wireless card which supports raw monitoring mode, and can sniff 802.11a, 802.11b and 802.11g traffic. The program runs under Linux, FreeBSD, NetBSD, OpenBSD, and Mac OS X. The client can also run on Windows, although, aside from external drones, there's only one supported wireless hardware available as packet source.

Distributed under the GNU General Public License, Kismet is free software.


  • Features

Kismet is unlike most other wireless network detectors in that it works passively. This means that without sending any loggable packets, it is able to detect the presence of both wireless access points and wireless clients, and associate them with each other.
An explanation of the headings displayed in Kismet.
An explanation of the headings displayed in Kismet.

Kismet also includes basic wireless IDS features such as detecting active wireless sniffing programs including NetStumbler, as well as a number of wireless network attacks.

Kismet has the ability to log all sniffed packets and save them in a tcpdump/Wireshark or Airsnort compatible fileformat.

To find as many networks as possible, kismet supports channelhopping. This means that it constantly changes from channel to channel non-sequentially, in a user-defined sequence with a default value that leaves big holes between channels (for example 1-6-11-2-7-12-3-8-13-4-9-14-5-10). The advantage with this method is that it will capture more packets because adjacent channels overlap.

  • Server/drone/client infrastructure

Kismet has three separate parts. A drone can be used to collect packets, and then pass them on to a server for interpretation. A server can either be used in conjunction with a drone, or on its own, interpreting packet data, and extrapolating wireless information, and organizing it. The client communicates with the server and displays the information the server collects.
Kismet also supports logging of the geographical coordinates of the network if the input from a GPS receiver is additionally available.

Kismet

Kismet 2.7.1
Developed by :
Mike Kershaw (dragorn)
Latest release :
2007-10-R1 / October 7, 2007 (2007-10-07); 305 days ago
OS :
Cross-platform
Genre :
Packet Sniffer
License :
GPL
Website :
www.kismetwireless.net


Warchalking

Warchalking is the drawing of symbols in public places to advertise an open Wi-Fi wireless network.

Inspired by hobo symbols, the warchalking marks were conceived by a group of friends in June 2002 and publicised by Matt Jones who designed the set of icons and produced a downloadable document containing them. Within days of Jones publishing a blog entry about warchalking, articles appeared in dozens of publications and stories appeared on several major television news programs around the world.

The word is formed by analogy to wardriving, the practice of driving around an area in a car to detect open Wi-Fi nodes. That term in turn is based on wardialing, the practice of dialing many phone numbers hoping to find a modem.

Having found a Wi-Fi node, the warchalker draws a special symbol on a nearby object, such as a wall, the pavement, or a lamp post. Those offering Wi-Fi service might also draw such a symbol to advertise the availability of their Wi-Fi location, whether commercial or personal.


Warchalking symbols

Warchalking never seemed to catch on as an activity, despite its widespread coverage. Instead, the symbols were almost immediately adopted by commercial enterprises interested in or offering Wi-Fi, such as JiWire (a Wi-Fi hotspot directory and how-to site). The symbol is now widely used as a shorthand in logos and advertising.

Wardriving Mapping

Wardriving is the act of searching for Wi-Fi wireless networks by a person in a moving vehicle, using a portable computer or PDA.

Software for wardriving is freely available on the Internet, notably NetStumbler for Windows, Kismet or SWScanner for Linux, FreeBSD, NetBSD, OpenBSD, and DragonFly BSD, and KisMac for Macintosh. There are also homebrew wardriving applications for handheld game consoles that support Wi-fi, such as sniff_jazzbox for the Nintendo DS, Road Dog for the Sony PSP and Stumbler for the iPhone.

Etymology

Wardriving was named after the term wardialing from the 1983 film WarGames, which involved searching for computer systems with software that dialed numbers sequentially to see which ones were connected to a fax machine or computer.


Warbiking is essentially the same as wardriving, but it involves searching for wireless networks while on a moving bicycle or motorcycle. This activity is sometimes facilitated by the mounting of a wifi-capable device on the vehicle itself.

Warwalking (sometimes warjogging) is similar in nature to wardriving, except that it is done on foot rather than conducted from a moving vehicle. The disadvantages of this approach consist in slower speed of travel (resulting in fewer and more infrequently discovered networks) and the absence of a convenient computing environment. Consequently, handheld devices such as Pocket PCs, for which tasks can be conducted while walking or standing, have predominated in this area. The inclusion of integrated Wi-Fi (rather than a CF or PCMCIA add-in card) in Dell Axim, Compaq iPAQ and Toshiba Pocket PCs beginning in 2002 — and, more recently, an active Nintendo DS and Sony PSP enthusiast community possessing Wi-Fi capabilities on these devices — has expanded the extent of this practice, as has the new Apple iPhone and iPod touch. Of recent note, the Nokia N770, N800, and N810 Internet Tablets have very good antennas, and will pick up nearly anything in the area — even blocks away from the unit.

Mapping

A map of Seattle's Wi-Fi nodes, generated from information logged by wardriving students in 2004.

A map of Seattle's Wi-Fi nodes, generated from information logged by wardriving students in 2004.

A map of Wi-Fi nodes in the United States and Canada tracked by the WiGLE project

A map of Wi-Fi nodes in the United States and Canada tracked by the WiGLE project

Many wardrivers use GPS devices to measure the location of the network and log it on a website to form maps of the network neighborhood. The most popular web-based tool today is WiGLE, while one of the pioneering mapping applications was StumbVerter, which used Microsoft MapPoint automation to draw found networks. For better range, antennas are built or bought, and vary from omnidirectional to highly directional.

The maps of known network IDs can then be used as a geolocation system — an alternative to GPS — by triangulating the current position from the signal strengths of known network IDs. Examples include Place Lab by Intel, Skyhook, and Navizon,by Cyril Houri. Navizon combines information from Wi-Fi and cell phone tower maps contributed by users from Wi-Fi-equipped cell phones.[1][2] In addition to location finding, this provides navigation information, allows for tracking the position of friends, and geotagging.

In December 2004, a class of 100 undergraduates worked to map the city of Seattle, Washington over several weeks. They found 5,225 access points; 44% were secured with WEP encryption, 52% were open, and 3% were pay-for-access. They noticed trends in the frequency and security of the networks depending on location. Many of the open networks were clearly intended to be used by the general public, with network names like "Open to share, no porn please" or "Free access, be nice." The information was collected into high-resolution maps, which were published online.

GPS Visualizer is a free, easy-to-use online utility that creates maps and profiles from GPS data (tracks and waypoints, including GPX files), street addresses, or simple coordinates. Use it to see where you've been, plan where you're going, or visualize geographic data (business locations, scientific observations, events, customers, real estate, geotagged photos, etc.).



Example Mapping From GPS Visualizer

GPS Visualizer can read data files from many different sources, including but not limited to: GPX (a standard format from many devices and programs, including Garmin's eTrex and GPSMAP series), OziExplorer, Geocaching.com (.loc), IGC sailplane logs, Garmin Forerunner (.xml/.hst/.tcx), Timex Trainer (v1.3+), Cetus GPS, PathAway, cotoGPS, CompeGPS, TomTom (.pgl), IGN Rando (.rdn), Emtac Trine, Suunto X9/X9i (.sdf), NetStumbler, Excel, Google Spreadsheets, XML feeds

Antennas

Wireless access point receivers can be modified to extend their ability for picking up and connecting to wireless access points. This can be done with an ordinary metal wire, and a metal dish that is used to form a directional antenna. Other similar devices can be modified in this way too, likewise, not only directional antennas can be created, but USB-WiFi-stick antennas can be used as well. Tools such as Wireless Grapher Widget can be used to measure out the antenna.

Confusion with piggybacking

Wardrivers are only out to log and collect information about the wireless access points (WAPs) they find while driving, without using the networks' services.

Connecting to the network and using its services without explicit authorization is referred to as piggybacking.

The terms have been interchanged in the press, however. For instance, an EETimes article with the headline "WiFi user charged for not buying coffee" refers to a user who "piggybacked off the shop's wireless Internet service for more than three months". When reposted by Engadget, the term "wardriving" was substituted, and the headline changed to "Wardriver arrested for snagging coffee shop signal".

Typical wardriving software actually takes control of the wireless radio, making it impractical, if not impossible, to wardrive and piggyback simultaneously.

Legal and ethical considerations

Some portray wardriving as a questionable activity (typically from its association with piggybacking), though, from a technical viewpoint, everything is working as designed: access points must broadcast identifying data accessible to anyone with a suitable receiver. It could be compared to making a map of a neighborhood's house numbers and letter box labels.

There are no laws that specifically prohibit or allow wardriving, though many localities have laws against unauthorized access of a computer network. Whether this could be applied to wardriving is unknown, though no one has ever been convicted for it.

Passive, listen-only wardriving (with programs like Kismet or KisMAC) does not communicate at all with the network; merely logging its broadcast address. This can be likened to listening to a radio station that happens to be broadcasting in the area. (In some countries even listening to a broadcast is illegal, though. In the UK, for example, it is illegal to listen on some radio frequencies or to some transmissions, such as those used by the police or armed forces, without a license.)

With other types of software, such as NetStumbler, the wardriver actively sends probe messages, and the access point responds per design. The legality of active wardriving is less certain, since the wardriver temporarily becomes "associated" with the network, even though no data is transferred. Most access points, when using default settings, are intended to provide wireless access to all who request it. Liability can be minimized by setting the computer to a static IP, instead of using DHCP. This will prevent the network from granting the computer an IP address or logging the connection.

In the United States, the case that is usually referenced in determining whether a network has been "accessed" is State v. Allen. In this case, Allen had been wardialing in an attempt to get free long distance calling through Southwestern Bell's computer systems. When presented with a password protection screen, however, he did not attempt to bypass it. The court ruled that although he had "contacted" or "approached" the computer system, this did not constitute "access" of the company's network.


Software

Concepts

War Driving for WiFi Access

WiFi networks are everywhere, it seems; you can get free Internet access on wireless community FreeNets armed with your laptop, a car, and software called Network Stumbler.

One of the coolest technological advances in popular use today is the wireless network. Wireless networks based on the WiFi standard (802.11x) are becoming increasingly common across the country—not only in people's homes, but also in universities, corporations, coffee shops, airports and other public places. Now you can bring your email to Starbucks.

There are frequently dozens near one another, particularly in certain urban neighborhoods and suburban office parks that house high-tech companies. Where I live—in Porter Square in Cambridge, Massachusetts—there are dozens of wireless networks in private homes, apartment buildings, and businesses within a very short walk from my home. There are at least half-a-dozen on my three-block street alone, in addition to mine. From my back porch, I get access to my own wireless network, but can also often pick up signals from four nearby WiFi networks.

The widespread availability of these inexpensive WiFi networks has led to a grassroots community wireless networking movement. The idea is simple: allow people passing by to use your WiFi network to hop onto the Internet and they in turn let you and others use their WiFi networks for Internet access when you pass near their homes or places of business. These wireless grassroots organizations are often called FreeNets. You'll find them in cities including New York, Seattle, Houston, and the San Francisco Bay area, as well as others. For more details about them and how to participate, go to Free Networks.org In fact, some cities themselves are creating free wireless zones in downtown business areas to allow anyone with a wireless-enabled computer to get Internet access. Paris, for example, may soon be known for more than its beauty, culture, good food and disdain for tourists; it may turn into one giant wireless zone, allowing Internet access anywhere in the city, though for a price.

How do you find these wireless networks? The best way is by doing what has become known as war driving—driving through neighborhoods with your laptop, special software, and, if you want to pick up more networks, an antenna hooked up to your WiFi card.

Run the software, and it not only locates the network, but also provides a variety of information about it that you can use to connect to it, such as its SSID (network name), whether it uses encryption, and the wireless channel it's on. Armed with that information, you should be able to connect to it if it's a FreeNet—for example, if it is set to allow anyone to connect to it, or if it uses a commonly agreed-upon security scheme that everyone in the FreeNet uses for their WiFi networks.

War chalking symbols


To go war driving, download the free Network Stumbler program, which shows you detailed information about any nearby wireless network. shows what happens when I run the software on my back porch. I can detect signals from four nearby WiFi networks in addition to my own.

Detecting nearby wireless networks with Network Stumbler

For each WiFi network it uncovers, Network Stumbler tells you the network's SSID, name, manufacturer, channel, type, signal strength, signal-to-noise ratio, and whether the network's encryption is enabled, among other details. Armed with that information, you can try to connect to the network.

Once you've found a network, exit Network Stumbler. Then, to connect to the network, double-click on the small network icon in the System Tray (officially known as the XP Notification Area—the area of the Taskbar where XP corrals little icons). The Wireless Network Connection Status screen appears. From this screen, choose Properties -> Wireless Networks, and you'll see the screen shown in


The Wireless Network Connection Properties screen



If this screen doesn't show you the network uncovered by Network Stumbler, click Refresh. If the network still doesn't show up, that's because the signal is too weak for you to connect to it. To connect to a network shown on this screen, click Configure and fill out the information required in the screen. You'll then get into the network.

Not everyone will be able to use Network Stumbler, because it won't work with all wireless network cards. As of this writing, it worked with the following cards (and possibly some others not listed here as well): Lucent Technologies WaveLAN/IEEE (Agere ORiNOCO); Dell TrueMobile 1150 Series (PCMCIA and mini-PCI); Avaya Wireless PC Card; Toshiba Wireless LAN Card (PCMCIA and built-in); Compaq WL110; Cabletron/Enterasys Roamabout; Elsa Airlancer MC-11; ARtem ComCard 11Mbps; IBM High Rate Wireless LAN PC Card; and 1stWave 1ST-PC-DSS11IS, DSS11IG, DSS11ES, and DSS11EG. For more information, go to C:\Program Files\Network Stumbler\readme.html, assuming you've installed the program in C:\Program Files\Network Stumbler.

Network Stumbler will find all wireless networks near you, not just those that are part of FreeNets. So, you may well find the wireless networks of people who don't realize that others outside of their homes or businesses can tap into their network. Some law enforcement officials will tell you that tapping into those people's networks is illegal, so be forewarned.

Mapping Wireless Networks

Network Stumbler lets you save your war-driving information in a file, and you can then upload that information to a web site (such as http://wifimaps.com) that uses your information and information provided by many other war-drivers to create maps of WiFi networks across the country. You can zoom in and out on these maps, so you can get a view of the concentration of WiFi networks in a metropolitan area, or you can see individual WiFi networks on individual streets

Go to http://wifimaps.com to view the maps or to upload your Network Stumbler information. Be aware that the site is a volunteer effort, and, not uncommonly, you'll find that the maps aren't working. If that happens, check back again in a few days; it usually gets up and running after a while.

Build a Homemade Wireless Cantenna for War Driving

One way to increase the range of your war driving and the strength of the signal when you connect to WiFi networks is to build your own wireless antenna. You can build them for a few dollars using a tin can and other stray parts, as long as you're willing to do a little bit of soldering. Because they're built out of tin cans, they're frequently called cantennas.

My 13-year-old son Gabe built several for his seventh-grade science fair project and compared the effectiveness of each. The results were clear: the giant 34.5-ounce coffee cans were far superior to normal-sized coffee cans and Pringle's cans.

If you haven't bought a WiFi card yet and are considering building one of these cantennas, I suggest buying an Orinoco card. It has a small connector in its side through which you connect a pigtail connector , which can then be hooked up to a small antenna you build out of copper wire and a small connector, which goes inside the tin can. There are a number of places you can buy a pigtail and the required connectors, including Hyperlink Technologies. If you don't have a WiFi card with a small connector, building one of these cantennas becomes much more difficult.

There are many places online where you can find good directions for making cantennas.
Three good places to start are :

Just so you get the idea of what you'll do, though, you first empty and wash the can. Next, you build the small antenna that will go inside the coffee can by soldering a short piece of thick copper wire to a small piece of hardware called an N connector. Then, drill a hole in the can and insert the small antenna you just soldered. Attach the antenna to the can by securing it with small screws and bolts. Attach one end of the pigtail to your wireless card, attach the other end to the N connector, and voila! You have a cantenna.