【Vegas原创】公司做的杀dll.dll病毒的DAT文件

本文提供了一个用于手动查杀特定计算机病毒的批处理脚本。脚本首先记录病毒查杀前的状态,然后终止相关进程并删除病毒文件,最后通过复制、设置文件属性等操作修复受影响的文件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. look_c_virus.bat(查毒)

@del result.txt
@echo "********查杀前***********" >>result.txt
@dir svhost32.exe logo1_.exe rundl132.exe dll.dll mskey16.dll ztdll.dll tdll.dll msdll.dll bwdll.dll dllwm.dll revtemp.exe 2sy.exe 5sy.exe 6sy.exe logo1.exe 3sy.exe 1sy.exe //>>result.txt
@dir svhost32.exe logo1_.exe rundl132.exe dll.dll mskey16.dll ztdll.dll tdll.dll msdll.dll bwdll.dll dllwm.dll revtemp.exe 2sy.exe 5sy.exe 6sy.exe logo1.exe 3sy.exe 1sy.exe //s
@pause


2.重启Exploer

tskill explorer
@start "c:\windows\explorer.exe" /min
start d
:


3. 杀毒


tskill svhost32
tskill logo1_
tskill rundl132
tskill rundll32
del result
.txt

@Regedit /L:C:\Windows\ /R:C:\Windows\Profiles\ /D HKEY_LOCAL_MACHINE\Software\Soft\DownloadWWW
@Regedit /L:C:\Windows\ /R:C:\Windows\Profiles\ /D HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\WIndows\load
@Regedit /L:C:\Windows\ /R:C:\Windows\Profiles\ /D HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
@rem ***********删除病毒************
@del "c:\Program Files\svhost32.exe" //f
@del "c:\Program Files\micorsoft\svhost32.exe" //f
pause

@del "c:\windows\logo1_.exe"  //f
@del "c:\windows\rund1132.exe"  //f
pause
@del "c:\windows\rundl132.exe"  //f
@del "c:\windows\intel\rundl132.exe"  //f
@del "c:\windows\dll.dll"  //f
@del "C:\WINDOWS\system32\mskey16.dll" //f
@del "C:\WINDOWS\system32\ztdll.dll" //f
@del "C:\WINDOWS\system32\tdll.dll" //f
@del "C:\WINDOWS\system32\msdll.dll" //f
@del "c:\windows\system32\bwdll.dll" //f
@del "C:\WINDOWS\system32\dllwm.dll" //f
@del "C:\WINDOWS\system32\revtemp.exe" //f
@del "C:\program files\svhost32.exe" //f
@del "C:\WINDOWS\command\rundll32.exe" //f
@del "c:\program files\intel\rundll32.exe" //f
@del "c:\program files\intel\svhost32.exe" //f
@del "C:\Program Files\ Microsoft\svhost32.exe" //f
@del "c:\program files\internet explorer\2sy.exe" //f
@del "c:\program files\internet explorer\5sy.exe" //f
@del "c:\program files\internet explorer\6sy.exe" //f
@del "C:\windows\1sy.exe" //f
@del "C:\WIndows\3sy.exe" //f
@del "C:\windows\logo1.exe" //f
@del "C:\winnt\1sy.exe" //f
@del "C:\WInnt\3sy.exe" //f
@del "C:\winnt\logo1.exe" //f
@pause
@rem ***********复制文件************

@copy 1.txt "c:\Program Files\svhost32.exe"
@copy 1.txt "c:\Program Files\micorsoft\svhost32.exe"

@copy 1.txt "c:\windows\logo1_.exe" 
@copy 1.txt "c:\windows\rund1132.exe" 
@copy 1.txt "c:\windows\rundl132.exe" 
@copy 1.txt "c:\windows\intel\rundl132.exe" 
@copy 1.txt "c:\windows\dll.dll" 
@copy 1.txt "C:\WINDOWS\system32\mskey16.dll"
@copy 1.txt "C:\WINDOWS\system32\ztdll.dll"
@copy 1.txt "C:\WINDOWS\system32\tdll.dll"
@copy 1.txt "C:\WINDOWS\system32\msdll.dll"
@copy 1.txt "c:\windows\system32\bwdll.dll"
@copy 1.txt "C:\WINDOWS\system32\dllwm.dll"
@copy 1.txt "C:\WINDOWS\system32\revtemp.exe"
@copy 1.txt "C:\program files\svhost32.exe"
@copy 1.txt "C:\WINDOWS\command\rundll32.exe"
@copy 1.txt "c:\program files\intel\rundll32.exe"
@copy 1.txt "c:\program files\intel\svhost32.exe"
@copy 1.txt "C:\Program Files\ Microsoft\svhost32.exe"
@copy 1.txt "c:\program files\internet explorer\2sy.exe"
@copy 1.txt "c:\program files\internet explorer\5sy.exe"
@copy 1.txt "c:\program files\internet explorer\6sy.exe"
@copy 1.txt "C:\windows\1sy.exe"
@copy 1.txt "C:\WIndows\3sy.exe"
@copy 1.txt "C:\windwos\logo1.exe"
@pause
@rem ***********设置属性************

@attrib ++"c:\Program Files\svhost32.exe"                          
@attrib ++"c:\Program Files\micorsoft\svhost32.exe"                
                             
@attrib ++"c:\windows\logo1_.exe"                                  
@attrib ++"c:\windows\rund1132.exe"                                
@attrib ++"c:\windows\rundl132.exe"                                
@attrib ++"c:\windows\intel\rundl132.exe"                          
@attrib ++"c:\windows\dll.dll"                                    
@attrib ++"C:\WINDOWS\system32\mskey16.dll"                        
@attrib ++"C:\WINDOWS\system32\ztdll.dll"                          
@attrib ++"C:\WINDOWS\system32\tdll.dll"                           
@attrib ++"C:\WINDOWS\system32\msdll.dll"                          
@attrib ++"c:\windows\system32\bwdll.dll"                          
@attrib ++"C:\WINDOWS\system32\dllwm.dll"                          
@attrib ++"C:\WINDOWS\system32\revtemp.exe"                        
@attrib ++"C:\program files\svhost32.exe"                          
@attrib ++"C:\WINDOWS\command\rundll32.exe"                        
@attrib ++"c:\program files\intel\rundll32.exe"                    
@attrib ++"c:\program files\intel\svhost32.exe"                    
@attrib ++"C:\Program Files\ Microsoft\svhost32.exe"               
@attrib ++"c:\program files\internet explorer\2sy.exe"             
@attrib ++"c:\program files\internet explorer\5sy.exe"             
@attrib ++"c:\program files\internet explorer\6sy.exe"             
@attrib ++"C:\windows\1sy.exe"                                     
@attrib ++"C:\WIndows\3sy.exe"                                     
@attrib ++"C:\windwos\logo1.exe"     
@
@echo "success!"

@tskill cmd

start d
:

@pause

               

 

转载于:https://www.cnblogs.com/amadeuslee/archive/2006/10/24/3744708.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值