版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
MultivariateSolutionsto
PassiveDNSChallenges
MerikeKaeo
CTOFarsightSecurity
merike@fsi.io
Agenda
•TypicalPassiveDNSUse
•PassiveDNSChallenges
•MultivariateSolutions
•UnderstandingWHOISandGeolocation
•MaliciousCampaignsduringPublicEvents
TYPICALPASSIVEDNS
USES
HowPassiveDNSNormallyWorks
•Startwithaknown/observedbaddatapoint
•Domainname
•Nameserver
•IPaddress/CIDR
•ASN
•UsePassiveDNStofindotherIPsordomainnamesthatsharethesameresources
•Leveragereputationlocalitybutcarefullyreviewwhatyou’vefound
UNIvariateApproaches
•Useasinglepointofcommonalityasawaytoidentifyrelateddomains
•SAMEexactIP?
•SAMEexactnameserver?
•SAMEexactdomainnameusedovertime(ifyouareinterestedinthesetofIPsthatanamehasbeenusing)
•Eachreliesonasingleattribute,exactlymatched
SimplepDNSWorksWellWhen….
•ManyrelateddomainscoexistonasingleIP(orsmallCIDRblock),withnoinnocent3rdpartydomains
•Manyrelateddomainsusethesamesetofdedicatednameservers,withnoinnocent3rdpartydomains
•Themalicioususerisapparentlystubbornlyfondofafavoritedomain
PASSIVEDNS
CHALLENGES
WhenSimplepDNSDoesNOTWork
•ZEROinterrelateddatapoints–e.g.“lonewolf”domainnames,IPaddresses,nameservers,etc.
•Toomanyrelatedresources
•Maliciousresourcesarecomingledwithinnocent3rdpartyresources
LoneWolfScenario
ThecybercriminalreusesNOTHINGacrosssites
•EveryIPaddressusedtosendSPAMorhostcontentistotallyunrelatedtoanyotherIpsthecriminaluses
•Everydomainnameisregisteredusing:
•Adiverseassortmentofregistrars,oneortwoatatime
•Uniquenameservers(installedandoperatedonuniqueIPs)
•Unique/fictitious(orconcealed)POCdetails
•Unique(oranonymous)paymentdetails
PoorlyDocumentedResourceAssignments
•Example#1:ProviderfailstodocumentIPreassignments/reallocationsinIPWHOISorrWHOIS,andanabuserrepeatedlymoves(orismoved)aroundasinglelargenetworkblock,oramongmultiplesmallerblocks.
•Example#2:WHOISPOCdetailsareconcealedbyaWHOISproxy/privacyservice
OvercomingObfuscation
•Lookforothercharacteristicsthatmaynotbeobfuscated,orseektostripawayanonymity
•Examples
•Ifnameserversservicealargenumberofdomains,andthusarenotausefulattributetotrytofollow,lookattheIPaddress(es)thebaddomainishostedon,instead.
•Ifadomainisdemonstrablyengagedinphishingorotherclearlyillegalbehavior,someprivacy/proxyprotectionserviceshavetermsofservicewhichallowtheprovidertounilaterallystripprivacyprotections.
OvercomingReverseProxies
•WithReverseProxies,everythingseemsto“liveonthereverseproxy’sIPaddresses”
•Carefullyscrutinizenon-A/non-AAAADNSrecordsthatmaybepresent(e.g.MX,TXT,etc)
•Reverseproxyoperatorsarealsopotentiallyaterrifictargetbylawenforcement
PerformanceMarketingURLs
•EncodedURLs,uniquetoeachspecificrecipient
•BecauseeachURLisuniquetoeachrecipient,visitingtheURL(typicallytoinvestigatethesitebeingspamvertised)means:
•Confirmingyou'veopenedthemessageandclickedthrough(establishingapotentialargumentthatyou've"opted-in")
•Mayresultinyou"using-up"aURLcodedforone-time-use(trythesameURLa2ndor3rdtime?Itmaygonowhere)
•Forwarding"sanitized"spamplesincomplaintsmayyieldURLsthatsimplydon'twork,orwhichwork"misleadingly."
•Forwarding"rawspamplesincomplaints"outs"yourspamcollectioninfrastructureandmayresultin"listwashing.”
MULTIVARIATE
SOLUTIONS
PointsInAnn-DimensionalSpace
•Inamultivariateapproachwelookatmorethanonemeasurementatthesametime
•Thisallows“interactions”tobeaccountedfor
•xbyitself?okay
•ybyitself?okay
•xandycombinedtogether?DoesNOTwork!
•NOTcombiningmultipleattributesintoasinglescore,comparedagainstathreshold(SPamAssassinstyle)
•NOTjustsuccessiveapplicationofindependentunivariatefilters,either
ASimpleTwo-DNormalDistribution
/wiki/File:Multivariate_normal_sample.svg
TheDataWeHave
•CurrentlypassiveDNScapturesdataaboutthreemaintypesofDNS-relatedentities:
•Names
•IPs
•NameServers
•Noneofthatisbeautifulcontinuousdata
•Ifyouattempttovisualizeit,itwillNOTlookliketheprettygraphontheprecedingpage
Statisticaloptionsfornominaldata
arelimited:youcandocrosstabs,but(a)that'snotverystatistically"sexy,"and(b)interpretation
becomeshardasthetablesizeincreases
AugmentingClassispDNS
•CombinepassiveDNSdatawithothernon-DNSdatatogo“multivariate”
•Non-DNSdatacouldbepre-existingdatasuchasdomainWHOISorIPWHOISdata
•CollectnewdatatoaugmentpassiveDNSdataset(whereactivescanningisallowedbylawandbyyournetworktermsofservice)
•Forexample,fingerprint/scanhostswithNMAPorasimilarscanningtooltoseewhatpatternsofports(ifany)areopenonarangeofIPaddresses
UNDERSTANDINGWHOIS
andGEOLOCATION
RegisteringaDomainName-WHOIS
•Createanewdomainname
•Specifythedomainyouwanttoregister
•Provide(supposedlyaccurate)pointofcontact(POC)details
•DecideifyouwanttohavethosePOCdetails“unlisted”throughuseofaprivacy/proxyregistrationservice
•DefinetheauthoritativenameserversthatknowhowtomapyourdomainstotheIPaddress(es)ofyourserver
•Payanannualfeetotheregistrar
•POCinformationandrelateddetailsaboutmostdomainsgetaddedtoanonlinedatabase-WHOIS
WHOISandRealWorldIdentities
•Cluestoregistrant“realworld”identityinWHOIS
•Theirname(butclaimednamemaybebogus,orsomeoneelse’snameusedwithoutauthorization)
•Astreetaddress(canbea3rdpartymaildrop,incomplete,fictitious,etc)
•Aphonenumber(maybeaprepaid“burner”phone)
•Anemailaddress(maybethrowawayandonlyusedonce)
•Ifyouhavetheabilitytogetacourtorder
•Theircreditcardnumber(maybestolenorprepaidorpaidusingBitcoin)
•AnIPaddressformwhichtheyplacedtheirorder,etc.
Proxy/PrivacyServices
•Proxy/privacyprotectionmaybefree(bundledwithadomain’sregistration),orofferedasanextracostservice
•Proxy/privacyservicesallowregistrantstoconcealtheircontactdetailsfrompublicdisplay
•Evenifused,LEOscanstillseekacourtordertostripadomain’sproxy/privacystatusortodirectlyobtainunderlyingdetails(butthiscanbeapainandunderlyingdetailsmaystillbebogusorrequireadditional
deobfuscation)[/2015/07/how-to-register-a-gtld-domain-name-without-disclosing-personal-data.html]
•Someproxy/privacyserviceprovidersmayhaveTOSwhichallowthemtounilaterallyremoveprotectionsforadomain(ifadomainisobviouslybeingmisused,e.g.forphishingorSPAM)
Geo-LocationServices
•IPaddressesmayhaveanassociatedgeolocation(fromIPWHOIS)
•IPaddressesmayALSOhaveanassociatedgeolocationfromageoIPdatabase
•Domainsmayhaveanassociatedgeolocation(fromdomainWHOIS)
•IPaddressesmayhaveanassociategeolocationduetouseofacountrycodeTLD
Inconsistenciesmaybeinnocentorasignofsomethingworthscrutiny
ccTLDs
•ICANNadministersglobaltopleveldomains(gTLDs)suchas.com,.net,.org,.biz,.info,etc.)ICANNrequiresWHOISservice(althoughtheypermitprivacy/proxyregistrations)
•CountrycodeTLDs(ccTLDs)arerunaccordingtotheirownrules.SomeofthemhavepolicieswhichlimitpublicaccesstotheWHOISdataforany/alloftheirdomains[*IF*theWHOISinformationactuallyexists]
•WHOISinformationmayonlybeavailableandusablebyregisteredusers
•SomeWHOISinformationmaybedisplayedingraphicalformattohinderautomated“scraping”/cut-n-pastingofWHOISdata
•WHOISaccessmaybestrictlyratelimited,withaccessslowedorblockedaltogetherafterjustahandfulofdomainsarecheckedfromthesameIPaddress
MALICIOUSCAMPAIGNS
DURINGPUBLICEVENTS
Getting‘Simple’pDNSData
$nmsgtool-Cch208-c5000000|greprrname|awk'{print$2}'|sed's/.$//’|grep"olym"|grep-v"polymer">olymp.txt
$reverse-domain-names<olymp.txt|sort|uniq-c|sort-nr>temp-olym.txt
com.rio-2016-olympics-live.www
com.nbcolympics
ru.club-olymp
ernet-olympiade
com.olympicbiofeedback
com.olympianeagleathletics
za.co.olympicpaints
.top-olympia
ru.winterolympics2014
ru.winterolympic-2014
ru.cityolympic
hu.olympingaruhaz
edu.tjhsst.olympus
de.mathematik-olympiaden
net.freakolympics.www
com.olympusrugby
com.olympusdl
com.olymposgozleme
com.franceolympique.cotedor
com.dealsaver.olympia
com.catsummerolympics
.olympicssports
NewlyObservedDomainNames(NOD)
•Mostnewdomains(<24hours)arenefarious
•60%ofSPAMstudiedusedheaderorenvelopedomain<24hoursold
•Mostnewdomainsdon’tyethaveareputation
•NODasStreams(newlyactivevsnewlyobserved)
•NODasFeeds(RPZ–DNSFirewall;RHSBL–SpamAssassin)
•Variousintervalsavailable(5m,10m,30m,1hr,6hr,12hr,24hr)
•
•
•
•
•
•
•
•
•
•
•
•
NOD(Aug
1363288-irish-executive-arrested-in-rio-olympics-ticket-raid[dot]page
derelict-and-deserted-the-ghost-of-former-olympic-sites[dot]page
helen-skelton-strictly-come-dancing-olympics-bbc[dot]page
olympic-council-of-ireland-employee-arrested-in-ticket-raid[dot]page
olympic-diving-pool-turns-green-and-baffles-competitors[dot]page
olympic-rio-gang-steal-dog-pet[dot]page
Olympicsgames[dot]club
rio-2016-diving-pool-green-olympics-tom-daley[dot]page
rio-olympics-gymnast-breaks-leg-video[dot]page
Rio2016olympics[dot]today
rio-olympics2016[dot]online
Rioolympics2016[dot]today
10-11,2016)
•Rioolympicsgame[dot]club
•Rioolympics[dot]solutions
•Rioolympics[dot]space
•Rioolympics[dot]tech
•Riosportsolympics[dot]online
•Olympicsrio2016[dot]online
•Olympicsrio2016[dot]today
•Watchbrazilolympics[dot]online
•watch-olympics16-livesnow[dot]ga
•Watchtheolympics[dot]online
•Winterolympics2018[dot]xyz
•Winterolympics[dot]press
NOD(Aug10-11,2016)
•
•
•
•
•
•
•
•
•
•
•
•
Dolympic]dot]de
Esportolympics[dot]nl
Esportsolympics[dot]nl
Jordan72016olympic[dot]cc
Olympicamsterdam[dot]nl
Olympicbikes[dot]nl
Olympiccasino[dot]nl
Olympicconsultants[dot]nl
Olympiccrowdfunding[dot]de
Olympiccrowdfunding[dot]nl
Olympicentertainment[dot]nl
Olympicgamesnews[dot]de
•Olympichub[dot]nl
•Olympicit[dot]nl
•olympic-klasse[dot]de
•olympic-land[dot]de
•olympic-land[dot]nl
•Olympicland[dot]nl
•Olympicnews[dot]io
•Olympicoffers[dot]de
•olympic-parc[dot]de
•olympic-parc[dot]nl
•Olympicpetfood[dot]nl
•olympic-travel[dot]de
•Olympicycles[dot]nl
•Radiolympic[dot]nl
•Radiolympics[dot]nl
•Sociolympic[dot]nl
•Sociolympics[dot]nl
•Specialolympics2017[dot]nl
•Theolympic[dot]nl
•Theolympicstandard[dot]biz
•Usolympicsnews[dot]com
•Vrolympics[dot]cn
•Winterolympic2018[dot]net
Example1:WHOISandGeoIP
Queriesfrom:
Example2:WHOISandGeoIP
merike@pDNS:~$domain
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 睫毛膏式染发笔市场洞察报告
- 游泳池充气游戏器具市场发展预测和趋势分析
- 家用电动食品处理机市场发展现状调查及供需格局分析预测报告
- 带兜帽的风雪大衣产品入市调查研究报告
- 煤气炉家用取暖器产业深度调研及未来发展现状趋势
- 纸制桌旗产业深度调研及未来发展现状趋势
- 玩具风铃市场发展现状调查及供需格局分析预测报告
- 渡船产品入市调查研究报告
- 档案卡产业深度调研及未来发展现状趋势
- 娱乐用浮板市场洞察报告
- 可随意编辑【封面+自荐信+简历】百年树人寓意求职个人简历
- 中国审美文化史第四讲唐代课件
- 建筑节能分部工程专项验收方案
- 《三只小猪的真实故事》课件
- 辽宁省火力发电企业名录2017年158家
- 消防工程分项查验表格
- 中石油气集团公司 会计核算办法
- 思想道德与法治教案第四章:明确价值要求践行价值准则
- 三年级数学上册课件-7.2 长方形的周长 -人教版(共10张PPT)
- 新疆维吾尔自治区水利工程建设项目招标评标工作细则(新水厅〔2014〕39号)
- Q∕SY 1485-2012 立式圆筒形钢制焊接储罐在线检测及评价技术规范
评论
0/150
提交评论