文章内容

LINUX下ARP病毒

来源:    2008-1-16 20:28:14 网友评论 0 条 字体:[ ] 我要投稿
常常看到Windows下的朋友可以悠然的用软件防止ARP攻击,似乎用Linux的朋友就束手无策。Linux连这方面的软件都少的可怜,是Linux下没有病毒吗?其实在Linux下也是有一些病毒的,比如说蠕虫病毒就十分猖獗,而且危害极大。现在局域网ARP攻击似乎没有以前厉害了,不过还是有一些的,于是发现了一个东东可以有些帮助。

当有人告诉你一堆命令符,比如说是可以捆定MAC和IP,但是我也使用过,并没有见到什么奇效。下面是一个基于命令行的工具,可以试试。当然这一般是配置服务器的人安全用的,不过只有几百K,我们也可以借来用用。在任何Linux发行版上都可以用,而且命令也一样。

1、首先要安装:
Ubuntu版里的安装:

zhancang@ubuntu:~$ sudo apt-get install ettercap

字串1


其它Linux版的安装:

去http://ettercap.sourceforge.net下载。
zhancang@ubuntu:~$ tar -xf ettercap-0.6.tar.gz
zhancang@ubuntu:~$ cd ettercap-0.6
zhancang@ubuntu:~$ ./configure
zhancang@ubuntu:~$ make
zhancang@ubuntu:~$ make install(要用root权限)

2、Ettercap使用:
可以使用帮助来察看命令符。

zhancang@ubuntu:~$ ettercap --help 字串6

ettercap NG-0.7.3 copyright 2001-2004 ALoR & NaGA


Usage: ettercap [OPTIONS] [TARGET1] [TARGET2]

TARGET is in the format MAC/IPs/PORTs (see the man for further detail)

Sniffing and Attack options:
  -M, --mitm <METHOD:ARGS>    perform a mitm attack
  -o, --only-mitm             don't sniff, only perform the mitm attack
  -B, --bridge <IFACE>        use bridged sniff (needs 2 ifaces)
  -p, --nopromisc             do not put the iface in promisc mode
  -u, --unoffensive           do not forward packets
  -r, --read <file>           read data from pcapfile <file>
  -f, --pcapfilter <string>   set the pcap filter <string> 字串8
  -R, --reversed              use reversed TARGET matching
  -t, --proto <proto>         sniff only this proto (default is all)

User Interface Type:
  -T, --text                  use text only GUI
       -q, --quiet                 do not display packet contents
       -s, --script <CMD>          issue these commands to the GUI
  -C, --curses                use curses GUI
  -G, --gtk                   use GTK+ GUI
  -D, --daemon                daemonize ettercap (no GUI)
字串5


Logging options:
  -w, --write <file>          write sniffed data to pcapfile <file>
  -L, --log <logfile>         log all the traffic to this <logfile>
  -l, --log-info <logfile>    log only passive infos to this <logfile>
  -m, --log-msg <logfile>     log all the messages to this <logfile>
  -c, --compress              use gzip compression on log files

Visualization options:
  -d, --dns                   resolves ip addresses into hostnames
  -V, --visual <format>       set the visualization format
  -e, --regex <regex>         visualize only packets matching this regex
字串8

  -E, --ext-headers           print extended header for every pck
  -Q, --superquiet            do not display user and password

General options:
  -i, --iface <iface>         use this network interface
  -I, --iflist                show all the network interfaces
  -n, --netmask <netmask>     force this <netmask> on iface
  -P, --plugin <plugin>       launch this <plugin>
  -F, --filter <file>         load the filter <file> (content filter)
  -z, --silent                do not perform the initial ARP scan
  -j, --load-hosts <file>     load the hosts list from <file> 字串1
  -k, --save-hosts <file>     save the hosts list to <file>
  -W, --wep-key <wkey>        use this wep key to decrypt wifi packets
  -a, --config <config>       use the alterative config file <config>

Standard options:
  -U, --update                updates the databases from ettercap website
  -v, --version               prints the version and exit
  -h, --help                  this help screen


zhancang@ubuntu:~$

更详细的命令符可以用下面命令察看。

zhancang@ubuntu:~$ man ettercap

字串2


或者
zhancang@ubuntu:~$ info ettercap

最后多一句:任何东西都是双刃性的,请自觉维护网络安全!


上一篇:explorer.exe
下一篇:“AV终结者/8749” 木马专杀工具
→ 本栏搜索

  • Google qjdx.net
→ 推荐文章
     
   网站首页 - 网站简介网站地图RSS订阅

曲靖电信瑞星用户联盟 版权所有 Copyright 2008, qjdx.net, All Rights Reserved