728x90
๋ฐ์ํ
https://redteam.coffee/woot/nac-bypass-cheatsheet
NAC Bypass Cheatsheet | Ikigai
This post lists down a few of the techniques which can be used to bypass Network Access Control solutions(NAC).
redteam.coffee
macchanger
macchanger -m XX:XX:XX:XX:XX:XX
randommac.py
#!/usr/bin/python
import subprocess
import sys
import threading
import time
class MyThread (threading.Thread):
die = False
def __init__(self, name):
threading.Thread.__init__(self)
def run(self):
while not self.die:
print "changing MAC Adress \n\n" + (time.ctime())
subprocess.call(["sudo","ifconfig","eth0","down"]) # change interface if required
subprocess.call(["sudo","macchanger","-A","eth0"]) # change interface if required
subprocess.call(["sudo","ifconfig","eth0","up"]) # change interface if required
print "MAC Changed\n"
time.sleep(50) # mac adress will change in 50 seconds.
def join(self):
self.die = True
print "bye"
sys.exit(1)
if __name__ == '__main__':
f = MyThread('first')
f.start()
try:
while True:
time.sleep(2)
except KeyboardInterrupt:
f.join()
728x90
๋ฐ์ํ
'๐์ ๋ณด๋ณด์ > ๋คํธ์ํฌ ๋ณด์' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
๋คํธ์ํฌ ๋ณด์ - HTTP ํธ๋ํฝ ๋ถ์ ํ๋ก์(mitmproxy) (0) | 2024.05.04 |
---|---|
๋คํธ์ํฌ ๋ณด์ - WebRTC(IP leak issue), NAT, ICE, STUN, TURN (1) | 2024.04.05 |
๋คํธ์ํฌ ๋ณด์ - Snort ๋ช ๋ น์ด ๋ชจ์ (0) | 2024.03.17 |
๋คํธ์ํฌ ๋ณด์ - Snort ์นผ๋ฆฌ๋ฆฌ๋ ์ค 1.0 ์ค์น (0) | 2023.11.17 |
๋คํธ์ํฌ ๋ณด์ - Snort ์๋์ฐ ์ค์น (0) | 2023.11.17 |