




已阅读5页,还剩40页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
网络攻击的检测和预防,第七章,1,目录,常见网络攻击的检测和预防DoS攻击的防范,2,黑客攻击网络的一般过程,信息的收集利用的公开协议或工具TraceRoute程序SNMP协议DNS服务器Whois协议Ping实用程序,3,黑客攻击网络的一般过程,系统安全弱点的探测主要探测的方式自编程序慢速扫描体系结构探测利用公开的工具软件,4,黑客攻击网络的一般过程,建立模拟环境,进行模拟攻击根据前面两小点所得的信息建立一个类似攻击对象的模拟环境对此模拟目标进行一系列的攻击,5,黑客攻击网络的一般过程,具体实施网络攻击根据前几步所获得的信息结合自身的水平及经验总结相应的攻击方法等待时机,以备实施真正的网络攻击,6,协议欺骗攻击及防范,源IP地址欺骗攻击在路由器上的解决方法防止源IP地址欺骗行为的措施抛弃基于地址的信任策略使用加密方法进行包过滤,7,协议欺骗攻击及防范,源路由欺骗攻击防范源路由欺骗攻击的措施抛弃由外部网进来却声称是内部主机的报文在路由器上关闭源路由,8,协议欺骗攻击及防范,拒绝服务攻击防止拒绝服务攻击的措施调整该网段路由器上的配置强制系统对超时的Syn请求连接数据包复位缩短超时常数和加长等候队列在路由器的前端做必要的TCP拦截关掉可能产生无限序列的服务,9,拒绝服务攻击,用超出被攻击目标处理能力的海量数据包消耗可用系统,带宽资源,致使网络服务瘫痪的一种攻击手段两种使用较频繁的攻击形式TCP-SYNflood半开式连接攻击UDPflood,10,拒绝服务攻击,11,拒绝服务攻击,UDPfloodUdp在网络中的应用如,DNS解析、realaudio实时音乐、网络管理、联网游戏等基于udp的攻击种类如,unix操作系统的echo,chargen.echo服务,12,拒绝服务攻击,Trinoo是基于UDPflood的攻击软件Trinoo攻击功能的实现是通过三个模块付诸实施的攻击守护进程NS攻击控制进程MASTER客户端NETCAT,标准TELNET程序等,13,拒绝服务攻击及防范,六个trinoo可用命令MtimerDosMdieMpingMdosmsize,14,拒绝服务攻击,15,拒绝服务攻击,攻击的实例:被攻击的目标主机victimIP为:5ns被植入三台sun的主机里,他们的IP对应关系分别为client1:1client2:2client3:3master所在主机为masterhost:4首先我们要启动各个进程,在client1,2,3上分别执行ns,启动攻击守护进程,其次,在master所在主机启动mastermasterhost#./master?gOrave(系统示输入密码,输入gOrave后master成功启动)trinoov1.07d2+f3+cMar202000:14:38:49(连接成功),16,拒绝服务攻击,在任意一台与网络连通的可使用telnet的设备上,执行telnet427665Escapecharacteris.betaalmostdone(输入密码)trinoov1.07d2+f3+c.rpm8d/cb4Sx/trinoo(进入提示符)trinoomping(我们首先来监测一下各个攻击守护进程是否成功启动)mping:SendingaPINGtoeveryBcasts.trinooPONG1Receivedfrom1PONG2Receivedfrom2PONG3Receivedfrom3(成功响应)trinoomtimer60(设定攻击时间为60秒)mtimer:Settingtimeronbcastto60.trinoodos5DoS:Packeting5.,17,拒绝服务攻击,至此一次攻击结束,此时ping5,会得到icmp不可到达反馈,目标主机此时与网络的正常连接已被破坏,18,拒绝服务攻击,由于目前版本的trinoo尚未采用IP地址欺骗,因此在被攻击的主机系统日志里我们可以看到如下纪录Mar2014:40:34victimsnmpXdmid:Willattempttore-establishconnection.Mar2014:40:35victimsnmpdx:errorwhilereceivingapdufrom1.59841:Themessagehasawrongheadertype(0 x0)Mar2014:40:35victimsnmpdx:errorwhilereceivingapdufrom2.43661:Themessagehasawrongheadertype(0 x0)Mar2014:40:36victimsnmpdx:errorwhilereceivingapdufrom3.40183:Themessagehasawrongheadertype(0 x0)Mar2014:40:36victimsnmpXdmid:ErrorreceivingPDUThemessagehasawrongheadertype(0 x0).Mar2014:40:36victimsnmpXdmid:Errorreceivingpacketfromagent;rc=-1.Mar2014:40:36victimsnmpXdmid:Willattempttore-establishconnection.Mar2014:40:36victimsnmpXdmid:ErrorreceivingPDUThemessagehasawrongheadertype(0 x0).Mar2014:40:36victimsnmpXdmid:Errorreceivingpacketfromagent;rc=-1.,19,拒绝服务攻击防范,检测系统是否被植入了攻击守护程序办法检测上述提到的udp端口如netstat-a|grepudp端口号用专门的检测软件,20,拒绝服务攻击及防范,下面为在一台可疑设备运行结果,Loggingoutputto:LOGScanningrunningprocesses./proc/795/object/a.out:trinoodaemon/usr/bin/gcore:core.795dumped/proc/800/object/a.out:trinoomaster/usr/bin/gcore:core.800dumpedScanning/tmp.Scanning/./yiming/tfn2k/td:tfn2kdaemon/yiming/tfn2k/tfn:tfn2kclient/yiming/trinoo/daemon/ns:trinoodaemon/yiming/trinoo/master/master:trinoomaster/yiming/trinoo/master/.:possibleIPlistfileNOTE:Thismessageisbasedonthefilenamebeingsuspicious,andisnotbasedonananalysisofthefilecontents.ItisuptoyoutoexaminethefileanddecidewhetheritisactuallyanIPlistfilerelatedtoaDDOStool./yiming/stacheldrahtV4/leaf/td:stacheldrahtdaemon/yiming/stacheldrahtV4/telnetc/client:stacheldrahtclient/yiming/stacheldrahtV4/td:stacheldrahtdaemon/yiming/stacheldrahtV4/client:stacheldrahtclient/yiming/stacheldrahtV4/mserv:stacheldrahtmasterALERT:OneormoreDDOStoolswerefoundonyoursystem.PleaseexamineLOGandtakeappropriateaction.,21,拒绝服务攻击防范,封掉不必要的UDP服务如echo,chargen,减少udp攻击的入口,22,拒绝服务攻击防范,路由器阻挡一部分ipspoof,syn攻击通过连接骨干网络的端口采用CEF和ipverifyunicastreverse-path使用accesscontrollists将可能被使用的网络保留地址封掉使用CAR技术限制ICMP报文大小,23,SpecificAttackTypes,Allofthefollowingcanbeusedtocompromiseyoursystem:PacketsniffersIPweaknessesPasswordattacksDoSorDDoSMan-in-the-middleattacksApplicationlayerattacksTrustexploitationPortredirectionVirusandwormsTrojanhorseOperatorerror,24,IPSpoofing,IPspoofingoccurswhenahackerinsideoroutsideanetworkimpersonatestheconversationsofatrustedcomputer.TwogeneraltechniquesareusedduringIPspoofing:AhackerusesanIPaddressthatiswithintherangeoftrustedIPaddresses.AhackerusesanauthorizedexternalIPaddressthatistrusted.UsesforIPspoofingincludethefollowing:IPspoofingisusuallylimitedtotheinjectionofmaliciousdataorcommandsintoanexistingstreamofdata.AhackerchangestheroutingtablestopointtothespoofedIPaddress,thenthehackercanreceiveallthenetworkpacketsthatareaddressedtothespoofedaddressandreplyjustasanytrustedusercan.,25,IPSpoofingMitigation,ThethreatofIPspoofingcanbereduced,butnoteliminated,throughthefollowingmeasures:AccesscontrolThemostcommonmethodforpreventingIPspoofingistoproperlyconfigureaccesscontrol.RFC2827filteringYoucanpreventusersofyournetworkfromspoofingothernetworks(andbeagoodInternetcitizenatthesametime)bypreventinganyoutboundtrafficonyournetworkthatdoesnothaveasourceaddressinyourorganizationsownIPrange.AdditionalauthenticationthatdoesnotuseIP-basedauthenticationExamplesofthisincludethefollowing:Cryptographic(recommended)Strong,two-factor,one-timepasswords,26,ApplicationLayerAttacks,Applicationlayerattackshavethefollowingcharacteristics:Exploitwellknownweaknesses,suchasprotocols,thatareintrinsictoanapplicationorsystem(forexample,sendmail,HTTP,andFTP)Oftenuseportsthatareallowedthroughafirewall(forexample,TCPport80usedinanattackagainstawebserverbehindafirewall)Canneverbecompletelyeliminated,becausenewvulnerabilitiesarealwaysbeingdiscovered,27,ApplicationLayerAttacksMitigation,Somemeasuresyoucantaketoreduceyourrisksareasfollows:Readoperatingsystemandnetworklogfiles,orhavethemanalyzedbyloganalysisapplications.Subscribetomailingliststhatpublicizevulnerabilities.Keepyouroperatingsystemandapplicationscurrentwiththelatestpatches.IDSscanscanforknownattacks,monitorandlogattacks,andinsomecases,preventattacks.,28,NetworkReconnaissance,Networkreconnaissancereferstotheoverallactoflearninginformationaboutatargetnetworkbyusingpubliclyavailableinformationandapplications.,29,NetworkReconnaissanceMitigation,Networkreconnaissancecannotbepreventedentirely.IDSsatthenetworkandhostlevelscanusuallynotifyanadministratorwhenareconnaissancegatheringattack(forexample,pingsweepsandportscans)isunderway.,30,VirusandTrojanHorses,Virusesrefertomalicioussoftwarethatareattachedtoanotherprogramtoexecuteaparticularunwantedfunctiononausersworkstation.End-userworkstationsaret
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 网络服务信息安全守秘保障承诺书5篇范文
- 2025年宁波前湾新区卫生系统事业单位招聘高层次人才11人考前自测高频考点模拟试题及答案详解(新)
- 2025年南安市部分公办学校专项招聘编制内新任教师(二)考前自测高频考点模拟试题附答案详解(突破训练)
- 2025年甘肃省特种设备检验检测研究院聘用人员招聘考前自测高频考点模拟试题及答案详解(夺冠)
- 2025广西河池市大化瑶族自治县特殊教育学校招聘公益性岗位工作人员2人模拟试卷及答案详解(易错题)
- 2025北京邮电大学人工智能学院招聘1人(人才派遣)模拟试卷附答案详解(黄金题型)
- 项目风险管理模板覆盖多行业
- 2025北京大学地球与空间科学学院智慧能源和公共安全研究中心招聘科研助理1人模拟试卷附答案详解(完整版)
- 湖南省部分市县2024-2025学年高一下学期期末联考地理试题(解析版)
- 2025北京平谷区卫生健康委员会所属事业单位第二次招聘211人模拟试卷及1套完整答案详解
- 临床输血知识培训课件
- 西南大学财务管理办法
- 心肌梗死护理查房
- 不停跳冠脉搭桥术麻醉管理
- 模块七 直线的投影(课件)-中职高考《机械制图》一轮复习(高教版第5版)
- 谭政工作报告全文
- 江苏省南通市2025年七年级下学期语文期末模拟试卷四套及答案
- 国网 35kV~750kV输电线路绝缘子金具串通 用设计技术导则(试行)2024
- 统编版(2024)道德与法治一年级上册全册公开课一等奖创新教学设计
- 职业技术学院智能机器人技术专业人才培养方案
- 园林二级技师试题及答案
评论
0/150
提交评论