又有一位同学中招了,上次是中了Svch0st的招,这次是什么呢?中医讲究望、闻、切、问,前三个是用不上了,只好在QQ上问问病症了!(我算不算庸医呢?呼呼!)详细情况就是:杀完毒后双击硬盘打不开,弹出一个打开方式的对话框,只能通过右键打开硬盘。不用想~~肯定是AutoRun的问题。让这位同学删除所有的AutoRun.inf,结果还是不行,看来不太好删!
还是先看看AutoRun.inf里有什么吧
| [AutoRun] OPEN=svch0st.exe shell\open=打开(&O) shell\open\Command=svch0st.exe shell\open\Default=1 shell\explore=资源管理器(&X) shell\explore\Command=svch0st.exe |
又是Svch0st在做怪呀!这几行设定的作用是,无论双击还是按右键选择”打开”或是”资源管理器”,结果都会运行“svch0st.exe”,即使禁用了自动播放,系统依然会寻找Autorun.inf,写入“MountPoint2”,然后执行相关程序。
发了一个堆批处理语句给她,终于搞定了,代码如下:
| @echo on taskkill /im explorer.exe /f taskkill /im wscript.exe start reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\EXplorer\Advanced /v ShowSuperHidden /t REG_DWORD /d 1 /f start reg import kill.reg del c:\autorun.* /f /q /as del %SYSTEMROOT%\system32\autorun.* /f /q /as del d:\autorun.* /f /q /as del e:\autorun.* /f /q /as del f:\autorun.* /f /q /as del g:\autorun.* /f /q /as del h:\autorun.* /f /q /as del i:\autorun.* /f /q /as del j:\autorun.* /f /q /as del k:\autorun.* /f /q /as del l:\autorun.* /f /q /as start explorer.exe |
如果你的硬盘盘符不只这几个,请自行添加,估计没人能用的m、n、o、p、q啥的吧!
