版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
認識網路安全與異常偵測中央大學電算中心楊素秋
96年11月13日報告大綱1.網路安全問題Viruses,Worms,Dosattack2.網路安全因應對策Customer-basedcountermeasuresISP-basedcountermeasures3.Detection&NotificationSystemEnd-based,LAN-based,WAN-based(ISP)4.結語1.網路安全問題網路安全的挑戰VirusesLargeamountofprogramreplicationMailvirusAttachedinemailInfectsystembyenduringuserclickingtheattachedResendlargeamountofmailvirusSelf-propagatingprograms,…Spreadthroughtoxicwebpagebrowsing1.網路安全問題(cont.)WormsSelf-propagatingprogramsspreadoverInternetSpreadbyscanningthenetworkforvulnerablemachines&infectingthemEvolutionofnetworkwormsSpreadthroughsystemvulnerabilityCoRed(Jul2001)Spreadthroughsystemvulnerability&tftpdNimda,Nachi(Sep2001)Spreadthroughsystemvulnerability&mailvirusSoBig(Aug2003),MyDoom(jan2004),Bagle(2004)Spreadthroughsystemvulnerability&ToxicwebsStanty(Dec2004)1.網路安全問題(cont.)BotNetZombiearmyDistributedthroughIrc(networkchatroom)6667/tcpDosattackSlamwellknownwebserver(MicroSofts,Google,…)Flooding-basedDDoSattackSignificantperformancedeclineofnetworklinkIdentificationthiefSpyware,Phishing(banks,ebay,paypal,…1.網路安全問題(cont.)TechnicalHackersShowtheirskillTechnicalHackers+CriminalgangEnormousprofitsTheweaklinkinInternetSecurityAsignificantpopulationofInternetusersarenotadequatelysecuretheirdesktops2.網路安全因應對策WheresecuritycountermeasurescouldbeinvokedCustomer-basedcountermeasuresISP-basedcountermeasures**ISPcore/edge/accessrouters2.網路安全因應對策(cont.)Customer-basedcountermeasuresAnti-virussoftwareFirewall,IDSOSVenders/wpatchWindowsUpdateLinuxUp2dateS/WVender’sSecurityImprovementsDesktopVulnerabilityCheckingFirewall==Secure??(Incorrect)2.網路安全因應對策(cont.)WhyISP’sareuniquelypositionedtohelpJohnE.H.Clark(Feb2003)TrafficgatewayAlltrafficbw.Internet&thecustomer’sdesktoppassesthroughISP’saccessSkillednetworkmanagersWellorganizednetworkuserinformationHighefficiency,widerangeprotection2.網路安全因應對策(cont.)ISP-basedcountermeasuresa)Measuring&monitoringtrafficto/fromcustomerb)Bi-directionIPSatISPaccess50%~60%ofjunkattacktrafficc)IngressaddressfilteringatISPaccessIn-linewiththetrafficbeingmonitoredd)User’sawareness&trainingeffort3.Detection&NotificationSystemSignatureDetectionPacketpayloadanomalydetectionPacket-basedTcpdump(snoopedoversubnetworks)Flow-basedNetfow(exportedbyrouter/switch)3.Detection&NotificationSystem(cont.)Ourworks遭感染/誤用的主機系統持續,頻繁地建立網路連接到單一或多部主機,源自遭感染主機的超量傳訊特徵flow連接驟增封包量驟增超量訊務持續時段明顯拉長本研究擷取節點routerNetflow轉送紀錄實做FloodingDetectionSystem,FDS3.Detection&NotificationSystem(cont.)3.Detection&NotificationSystem(cont.)PortScan訊務特徵
源端主機要求建立的多個PortScanflows,集中在特殊的弱點
由目的主機回應給源端主機的portnumber卻分散於大範圍的1024~65535.3.Detection&NotificationSystem(cont.)選擇3項NetFlow辨識特徵(1)sourceIP位址(src_IP)(2)destina-tion應用埠(dst_port)(3)小TCP封包使Feature-based訊務累計程式僅加總超速傳送SYN|FINTCPhandshaking封包往大量連網主機特殊弱點ports的source主機,突顯Portscan問題主機3.Detection&NotificationSystem(cont.)SMTPFlooding(Spam)訊務特徵
類似Portscan傳訊特徵spam源端主機持續傳送超量SMTP(SimpleMailTransferPtorocol)訊務往多部主機主機outbound的連接數突然暴增超量SMTP傳送時段也呈明顯拉長3.Detection&NotificationSystem(cont.)PacketFlooding訊務特徵產出鉅量的UDP/ICMPFlooding封包阻斷選定主機的對外服務壅塞沿徑routing網段選擇source(src_IP)為virtualflow累計程式僅統計sourceIP傳送的超大量UDP/ICMPPacket/Byte/Flow訊務偵測與自動通告DDoS攻擊3.Detection&NotificationSystem(cont.)Flooding異常訊務偵測系統Feature-based訊務累計/排序程式 加總每一sourceIP主機送往各destinationport的flow數,packet數,byte數,與meanpacketsize訊務變量,
Multi-thresholds異常偵測程式累計各時段source主機建立的flow[sourcei],packet[sourcei],byte[sourcei],pkt_size[sourcei]加總其發送超量TCP封包的持續時段duration[sourcei]與估定臨界質比對,篩選得PortScansources.3.Detection&NotificationSystem(cont.)Flooding異常訊務的自動通告萃取ip_routingtableRouteripRouteSNMPMIB建置與啟動RWhoisIP管理資料查詢系統讀取異常訊務數據&自動通告
3.Detection&NotificationSystem(cont.)Flooding異常訊務的自動通告(cont.)擷取骨幹router的數萬筆routingsnmpwalkipRouteMask(..11)snmpwalkipRouteNextHop(.4.)萃取/重建龐大ip_routing紀錄構建符合RWhoisnetworkschema資料庫結合NextHop紀錄與管理聯絡資訊連線學校IP管理資訊查詢.tw/~yang/rwhois.php?ip=24.結語Flooding異常訊務偵測系統(FDS)aggregaterouterNetFlow轉送紀錄自動偵測PortScan,Spam與packetflooding攻擊訊務透過RwhoisdIP管理資訊的查詢自動將具體的異常訊務通告該網路用戶促使其補強系統安全,阻截flooding攻擊4.結語(cont.)據幾年來的使用經驗網路匯集點的異常偵測系統能偵測多變的portscan訊務(不斷翻新的弱點ports)Spampacketflooding事件具體的flooding訊務數據能協助網管人員掌握異常源端主機聯絡用戶並分析其主機flooding現象ThankYou!桃園區網abuse通告分布中央大學電子計算機中心楊素秋(center7@.tw)報告大綱1.abusecomplaint自動轉通告2.abuse年度統計3.abuse分類統計4.P2Ptraffictargetsystem2/~yang/index_abuse_emule.php2/~yang/index_abuse_emule_port.php5.總結1.Abusecomplain自動轉通告Abusecomplaint轉通告系統定時接收abusecomplaintmailfileabuse@.tw(/var/mail/abuse)切割/分類abuse通告信PortScan/Passwordcrack(安全弱點掃描)Spam(廣告/色情信)Infringement(侵犯智慧財產權)Phishing(網路詐騙)轉通知負責人員,並儲存資料庫記錄.1.Abusecomplain自動轉通告(cont.)系統處理程序如下:讀取abuse@.twmailfile,切割/儲存各單封信件執行dbacl(digramicBayesiantextclassifier):分類各單封信件abusetype(spam,infringe,portscan,phish).掃描targetIP位址,並將IP,abuse類別存檔以IP為key,連接RwhoisServer,查詢管理員emai.,並將原信件寄發對應的管理員.1.Abusecomplain自動轉通告(cont.)系統成效:節省一名處理abuse通告的網路管理人力.能即時地處理轉通告,不會因假期延誤通告.資料庫建檔提供on-demandabuse資料查詢網頁.2.abuse年度統計93年(2004)94年(2005)95年(2006)96年(2007)3.Abuse分類統計智財權(Infringement)廣告信(Spam)PortScanPhishing163.30.*.*4.Abuse歷史紀錄查詢URL.tw/Tyc_Abuse/Tanet/summ_notify.php單月統計abusecomplaint分類選擇年度,月份96-0195-125.P2PtraffictargetsystemFeatureofP2PmtrafficPacketsize(largepacket)Connections(manytomany)Duration(lastlonger)Trafficvolume(largeamount)URLsofTycP2Ptrafficstatistic2/~yang/index_abuse_emule.php2/~yang/index_abuse_emule_port.php6.總結日趨完整的網路安全防禦Technique區網:FloodDetectionsystem校園網:firewall,IDS使用者端:firewall,antiviruspackageEducationenduserProtectPCfrombeingexploitedassteppingstoneSecuritypolicyManagementSupport5.總結(cont.)PuttinganendtothedarksideofnetworkIncreaseawarenessEducationusersImplementorganizationpoliciesUseTechnologytoprotectagainstthesethreatsFloodingDetectionsystem5.總結(cont.)進行中的工作網路安全文件的彙整與分享網路管理工具與說明文件的彙整Content-based網路入侵偵測系統MiningDetection台聯大出國線路效能評估中央大學電算中心楊素秋2007年10月8日報告大綱1.研究動機2.主要連外Trunk流量的變化3.國外網站檔案擷取延遲的變化4.結語1.研究動機台聯大出國線路Cost2millionperyearPerformanceTrunkTrafficStatistics(MRTG圖)Ping(RTT値)部分firewall不允許pingtrafficUserSensitiveTrafficStatisticsDelayforfetchingpngorpdffileCisco,hp,3com,ubuntu*2.主要連外Trunk流量校園corerouter7609接台聯大出國線路流量.tw/mrtg/7609/r7609_63.html中央大學到桃園區網流量.tw/mrtg/m160/m160_65.html桃園區網到TANET骨幹流量.tw/backbone/ncu_cht.html校園corerouter接台聯大線路流量中央大學到桃園區網流量桃園區網到TANET骨幹流量2.主要連外Trunk流量(cont.)TANET出國流量變化.tw/internet/internet-pos-stm16.html台聯大出國流量變化/ntcu-6509/_po8_1.htmlTANET出國流量變化台聯大出國流量變化3.國外網站檔案擷取延遲效能比較網頁:
.tw/Ncu/browse.jspNCU_LlinkCollector31TYC_Link
3.國外網站檔案擷取延遲(cont.)2007-Aug&2007-Sep8/17~8/31,9/1~9/302007-Oct10/3(NCTU_DORM斷線)10/9(NCTU_DORM復線)10/15(TWGATE修正routingpath)10/16~10/314.子程式功能
delay2.javaget()main()wget_stat.shcrontabCalldelay2routinely
publicvoidget(StringtheUrl,Stringfilename)throwsIOException{theUrl_name=theUrl;try{URLgotoUrl=newURL(theUrl);InputStreamReaderisr=newInputStreamReader(gotoUrl.openStream());BufferedReaderin=newBufferedReader(isr);StringBuffersb=newStringBuffer();StringinputLine;booleanisFirst=true;//grabthecontentsattheURLwhile((inputLine=in.readLine())!=null){sb.append(inputLine+"\r\n");}//writeitlocallycreateAFile(filename,sb.toString());}catch(MalformedURLExceptionmue){mue.printStackTrace();}catch(IOExceptionioe){throwioe;}}publicstaticvoidmain(String[]args){Datedate=newDate();SimpleDateFormatday=newSimpleDateFormat("MMdd");SimpleDateFormatdf=newSimpleDateFormat("MMddHH");//System.out.println(df.format(date));Stringday_file=day.format(date);Stringcur_hour=df.format(date);Stringfilename="/home/Ncu_Link/"+day_file;try{BufferedWriterout=newBufferedWriter(newFileWriter(filename,true));out.write("\nHour"+cur_hour);longelapsedtime=System.currentTimeMillis();out.write("\nFrom"+elapsedtime+"msec.||");delay2httpGetter=newdelay2();
httpGetter.get(args[0],args[1]);out.write("\nTo"+elapsedtime+"msec.||");elapsedtime=System.currentTimeMillis()-elapsedtime;out.write("\nIttakes"+elapsedtime+"msec."+theUrl_name+"\n");out.close();}catch(Exceptionex){ex.printStackTrace();}}}#!/bin/csh-fsetenvCLASSPATH'.'setbatch_home=/opt/apache-tomcat-6.0.14/webapps/ROOT/Socketsetflist=`/bin/ls$batch_home/lib/*.jar`foreachname($flist)setenvCLASSPATH${CLASSPATH}:${name}endcd$batch_homejavadelay2/cdc_content_elements/images/homepage/ba_partnerLocato_blue.jpgcisco.jpgjavadelay2/country/us/en/img/n4_welcome/smb/primary_smb_msg_730.jpghp.jpgjavadelay2/other/pdfs/solutions/en_US/3com_505403-001.pdf3com.pdfjavadelay2/themes/ubuntu07/images/ubuntulogo.pngubuntu.pngDate111900Ittakes922msec./cdc_content_elements/images/homepage/ba_partnerLocato_blue.jpgDate111900Ittakes1797msec./country/us/en/img/n4_welcome/smb/primary_smb_msg_730.jpgDate111900Ittakes19266msec./other/pdfs/solutions/en_US/3com_505403-001.pdfDate111900Ittakes1140msec./themes/ubuntu07/images/ubuntulogo.pngDate111904Ittakes1079msec./cdc_content_elements/images/homepage/ba_partnerLocato_blue.jpgDate111904Ittakes859msec./country/us/en/img/n4_welcome/smb/primary_smb_msg_730.jpgDate111904Ittakes12203msec./other/pdfs/solutions/en_US/3com_505403-001.pdfDate111904Ittakes1078msec./themes/ubuntu07/images/ubuntulogo.png4.子程式功能(cont.)LinkPerf.javaExtractthedatarecordedper4hoursperiodAggregatethemeandelay(msec)Outputtoanotherfile1101[Thu]{=774,=13443,=800,=1115}<br>1102[Fri]{=847,=12825,=815,=1025}<br>1103[Sat]{=1074,=13578,=853,=1225}<br>1104[Sun]{=672,=15053,=821,=1071}<br>1105[Mon]{=824,=13240,=837,=1065}<br>4.子程式功能(cont.)Browse.jspOfferusertomonitoringtheaggregatedatarecordsTimes_both.jspDrawthetime-seriesgraphaccordingtotheaggregatedatarecordsCalljfreechartlibrariesjfreechart-1.0.6<%@pagecontentType="image/png;charset=UTF-8"%><%@pageimport="java.util.*,java.io.*,java.awt.*,java.text.*"%><%@pageimport="org.jfree.chart.JFreeChart"%><%@pageimport="org.jfree.chart.ChartRenderingInfo"%><%@pageimport="org.jfree.chart.servlet.ServletUtilities"%><%@pageimport="org.jfree.chart.entity.StandardEntityCollection"%><%@pageimport="org.jfree.chart.servlet.ServletUtilities"%><%@pageimport="org.jfree.chart.ChartUtilities"%><%@pageimport="javax.servlet.ServletOutputStream"%><%@pageimport="org.jfree.chart.ChartFactory"%><%@pageimport="org.jfree.data.xy.*"%><%@pageimport="org.jfree.data.time.*"%><%@pageimport="org.jfree.chart.axis.*"%><%@pageimport="org.jfree.chart.ui.*"%><%@pageimport="org.jfree.chart.plot.*"%><%@pageimport="org.jfree.chart.renderer.xy.*"%><%@pageimport="org.jfree.ui.ApplicationFrame"%><%@pageimport="org.jfree.ui.RefineryUtilities"%><%@pageimport="org.jfree.chart.title.*"%><%@pageimport="org.jfree.chart.servlet.ServletUtilities"%><%@pageimport="org.jfree.chart.urls.*"%><%@pageimport="org.jfree.chart.entity.*"%><%@pageimport="org.jfree.chart.labels.StandardXYToolTipGenerator"%><%TimeSeriesCollectiondataset=newTimeSeriesCollection();TimeSeriesseries1=newTimeSeries("NCU-台聯大出國專線");TimeSeriesseries2=newTimeSeries("TYC-TANET出國共用線路");series1.add(newDay(1,9,2007),13312);series1.add(newDay(2,9,2007),12880);series2.add
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025-2026年考研计算机程序设计基础专项题库
- 2025-2026年陕西省人教版四年级语文上册第8课阅读理解深化习题
- 2025-2026年江苏省部编版三年级语文上册第5单元古诗阅读练习题
- 2026年江西省人教版小学英语三年级下册第4单元课后练习
- 2042年重庆市北师大版高中化学选修第四册知识点巩固习题
- 2025-2026年浙江省苏教版六年级英语下册第3单元单词记忆巩固习题
- 2025-2026年四川省人教版九年级化学上册第一单元期末测试卷
- 再生塑料在塑钢四合扣应用中的成本悖论与ESG估值重构
- 代际传承断层风险对镇江香醋长期资本价值折损研究
- AIoT智能温控算法在工业风扇节能改造中的边际收益实证研究
- 基于室内分布5G多频段定向天线系统的设计
- 餐饮美学基础 课件全套 模块1-4 餐饮美学概论 -餐厅民俗美学
- 中医诊所处方管理制度
- 海南省民用建筑绿色专篇实施指南(试行)
- 2025年单位保密工作计划
- 口腔科个案护理
- 2023年国家能源集团招聘笔试真题
- 化工企业生产运行班组“双盲”应急演练评估标准
- 小儿补液的护理
- GB/T 5169.12-2024电工电子产品着火危险试验第12部分:灼热丝/热丝基本试验方法材料的灼热丝可燃性指数(GWFI)试验方法
- 固体物理全册配套课件
评论
0/150
提交评论