Skip to content

FAQ & Troubleshooting

Óscar Alfonso Díaz edited this page Sep 13, 2024 · 98 revisions

This section is to help clarify some common doubts and problems (Frequently Asked Questions) along with some common troubleshooting steps. Remember that you can also join our Discord server by clicking on the public invitation link here to find and receive more help not answered here.


Common problems and doubts

I am missing some dependencies. What can I do?

You should try installing it. How? It depends on your Linux distribution.

For example, let's suppose that you saw during dependencies check this message:

dhcpd .... Error (Possible package name: isc-dhcp-server / dhcp-server / dhcp)

It means you are missing the command/binary dhcpd and airgeddon suggested the package you need to install could be named isc-dhcp-server, dhcp-server, or dhcp. The name of the package depends on your Linux distribution. Remember that airgeddon is compatible with many of them. See the list of supported and tested Linux distros here.

Now let's suppose that you are running Ubuntu Linux. It is a Debian-based Linux distribution, so you should try installing it using the apt command. For Debian based, the correct package name is isc-dhcp-server. So, it's as simple as launching this command to install the dependency: sudo apt install isc-dhcp-server.

In addition, if you are running one of these three Linux distributions: Kali, Parrot-Security, BlackArch, airgeddon will prompt you to allow it to try installing the missing dependencies automatically. This is done by a plugin included in airgeddon. Why only on these three Linux variants? It's because they are the only ones that have all the necessary packages available in their repositories. Is the auto dependency install plugin 100% effective? No, there could be connectivity problems, or repositories could be down. So airgeddon can't assure you a 100% installation on the dependencies. Anyway, most of the time, they do get installed automatically.

Here is a repository that will help many people to install missing dependencies manually, and it's ONLY for Debian-based Linux distributions. It contains all the needed airgeddon dependencies in a .deb package and some sub-dependencies. They can easily be installed using sudo dpkg -i <file.deb> in the right order to avoid dependencies problems: https://github.com/v1s1t0r1sh3r3/airgeddon_deb_packages


What is VIF?

VIF (Virtual Interface) is the ability to split one physical card into 2 logical cards. This is used during Evil Twin attacks to keep one acting as an AP and the other performing DoS in monitor mode. From airgeddon>=10.42 there is an integrated check for this before launching any Evil Twin attack.

To check manually if your card is supporting VIF, launch this command sudo iw list | grep "Supported interface modes" -A 8 (this command is case sensitive and typed wrong will result in the wrong output or none at all) and you should see in the output AP/VLAN (just AP is not enough), otherwise, your card is not supporting the required VIF.

Usually, Realtek (RTL) chipsets are non-VIF capable and not recommended for wireless hacking. Don't confuse them with Ralink chipsets (RT), these last are usually VIF capable and recommended. Check the list of fully working VIF capable chipsets/cards here.

If you have more than one wifi card and neither support VIF and or are a blacklisted card or chipset but at least one supports AP mode and both support monitor mode you can try using this plugin to use 2 cards in airgeddon instead of one VIF capable card. One for the fake AP and one to perform DoS. Information on using plugins can be found here.


My fake AP is not working on any Evil Twin attack. Why?

You should see on the fake AP hostapd (xterm upper left) window "AP-ENABLED". If you can see "AP-DISABLED", then something went wrong.

Your wifi chipset probably is not compatible or you have one of the "blacklisted" cards with known problems (mainly Realtek RTL chipsets). To perform an Evil Twin attack, VIF (Virtual Interface) and AP mode features are required on your wifi chipset. Not all wifi chipsets support these modes. You can check what VIF is and how to check if your card is supporting it here.

If your card is supporting VIF and AP mode and it is still not working for you, maybe it has become buggy and you need to unplug the card and then plug it in again, or maybe you just need to reboot your whole computer. Seems obvious, but sometimes, if your card becomes frozen for some reason, it works.

If your problem occurs only on 5Ghz networks, please refer to another point in this section here.


DoS (Deauth) is not working. What can I do?

First of all, you must be sure about that. Sometimes it is hard to detect that it's not working. The best option is to test DoS on your own network before performing the real assessment. Anyway, Denial Of Service is tricky, it is not an exact science.

If the target network uses pure WPA3 encryption (SAE), deauth attacks will not work. Pure WPA3 includes 802.11w (Protected Management Frames - PMF, also called Management Frame Protection - MFP) by default. You can also find 802.11w protections on WPA/WPA2, but this kind of protection is uncommon and usually only on corporate environment (devices supporting this are usually expensive).

Regarding WPA/WPA2, not all attacks work against every APs and its clients. Sometimes, clients are taken down only partially, while others remain unaffected even on the same Access Point. It depends on many factors and variables: Chipset used to perform the attack, type of client (Android, computer, Apple device, etc), Access Point, distance and signal to the target, etc. The signal strength is of greater significance, which must be powerful enough. If you think it is not working, you should try a different DoS attack: mdk4, aireplay, or even mdk3 which can be set instead of mdk4 modifying the configuration options. More info about the available options can be found here.

If your DoS is not effective only during Evil Twin attacks and using one wifi adapter, this probably is because your wifi chipset does not support VIF (Virtual Interface). This can also happen if you have a "blacklisted" card with known problems (mainly Realtek RTL chipsets). A list of supported and also blacklisted cards can be found here. To properly perform an Evil Twin attack with one wifi adapter, a wifi chipset supporting VIF mode is needed. Not all wifi chipsets support this. For more information about what VIF is, check this link. From airgeddon>=10.42 there is an integrated check for this before launching any Evil Twin attack.

If your wifi chipset supports VIF and it is still not working for you and is not a blacklisted chipset, maybe it is buggy and you need to unplug the card and then plug it in again, or maybe you just need to reboot your whole computer. Seems obvious but sometimes, if your card is frozen for some reason, it works.

If your problem occurs only on 5Ghz networks, please refer to another point in this section here.


Can the Evil Twin Captive Portal page be customized? If so how?

airgeddon is using by default a neutral and "less suspicious as possible" captive portal, and from airgeddon>=11.20 there is also the possibility to use the advanced captive portal which will change color of the portal (but using always the same colour for a target) and showing also a vendor logo based on target AP's BSSID. Anyway, yes, the captive portal page can be customized which can help with tailored attacks. There are two ways to do this.

Until airgeddon<=11.22, the generic captive portal page files (HTML, CSS, and JS) are created during the attack in the /tmp/www dir. For modern versions (airgeddon>=11.30) they are located at /tmp/agX/www where X is the number of the running instance (usually it's /tmp/ag1/www). You can get that files during an attack, perform offline customization and then when they are ready, launch the attack again and while the attack is running, copy your customized files to that same temporary location to overwrite the existing ones. The portal will load showing your custom web page. Of course you need to know what you are doing, some basic knowledge about HTML, CSS and JS is needed.

The second (more elegant) method is to create a plugin to perform this task. You can hook the set_captive_portal_page function overriding the content to create your custom webpage. Just fill the plugin template file (plugin_template.sh) in the plugins dir. More info about plugins creation and creating custom captive portals can be found here, here and here.


Once connected to the fake AP created by an Evil Twin attack the captive portal is not automatically triggered or asked for. What am I doing wrong?

Once connected to the fake network, most devices and operating systems (Windows, Mac, iOS, Linux, and Android) should automatically populate the captive portal or prompt that a login to the AP is needed. But there can be varying factors (OS version and manufacture) why some will not, which may be beyond the control of airgeddon.

For devices and operating systems that do not automatically open or ask for the captive portal one may need to open a browser to a non https:// (eg. http://example.com) page. Going to an https:// page (google.com, facebook.com, etc...) will not work and is normal because they are https:// by default and do not support http://.

The reason for this behaviour is that to trigger a captive portal for SSL/TLS (https://) pages, an SSL/TLS certificate is needed at the portal. And the free self-signed certificates are not an option due to the warning messages they generate when a page using them is visited making the captive portal untrusted. The free Let's Encrypt 90 days valid SSL/TLS certificate is also not an option due to the constant need for renewal and the maintenance required. So airgeddon staff decided to let it as it is. It's better to have a "page not shown" error than an "insecure page warning" message shown because of a self-signed SSL/TLS certificate. But of course, you can customize your captive portal to set a certificate if you want, more info about it here.


What is DoS Pursuit Mode exactly?

During a standard Evil Twin attack, your wireless VIF capable card is split into two logical interfaces. One to create the fake Access Point and another to perform the DoS in monitor mode. During the attack, if the target AP is configured in channel "Auto" and if the victim resets/reboots it due to lack of connectivity resulting from the Denial of Service (DoS) attack, once reset/rebooted, it may switch to another channel rendering our attack performing DoS over the wrong channel and the victim re-establish the connectivity.

To avoid the above situation, airgeddon implemented DoS Pursuit Mode. To enable this mode in Evil Twin attacks you'll need an additional (second) wireless card that supports monitor mode. The first card will be used as normal (DoS and fake AP) and it needs to be VIF capable. For more information about what VIF is, check here. The second one (no need to be VIF capable) will be used to scan in the background and check if the target AP changed the channel it's on. If the situation described before happens and the target AP switches its channel, it will be detected by airgeddon, and the attack will re-launch the DoS and the fake AP over the new channel alerting us about this. In this way, the target AP is "pursued" even on channel hopping making the Evil Twin a much more effective attack. DoS Pursuit Mode is also available in the DoS attack menu.


My Linux has a weird wireless interface name like wlx00c0ca9208dc instead of wlan0, and I'm getting errors. What can I do?

For some Linux distributions like Ubuntu, Parrot OS, and Debian, the default naming for network devices uses the new nomenclature. This can cause errors while using airgeddon because some third-party tools that airgeddon uses aren't compatible with this wireless device name nomenclature.

It's better to use the old wifi interface naming that is fully compatible with all the dependencies in airgeddon. From airgeddon>=11.20 there is an integrated check showing a warning and the recommendation for the change upon interface selection. Information on this can be found here.


When I start airgeddon, I see this message "No graphics system was detected"

This message appears when airgeddon can't connect to your X Windows System for whatever reason. Maybe you have a restricted configuration. From airgeddon>=11.11 the message is self-explanatory. The tool will detect if there is an existing graphics system (X windows or Wayland) and it will suggest a command to be executed before launching airgeddon.

Try; launching the command xhost + before launching airgeddon if you have an X Windows system. Try; to launch the command xhost +SI:localuser:root before launching airgeddon if you have Wayland graphics. That should fix the problem. More details are available here: Wayland section at wiki.

Maybe your system is headless (without a graphical system), or maybe you just want not to use it. In that case, other options are available. Tmux can be used instead of xterm. It can be set in the hidden .airgeddonrc file. More info about it here.


When I scan for wireless networks, no networks are found

This can happen to anybody due to a frozen wireless adapter and is usually solved by unplugging and replugging your USB wireless card. Sometimes could mean that the chipset of your adapter is not a good one. But it can also happen for well working and compatible chipsets under special circumstances: the most probable scenario where this is happening while using a working and compatible chipset is when you are using airgeddon inside a VM (Virtual Machine) and typically this happens in VirtualBox for some adapters (typically some Ralink RTxxxx chipsets).

Quick (and painful) fixes:

  • Use native Linux
  • Use VMware

This problem does not usually occur in VMWare or using native Linux running on hardware, not in a VM.

Another workaround would be to try changing the USB speed. Either plug your USB wifi card into a different USB port (from 2.0 to 3.0, or to 1.1 or vice versa if available) or change the USB speed settings within your VM (from 2.0 to 3.0 or vice versa). It's also recommended to power off the VM to do these changes. If using VirtualBox, its also recommended to install the Extension Pack from here.


When I use a non-latin-chars language like chinese, I see odd chars on xterm windows

This happens due to your xterm configuration. It has a very easy fix. Edit /etc/X11/app-defaults/XTerm file and add this line to the end of the file:

xterm*faceName: DejaVu Sans Mono:antialias=True:pixelsize=10

I've lost Internet access when launched non-captive portal Evil Twin attack. Why?

When launching an Evil Twin attack that differs from the captive portal, access to the Internet is necessary for the attack to be effective. Depending on the interface providing internet access, it is possible to lose that access upon launching the attack, making it ineffective. This issue arises due to airgeddon's interaction with Network Manager and is likely because the Internet access is provided by a wireless interface.

A simple solution is to obtain Internet access through an Ethernet interface. Network Manager does not affect Internet access on these types of interfaces, ensuring there will be no issues.

Another solution is to configure airgeddon with the option AIRGEDDON_FORCE_NETWORK_MANAGER_KILLING set to "false". This will prevent Network Manager from disrupting the Internet connection. It can be set from the "Options & language menu", or in the hidden .airgeddonrc file. More info about how to do it here. In addition, some tweaking will still be needed because, after setting this option, Network Manager is now affecting the interface that is creating the fake AP during the attack. Therefore, besides changing the option mentioned above, it is necessary to run the command nmcli device set <interface> managed no on the fake AP wireless interface used during the Evil Twin attack. This will stop Network Manager from managing the specified interface, preventing issues when launching the attack and keeping the AP active. As a result, the Evil Twin attack can be carried out flawlessly using a wireless interface providing Internet access.


I'm having problems deauthing (DoS) or creating an AP on 5Ghz

If your issue occurs only on 5Ghz networks, it's likely that your regulatory domain is not properly set. From airgeddon>=11.11, an integrated check ensures this before launching any Evil Twin attack. Use the command iw reg get to check the current configuration, and iw reg set XX (where XX is your country code) to set it. For example, for Spain, the command would be iw reg set ES. After setting it, verify with iw reg get, and if it's correct, try deauthing on your 5Ghz target again.

A common symptom of misconfiguration is when DoS attacks on 5Ghz channels fail entirely, or the fake AP created in hostapd shows errors or warnings about DFS or radar channels. After setting the country code correctly, try the attack again. However, success is not guaranteed, as explained below.

Bear in mind that even with the country code set, certain 5Ghz channels may be unavailable due to country-specific restrictions, such as DFS (Dynamic Frequency Selection) channels. If the target network operates on one of these restricted channels, the attack may not succeed. Attempting to bypass this by setting a country code that doesn't match your actual location might be illegal. To avoid legal issues, check the list of available channels and frequencies in your country. The airgeddon team always encourages you to respect the law.

Clone this wiki locally