Skip to content

Repo containing python code to alter the MAC address of an attacking machine to bypass filters.

License

Notifications You must be signed in to change notification settings

Anon4Now/mac-address-changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAC Address Changer

This tool can be used in conjunction with other red-team tactics to evade MAC address filtering by standard firewall configurations.

A couple example firewalls that use MAC Address filtering are in the links below:

Tool Functionality:

  • Will allow the generation of a random MAC address
  • Will allow the generation of a manually created MAC address
  • Will allow for the '-h or --help' flag to be provided for more information
  • This tool expects two arguments:
    • '-i or --interface' with default interface (e.g. eth0)
    • '-r or --random' with option 'random' OR '-s or --static' with manual MAC (e.g. 00:11:22:33:44:55)

Tool Requirements:

  • To use the default functionality of this tool, no additional libraries or modules are needed
  • This tool needs a small Python interpreter, v3.6 or higher due to string interpolation

Quick Notes:

  • This was designed in its current state to work with a Linux OS. However if desired it can be altered to fit a Windows OS, the subprocess calls will need to change
  • I wrote this with Python 2.7 capabilities as well, I commented out that code to avoid errors running in Python3

Resource Path:

rootdir:.
│   .gitignore
│   errors.py
│   LICENSE
│   mac_changer.py
│   README.md

Using the Tool:

Help Menu:

Run the binary or standalone exe and pass the '-h or --help flag'. help_check

Generate Random MAC Address:

Run the binary or standalone exe and pass the '-r or --random flag'. random_mac

Generate Static MAC Address:

Run the binary or standalone exe and pass the '-s or --static flag'. static_mac

About

Repo containing python code to alter the MAC address of an attacking machine to bypass filters.

Topics

Resources

License

Stars

Watchers

Forks

Languages