Versão: 1.04 Setembro 25, 2007
Por: darkAudax
Tradução e Adaptação em Desenvolvimento: JaymesSmith (09/02/08)
Status: 15% traduzido.
Quando terminada, essas linhas serão apagadas.
When finished, these lines will be erased.
Uma pergunta comum que as pessoas fazem é “Eu tenho a placa wireless modelo X, ela é compatível com o Aircrack-ng?” ou “Qual placa devo comprar?” ou “Minha placa pode fazer injeção de pacotes?” e por aí vai. Este tutorial ajuda em tais questões.
Antes de tudo, responder estas perguntar envolve um esforço da sua parte. Não é tão fácil quanto postar uma pergunta no Forum e esperar por uma resposta. Se você não fizer seu dever de casa primeiro, nenhuma ajuda será oferecida. Em compensação, se você fizer seu dever de casa direitinho, as pessoas farão um grande esforço para te ajudar.
Se você está planejando em comprar uma placa então o método mais fácil é escolher uma placa da lista de placas suportadas. Se está considerando comprar uma placa em específico então você pode usar este tutorial para determinar se funcionará com o aircrack-ng.
Outro ponto que queria tratar é que existem várias, várias placas compatíveis por aí que não estão listadas na seção de placas suportadas. Por favor, dê um tempo para postar no Forum quando você obtiver sucesso com uma placa específica. Esta é a única maneira pela qual podemos expandir a lista de placas suportadas. Quando você postar, por favor forneça o fabricante, modelo, revisão da placa (se existir), chipset e quais drivers utilizou.
Agora, mãos à obra. Aqui estão os passos que seguiremos:
First decide if you simply want to listen to wireless network traffic or to both listen to and inject packets. It is important to realize that at this point in time, Windows can only be used for listening to network traffic. Windows cannot inject data packets. This is a fundamental limitation. As well, there are far fewer cards compatible with Windows.
Depending on the card/chipset, Linux gives you the ability to both listen to and inject packets.
Another point to note is that USB devices have much less support then other hardware formats. USB support is very limited.
So at this point you need to have decided:
These will be constraints later on in this tutorial.
There are two manufacturers involved with wireless cards. The first is the brand of the card itself. Examples of card manufacturers are Netgear, Ubiquiti , Linksys and D-Link. There are many, many manufacturers beyond the examples give here.
The second manufacturer is who makes the wireless chipset within the card. This is the most important company to know. Unfortunately, it is sometimes the hardest to determine. This is because card manufacturers generally don’t want to reveal what they use inside their card. However, for our purposes, it is critical to know the wireless chipset manufacturer. Knowing the wireless chipset manufacturer allows you to determine which operating systems are support, software drivers you need and what limitations are associated with them.
It is a very important to realize that the difference between the two manufacturers. Just knowing the card manufacturer and model does not allow you to proceed. What you really need to know is the chipset. The next step provides information about how to determine the chipset in your card or the card you are planning to purchase.
Ok, this is the really hard part. I will tell you up front that you need to do your research well in this step to be successful. On the other hand, if you are lucky, your card is already listed in the supported card section and this gives you all the information required.
If this is not the case, then you first need to determine what wireless chipset your card uses. This can be done by one or more of these techniques:
Here are some other resources to assist you in determine what chipset you have:
Card manufacturers add to the confusion by keeping the same card model number yet changing the chipset inside them. This is where you will hear the term “card revision” or “card version”. D-Link seems to do this a lot. So first determine if this applies to your card. The version is typically found stamped on the card and located near the serial number or MAC addess. See this D-Link page for an example of the same card with different revisions.
So when you are determining the chipset for your card, make sure to include the revision/version when doing a search. For example, search for “DWL-G650 C1 chipset” and not just “DWL-G650”. The revision/version is extremely important.
If you are running linux, there are a variety of methods to obtain card information and possibly determine the chipset. Here are some methods:
Even if you are running Windows, you can boot from a live distro and use the linux techniques above.
In a Windows environment, try hardware analysis tools such HWiNFO to obtain the chipset information.
If you are unable to determine which chipset your card has, then you are out of luck. Your options are to purchase a card from the compatible list or to research and identify a card which matches your criteria then purchase it.
Once you know the chipset, then proceed to the next step.
Using the Compatibily Section determine what features the chipset provides for the particular operating system that you will be using.
If this matches your requirements, great. If not, the consider using another operating system or using a different card.
If your prime operating system is Windows, and you like the linux features, consider using a live linux distro. This way you have the best of both worlds.
Proceed to the next step of determining the drivers and patches required.
Using the Drivers Section you can now determine the drivers required for your chipset and your operating system. The web site has links to the software required.
For linux, generally, you need to patch the drivers in order to get the advanced features such as monitor mode and injection capability. Most patches can be found here. Remember you will need to have the kernel headers and, in some cases, the kernel sources on your system prior to compiling the drivers.
This tutorial will not be providing detailed instructions on how to patch your system.
If you don't have the skills or experience to patch your system, consider using a live linux distro such as Backtrack2 which already has all the patched drivers.
Conversely, if you know what chipset provides the features you want, you can use the Compatible card list to find a card that uses that particular chipset.
As well, this tutorial will have given you the knowledge to determine if a particular card you are considering purchasing will provide you the features you want.