之前是拨号网络,有很多恶意SSH,现在刚换了条固定IP光纤,还是有SSH,这些是怎么来的,有更好的防范方法不
Wed Aug 30 09:17:50 2017: <188>Aug 30 09:18:29 2017 TCL_SZGWBN_H3C %%10SHELL/4/LOGINFAIL(l): SSH user failed to login from 217.197.240.117 on VTY0 due to source IP restriction.
Wed Aug 30 09:21:09 2017: <188>Aug 30 09:21:47 2017 TCL_SZGWBN_H3C %%10ATTACK/4/ATCKDF(l): atckType(1016)=(8)ICMP Redirect;rcvIfName(1023)=GigabitEthernet0/1;srcIPAddr(1017)=90.173.178.251;srcMacAddr(1021)= ;destIPAddr(1019)=x.x.x.x;destMacAddr(1022)= ;atckSpeed(1047)=0;atckTime_cn(1048)=20170830092147
Wed Aug 30 09:23:58 2017: <188>Aug 30 09:24:36 2017 TCL_SZGWBN_H3C %%10SHELL/4/LOGINFAIL(l): SSH user failed to login from 108.61.99.140 on VTY0 due to source IP restriction.
Wed Aug 30 09:28:09 2017: <188>Aug 30 09:28:47 2017 TCL_SZGWBN_H3C %%10ATTACK/4/ATCKDF(l): atckType(1016)=(8)ICMP Redirect;rcvIfName(1023)=GigabitEthernet0/1;srcIPAddr(1017)=90.173.178.251;srcMacAddr(1021)= ;destIPAddr(1019)=x.x.x.x;destMacAddr(1022)= ;atckSpeed(1047)=0;atckTime_cn(1048)=20170830092847
Wed Aug 30 09:34:58 2017: <188>Aug 30 09:35:36 2017 TCL_SZGWBN_H3C %%10ATTACK/4/ATCKDF(l): atckType(1016)=(3)Fraggle;rcvIfName(1023)=GigabitEthernet0/1;srcIPAddr(1017)=112.65.149.5;srcMacAddr(1021)= ;destIPAddr(1019)=x.x.x.x;destMacAddr(1022)= ;atckSpeed(1047)=0;atckTime_cn(1048)=20170830093536
Wed Aug 30 09:34:59 2017: <188>Aug 30 09:35:37 2017 TCL_SZGWBN_H3C %%10ATTACK/4/ATCKDF(l): atckType(1016)=(3)Fraggle;rcvIfName(1023)=GigabitEthernet0/1;srcIPAddr(1017)=112.65.149.5;srcMacAddr(1021)= ;destIPAddr(1019)=x.x.x.x;destMacAddr(1022)= ;atckSpeed(1047)=0;atckTime_cn(1048)=20170830093537
Wed Aug 30 09:34:59 2017: <188>Aug 30 09:35:38 2017 TCL_SZGWBN_H3C %%10ATTACK/4/ATCKDF(l): atckType(1016)=(3)Fraggle;rcvIfName(1023)=GigabitEthernet0/1;srcIPAddr(1017)=112.65.149.5;srcMacAddr(1021)= ;destIPAddr(1019)=x.x.x.x;destMacAddr(1022)= ;atckSpeed(1047)=0;atckTime_cn(1048)=20170830093538
Wed Aug 30 09:36:05 2017: <188>Aug 30 09:36:44 2017 TCL_SZGWBN_H3C %%10SHELL/4/LOGINFAIL(l): SSH user failed to login from 204.93.154.212 on VTY0 due to source IP restriction.
Wed Aug 30 09:36:06 2017: <188>Aug 30 09:36:44 2017 TCL_SZGWBN_H3C %%10SHELL/4/LOGINFAIL(l): SSH user failed to login from 204.93.154.212 on VTY0 due to source IP restriction.
Wed Aug 30 09:36:06 2017: <188>Aug 30 09:36:45 2017 TCL_SZGWBN_H3C %%10SHELL/4/LOGINFAIL(l): SSH user failed to login from 204.93.154.212 on VTY0 due to source IP restriction.
Wed Aug 30 09:36:07 2017: <188>Aug 30 09:36:45 2017 TCL_SZGWBN_H3C %%10SHELL/4/LOGINFAIL(l): SSH user failed to login from 204.93.154.212 on VTY0 due to source IP restriction.
Wed Aug 30 09:36:07 2017: <188>Aug 30 09:36:46 2017 TCL_SZGWBN_H3C %%10SHELL/4/LOGINFAIL(l): SSH user failed to login from
电信固定IP光纤接光电转换,再接到路由器上,开启日志
(0)
最佳答案
看日志打印应该是已经配置ssh允许登录的acl。攻击源只能根据日志打印的地址去看哪台设备在攻击了,比如日志频繁打印中的204.93.154.212地址,看看它在哪里,是否正常:
Wed Aug 30 09:36:05 2017: <188>Aug 30 09:36:44 2017 TCL_SZGWBN_H3C %%10SHELL/4/LOGINFAIL(l): SSH user failed to login from 204.93.154.212 on VTY0 due to source IP restriction.
Wed Aug 30 09:36:06 2017: <188>Aug 30 09:36:44 2017 TCL_SZGWBN_H3C %%10SHELL/4/LOGINFAIL(l): SSH user failed to login from 204.93.154.212 on VTY0 due to source IP restriction.
Wed Aug 30 09:36:06 2017: <188>Aug 30 09:36:45 2017 TCL_SZGWBN_H3C %%10SHELL/4/LOGINFAIL(l): SSH user failed to login from 204.93.154.212 on VTY0 due to source IP restriction.
Wed Aug 30 09:36:07 2017: <188>Aug 30 09:36:45 2017 TCL_SZGWBN_H3C %%10SHELL/4/LOGINFAIL(l): SSH user failed to login from 204.93.154.212 on VTY0 due to source IP restriction.
Wed Aug 30 09:36:07 2017: <188>Aug 30 09:36:46 2017 TCL_SZGWBN_H3C %%10SHELL/4/LOGINFAIL(l): SSH user failed to login from
(0)
只要是外部的SSH都是不正常的,目前是只允许内部的SSH
被攻击了,这个只要你的IP地址没有变,用光纤和用网线是没有区别的,这些攻击源可能不太好排查,如果路由器不使用ssh,那么就关闭ssh服务,如果需要ssh服务,那么就配置ACL只允许内网或者固定的IP地址登陆,其他地址一律过滤掉,另外,还需要加强路由器的密码的健壮性。
(0)
怎么过滤,命令如何写?
有做基于源的SSH限制,但是很多外部异常的SSH连接,应该在试探,容易成为攻击的目标
这个没什么好办法,要不就在外网前边增加一台防火墙,干掉这种连接,这种攻击源都是代理IP,来自世界各地,找真实的攻击源不太现实,如果外网本身就不需要SSH登陆,那么可以直接在接口上配置包过滤防火墙,干掉ssh的连接。
怎么过滤,命令如何写?
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
只要是外部的SSH都是不正常的,目前是只允许内部的SSH