




已阅读5页,还剩25页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
第13章 移动代码安全 西安电子科技大学电子对抗研究所 信息对抗 MobileCode MobileAgent C SMODEL C S R CCODEONDEMAND C R S CREMOTECOMPUTING C C S RMOBILEAGENT C C S R MALICIOUSCODE 1 MOBILECODEATTACKSTHEENVIRONMENTWHEREITISEXECUTED 代理对代理平台的攻击对驻留在代理平台上的信息的非法访问 以预期和破坏性的方式授权访问 BEARSOMESIMILARITYWITHTROJANHORSES MALICIOUSHOST 2 MALICIOUSHOST一个接收代理平台能很容易的分离 捕获一个代理 并通过如下方式攻击它 提取信息 毁坏或修改它的代码或状态 拒绝请求服务 或简单的重新初始化或终止它 THREATSFROMOTHERAGENTS 3 代理对其它代理的威胁一个代理通过使用几个普通方法就可以攻击另一代理 这包括伪造事务 窃听谈话 或者干涉一个代理活动 THREATSFROMOTHERENTITIES 4 其它实体对代理系统的威胁即使假设当前运行的代理和代理平台都是行为良好的 代理框架外部的和内部的其它实体也可能有扰乱 损坏 或破坏代理系统活动的企图 PROTECTIONOOFAHOSTFROMAMOBILECODE TWODIRECTIONS Amobilecodeinfrastructurethatisgraduallyenhancedwithauthenticatin dataintegrityandaccesscontrolmechanism Verificationofmobilecodesemantics SafeInterpreters runningstraightbinariespresentssomeserioussecurityproblems Acommonapproachistoforgocompiledexecutablesandinsteadtointerpretthemobilecodeinstead Interpreterhasfine grainedcontrolovertheappletCanexamineeachinstructionorstatementThesafetyofthesystemisreducedtothecorrectnessofthesecuritypolicyimplementedbytheinterpreter FaultIsolation Interpreterssufferaseriousperformanceoverhead Theuntrustedcodeisloadedintoitsownpartoftheaddressspaceknownasafaultdomain Thecodeisinstrumentedtobesurethateachload store orjumpinstructionsistoanaddressinthefaultdomain FaultIsolation twoways 1 insertaconditionalcheckoftheaddressandraiseanexceptionifitisinvalid or2 simplyoverwritetheupperbitsoftheaddresstocorrespondtothoseofthefaultdomain Atmuchlowercostthaninterpreters Sandbox arestrictedenvironment CodeVerification Althoughsoftwarefaultisolationcertainlyprovidesmobilecodesafetywithhigherperformancethaninterpretation wearestillsubjecttotheoverheadsofthecodeinstrumentation aswellastheoverheadsoftheindirectedcallswhichaccessresources Proof carryingCodecanbeusedtoaddresssomeoftheseissuses CodeVerification programchecking Checkingamobilecodemeanstoperformaverificationonthecodestructureoronthecodebehaviorasitisrunandmodifyinginconsequencethestatusofthecode Sandboxes rudimentaryprogramcheck eitherstatically forinstancetoensurethatoperandsofaninstuctionareofthecorrecttype ordynamically forexampletolocateanyaccesstoaprotectedresource Proof CarryingCode Apredefinedsecuritypolicyisdefinedintermsofalogic Hostfirstaskstobesentaproofthatthecoderespectsthepolicybeforeheactuallyagreestorunit ThecodeproducersendstheprogramandanaccompanyingproofAfterreceivingthecode hostcanchecktheprogramwiththeguidanceoftheproof Proof CarryingCode Proof CarryingCode Onkeyquestionwhichaffectstheusefulnessofthisapproachisthatof WhatprogrampropertiesareexpressibleandprovableintheLFlogicusedtopublishthesecuritypolicyandencodetheproof PCCsacrificesplatform independenceforperformance Protectionofamobilecodefromamalicioushost Theproblemofprotectionfromamalicioushosthasbeenstudiedonlyrecently andisintrinsicallymoredifficultbecausetheenvironmentgetsatotalcontroloverthemobilecode otherwise hostprotectionwouldnotbepossible Classifiedalong2criteria 1 dataversuscodeprotection and2 integrity orconfidentiality based MaliciousHost Solutionstothemalicioushostproblemshouldfocusontwothemes 1 Beingabletoprovethattamperingoccurred2 Preventingleakageofsecretinformation DetectingTampering ExecutionTracingAuthenticatingPartialResults ExecutionTracing Theagent scodeisdividedinto2typesofinstructions Dependonlyontheagent sinternalstateDependuponinteractionwiththeevaluationenvironment Former newvaluesrecordintraceLatter recordingthenewvaluesanddigitallysignthem ExecutionTracing Thetracecanbeexaminedtodetermineifthehosteither Incorrectlyexecutedaninternal onlyinstruction orLiedtotheagentduringoneofitsinteractionswiththeenvironment AuthenticatingPartialResults PartialResultAuthenticationCodeAnagentissentoutwithasetofsecretkeysk1 k2 kn Atserveri theagentuseskeykitosigntheresultofitsexecutionthere TherebyproducingaPRAC andtheneraseskifromitsstatebeforemovingtothenextserver Guaranteeperfectforwardintegrity PreservingSecrecy Themotivationofanagenttopreservesomesecrecyfromthemalicioushostisthattherearesomesituationsinwhichsimpledetectionafter the factisinsufficientorunsatisfactory ThecostoflegalactionAprivatekeycompromised PreservingSecrecy Tosolvethefollowingproblem Ouragent sprogramcomputessomefunctionf andthehostiswillingtocomputef x fortheagent buttheagentwantsthehosttolearnnothingsubstantiveaboutf PreservingSecrecy PreservingSecrecy protocol Theowneroftheagentencryptsf TheownercreatesaprogramP E f whichimplementsE f andputsitintheagent Theagentgoestotheremotehost whereitcomputeP E f x andreturnhome TheownerdecryptsP E f x andobtainsf x 五 保护代理 续 4 执行追踪执行追踪技术 通过使用代理在每一代理平台上执行过程中对其行为的可靠记录 来探测代理是否被非法修改 该技术要求涉及到的每一个平台 对代理在该平台停留期间所执行的操作 创建并保持一个客观的日志或跟踪文件 并作为一次跟踪的总结或指纹 提交对追踪的加密复述作为结论 五 保护代理 续 5 环境钥的产生环境钥产生 25 描述了一种设计 它允许代理在一些环境条件为真的时候 执行预先定义的行为 这种方法集中于采用如下方法构建代理 即遇到一种状态环境时 如通过匹配一个搜索串 产生一个环境钥 用它来解锁一些加密的可执行代码 五 保护代理 续 6 具有加密功能的计算具有加密功能计算的目的 是确定一种方法 使得移动代码能安全地计算密码操作原语 例如一
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 滚轴筛培训课件
- 难点详解人教版八年级上册物理声现象《声音的特性声的利用》难点解析练习题(含答案详解)
- 基础护理学必考大题题库及答案解析
- 货客从业资格证考试及答案解析
- 港口理货知识培训课件
- 港口消防科普知识培训课件
- 淡奶油烘焙知识培训课件
- 考点攻克苏科版八年级物理上册《声现象》章节测试试卷(附答案详解)
- 2025年征信考试题库:征信法规与信用报告使用试题
- 2025年医保知识考试题库及答案:医保政策宣传与专项测试
- 2025-2026学年人教版(2024)初中体育与健康八年级全一册《保持良好的身体姿态》教学设计
- 2025年全国青少年禁毒知识竞赛小学组题库(附答案)
- 2025年成人高考专升本政治考试提分试题及答案
- 配送司机安全教育培训课件
- 聚会饮酒安全教育培训课件
- 2025年技术经理人职业考试试卷及答案
- 建设银行沈阳市于洪区2025秋招笔试性格测试题专练及答案
- 临床医学职业生涯规划
- 钢结构大棚承揽合同范本
- 2025至2030年中国液态锂电池行业市场发展现状及投资潜力预测报告
- 2025年公务员类公务员申论-行政职业能力测验参考题库含答案解析(5套试卷)
评论
0/150
提交评论