|
网管教你如何预防提权
udf.dll提权简单防护策略 删除udf.dll和langouster_udf.dll,新建udf.dll和langouster_udf.dll设为只读,权限上限制 可防止所有langouster_udf.dll专用网马 Code: net stop mysql del %SystemRoot%\system32\udf.dll /A/F/Q del %SystemRoot%\udf.dll /A/F/Q del %SystemRoot%\temp\udf.dll /A/F/Q dir %SystemRoot%\system32\com > %SystemRoot%\system32\udf.dll dir %SystemRoot%\system32\com > %SystemRoot%\udf.dll dir %SystemRoot%\system32\com > %SystemRoot%\temp\udf.dll attrib +R +S +H %SystemRoot%\system32\udf.dll attrib +R +S +H %SystemRoot%\udf.dll attrib +R +S +H %SystemRoot%\temp\udf.dll cscript.exe xcacls.vbs "%SystemRoot%\system32\udf.dll" /D Everyone:M /E cscript.exe xcacls.vbs "%SystemRoot%\udf.dll" /D Everyone:M /E cscript.exe xcacls.vbs "%SystemRoot%\temp\udf.dll" /D Everyone:M /E del %SystemRoot%\system32\langouster_udf.dll /A/F/Q del %SystemRoot%\langouster_udf.dll /A/F/Q del %SystemRoot%\temp\langouster_udf.dll /A/F/Q dir %SystemRoot%\system32\com > %SystemRoot%\system32\langouster_udf.dll dir %SystemRoot%\system32\com > %SystemRoot%\langouster_udf.dll dir %SystemRoot%\system32\com > %SystemRoot%\temp\langouster_udf.dll attrib +R +S +H %SystemRoot%\system32\langouster_udf.dll attrib +R +S +H %SystemRoot%\langouster_udf.dll attrib +R +S +H %SystemRoot%\temp\langouster_udf.dll cscript.exe xcacls.vbs "%SystemRoot%\system32\langouster_udf.dll" /D Everyone:M /E cscript.exe xcacls.vbs "%SystemRoot%\langouster_udf.dll" /D Everyone:M /E cscript.exe xcacls.vbs "%SystemRoot%\temp\langouster_udf.dll" /D Everyone:M /E net start mysql
|
|||||||||||||||
|
|
| 最新文章 |
| 图片主题 | ||||
| |
||||
| 热门文章 |
| 推荐文章 | ||||
| |
||||
| 相关文章 |
| 便民服务 | ||||||||||||||||||||||||||||||||
| |
||||||||||||||||||||||||||||||||