Getting in or getting OUT... what do you do when your network MAC has been blacklisted...Part1
* A. this is for education ... and will only used for education!!!
You see what most scanners or (Windows) system admins do on networks . Is to BLACKLIST your MAC address or monitor it ... I am going to show you how to ... unfuck yourself.
You see this is hard when you have a Windows OS ... on Linux different story.Lets use a example.
A bar close to my home decided that FREE wifi ... is not free when you start doing the things we do. Its easy to blacklist a MAC address.
This means that you can not access wifi or that you are getting "logged". You will either have limited or no access...What is a MAC address?A media access control address (MAC address) of a device is a unique identifier assigned to a network interface controller (NIC) for communications at the data link layer of a network segment. MAC addresses are used as a network address for most IEEE 802 network technologies, including Ethernet and Wi-Fi. In this context, MAC addresses are used in the medium access control protocol sublayer.
This means it your device "finger print" that associates your device to a network....All systems work like this LAN, Wifi and even GSM and LTE (that is for the later sometime) ;)
Install with apt-get As root or sudo run the following:apt-get install macchanger, had it installed so apt upgrade it ... thank you linux....You
1. apt-get (I use Kali and Ubuntu) Install a package called macchanger.
2. basic network commands iwconfig, ipconfig... and how to use it ...
3. When to change it ... you should always do this .... even when wardriving (WIFI Hacking)
4. Build your script. Linux bash scripting is easy to use.
5. Delete all evidence ... include in a purge log part / delete /var/log/messages
ith
You see this is hard when you have a Windows OS ... on Linux different story.Lets use a example.
A bar close to my home decided that FREE wifi ... is not free when you start doing the things we do. Its easy to blacklist a MAC address.
This means that you can not access wifi or that you are getting "logged". You will either have limited or no access...What is a MAC address?A media access control address (MAC address) of a device is a unique identifier assigned to a network interface controller (NIC) for communications at the data link layer of a network segment. MAC addresses are used as a network address for most IEEE 802 network technologies, including Ethernet and Wi-Fi. In this context, MAC addresses are used in the medium access control protocol sublayer.
This means it your device "finger print" that associates your device to a network....All systems work like this LAN, Wifi and even GSM and LTE (that is for the later sometime) ;)
Install with apt-get As root or sudo run the following:apt-get install macchanger, had it installed so apt upgrade it ... thank you linux....You
1. apt-get (I use Kali and Ubuntu) Install a package called macchanger.
2. basic network commands iwconfig, ipconfig... and how to use it ...
3. When to change it ... you should always do this .... even when wardriving (WIFI Hacking)
4. Build your script. Linux bash scripting is easy to use.
5. Delete all evidence ... include in a purge log part / delete /var/log/messages
ith
This means that this is installed.
2. Shutdown change and connect ...
Google is your friend ... google ifconfig , iwconfig . this is basic networking commands for devices.
Wifi : wlan0 or wlp3s0 on my ubuntu ... kali still uses wlan0
LAN : lan0 or enp0s25 on my ubuntu ... kali lan0 ... this might change,
wl -- wifi
lan -- network
I will use wifi as a example.
run the following :
ifconfig wlp3s0(or ifconfig wlan0 ... kali)
2. Shutdown change and connect ...
Google is your friend ... google ifconfig , iwconfig . this is basic networking commands for devices.
Wifi : wlan0 or wlp3s0 on my ubuntu ... kali still uses wlan0
LAN : lan0 or enp0s25 on my ubuntu ... kali lan0 ... this might change,
wl -- wifi
lan -- network
I will use wifi as a example.
run the following :
ifconfig wlp3s0(or ifconfig wlan0 ... kali)
ether is the Cool PART its your MAC address.
Now you need to shutdown the active device and change your MAC.
Run the following as root.
ifconfig wlp3s0 down
This will shutdown the device and allow you to change the config.
You will not see any response ... that is good.
The current MAC was :
Current MAC: 84:3a:4b:16:83:18
increase the 18 part to 19 ...lol.
06:27:33 root@osiris ~ → macchanger --mac 84:3a:4b:16:83:19 wlp3s0
Current MAC: 84:3a:4b:16:83:18 (Intel Corporate)
Permanent MAC: LOL NO.... (Intel Corporate)
New MAC: 84:3a:4b:16:83:19 (Intel Corporate)
FYI Permanent is your real MAC
Now you need to shutdown the active device and change your MAC.
Run the following as root.
ifconfig wlp3s0 down
This will shutdown the device and allow you to change the config.
You will not see any response ... that is good.
The current MAC was :
Current MAC: 84:3a:4b:16:83:18
increase the 18 part to 19 ...lol.
06:27:33 root@osiris ~ → macchanger --mac 84:3a:4b:16:83:19 wlp3s0
Current MAC: 84:3a:4b:16:83:18 (Intel Corporate)
Permanent MAC: LOL NO.... (Intel Corporate)
New MAC: 84:3a:4b:16:83:19 (Intel Corporate)
FYI Permanent is your real MAC
Reconnect to wifi hotspot and YES you will have access...!!!
Parts 4 and 5 I am busy building and will upload it on github... in a day or so ...;)



