安全检测 - 下篇

ICMP timestamp请求响应漏洞

现象

初始时间戳:00000000
接收时间戳:00c7a04e
传递时间戳:00c7a04e

调查

http://centoshowtos.org/network-and-security/icmp-timestamps/

解决方式

iptables -t filter -I INPUT -p ICMP –icmp-type timestamp-request -j DROP
iptables -t filter -I INPUT -p ICMP –icmp-type timestamp-reply -j DROP

允许Traceroute探测

http://serverfault.com/questions/216801/prevent-ssh-from-advertising-its-version-number/216806

iptables -A INPUT -p ICMP –icmp-type timestamp-reply -j DROP

ssh version可以看到

现象

查到ssh版本为SSH-2.0-OpenSSH_7.2

调查

这个确实不好搞了呀,貌似不探测怎么进行双方建立联系。

很难

探测到SSH服务器支持的算法

远端MySQL服务器版本

现象

版本为: 5.7.13

解决方式

iptables -t filter -I INPUT 1 -s 192.168.55.35/32 -p tcp –dport 3306 -j ACCEPT
iptables -t filter -I INPUT 2 -s 127.0.0.1/32 -p tcp –dport 3306 -j ACCEPT
iptables -t filter -I INPUT 3 -p tcp –dport 3306 -j DROP

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值