




下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
Lecture10:SnortIntroductiontoComputerSecurityBackground–PolicySuccessfulintrusiondetectiondependsonpolicyandmanagementasmuchastechnologySecurityPolicy(definingwhatisacceptableandwhatisbeingdefended)isthefirststepNotificationWho,howfast?ResponseCoordinationIntrotoSnortWhatisSnort?Snortisamulti-modepacketanalysistoolSnifferPacketLoggerForensicDataAnalysistoolNetworkIntrusionDetectionSystemWherediditcomefrom?Developedoutoftheevolvingneedtoperformnetworktrafficanalysisinbothreal-timeandforforensicpostprocessingSnort“Metrics”Small(~800ksourcedownload)Portable(Linux,Windows,MacOSX,Solaris,BSD,IRIX,Tru64,HP-UX,etc)Fast(Highprobabilityofdetectionforagivenattackon100Mbpsnetworks)Configurable(Easyruleslanguage,manyreporting/loggingoptionsFree(GPL/OpenSourceSoftware)SnortDesignPacketsniffing“l(fā)ightweight”networkintrusiondetectionsystemLibpcap-basedsniffinginterfaceRules-baseddetectionenginePlug-insystemallowsendlessflexibilityDetectionEngineRulesform“signatures”ModulardetectionelementsarecombinedtoformthesesignaturesWiderangeofdetectioncapabilitiesStealthscans,OSfingerprinting,bufferoverflows,backdoors,CGIexploits,etc.Rulessystemisveryflexible,andcreationofnewrulesisrelativelysimplePlug-InsPreprocessorPacketsareexamined/manipulatedbeforebeinghandedtothedetectionengineDetectionPerformsingle,simpletestsonasingleaspect/fieldofthepacketOutputReportresultsfromtheotherplug-insUsingSnortThreemainoperationalmodesSnifferModePacketLoggerModeNIDSMode(ForensicDataAnalysisMode)OperationalmodesareconfiguredviacommandlineswitchesSnortautomaticallytriestogointoNIDSmodeifnocommandlineswitchesaregiven,looksforsnort.confconfigurationfilein/etcUsingSnort–SnifferModeWorksmuchliketcpdumpDecodespacketsanddumpsthemtostdoutBPFfilteringinterfaceavailabletoshapedisplayednetworktrafficWhatDoThePacketDumpsLookLike?=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+11/09-11:12:02.954779:1032->:23TCPTTL:128TOS:0x0ID:31237IpLen:20DgmLen:59DF***AP***Seq:0x16B6DAAck:0x1AF156C2Win:0x2217TcpLen:20FFFC23FFFC27FFFC24FFFA1800414E53..#..'..$ANS49FFF0I..=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+11/09-11:12:02.956582:23->:1032TCPTTL:255TOS:0x0ID:49900IpLen:20DgmLen:61DF***AP***Seq:0x1AF156C2Ack:0x16B6EDWin:0x2238TcpLen:200D0A0D0A53756E4F5320352E370D0A0DSunOS5.7...000D0A0D00=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+PacketLoggerModeGee,itsurewouldbeniceifIcouldsavethosepacketstodisk…Multi-modepacketloggingoptionsavailableFlatASCII,tcpdump,XML,database,etcavailableLogalldataandpost-processtolookforanomalousactivityNIDSModeWidevarietyofrulesavailableforsignatureengine(~1300asofJune2001,growto~2900atMay2005)Multipledetectionmodesavailableviarulesandplug-insRules/signatureStatisticalanomalyProtocolverificationSnortRulesSnortRulesSnortrulesareextremelyflexibleandareeasytomodify,unlikemanycommercialNIDSSampleruletodetectSubSeventrojan:alerttcp$EXTERNAL_NET27374->$HOME_NETany(msg:"BACKDOORsubseven22";flags:A+;content:"|0d0a5b52504c5d3030320d0a|";reference:arachnids,485;/subseven/;sid:103;classtype:misc-activity;rev:4;)Elementsbeforeparenthesescomprise‘ruleheader’Elementsinparenthesesare‘ruleoptions’SnortRulesalerttcp$EXTERNAL_NET27374->$HOME_NETany(msg:"BACKDOORsubseven22";flags:A+;content:"|0d0a5b52504c5d3030320d0a|";reference:arachnids,485;/subseven/;sid:103;classtype:misc-activity;rev:4;)alertactiontotake;alsolog,pass,activate,dynamictcpprotocol;alsoudp,icmp,ip$EXTERNAL_NETsourceaddress;thisisavariable–specificIPisok27374sourceport;alsoany,negation(!21),range(1:1024)->direction;bestnottochangethis,although<>isallowed$HOME_NETdestinationaddress;thisisalsoavariablehereanydestinationportSnortRulesalerttcp$EXTERNAL_NET27374->$HOME_NETany(msg:"BACKDOORsubseven22";flags:A+;content:"|0d0a5b52504c5d3030320d0a|";reference:arachnids,485;/subseven/;sid:103;classtype:misc-activity;rev:4;)msg:”BACKDOORsubseven22”;messagetoappearinlogsflags:A+;tcpflags;manyoptions,likeSA,SA+,!R,SF*content:“|0d0…0a|”;binarydatatocheckinpacket;contentwithout|(pipe)charactersdosimplecontentmatchesreference…;wheretogotolookforbackgroundonthisrulesid:103;ruleidentifierclasstype:misc-activity;ruletype;manyothersrev:4;rulerevisionnumberotherruleoptionspossible,likeoffset,depth,nocaseSnortRulesbad-traffic.rules exploit.rules scan.rulesfinger.rules ftp.rules telnet.rulessmtp.rules rpc.rules rservices.rulesdos.rules ddos.rules dns.rulestftp.rules web-cgi.rules web-coldfusion.rulesweb-frontpage.rules web-iis.rules web-misc.rulesweb-attacks.rules sql.rules x11.rulesicmp.rules netbios.rules misc.rulesbackdoor.rules shellcode.rules policy.rulesporn.rules info.rules icmp-info.rulesvirus.rules local.rules attack-responses.rulesSnortRulesRuleswhichactuallycaughtintrusionsalerttcp$EXTERNAL_NETany->$SQL_SERVERS1433(msg:"MS-SQLxp_cmdshell-programexecution";content:"x|00|p|00|_|00|c|00|m|00|d|00|s|00|h|00|e|00|l|00|l|00|";nocase;flags:A+;classtype:attempted-user;sid:687;rev:3;)caughtcompromiseofMicrosoftSQLServeralerttcp$EXTERNAL_NETany->$HTTP_SERVERS80(msg:"WEB-IIScmd.exeaccess";flags:A+;content:"cmd.exe";nocase;classtype:web-application-attack;sid:1002;rev:2;)caughtCodeRedinfectionalerttcp$EXTERNAL_NETany->$HOME_NET21(msg:"INFOFTP\"MKD/\"possiblewarezsite";flags:A+;content:"MKD/";nocase;depth:6;classtype:misc-activity;sid:554;rev:3;)caughtanonymousftpserverSnortArchitectureDataFlowPacketDecoderPreprocessor(Plug-ins)DetectionEngine(Plug-ins)OutputStage(Plug-ins)PacketStreamSniffingSnortDataFlowAlerts/LogsRuleHeaderAlerttcpany->anyRuleOptions(flags:SF;msg:“SYN-FINScan”;)Alerttcpany->anyAlerttcpany->any(flags
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 安全試題及答案6
- 安全活動試題及答案
- 安全工程師考試題庫及答案
- 2025年商業(yè)銀行金融科技人才領(lǐng)導(dǎo)力與團(tuán)隊建設(shè)能力培養(yǎng)報告
- 拔火罐培訓(xùn)課件圖片
- 報社新聞培訓(xùn)課件下載
- 中國卒中中心發(fā)展課件
- 原料采購管理課件
- 心電監(jiān)護(hù)操作流程規(guī)范
- 公民科學(xué)素質(zhì)課件
- 強夯試夯的施工組織方案
- 福建高考名著《紅樓夢》填空題+答案
- 2019北師大版高中英語選擇性必修一單詞表
- 商標(biāo)法期末復(fù)習(xí)
- 機械優(yōu)化設(shè)計_經(jīng)典實例PPT課件
- 材料力學(xué)計算試題(庫)完整
- 投資控股集團(tuán)有限公司安全生產(chǎn)責(zé)任制暫行辦法
- 智慧工廠解決方案—燈塔工廠引領(lǐng)制造業(yè)數(shù)字化轉(zhuǎn)型-白皮書
- 2019-2020學(xué)年廣東省廉江市實驗學(xué)校北師大版五年級下冊期末復(fù)習(xí)數(shù)學(xué)試卷2
- 2019第五版新版PFMEA 注塑實例
- GB_T 40081-2021 電梯自動救援操作裝置(高清-現(xiàn)行)
評論
0/150
提交評論