第三部分 物以类聚,人以群分:分组(Groups)
致谢:部分文件分组和规则来自Spbic和Happyday2 的EQSecure规则,RD规则大部分来自Tony 的GSS规则,在此表示谢意。
要高效的设置Defense+规则,必须先分组。对不同的程序进行分组,对不同的文件进行分组,对不同的注册表项目进行分组、对不同的COM接口进行分组。
通过改变组成员的组成,通过给组分配不同的预设规则,通过组合不同的对象组,可以制定非常灵活的规则,在现有架构下尽量达到我的要求。
图20

1. My Protected Files (FD)
在Defense+ -> Advanced -> My Protected Files -> Groups... 可以看到Defense+预设的一些文件组。接下来,我们要做的就是在这里添加大量的组和成员,完善已有的组。
图21

在此之前,我先介绍一下My Protected Files
简单的说,Defense+ 只保护My Protected Files里的文件。换句话说,我们要保护什么文件和目录,必须添加到My Protected Files 。
我的建议,对于新人,可以到Defense+ Settings 里禁用文件保护,文件保护会给新人造成很多麻烦。尤其Defense+ 的文件保护是全局性质的,如可执行文件,这对于以HIPS为辅助的新人,过于严厉。我建议或者禁用文件保护,或者删掉Executables ,自己添加需要保护的目录。
作为高级用户,我个人是全局保护所有文件,外加重点保护某些目录和文件。
我的My Protected Files 保护项目列表:
*\*.*
表示所有带后缀名的文件,还有带.的目录。 简称所有文件。主要是因为现在Defense+ FD还不支持目录,变通的方法。如果使用?:\* 会有很多目录操作提示,太麻烦,也不需要。病毒一般都是文件操作,新建目录没关系,借助Pending Files 追踪可执行文件,也可以看到新建的目录,然后资源管理器删除掉。
FD_WinDir Windows目录
%windir%\* 监视在Windows目录下创建文件和目录。系统所在目录属于重点保护目录,所以连目录操作也包括进来,你还可以模仿添加自己需要重点保护的目录。
FD_Executables 可执行文件
在原有基础上,补充了很多后缀名, 属于重点保护文件。具体后面介绍。
FD_Important Files/Folders 重要的文件和目录
在原有基础上,补充了一些文件和目录,属于重点保护文件和目录。具体后面介绍。
FD_Startup Folders 开始菜单启动目录
FD_COMODO Files/Folders COMODO安装目录
FD_3rd Party Protocol Drivers 第三方协议驱动
FD_My Protected Files 私人文件
图22

2. File Groups(文件分组)
我的文件分组,主要用于文件保护FD(Files Proetction)、应用程序保护AD(Applications Protection) 和 程序组AG(Applications Groups),所以我会给组名加上前缀,这样便于区分和使用。
FD_... 表示这个组用于文件保护FD
AD_... 表示这个组用于应用程序保护AD
AG_... 表示一个程序组,具有相似的行为,可以使用相同的规则
有些组可能暂时用不上,因为我尝试过不同思路。 这些可以保留,也许以后会用到。
有些是不能照搬的,模仿和拓展思路,自己添加和修改就可以咯。
我的文件分组列表:
All Applications 所有程序
*
FD_Executables FD_可执行文件
*.exe
*.dll
*.sys
*.ocx
*.drv
*.lmz
*.olb
*.vxd
*.inf
*.js
*.vbs
*.vbe
*.bat
*.cmd
*.com
*.pif
*.scr
*.cpl
*.chm
*.hta
*.htr
*.hlp
*.msc
*.msi
*.msp
*.wsf
*.wsh
*.jar
*.jse
*.wmf
*.shs
*.ins
*.hiv
可执行文件保护,增加了很多后缀名。
FD_WinDir FD_Windows目录
%windir%\*
FD_Important Files/Folders FD_重要的文件和目录
%windir%\system32\*
%windir%\system32\drivers\etc\*
%windir%\servicing\*
%windir%\system.ini
%windir%\win.ini
%windir%\wininit.ini
%windir%\winstart.bat
%windir%\Tasks\*
\Device\HarddiskVolume?
\Device\HarddiskVolume?\autoexec.bat
\Device\HarddiskVolume?\config.sys
\Device\HarddiskVolume?\boot.ini
\Device\HarddiskVolume?\bootfont.bin
\Device\HarddiskVolume?\ntdetect.com
\Device\HarddiskVolume?\ntldr
%ProgramFiles%\Common Files\Microsoft Shared\MSINFO\*
*.gho
*\autorun.inf
%ProgramFiles%\DefenseWall\*
%ProgramFiles%\EQSysSecure\*
%ProgramFiles%\Filseclab\*
%ProgramFiles%\Internet Explorer\*
%ProgramFiles%\Returnil\*
%ProgramFiles%\Windows Media Player\*
FD_重要的文件和目录 这里可以加入ghost文件、杀软目录、autorun.inf、病毒通常建新文件的目录
临时文件目录
FD_Temporary Files FD_临时文件
C:\OperaCache\*
%temp%\*
?:\Documents and Settings\*\Local Settings\Temporary Internet Files\*
?:\RECYCLE?\d*
?:\RECYCLE?\*\d*
临时文件目录:Opera缓存目录、系统临时目录、IE临时目录、回收站
FD_UserProfile Allow FD_用户文档和设置目录 允许
?:\Documents and Settings\*\Cookies\index.dat
?:\Documents and Settings\*\Cookies\*.txt
?:\Documents and Settings\*\Favorites\*.url
?:\Documents and Settings\*\Recent\index.dat
?:\Documents and Settings\*\Recent\*.lnk
?:\Documents and Settings\*\UserData\index.dat
?:\Documents and Settings\*\UserData\*.xml
?:\Documents and Settings\*\Local Settings\History\*\index.dat
?:\Documents and Settings\*\Local Settings\History\History.IE5\MSHist*
用户的Documents and Settings 下允许创建Cookies、收藏夹、最近的文档、历史信息
FD_UserProfile Block FD_用户文档和设置目录 阻止
?:\Documents and Settings\*\Cookies\*
?:\Documents and Settings\*\Favorites\*
?:\Documents and Settings\*\Recent\*
?:\Documents and Settings\*\UserData\*
?:\Documents and Settings\*\Local Settings\History\*
用户的Documents and Settings 下Cookies、Favorites、Recent、UserData、History禁止创建其它类型文件
FD_Application Data FD_AppData目录
?:\Documents and Settings\*\Application Data\*
?:\Documents and Settings\*\Local Settings\Application Data\*
FD_WinDir Allow FD_Windows目录 允许
%windir%\msgtn.ini
%windir%\psnetwork.ini
%windir%\powerplayer.ini
%windir%\Sti_Trace.log
%windir%\WindowsUpdate.log
%windir%\Debug\UserMode\ChkAcc.log
%windir%\Debug\UserMode\ChkAcc.bak
%windir%\inf\*.pnf
%windir%\LastGood\TMP*.tmp
%windir%\Prefetch\*.pf
%windir%\system32\cid_store.dat
%windir%\system32\catroot2\dberr.txt
%windir%\system32\catroot2\edb*.log
%windir%\system32\catroot2\tmp.edb
%windir%\system32\drivers\SET*.tmp
%windir%\system32\drivers\disk.sys
%windir%\system32\drivers\usbstor.sys
*\Thumbs.db
*\Thumbs.db:encryptable
允许修改的Windows目录下的文件,例外规则
FD_Browser Allow FD_浏览器 允许
%temp%\opr???.tmp.exe
%userprofile%\Application Data\Mozilla\Firefox\Profiles\*\FlashGot.exe
%userprofile%\Application Data\Mozilla\Firefox\Profiles\*\prefs*.js
%userprofile%\Application Data\Mozilla\Firefox\Profiles\*\sessionstore*.js
%userprofile%\Application Data\Mozilla\Firefox\Profiles\*\extensions\*\install.js
%userprofile%\Application Data\Mozilla\Firefox\Profiles\*\extensions\*\chrome\*.jar
%userprofile%\Application Data\Mozilla\Firefox\Profiles\*\extensions\*\components\*.js
%userprofile%\Application Data\Mozilla\Firefox\Profiles\*\extensions\*\defaults\preferences\*.js
%userprofile%\Application Data\Macromedia\Flash Player\macromedia.com
允许浏览器修改的文件,例外规则
FD_Thunder Allow FD_迅雷 允许
%programfiles%\Thunder\ComDlls\TDAtOnce*.dll
%programfiles%\Thunder\ComDlls\ThunderAgent*.dll
%programfiles%\Thunder\ComDlls\XunLeiBHO*.dll
%programfiles%\Thunder\Program\Update\DsXlCom*.exe
%programfiles%\Thunder\Program\Update\PPlayerSetup*.exe
%programfiles%\Thunder\Program\Update\Update.dat
%programfiles%\Thunder\Program\UpdateShell.dll
%windir%\system32\pub_store.dat
允许迅雷修改的文件,例外规则
FD_Downloads FD_下载目录
F:\downloads\software\*
F:\leaktests\*
F:\virus\*
H:\eMule\*
允许浏览器和下载工具访问的目录
FD_My Documents FD_我的文档目录和桌面
%userprofile%\My Documents\*
%userprofile%\Desktop\*
D:\My Documents\*
FD_Program Files FD_程序目录
%programfiles%\*
D:\Program Files\*
FD_Startup Folders FD_开始菜单启动
?:\Documents and Settings\*\Start Menu\Programs\Startup\*
?:\Documents and Settings\*\「开始」菜单\程序\启动\*
?:\Documents and Settings\*\「開始」功能表\程式集\啟動\*
%windir%\system32\GroupPolicy\Machine\Scripts\Startup\*
%windir%\system32\GroupPolicy\User\Scripts\Logon\*
FD_COMODO Files/Folders FD_COMODO安装目录
C:\Program Files\COMODO\Firewall*
C:\Documents and Settings\All Users\Application Data\Comodo*
FD_3rd Party Protocol Drivers FD_第三方协议驱动
\Device\NPF_*
\Device\Ndisuio
\Device\NdisTapi
FD_Sysbackup FD_系统备份
G:\*
I:\*
*.gho
系统备份目录
FD_NonSystem I FD_非系统盘 I
D:\*
E:\*
F:\*
H:\*
J:\*
非系统盘,包括根目录
FD_NonSystem II FD_非系统盘 II
D:\*\*
E:\*\*
F:\*\*
H:\*\*
J:\*\*
非系统盘,不包括根目录
FD_My Protected Files FD_私人文件
\Device\Harddisk0\DR0
\Device\Harddisk1\DR1
%programfiles%\cFosSpeed\*
%ProgramFiles%\WinRAR\*
C:\BOOT\*
D:\Downloads\*
D:\My Documents\*
D:\Opera\*
FD_Pictures FD_图形文件
*.jpg
*.png
*.bmp
FD_SystemDriver FD_系统盘
C:\*
FD_NamedPipe FD_命名管道
\Device\NamedPipe\lsass
\Device\NamedPipe\ntsvcs
\Device\NamedPipe\Win32Pipes
\Device\NamedPipe\Adobe LM Service
\Device\NamedPipe\pgpserv
\Device\NamedPipe\ROUTER
除了测试,一般用不到,我也没有什么可以说的,占个位置而已。
FD_Devices FD_设备驱动服务
\Device\Harddisk
\Device\CdRom
\Device\LanmanRedirector
\Device\USBFDO-0
\Device\USBFDO-1
\Device\Tcp
\Device\Udp
\Device\Ip
\Device\RawIp
\Device\Afd
\Device\PhysicalMemory
\Device\Harddisk0\DR0
\Device\Harddisk1\DR1
\Device\MountPointManager
除了测试,一般用不到,我也没有什么可以说的,占个位置而已。
AD_Blacklist folders I AD_黑名单目录 I
?:\RECYCLE?\*
?:\System Volume Information\*
*\Local Settings\Temp\*
*\Local Settings\Temporary Internet Files\*
%ProgramFiles%\Common Files\Microsoft Shared\MSINFO\*
C:\OperaCache\*
禁止运行临时文件目录、回收站、系统还原目录下的程序
AD_Blacklist folders II AD_黑名单目录 II
%temp%\*
%windir%\downloaded program files\*
%windir%\temp\*
禁止运行临时文件目录下的程序
AD_Blacklist Programs AD_黑名单程序
*.com
*\cmd.exe
*\ntvdm.exe
*\attrib.exe
*\cscript.exe
*\wscript.exe
*\mshta.exe
*\ntoskrnl.exe
*\regedit.exe
*\regsvr32.exe
*\taskkill.exe
*\at.exe
*\hh.exe
*\sc.exe
*\format.*
*\debug.exe
*\Cacls.exe
*\command.com
*\conime.exe
*\net.exe
*\net1.exe
*\netsh.exe
*\netstat.exe
*\telnet.exe
*\tftp.exe
*\tasklist.exe
*\diskpart.exe
*\mmc.exe
*\msconfig.exe
*\ntsd.exe
*\schtasks.exe
*\replace.exe
*\realsched.exe
*\TIMPlatform.exe
*\QQUpdateCenter.exe
禁止运行一些常被病毒调用的程序
AD_All Hooks AD_所有钩子
%windir%\system32\*.dll
%programfiles%\*\*.dll
%programfiles%\*\*.exe
%programfiles%\*\*.ocx
简化全局钩子规则
AD_Windows Hooks AD_Windows钩子
%windir%\system32\msctf.dll
%windir%\system32\browseui.dll
%windir%\system32\ieframe.dll
官方规则的三个Windows 钩子
AD_Whitelist AD_白名单
%windir%\notepad.exe
%windir%\system32\calc.exe
%windir%\system32\control.exe
%windir%\system32\ctfmon.exe
%windir%\system32\drwtsn32.exe
%windir%\system32\dumprep.exe
%windir%\system32\dwwin.exe
%windir%\system32\freecell.exe
%windir%\system32\mspaint.exe
%windir%\system32\notepad.exe
%windir%\system32\sndvol32.exe
%windir%\system32\sol.exe
%windir%\system32\spider.exe
%windir%\system32\taskmgr.exe
%windir%\system32\userinit.exe
%windir%\system32\verclsid.exe
%windir%\system32\winmine.exe
允许常见的Windows程序
AG_Windows System Applications AG_Windows系统程序组
System
%windir%\system32\smss.exe
%windir%\system32\csrss.exe
%windir%\system32\winlogon.exe
%windir%\system32\services.exe
%windir%\system32\spoolsv.exe
%windir%\system32\lsass.exe
AG_Windows Updater Applications AG_Windows升级程序组
%windir%\system32\svchost.exe
%windir%\system32\wuauclt.exe
%windir%\system32\wupdmgr.exe
AG_COMODO Firewall Pro AG_COMODO防火墙
%programfiles%\COMODO\Firewall\cfp.exe
%programfiles%\COMODO\Firewall\cmdagent.exe
%programfiles%\COMODO\Firewall\cfplogvw.exe
%programfiles%\COMODO\Firewall\cfpupdat.exe
%programfiles%\COMODO\Firewall\cfpsbmit.exe
%programfiles%\COMODO\Firewall\cfpconfg.exe
%programfiles%\COMODO\Firewall\crashrep.exe
AG_Filseclab AG_杀毒软件
%programfiles%\Filseclab\Twister\Twister.exe
%programfiles%\Filseclab\Twister\psview.exe
%programfiles%\Filseclab\Twister\PowerRmv.exe
%programfiles%\Filseclab\Twister\spifix.exe
%commonprogramfiles%\Filseclab\FilUp.exe
%commonprogramfiles%\Filseclab\FilMsg.exe
%commonprogramfiles%\Filseclab\CertReg.exe
%commonprogramfiles%\Filseclab\CabArc.Exe
%commonprogramfiles%\Filseclab\SimpMsg.exe
%commonprogramfiles%\Filseclab\UserReg.exe
杀软分组示例
AG_DefenseWall AG_沙盘
%programfiles%\DefenseWall\defensewall.exe
%windir%\system32\defensewall_serv.exe
沙盘分组示例
AG_EQSecure AG_其它HIPS
%programfiles%\EQSysSecure\EQSysSecure.exe
%programfiles%\EQSysSecure\EQService.exe
其它HIPS分组示例
AG_Network Applications AG_网络程序组
%programfiles%\WinRAR\WinRAR.exe
%programfiles%\Thunder\Thunder.exe
%programfiles%\Thunder\Program\Thunder5.exe
%userprofile%\Application Data\Mozilla\Firefox\Profiles\*\FlashGot.exe
D:\Program Files\Opera 9.5\opfinder.exe
D:\Program Files\Opera 9.5\oget\oget.exe
D:\Program Files\Opera 9.5\oget\flashgot.exe
%windir%\system32\winhlp32.exe
%programfiles%\Internet Explorer\iexplore.exe
D:\Program Files\Opera\Opera.exe
D:\Program Files\Opera 9.5\opera.exe
%programfiles%\Mozilla Firefox\firefox.exe
%programfiles%\Mozilla Firefox\updater.exe
%programfiles%\Mozilla Firefox\xpicleanup.exe
%programfiles%\TVKoo\viviplay.exe
%programfiles%\TVKoo\Update.exe
%programfiles%\SopCast\SopCast.exe
%programfiles%\SopCast\adv\SopAdver.exe
%programfiles%\PPStream\PPStream.exe
%programfiles%\PPLive\PPLive.exe
%programfiles%\TVAnts\Tvants.exe
%programfiles%\TVUPlayer\TVUPlayer.exe
%programfiles%\TVUPlayer\AutoUpgrade.exe
%programfiles%\Lingoes\Translator2\Lingoes.exe
%programfiles%\Lingoes\Translator2\lgsupd.exe
%programfiles%\feidianTV\P2PPlayer.exe
%programfiles%\feidianTV\UpgradeP2PClient_211.exe
%programfiles%\eMule\emule.exe
%programfiles%\BitSpirit\BitSpirit.exe
%programfiles%\BitSpirit\SPParser.exe
网络程序调用的子程序
AG_Safe'n'Sec AG_智能HIPS
%programfiles%\S.N.Safe&Software\Safe'n'Sec Pro\protect.exe
%programfiles%\S.N.Safe&Software\Safe'n'Sec Pro\safensec.exe
%programfiles%\S.N.Safe&Software\Safe'n'Sec Pro\snsassist.exe
%programfiles%\S.N.Safe&Software\Safe'n'Sec Pro\snsmcon.exe
%programfiles%\S.N.Safe&Software\Safe'n'Sec Pro\snsnotify.exe
%programfiles%\S.N.Safe&Software\Safe'n'Sec Pro\snsupd.exe
犀牛分组示例
图23

My Protected Registry Keys(RD)
注册表保护,也是要先在My Protected Registry Keys 添加相应的项和键
我的注册表保护列表:
Automatic Startup 自动运行
Important Keys 其它重要项
System Drivers Services 系统设置驱动服务
Internet Explorer Keys IE浏览器
Special Registry 特殊项
Security Policies 安全策略
Terminal Server
File Associations 文件关联
Networking 网络相关
COMODO Keys COMODO
Debug Keys 映像劫持
Protocols 网络协议
Shell Icons 系统图标
图24

我的注册表分组列表:
Automatic Startup 自动运行
*\Software\Microsoft\Windows\CurrentVersion\Run*
*\Software\Microsoft\Windows NT\CurrentVersion\Windows\Run*
*\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run*
*\Software\Microsoft\Command Processor\AutoRun
*\Software\Microsoft\Windows NT\CurrentVersion\Windows\Load
*\Software\Policies\Microsoft\Windows\System\Scripts\*
*\Software\Microsoft\Windows\CurrentVersion\Policies\System\Shell\*
*\Software\Microsoft\Windows NT\CurrentVersion\IniFileMapping\*
*\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\*
*\Software\Microsoft\Windows NT\CurrentVersion\WOW\boot\*
*\Software\Microsoft\Windows NT\CurrentVersion\WOW\NonWindowsApp\*
*\Software\Microsoft\Windows NT\CurrentVersion\WOW\standard\*
*\Software\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayLoad\*
*\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\*
*\Software\Policies\Microsoft\Windows\System\Scripts\Startup
*\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Startup
*\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Startup
*\Software\Microsoft\Internet Explorer\URLSearchHooks\*
HKLM\System\ControlSet???\Control\Session Manager\BootExecute
HKLM\System\CurrentControlSet\Control\Session Manager\BootExecute
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Accessibility\Utility Manager\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellExecuteHooks\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs
HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs
HKLM\Software\Microsoft\Active Setup\Installed Components\*\StubPath
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GinaDLL
HKLM\SYSTEM\ControlSet???\Control\Session Manager\PendingFileRenameOperations
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
HKEY_CURRENT_USER\Control Panel\Desktop\SCRNSAVE.EXE
HKLM\SYSTEM\ControlSet???\Control\WOW\*
HKLM\SYSTEM\CurrentControlSet\Control\WOW\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows\*
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\*\Shell\*
Important Keys 其它重要项
HKLM\SYSTEM\ControlSet???\Services\*
*\Software\Classes\?\shellex\ContextMenuHandlers\*
*\Software\Classes\*file\shell\*\command\*
*\Software\Classes\.exe\*
*\Software\Classes\.bat\*
*\Software\Classes\.com\*
*\Software\Classes\.cmd\*
*\Software\Classes\.reg\*
*\Software\Classes\.scr\*
*\Software\Classes\.vbs\*
*\Software\Classes\.vbe\*
*\Software\Classes\.pif\*
*\Software\Classes\.jar\*
*\Software\Classes\.js\*
*\Software\Classes\.pif\*
*\Software\Classes\.cpl\*
*\Software\Classes\.txt\*
*\Software\Classes\.ini\*
*\Software\Classes\.lnk\*
*\Software\Classes\.html\*
*\Software\Classes\.htm\*
*\Software\Classes\.doc\*
*\Software\Classes\.xls\*
*\Software\Classes\.ppt\*
*\Software\Classes\.rtf\*
*\Software\Classes\.hta\*
*\Software\Classes\.gif\*
*\Software\Classes\.jpg\*
*\Software\Classes\.png\*
*\Software\Classes\.mdb\*
*\Software\Classes\.eml\*
*\Software\Classes\.mp3\*
*\Software\Classes\.shs\*
*\Software\Classes\.wsh\*
*\Software\Classes\.rar\*
*\Software\Classes\.zip\*
*\Software\Classes\.jpeg\*
*\Software\Classes\.Folder\*
*\Software\Classes\Shell*
*\Software\Classes\Unknown\Shell*
*\Software\Classes\Folder\Shell*
*\Software\Classes\?\Shell\*
*\Software\Classes\mailto\shell\open\command\*
*\Software\Classes\*\ShellNew
*\Software\Classes\*\Shell\*\Command*
*\Software\Classes\Directory\Shell*
*\Software\Classes\*\NeverShowExt
*\Software\Classes\*\AlwaysShowExt
*\Software\Microsoft\Driver Signing\Policy
*\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe\*
*\Software\Classes\CLSID\{7EFFAAFF-EA0A-1A3A-CBCD-F13522D53649}\InProcServer32\*
*\Software\Policies\*
HKUS\*\Environment\Path
HKUS\*\Control Panel\Desktop\SCRNSAVE.EXE
HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\SharedTaskScheduler\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\*
HKLM\Software\Classes\Folder\shellex\ColumnHandlers\*
HKLM\Software\Classes\Protocols\Filter\*
HKLM\Software\Classes\Protocols\Handler\*
System Drivers Services 系统设置驱动服务
HKLM\SYSTEM\ControlSet???\Services\*
HKLM\SYSTEM\CurrentControlSet\Services\*
HKLM\SYSTEM\ControlSet???\Control\SafeBoot\*
HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\*
HKLM\System\ControlSet???\Control\BackupRestore\*
HKLM\System\CurrentControlSet\Control\BackupRestore\*
HKLM\System\ControlSet???\Control\ComputerName\*
HKLM\System\CurrentControlSet\Control\ComputerName\*
HKLM\SYSTEM\ControlSet???\Control\GroupOrderList\*
HKLM\SYSTEM\CurrentControlSet\Control\GroupOrderList\*
HKLM\SYSTEM\ControlSet???\Control\Lsa\*
HKLM\SYSTEM\CurrentControlSet\Control\Lsa\*
HKLM\System\ControlSet???\Control\MprServices\*
HKLM\System\CurrentControlSet\Control\MprServices\*
HKLM\System\ControlSet???\Control\Print\Monitors\*
HKLM\System\CurrentControlSet\Control\Print\Monitors\*
HKLM\SYSTEM\ControlSet???\Control\ServiceGroupOrder\*
HKLM\SYSTEM\CurrentControlSet\Control\ServiceGroupOrder\*
HKLM\System\ControlSet???\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318}\*
HKLM\System\CurrentControlSet\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318}\*
HKLM\Software\Microsoft\Ole*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Svchost\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Drivers\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Drivers32\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\WOW\boot\*
Internet Explorer Keys IE浏览器
*\Software\Microsoft\Internet Domains\*
*\Software\Microsoft\Internet Explorer\Main\Default_Page_URL
*\Software\Microsoft\Internet Explorer\Main\Default_Search_URL
*\Software\Microsoft\Internet Explorer\Main\Enable Browser Extensions
*\Software\Microsoft\Internet Explorer\Main\First Home Page
*\Software\Microsoft\Internet Explorer\Main\HOMEOldSP
*\Software\Microsoft\Internet Explorer\Main\Local Page
*\Software\Microsoft\Internet Explorer\Main\Start Page
*\Software\Microsoft\Internet Explorer\Main\Start Page_bak
*\Software\Microsoft\Internet Explorer\Main\Use Custom Search URL
*\Software\Microsoft\Internet Explorer\Main\Window Title
*\Software\Microsoft\Internet Explorer\Main\FeatureControl\*
*\Software\Microsoft\Internet Explorer\Main\Search*
*\Software\Microsoft\Internet Explorer\AboutURLs\*
*\Software\Microsoft\Internet Explorer\Activex Compatibility\*
*\Software\Microsoft\Internet Explorer\AdvancedOptions\*
*\Software\Microsoft\Internet Explorer\Desktop\Components\*
*\Software\Microsoft\Internet Explorer\Explorer Bars\*
*\Software\Microsoft\Internet Explorer\Extensions\*
*\Software\Microsoft\Internet Explorer\MenuExt\*
*\Software\Microsoft\Internet Explorer\Plugins\*
*\Software\Microsoft\Internet Explorer\Search\*
*\Software\Microsoft\Internet Explorer\SearchUrl*
*\Software\Microsoft\Internet Explorer\Styles\*
*\Software\Microsoft\Internet Explorer\Toolbar\*
*\Software\Microsoft\Internet Explorer\UrlSearchHooks\*
*\Software\Microsoft\Windows\CurrentVersion\Internet Settings\AutoConfigProxy
*\Software\Microsoft\Windows\CurrentVersion\Internet Settings\CertificateRevocation
*\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Special Paths\Cookies\*
*\Software\Microsoft\Windows\CurrentVersion\Internet Settings\MinLevel
*\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable
*\Software\Microsoft\Windows\Currentversion\Internet Settings\Security_RunActiveXControls
*\Software\Microsoft\Windows\Currentversion\Internet Settings\Security_RunScripts
*\Software\Microsoft\Windows\Currentversion\Internet Settings\Safety Warning Level
*\Software\Microsoft\Windows\Currentversion\Internet Settings\Trust Warning Level
*\Software\Microsoft\Windows\CurrentVersion\Internet Settings\SafeSites\*
*\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Security*
*\Software\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent\*
*\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Warnon*
*\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\*
*\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\*
*\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\ProtocolDefaults\*
*\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\User Agent\*
*\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\*
*\Software\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\*
*\Software\Microsoft\Windows\CurrentVersion\Wintrust\Trust Providers\Software Publishing\*
*\Software\Clients\StartMenuInternet\*
*\Software\Microsoft\Windows\CurrentVersion\URL\*
*\Software\Classes\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\Shell\OpenHomePage\Command\*
HKLM\Software\Microsoft\Internet Explorer\Registration\ProductID
HKLM\Software\Microsoft\Code Store Database\Distribution Units\*
HKCR\Protocols\Handler\*
HKCR\Protocols\Filter\*
Special Registry 特殊项
*\Software\Classes\CLSID\{E6FB5E20-DE35-11CF-9C87-00AA005127ED}\*
HKEY_CURRENT_USER\Control Panel\don't load\*
HKEY_CURRENT_USER\Environment\*
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\*
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows\Programs
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayload*
HKLM\Software\Clients\Mail\*\Protocols\mailto*
HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Control Panel\don't load\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellExecuteHooks\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\SharedTaskScheduler\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\*
HKLM\Software\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayLoad\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Extensions\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Imagefile Execution Options\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Secedit\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Defaultpassword
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\ReportBootOk
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SFC*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\UIHost
HKLM\System\ControlSet???\Control\Session Manager\AllowProtectedRenames
HKLM\System\CurrentControlSet\Control\Session Manager\AllowProtectedRenames
HKLM\System\ControlSet???\Control\BootVerificationProgram\ImagePath
HKLM\System\CurrentControlSet\Control\BootVerificationProgram\ImagePath
HKLM\System\ControlSet???\Control\Session Manager\Memory Management\EnforceWriteProtection
HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management\EnforceWriteProtection
HKLM\System\ControlSet???\Control\Session Manager\ExcludeFromKnownDlls
HKLM\System\CurrentControlSet\Control\Session Manager\ExcludeFromKnownDlls
HKLM\System\ControlSet???\Control\Session Manager\Environment\*
HKLM\System\CurrentControlSet\Control\Session Manager\Environment\*
HKLM\System\ControlSet???\Control\Session Manager\Execute
HKLM\System\CurrentControlSet\Control\Session Manager\Execute
HKLM\System\ControlSet???\Control\Session Manager\KnownDlls*
HKLM\System\CurrentControlSet\Control\Session Manager\KnownDlls*
HKLM\System\ControlSet???\Control\Session Manager\SetupExecute
HKLM\System\CurrentControlSet\Control\Session Manager\SetupExecute
HKLM\System\ControlSet???\Control\Session Manager\SubSystems\*
HKLM\System\CurrentControlSet\Control\Session Manager\SubSystems\*
HKLM\System\ControlSet???\Control\VirtualDeviceDrivers\VDD
HKLM\System\CurrentControlSet\Control\VirtualDeviceDrivers\VDD
HKLM\System\ControlSet???\Control\Wmi\Globallogger*
HKLM\System\CurrentControlSet\Control\Wmi\Globallogger*
HKLM\System\LastKnownGoodRecovery*
HKLM\System\MountedDevices\*
Security Policies 安全策略
HKEY_CURRENT_USER\Control Panel\Desktop\*
HKEY_CURRENT_USER\Software\Policies\Microsoft\*
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\General\Wallpaper
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\EnforceShellExtensionSecurity
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hid*
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\No*
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Documents\HideMyDocsFolder
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\IncludeSubFolders
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Search*
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellState
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\*
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore\*
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows\Open
HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\HideFileExt\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\SuperHidden\*
HKLM\Software\Microsoft\Windows\CurrentVersion\NetCache\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall\*
HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\WindowsUpdate\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore\DisableSR
HKLM\Software\Policies\Microsoft\Windows\*
HKLM\System\ControlSet???\Services\Sharedaccess\Parameters\FirewallPolicy\*
HKLM\System\CurrentControlSet\Services\Sharedaccess\Parameters\FirewallPolicy\*
*\Software\Microsoft\Security Center\*
*\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced*
*\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\*
*\Software\Microsoft\Windows\CurrentVersion\Policies\System\*
Terminal Server
HKLM\Software\Microsoft\Terminal Server Client\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Drivers32\Terminal Server\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\MCI32\Terminal Server\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\*
HKLM\SYSTEM\ControlSet???\Control\Terminal Server\*
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\*
File Associations 文件关联
HKCR\.bat\*
HKCR\.cmd\*
HKCR\.exe\*
HKCR\.txt\*
HKCR\.ini\*
HKCR\.lnk\*
HKCR\.pif\*
HKCR\.html\*
HKCR\.com\*
HKCR\.doc\*
HKCR\.htm\*
HKCR\.gif\*
HKCR\.hta\*
HKCR\.jpg\*
HKCR\.js\*
HKCR\.mdb\*
HKCR\.mp3\*
HKCR\.png\*
HKCR\.ppt\*
HKCR\.rtf\*
HKCR\.shs\*
HKCR\.vbs\*
HKCR\.vbe\*
HKCR\.wsh\*
HKCR\.xls\*
HKCR\.zip\*
HKCR\.eml\*
HKCR\.cpl\*
HKCR\.reg\*
HKCR\.jpeg\*
HKCR\.scr\*
HKCR\Shell*
HKCR\Unknown\Shell*
HKCR\Folder\Shell*
HKCR\?\Shell\*
HKCR\*\ShellNew
HKCR\*\Shell\*\Command*
HKCR\Directory\Shell*
HKCR\*\NeverShowExt
HKCR\*\AlwaysShowExt
HKCR\CLSID\{7EFFAAFF-EA0A-1A3A-CBCD-F13522D53649}\InProcServer32\*
Networking 网络相关
HKLM\System\ControlSet???\Services\Winsock2\*
HKLM\System\CurrentControlSet\Services\Winsock2\*
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Network\*
HKLM\System\ControlSet???\Services\Tcpip\Parameters\DataBasePath
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\DataBasePath
HKLM\System\ControlSet???\Services\Tcpip\Parameters\Interfaces\*
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\*
HKLM\System\ControlSet???\Control\Session Manager\UserAgent
HKLM\System\CurrentControlSet\Control\Session Manager\UserAgent
HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent\Post Platform\*
HKLM\Software\Microsoft\Ras*
COMODO Keys COMODO自我保护
HKLM\System\Software\Comodo*
*\Software\Comodo*
Debug Keys 映像劫持
HKLM\Software\Microsoft\Windows NT\CurrentVersion\AeDebug\*
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution\*
Protocols 网络协议
HKLM\Software\Classes\Protocols\Filter\*
HKLM\Software\Classes\Protocols\Handler\*
Shell Icons 系统图标
HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons*
*\Software\Classes\*file\DefaultIcon
*\Software\Classes\CLSID\*\DefaultIcon
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\*\DefaultIcon
图25

My Protected COM Interface(COM接口保护)
这里没做修改,直接用默认的。
Internet Explorer/Windows Shell
InternetExplorer.Application.*
Outlook.Application.*
Microsoft.XMLHTTP
{8856F961-340A-11D0-A96B-00C04FD705A2}
{FBF23B40-E3F0-101B-8488-00AA003E56F8}
{9BA05972-F6A8-11CF-A442-00A0C90A8F39}
{75048700-EF1F-11D0-9888-006097DEACF9}
Windows Management
{4590F811-1D3A-11D0-891F-00AA004B2E24}
{4991D34B-80A1-4291-83B6-3328366B9097}
Pseudo COM Interfaces - Privileges
LocalSecurityAuthority.Backup
LocalSecurityAuthority.Restore
LocalSecurityAuthority.Debug
LocalSecurityAuthority.Shutdown
LocalSecurityAuthority.SystemEnvironment
LocalSecurityAuthority.SystemTime
Pseudo COM Interfaces - Important Ports
\RPC Control\ntsvcs
\RPC Control\wzcsvc
\RPC Control\spoolss
Miscellaneous Classes
{B69003B3-C55E-4B48-836C-BC5946FC3B28}
{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}
{0002E012-0000-0000-C000-000000000046}
{EE140200-0000-0000-C000-000000000046}
{9BA05972- F6A8- 11CF- A442-00A0C90A8F39}
图26
 |