• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

SecPath地址扫描和端口扫描攻击防范典型配置

2006-09-25 发表
  • 0关注 ,257浏览
粉丝: 关注:

SecPath地址扫描和端口扫描攻击防范典型配置

一、组网需求

部署SecPath防火墙,对地址扫描(ip-sweep)和端口扫描(port-scan)攻击进行防范,并利用黑名单功能将攻击者进行隔离。

二、组网图

三、配置步骤

[SecPath10F]dis cur                                                            

#                                                                              

 sysname SecPath10F                                                            

#                                                                              

 firewall packet-filter enable                     //开启全局报文统计功能                            

 firewall packet-filter default permit                                         

#                                                                               

 undo connection-limit enable                                                  

 connection-limit default deny                                                 

 connection-limit default amount upper-limit 50 lower-limit 20                 

#                                                                              

 firewall statistic system enable                                              

#                                                                               

 firewall blacklist enable                        //启用黑名单功能                            

#                                                                              

radius scheme system                                                            

#                                                                              

domain system                                                                  

#                                                                               

local-user admin                                                               

 password cipher .]@USE=B,53Q=^Q`MAF4<1!!                                      

 service-type telnet terminal                                                   

 level 3                                                                       

 service-type ftp                                                              

#                                                                              

interface Ethernet1/0                                                          

 ip address 10.0.0.254 255.255.0.0                                             

#                                                                              

interface Ethernet2/0                                                           

 speed 10                                                                      

 duplex half                                                                   

 ip address 9.0.0.254 255.0.0.0                                                

#                                                                              

interface NULL0                                                                

#                                                                               

firewall zone local                                                            

 set priority 100                                                              

#                                                                               

firewall zone trust                                                            

 add interface Ethernet1/0                                                     

 set priority 85                                                                

#                                                                              

firewall zone untrust                                                          

 add interface Ethernet2/0                                                      

 set priority 5                                                                

 statistic enable ip outzone                       //对非信任域出方向的报文进行统计                   

#                                                                               

firewall zone DMZ                                                              

 set priority 50                                                               

#                                                                               

firewall interzone local trust                                                 

#                                                                              

firewall interzone local untrust                                               

#                                                                               

firewall interzone local DMZ                                                   

#                                                                              

firewall interzone trust untrust                                               

#                                                                              

firewall interzone trust DMZ                                                   

#                                                                              

firewall interzone DMZ untrust                                                 

#                                                                              

 FTP server enable                                                             

#

 //设置地址扫描的阈值为每秒50次,将攻击者加入到黑名单并阻断10分钟                                                                              

 firewall defend ip-sweep max-rate 50 blacklist-timeout 10

//设置端口扫描的阈值为每秒100次,将攻击者加入到黑名单并阻断10分钟  

firewall defend port-scan max-rate 100 blacklist-timeout 10                     

#                                                                               

user-interface con 0                                                           

user-interface vty 0 4                                                         

 authentication-mode scheme                                                     

#                                                                              

return                                       

                                                                         

四、配置关键点

1.对域进入或送出的报文进行统计;

2.开启黑名单功能;

3.设置地址/端口扫描的阈值和攻击者被阻断的时间。

五、验证结果

1,  在攻击机上ping 10.0.0.1,可以ping通。然后在攻击机9.0.0.1上使用nmap10.0.0.1进行地址扫描:nmap -v  --min-hostgroup 100 -sS 10.0.0.0/16

//防火墙弹出地址扫描告警

[SecPath10F]                                                                   

%Jan  1 00:15:54:165 2000 SecPath10F SEC/5/BLS:blsOptMode(1026)=add;srcIPAddr(10

17)=9.0.0.1;blsOptReason(1027)= IP Sweep ;blsHoldTime(1028)=10                 

%Jan  1 00:16:08:915 2000 SecPath10F SEC/5/ATCKDF:atckType(1016)=(16)IP-sweep;rc

vIfName(1023)=Ethernet2/0;srcIPAddr(1017)=9.0.0.1;srcMacAddr(1021)=;destIPAddr(1

019)=10.0.0.51;destMacAddr(1022)=;atckSpeed(1047)=50;atckTime_cn(1048)=200001010

01554                                                                          

//攻击者地址已经加入到黑名单中,并且阻断时间为10分钟                                                 

[SecPath10F]dis firewall blacklist item                                        

 Firewall blacklist item :                                                     

 Current manual insert items : 0                                               

 Current automatic insert items : 1                                            

 Need aging items : 1                                                           

                                                                               

 IP Address      Insert reason    Insert time             Age time(minutes)    

 ----------------------------------------------------------------------------------------------------   

 9.0.0.1         IP Sweep         2000/01/01 00:15:53     10 

 此时在攻击机上ping 10.0.0.1,发现无法ping通。

2,  10分钟阻断时间过后,在攻击机9.0.0.1ping 10.0.0.1,可以ping通。然后,使用nmap10.0.0.1进行端口扫描:nmap -v -p 1-65535 10.0.0.1

//防火墙弹出端口扫描告警

[SecPath10F]                                                                   

%Jan  1 00:03:55:514 2000 SecPath10F SEC/5/BLS:blsOptMode(1026)=add;srcIPAddr(10

17)=9.0.0.1;blsOptReason(1027)= Port Scan ;blsHoldTime(1028)=10                

%Jan  1 00:04:08:915 2000 SecPath10F SEC/5/ATCKDF:atckType(1016)=(25)TCP port-sc

an;rcvIfName(1023)=Ethernet2/0;srcIPAddr(1017)=9.0.0.1;srcMacAddr(1021)=;destIPA

ddr(1019)=10.0.0.1;destMacAddr(1022)=;atckSpeed(1047)=100;atckTime_cn(1048)=2000

0101000355                                                                      

//攻击者地址已经加入到黑名单中,并且阻断时间为10分钟                                         

[SecPath10F]dis firewall blacklist item                                        

 Firewall blacklist item :                                                     

 Current manual insert items : 0                                               

 Current automatic insert items : 1                                            

 Need aging items : 1                                                          

                                                                               

 IP Address      Insert reason    Insert time             Age time(minutes)    

 -------------------------------------------------------------------------------------------------------   

 9.0.0.1         Port Scan        2000/01/01 00:03:54     10           

此时在攻击机上ping 10.0.0.1,发现无法ping通。

                                

0 个评论

该案例暂时没有网友评论

编辑评论

举报

×

侵犯我的权益 >
对根叔知了社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔知了社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明

提出建议

    +

亲~登录后才可以操作哦!

确定

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作