欢迎来到天天文库
浏览记录
ID:33938906
大小:1.33 MB
页数:38页
时间:2019-03-01
《A Study of Android Application Security.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、fPvpqbjp^kaFkqbokbqfFkco^pqor`qrobPb`rofqvKbqtloh^kaPb`rofqvObpb^o`e@bkqboAbm^oqjbkqlc@ljmrqboP`fbk`b^kaBkdfkbbofkdMbkkpvis^kf^Pq^qbRkfsbopfqv)RkfsbopfqvM^ohM>AStudyofAndroidApplicationSecurityWilliamEnck,DamienOcteau,PatrickMcDaniel,andSwaratChaudhuriUSENIXSecurityS
2、ymposiumAugust2011SystemsandInternetInfrastructureSecurityLaboratory(SIIS)Page1NewDominantPlayerSystemsandInternetInfrastructureSecurityLaboratory(SIIS)Page2NewDominantPlayer•Nobodyislookingatalltheapps(250Kandgrowing)•Whatwouldyoulookforifyoudid?SystemsandInternetIn
3、frastructureSecurityLaboratory(SIIS)Page2StudyingApplications•Goal:StudyabreadthofsecuritypropertiesinalargesetofpopularAndroidsmartphoneapplications.•Howdoyougettheapplicationsandsourcecode?‣Howtoretrieveapplicationpackages(.apkfiles)?‣Howtoretrievingapplicationsourc
4、ecode?•Howdoyougoaboutstudyingthesourcecode?‣Whatdoyoulookfor?‣Howdoyoulookforit?‣Howdoyouknowwhat’sactuallythere?SystemsandInternetInfrastructureSecurityLaboratory(SIIS)Page3DalvikEXecutables•AndroidapplicationswrittenJava,compiledtoJavabytecode,andtranslatedintoDEX
5、bytecode(DalvikVM)JavadxCompilerClass1.class.dexfileConstantPoolHeaderClassInfoDataConstantPoolJavaSourceCodeClass1definition(.javafiles)ClassN.classConstantPoolClassNdefinitionClassInfoDataData•WewanttoworkwithJava,notDEXbytecode‣Therearealotofexistingprogramanalysistoo
6、lsforJava‣Wewanttoseewhatthedeveloperwasdoing(i.e.,confirmation)•Non-trivialtoretargetbacktoJava:‣registervs.stackarchitecture,constantpools,ambiguousscalartypes,nullreferences,etc.SystemsandInternetInfrastructureSecurityLaboratory(SIIS)Page4GettingbacktotheSourceReta
7、rgetingProcess•ThededdecompilerCFGConstruction(1)DEXParsingTypeInferenceProcessing‣ReferstoboththeentireprocessMissingTypeInferenceConstantandthe.dex⇒.classretargetingtoolIdentification(2)Java.classConstantPoolConversionConversionConstantPoolTranslation‣Multi-stagepro
8、cesswithmanyMethodCodeRetargetingBytecodesub-stagesReorganization(3)Java.classOptimizationInstructionSet‣http://siis.cse.psu.edu/de
此文档下载收益归作者所有