How to know if my Wi-Fi is being stolen in Linux


If you suspect that your Wi-Fi is being stolen in Linux, do not worry, as we bring you several solutions to detect and solve the problem

In these bad times that run and in a world in which it is becoming easier to steal Wi-Fi due to operating systems like Wifislax, there is growing concern that our Wi-Fi connection is being stolen.

If you have a Linux operating system and you want to know if your Wi-Fi is being stolen, you are in the right place, since we are going to teach you several ways step by step so you know if your Wi-Fi is secure or not.

Know my IP address and Wi-Fi gateway

The first of all is to know which is the IP of the equipment we are using. For it we are going to use the classic ifconfig command in which it will tell us both our IP address and our gateway (router address). Unless we are using another device connected to the Router, in principle, only the IP of our computer and the gateway should appear active.

Install and use NMap

NMap is a very good tool that will allow us to know which equipment is connected to our network. To install it we are going to execute the following command(only for operating systems with apt as repository).

sudo apt-get install nmap 

Remember that if you have the Debian operating system, you should put su in a separate command instead of sudo.

Now we are going to execute the following command in NMap, which will tell us which computers are active in our Network, replacing the word IP with the address of the router's gateway, for example

nmap -sP IP

Now among other things it will tell us the teams that are active within the IP that allows us to have the network mask. The normal thing is that there are only 2 active hosts (router and our PC).

If there are more active teams that you are not aware of, sSurely your Wi-Fi is being stolen.

Attack yourself

In the event that there is no intruder, we have not finished, since that does not mean that our computer is safe. Therefore, we are going to use Wifislax to attack ourselves and thus check if our network is secure. A while ago, we did a tutorial explaining how to do this.


If you detect that there are intruders in your network, you can play the game of the hunted hunter and know exactly who the attackers are. Using programs that come in distributions like Kali Linux and Wifislax, you can do network packet sniffing and man in the middle attacks to find out what these people are doing on your network and thus find out their identity.

Change password and make it secure

Once we are clear that our Wi-Fi network is not secure, vWe are going to take some measures to improve the security of it. We are going to access our router by putting the gateway in the Internet browser and accessing with the username and password that we were given (unless we have changed it). Here we can access the security part and change the password.

The tips that I give you to have a secure password are the following.

  • WPA2 security.
  • WPS disabled.
  • Strong password, with all kinds of characters.
  • Change the name of the network.

Finally, if you want to add more security, you can configure the firewall of your router and add some extra measures such as filtered by Mac if you want more security.

The content of the article adheres to our principles of editorial ethics. To report an error click here.

4 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *



  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Rowland Rojas said

    Linuxadictos shitting the neighbor's WIFI since 2016

  2.   Jose Briceno said

    Good afternoon, it would not be instead of the address of the gateway, the address of the network. For example: sudo nmap -sP if it is the whole network -

  3.   I have an erect penis said

    If you have the need to steal Wi-Fi, it clearly means that you are poor with low resources and a nobody who has to live as a parasite.

  4.   paradise said

    Thanks for the best post and I loved it most.