服务器关于MySQL中udf.dll 提权入侵处理方法

本文提供了处理服务器上MySQL中udf.dll提权入侵的方法。通过创建并运行.bat批处理文件,停止MySQL服务,删除相关恶意dll文件,并恢复权限设置,最后重启MySQL服务,以确保系统安全。

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

处理服务器关于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.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

希望这篇文章能够帮到大家,本文转载于:https://www.kuishouyun.com

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值