处理服务器关于MySQL中udf.dll 提权入侵处理方法
首先在服务器桌面创建一个.TXT文件,名称随意,然后复制下面代码保存,最后修改.txt的扩展名为.bat文件,双击运行.bat文件即可。
批处理代码:
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.dl