关闭危险端口的批处理文件-代码如下:@echooffgpupdatenulremForClientonlyipconfig-wREG-pHFUT_SECU-o-xnulipconfig-wREG-pHFUT_SECU-xnulremipconfig-wREG-pHFUT_SECU-rBlockTCP/80-f*+0:80:TCP-nBLOCK-xnulremipconfig-wREG-pHFUT_SECU-rBlockUDP/1434-f*+0:1434:UDP-nBLOCK-xnulremipconfig-wREG-pHFUT_SECU-rBlockUDP/137-f*+0:137:UDP-nBLOCK-xnulremipconfig-wREG-pHFUT_SECU-rBlockUDP/138-f*+0:138:UDP-nBLOCK-xnulremecho禁止网上邻居的文件传输(去掉上述两行的REM即可生效!)remipconfig-wREG-pHFUT_SECU-rBlockTCP/139-f*+0:139:TCP-nBLOCK-xnulremecho禁止NetBIOS/SMB服务和文件和打印机共享和SAMBA(去掉REM生效)ipconfig-wREG-pHFUT_SECU-rBlockTCP/135-f*+0:135:TCP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockUDP/135-f*+0:135:UDP-nBLOCK-xnulecho禁止LocationService服务和防止Dos攻击…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/445-f*+0:445:TCP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockUDP/445-f*+0:445:UDP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockTCP/1025-f*+0:1025:TCP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockUDP/139-f*+0:139:UDP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockTCP/1068-f*+0:1068:TCP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockTCP/5554-f*+0:5554:TCP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockTCP/9995-f*+0:9995:TCP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockTCP/9996-f*+0:9996:TCP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockTCP/6129-f*+0:6129:TCP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockICMP/255-f*+0:255:ICMP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockTCP/43958-f*+0:43958:TCP-nBLOCK-xnulecho关闭流行危险端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/20034-f*+0:20034:TCP-nBLOCK-xnulecho关闭木马NetBusPro开放的端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/1092-f*+0:1092:TCP-nBLOCK-xnulecho关闭蠕虫LoveGate开放的端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/3996-f*+0:3996:TCP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockTCP/4060-f*+0:4060:TCP-nBLOCK-xnulecho关闭木马RemoteAnything开放的端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/4590-f*+0:4590:TCP-nBLOCK-xnulecho关闭木马ICQTrojan开放的端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/1080-f*+0:1080:TCP-nBLOCK-xnulecho禁止代理服务器扫描…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/113-f*+0:113:TCP-nBLOCK-xnulecho禁止AuthenticationService服务…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/79-f*+0:79:TCP-nBLOCK-xnulecho禁止Finger扫描…………OK!ipconfig-wREG-pHFUT_SECU-rBlockUDP/53-f*+0:53:UDP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockTCP/53-f*+0:53:TCP-nBLOCK-xnulecho禁止区域传递(TCP),欺骗DNS(UDP)或隐藏其他的通信…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/707-f*+0:707:TCP-nBLOCK-xnulecho关闭nachi蠕虫病毒监听端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/808-f*+0:808:TCP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockTCP/23-f*+0:23:TCP-nBLOCK-xnulecho关闭Telnet和木马TinyTelnetServer监听端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/520-f*+0:520:TCP-nBLOCK-xnulecho关闭Rip端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/1999-f*+0:1999:TCP-nBLOCK-xnulecho关闭木马程序BackDoor的默认服务端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/2001-f*+0:2001:TCP-nBLOCK-xnulecho关闭马程序黑洞2001的默认服务端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/2023-f*+0:2023:TCP-nBLOCK-xnulecho关闭木马程序Ripper的默认服务端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/2583-f*+0:2583:TCP-nBLOCK-xnulecho关闭木马程序Wincrashv2的默认服务端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/3389-f*+0:3389:TCP-nBLOCK-xnulecho关闭Windows的远程管理终端(远程桌面)监听端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/4444-f*+0:4444:TCP-nBLOCK-xnulecho关闭msblast冲击波蠕虫监听端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/4899-f*+0:4899:TCP-nBLOCK-xnulecho关闭远程控制软件(remoteadministrator)服务端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/5800-f*+0:5800:TCP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockTCP/5900-f*+0:5900:TCP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockTCP/8888-f*+0:8888:TCP-nBLOCK-xnulecho关闭远程控制软件VNC的两个默认服务端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/6129-f*+0:6129:TCP-nBLOCK-xnulecho关闭Dameware服务端默认监听端口(可变!)…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/6267-f*+0:6267:TCP-nBLOCK-xnulecho关闭木马广外女生的默认服务端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/660-f*+0:660:TCP-nBLOCK-xnulecho关闭木马DeepThroatv1.0-3.1默认服务端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/6671-f*+0:6671:TCP-nBLOCK-xnulecho关闭木马Indoctrination默认服务端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/6939-f*+0:6939:TCP-nBLOCK-xnulecho关闭木马PRIORITY默认服务端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/7306-f*+0:7306:TCP-nBLOCK-xnulecho关闭木马网络精灵默认服务端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/7511-f*+0:7511:TCP-nBLOCK-xnulecho关闭木马聪明基因的默认连接端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/7626-f*+0:7626:TCP-nBLOCK-xnulecho关闭木马冰河默认端口(注意可变!)…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/8011-f*+0:8011:TCP-nBLOCK-xnulecho关闭木马WAY2.4默认服务端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/9989-f*+0:9989:TCP-nBLOCK-xnulecho关闭木马InIkiller默认服务端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/19191-f*+0:19191:TCP-nBLOCK-xnulecho关闭木马兰色火焰默认开放的telnet端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/1029-f*+0:1029:TCP-nBLOCK-xnulipconfig-wREG-pHFUT_SECU-rBlockTCP/20168-f*+0:20168:TCP-nBLOCK-xnulecho关闭lovegate蠕虫所开放的两个后门端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/23444-f*+0:23444:TCP-nBLOCK-xnulecho关闭木马网络公牛默认服务端口…………OK!ipconfig-wREG-pHFUT_SECU-rBlockTCP/27374-f*+0:27374:TCP-nBLOCK-xnulecho关闭木马SUB7默认服务端口…………O