GG资源网

阿里云ECS关闭删除阿里云盾(安骑士)方法收集汇总

大家好,这里是关于[centos系统阿里云服务器卸载关闭删除安骑士阿里云盾AliYunDun],[阿里云ECS关闭删除阿里云盾(安骑士)方法收集汇总]问题的解答,希望对您有所帮助。如果你还想了解更多这方面的信息,请关注本站其他相关内容,共同学习吧!

centos系统阿里云服务器卸载关闭删除安骑士阿里云盾AliYunDun

教程大全AliYunDun,安骑士卸载,阿里云盾

centos系统阿里云服务器卸载关闭删除安骑士阿里云盾AliYunDun

自用教程,排版可能乱点,有需要的凑活看下。

方式一:关闭删除AliYunDun服务

使用 chkconfig –list 查看开机启动里面这个软件的服务名是什么,然后替换掉 xxx 然后执行就可以了。如果想开机不启动的话,chkconfig –del xxxx 这个 xxxx 就是你找出来的 aliyundun 的后台服务。

service aegis stop #停止服务
chkconfig --del aegis # 删除服务

方式二:卸载云盾监控屏蔽IP

卸载阿里云盾监控

wget http://update.aegis.aliyun.com/download/uninstall.sh
sh uninstall.sh
wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh
sh quartz_uninstall.sh

删除目录残留

pkill aliyun-service
rm -fr /etc/init.d/agentwatch /usr/sbin/aliyun-service
rm -rf /usr/local/aegis*

屏蔽云盾 IP

iptables -I INPUT -s 140.205.201.0/28 -j DROP
iptables -I INPUT -s 140.205.201.16/29 -j DROP
iptables -I INPUT -s 140.205.201.32/28 -j DROP
iptables -I INPUT -s 140.205.225.192/29 -j DROP
iptables -I INPUT -s 140.205.225.200/30 -j DROP
iptables -I INPUT -s 140.205.225.184/29 -j DROP
iptables -I INPUT -s 140.205.225.183/32 -j DROP
iptables -I INPUT -s 140.205.225.206/32 -j DROP
iptables -I INPUT -s 140.205.225.205/32 -j DROP
iptables -I INPUT -s 140.205.225.195/32 -j DROP
iptables -I INPUT -s 140.205.225.204/32 -j DROP

iptables -I INPUT -s 140.205.201.0/28 -j DROP
iptables -I INPUT -s 140.205.201.16/29 -j DROP
iptables -I INPUT -s 140.205.201.32/28 -j DROP
iptables -I INPUT -s 140.205.225.192/29 -j DROP
iptables -I INPUT -s 140.205.225.200/30 -j DROP
iptables -I INPUT -s 140.205.225.184/29 -j DROP
iptables -I INPUT -s 140.205.225.183/32 -j DROP
iptables -I INPUT -s 140.205.225.206/32 -j DROP
iptables -I INPUT -s 140.205.225.205/32 -j DROP
iptables -I INPUT -s 140.205.225.195/32 -j DROP
iptables -I INPUT -s 140.205.225.204/32 -j DROP
iptables -I INPUT -s 140.205.201.0/28 -j DROP
iptables -I INPUT -s 140.205.201.16/29 -j DROP
iptables -I INPUT -s 140.205.201.32/28 -j DROP
iptables -I INPUT -s 140.205.225.192/29 -j DROP
iptables -I INPUT -s 140.205.225.200/30 -j DROP
iptables -I INPUT -s 140.205.225.184/29 -j DROP
iptables -I INPUT -s 140.205.225.183/32 -j DROP
iptables -I INPUT -s 140.205.225.206/32 -j DROP
iptables -I INPUT -s 140.205.225.205/32 -j DROP
iptables -I INPUT -s 140.205.225.195/32 -j DROP
iptables -I INPUT -s 140.205.225.204/32 -j DROP
iptables -I INPUT -s 106.11.224.0/26 -j DROP
iptables -I INPUT -s 106.11.224.64/26 -j DROP
iptables -I INPUT -s 106.11.224.128/26 -j DROP
iptables -I INPUT -s 106.11.224.192/26 -j DROP
iptables -I INPUT -s 106.11.222.64/26 -j DROP
iptables -I INPUT -s 106.11.222.128/26 -j DROP
iptables -I INPUT -s 106.11.222.192/26 -j DROP

以上两部分云盾IP来自于网络,自行进行鉴别。

下面是备份的另一个教程

默认使用Root账户登录,所以第一步视情况而定
sudo su root
1
停止aegis服务
service aegis stop
1
删除aegis服务
chkconfig --del aegis
1
下载卸载文件
wget http://update.aegis.aliyun.com/download/uninstall.sh
1
对卸载程序授权并运行
chmod +x uninstall.sh
./uninstall.sh
1
2
下载授权卸载quartz
wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh
chmod +x _uninstall.sh
./quartz_uninstall.sh
1
2
3
杀死aliyun-service
pkill aliyun-service
1
清除相关文件
rm -fr /etc/init.d/agentwatch /usr/sbin/aliyun-service
rm -rf /usr/local/aegis*
1
2
至此卸载任务大功告成,接下来,屏蔽屏蔽云盾IP

iptables -I INPUT -s 140.205.201.0/28 -j DROP
iptables -I INPUT -s 140.205.201.16/29 -j DROP
iptables -I INPUT -s 140.205.201.32/28 -j DROP
iptables -I INPUT -s 140.205.225.192/29 -j DROP
iptables -I INPUT -s 140.205.225.200/30 -j DROP
iptables -I INPUT -s 140.205.225.184/29 -j DROP
iptables -I INPUT -s 140.205.225.183/32 -j DROP
iptables -I INPUT -s 140.205.225.206/32 -j DROP
iptables -I INPUT -s 140.205.225.205/32 -j DROP
iptables -I INPUT -s 140.205.225.195/32 -j DROP
iptables -I INPUT -s 140.205.225.204/32 -j DROP
iptables -I INPUT -s 140.205.201.0/28 -j DROP
iptables -I INPUT -s 140.205.201.16/29 -j DROP
iptables -I INPUT -s 140.205.201.32/28 -j DROP
iptables -I INPUT -s 140.205.225.192/29 -j DROP
iptables -I INPUT -s 140.205.225.200/30 -j DROP
iptables -I INPUT -s 140.205.225.184/29 -j DROP
iptables -I INPUT -s 140.205.225.183/32 -j DROP
iptables -I INPUT -s 140.205.225.206/32 -j DROP
iptables -I INPUT -s 140.205.225.205/32 -j DROP
iptables -I INPUT -s 140.205.225.195/32 -j DROP
iptables -I INPUT -s 140.205.225.204/32 -j DROP
iptables -I INPUT -s 106.11.224.0/26 -j DROP
iptables -I INPUT -s 106.11.224.64/26 -j DROP
iptables -I INPUT -s 106.11.224.128/26 -j DROP
iptables -I INPUT -s 106.11.224.192/26 -j DROP
iptables -I INPUT -s 106.11.222.64/26 -j DROP
iptables -I INPUT -s 106.11.222.128/26 -j DROP
iptables -I INPUT -s 106.11.222.192/26 -j DROP

阿里云ECS关闭删除阿里云盾(安骑士)方法收集汇总

使用阿里云ECS的站长们应该都知道所有的阿里云ECS里都被自动安装了阿里云盾(安骑士)的WAF防火墙,就明月的经验和观察来看基本是没有啥卵用的,唯一的用处就是记录一些所谓的漏洞、扫描/注入攻击以便在阿里云后台提示用户购买使用收费版“安骑士”服务。可以说这玩意儿除了是阿里云营销“套路”调用获取数据外基本没有什么用的,摆设的感觉非常强烈。

图片来自学习笔记Blog【imydl.tech】

作为一名Linux服务器运维人员,保持一定程度的“洁癖”还是很有必要的,既然是没有卵用的东西,自然就要关停掉,作为一个常驻后台的进程始终给人的感觉怪怪的。明月其实已经注意这货很久了,以前是担心会对阿里云服务有影响,后来发现仅仅是个摆设而已,所以就度娘、谷姐一番关闭这货。

不搜索不知道,竟然有那么多站长们都已经关闭和清除阿里云盾(安骑士)了,并且好像方法还有好多种呢,明月对网上流传的这些方法做了一个汇总整理,就当是学习笔记收藏分享出来,大家可以根据自己的情况选择使用, CentOS 的话,明月建议可以参考“方法二”。

图片来自学习笔记Blog【imydl.tech】

方法一

  • 卸载阿里云盾监控

wget http://update.aegis.aliyun.com/download/uninstall.sh
sh uninstall.sh
wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh
sh quartz_uninstall.sh

  • 删除残留

pkill aliyun-service
rm -fr /etc/init.d/agentwatch /usr/sbin/aliyun-service
rm -rf /usr/local/aegis*

  • 屏蔽云盾 IP

iptables -I INPUT -s 140.205.201.0/28 -j DROPiptables -I INPUT -s 140.205.201.16/29 -j DROPiptables -I INPUT -s 140.205.201.32/28 -j DROPiptables -I INPUT -s 140.205.225.192/29 -j DROPiptables -I INPUT -s 140.205.225.200/30 -j DROPiptables -I INPUT -s 140.205.225.184/29 -j DROPiptables -I INPUT -s 140.205.225.183/32 -j DROPiptables -I INPUT -s 140.205.225.206/32 -j DROPiptables -I INPUT -s 140.205.225.205/32 -j DROPiptables -I INPUT -s 140.205.225.195/32 -j DROPiptables -I INPUT -s 140.205.225.204/32 -j DROP

方法二

  • CentOS 关闭AliYunDun

使用chkconfig --list查看开机启动里面这个软件的服务名是什么,然后替换掉xxx然后执行就可以了;

如果想开机不启动的话,chkconfig --del xxxx这个xxxx就是你找出来的aliyundun的后台服务。

service aegis stop #停止服务chkconfig --del aegis # 删除服务

方法三

阿里云服务器查杀关闭云盾进程

图片来自学习笔记Blog【imydl.tech】

查杀关闭云盾进程处理过程如下:

图片来自学习笔记Blog【imydl.tech】

删除阿里云登录界面欢迎信息

就莫名的不爽,于是查了一下 vim /etc/motd 就可以编辑/删除倒数第二行的 Welcome to Alibaba Cloud Elastic Compute Service ! 欢迎信息了。

#s3gt_translate_tooltip_mini { display: none !important; }#s3gt_translate_tooltip_mini { display: none !important; }#s3gt_translate_tooltip_mini { display: none !important; }

由于网站搬家,部分链接失效,如无法下载,请联系站长!谢谢支持!
1. 带 [亲测] 说明源码已经被站长亲测过!
2. 下载后的源码请在24小时内删除,仅供学习用途!
3. 分享目的仅供大家学习和交流,请不要用于商业用途!
4. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
5. 本站所有资源来源于站长上传和网络,如有侵权请邮件联系站长!
6. 没带 [亲测] 代表站长时间紧促,站长会保持每天更新 [亲测] 源码 !
7. 盗版ripro用户购买ripro美化无担保,若设置不成功/不生效我们不支持退款!
8. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
9. 如果你也有好源码或者教程,可以到审核区发布,分享有金币奖励和额外收入!
10.如果您购买了某个产品,而我们还没来得及更新,请联系站长或留言催更,谢谢理解 !
GG资源网 » 阿里云ECS关闭删除阿里云盾(安骑士)方法收集汇总

发表回复

CAPTCHAis initialing...