Board logo

标题: U盘病毒免疫 [打印本页]

作者: yotodo     时间: 2007-11-15 22:06    标题: U盘病毒免疫

由于最近U盘病毒疯狂!   在这里贴这个小批。。
没有地方上传只贴代码。。本工具只是免疫工具不是专杀。 希望高手有加入专杀!!
——————————————————————————————————————
@echo off
color 34
echo 按任何键开始免疫。。支持的盘有 C D E H G  
pause
cd\
c:
md autorun.inf
attrib +h autorun.inf
cd autorun.inf
mkdir yo...\
cd\

md copy.exe
attrib +h copy.exe
cd copy.exe
mkdir yo...\
cd\

md host.exe
attrib +h host.exe
cd host.exe
mkdir yo...\
cd\

md ntdelect.com
attrib +h ntdelect.com
cd ntdelect.com
mkdir yo...\
cd\

md sos.exe
attrib +h sos.exe
cd sos.exe
mkdir yo...\
cd\

d:
md autorun.inf
attrib +h autorun.inf
cd autorun.inf
mkdir yo...\
cd\

md copy.exe
attrib +h copy.exe
cd copy.exe
mkdir yo...\
cd\

md host.exe
attrib +h host.exe
cd host.exe
mkdir yo...\
cd\

md ntdelect.com
attrib +h ntdelect.com
cd ntdelect.com
mkdir yo...\
cd\

md sos.exe
attrib +h sos.exe
cd sos.exe
mkdir yo...\
cd\

e:
md autorun.inf
attrib +h autorun.inf
cd autorun.inf
mkdir yo...\
cd\

md copy.exe
attrib +h copy.exe
cd copy.exe
mkdir yo...\
cd\

md host.exe
attrib +h host.exe
cd host.exe
mkdir yo...\
cd\

md ntdelect.com
attrib +h ntdelect.com
cd ntdelect.com
mkdir yo...\
cd\

md sos.exe
attrib +h sos.exe
cd sos.exe
mkdir yo...\
cd\

f:
md autorun.inf
attrib +h autorun.inf
cd autorun.inf
mkdir yo...\
cd\

md copy.exe
attrib +h copy.exe
cd copy.exe
mkdir yo...\
cd\

md host.exe
attrib +h host.exe
cd host.exe
mkdir yo...\
cd\

md ntdelect.com
attrib +h ntdelect.com
cd ntdelect.com
mkdir yo...\
cd\

md sos.exe
attrib +h sos.exe
cd sos.exe
mkdir yo...\
cd\

h:
md autorun.inf
attrib +h autorun.inf
cd autorun.inf
mkdir yo...\
cd\

md copy.exe
attrib +h copy.exe
cd copy.exe
mkdir yo...\
cd\

md host.exe
attrib +h host.exe
cd host.exe
mkdir yo...\
cd\

md ntdelect.com
attrib +h ntdelect.com
cd ntdelect.com
mkdir yo...\
cd\

md sos.exe
attrib +h sos.exe
cd sos.exe
mkdir yo...\
cd\

g:
md autorun.inf
attrib +h autorun.inf
cd autorun.inf
mkdir yo...\
cd\

md copy.exe
attrib +h copy.exe
cd copy.exe
mkdir yo...\
cd\

md host.exe
attrib +h host.exe
cd host.exe
mkdir yo...\
cd\

md ntdelect.com
attrib +h ntdelect.com
cd ntdelect.com
mkdir yo...\
cd\

md sos.exe
attrib +h sos.exe
cd sos.exe
mkdir yo...\
cd\

cls

echo        本机免疫完成!!

pause

exit

[ Last edited by yotodo on 2007-11-15 at 10:30 PM ]
作者: gigi1     时间: 2007-11-15 23:28
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2
把这个主键设置任何人不可读,就免疫了,双击优盘也不会中毒
作者: gigi1     时间: 2007-11-15 23:30
http://www.helge.mynetcologne.de/setacl/
下载setacl
禁止
setacl CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 /registry /deny everyone /full
恢复
setacl CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 /registry /grant everyone /full