文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > Static Analysis of Executables to Detect Malicious Patterns
侵权投诉

Static Analysis of Executables to Detect Malicious Patterns

Malicious code detection is a crucial component of any defense mechanism. In this paper, we present a unique viewpoint on malicious code detection. We regard malicious code detection as an obfuscation-deobfuscation game between malicious code writers and r

StaticAnalysisofExecutablestoDetectMaliciousPatterns

MihaiChristodorescuandSomeshJha

mihai,jha@cs.wisc.edu

10February2003

Abstract

Maliciouscodedetectionisacrucialcomponentofanydefensemechanism.Inthispaper,wepresentauniqueviewpointonmaliciouscodedetection.Weregardmaliciouscodedetectionasanobfuscation-deobfuscationgamebetweenmaliciouscodewritersandresearchersworkingonmaliciouscodedetection.Maliciouscodewritersattempttoobfuscatethemaliciouscodetosubvertthemaliciouscodedetectors,suchasanti-virussoftware.Wetestedtheresilienceofthreecommercialvirusscannersagainstcodeobfuscationattacks.Theresultsweresurprising:thethreecommercialvirusscannerscouldbesubvertedbyverysimpleobfuscationtransformations!Wepresentanarchitecturefordetectingmaliciouspatternsinexecutablesthatisresilienttocommonobfuscationtransformations.Experimentalresultsdemonstratetheef cacyofourprototypetool,SAFE(asnalyzerfxecutables).

1Introduction

Intheinterconnectedworldofcomputers,maliciouscodehasbecomeanomnipresentanddangerousthreat.Maliciouscodecanin ltratehostsusingavarietyofmethodssuchasattacksagainstknownsoftware aws,hiddenfunctionalityinregularprograms,andsocialengineering.Giventhedevastatingeffectmaliciouscodehasonourcyberinfrastruc-ture,identifyingmaliciousprogramsisanimportantgoal.Detectingthepresenceofmaliciouscodeonagivenhostisacrucialcomponentofanydefensemechanism.

Maliciouscodeisusuallyclassi ed[29]accordingtoitspropagationmethodandgoalintothefollowingcategories:virusesareprogramsthatself-replicatewithinahostbyattachingthemselvestoprogramsand/ordocumentsthatbecomecarriersofthemaliciouscode;

wormsself-replicateacrossanetwork;trojanhorsesmasqueradeasusefulprograms,butcontainmaliciouscodetoattackthesystemorleakdata;backdoorsopenthesystemtoexternalentitiesbysubvertingthelocalsecuritypoliciestoallowremoteaccessandcontroloveranetwork;

spywareisausefulsoftwarepackagethatalsotransmitsprivateuserdatatoanexternalentity.

Combiningtwoormoreofthesemaliciouscodecategoriescanleadtopowerfulattacktools.Forexample,awormcancontainapayloadthatinstallsabackdoortoallowremoteaccess.Whenthewormreplicatestoanewsystem(viaemailorothermeans),thebackdoorisinstalledonthatsystem,thusprovidinganattackerwithaquickandeasywaytogainaccesstoalargesetofhosts.Stanifordet.al.havedemonstratedthatwormscanpropagateextremelyquicklythroughanetwork,andthuspotentiallycrippletheentirecyberinfrastructure[40].Inarecentoutbreak,theSapphire/Slammerwormreachedthepeakinfectionrateinabout10minutessincelaunch,doublingevery8.5seconds[30].Oncetheback-doortoolgainsalargeinstalledbase,theattackercanusethecompromisedhoststolaunchacoordinatedattack,suchasadistributeddenial-of-service(DDoS)attack[5].

Inthispaper,wedevelopamethodologyfordetectingmaliciouspatternsinexecutables.Althoughourmethodisgeneral,wehaveinitiallyfocusedourattentiononviruses.Acomputervirusreplicatesitselfbyinsertingacopyofitscode(theviralcode)intoahostprogram.Whenauserexecutestheinfectedprogram,theviruscopyruns,infectsmoreprograms,andthentheoriginalprogramcontinuestoexecute.Tothecasualuser,thereisnoperceiveddifferencebetweenthecleanandtheinfectedcopiesofaprogramuntilthevirusactivatesitsmaliciouspayload.

Theclassicvirus-detectiontechniqueslookforthepresenceofavirus-speci csequenceofinstructions(calledavirussignature)insidetheprogram:ifthesignatureisfound,itishighlyprobablethattheprogramisinfected.Forexample,

第1页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email