版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、网络安全认证协议形式化分析,2020/8/25,第二十次全国计算机安全学术交流会,2,Organization,Introduction Related Work Formal System Notation Intruders Algorithmic Knowledge Logic Verification Using SPIN/Promela Conclusion,2020/8/25,第二十次全国计算机安全学术交流会,3,Introduction,Cryptographic protocols are protocols that use cryptography to distribut
2、e keys and authenticate principals and data over a network. Formal methods, a combination of a mathematical or logical model of a system and its requirements, together with an effective procedure for determining whether a proof that a system satisfies its requirements is correct. Model; Requirement
3、(Specification); Verification.,2020/8/25,第二十次全国计算机安全学术交流会,4,Introduction (cont.),In cryptographic protocols, it is very crucial to ensure: Messages meant for a principal cannot be read/accessed by others (secrecy); Guarantee genuineness of the sender of the message (authenticity); Integrity; Non-Rep
4、udiation (NRO, NRR); Fairness, etc.,2020/8/25,第二十次全国计算机安全学术交流会,5,Related Work,Techniques of verifying security properties of the cryptographic protocols can be broadly categorized: methods based on belief logics (BAN Logic) -calculus based models state machine models (Model Checking) Model checking
5、advantages (compare with theory proving): automatic; counterexample if violation Use LTL (Linear temporal logic ) to specify properties FDR (Lowe); Mur (Mitchell); Interrogator (Millen); Brutus (Marrero) SPIN (Hollzmann) theorem prover based methods (NRL, Meadows) methods based on state machine mode
6、l and theorem prover (Athena, Dawn) Type checking ISCAS, LOIS, (in China),2020/8/25,第二十次全国计算机安全学术交流会,6,Notation,(1) Messages a Atom := C | N | k | m Msg := a | m m | mk (2) Contain Relationship () m a m = a m m1 m2 m = m1 m2 m m1 m m2 m m1k m = m1k m m1 Submessage: sub-msgs(m) m Msg | m m ,2020/8/25
7、,第二十次全国计算机安全学术交流会,7,Notation,(3) Derivation (, Dolev-Yao model) m B B m B m B m B m m (pairing) B m m B m B m (projection) B m B k B mk (encryption) B mk B k-1 B m (decryption),2020/8/25,第二十次全国计算机安全学术交流会,8,Notation,(4) Properties Lemma 1. B m B B B m Lemma 2. B m B m m B m Lemma 3. B m X m B X (Y: Y
8、 sub-msgs(m) : X Y B Y) (b: b B : Y b) (Z, k: Z Msg k Key : Y = Zk B k-1) Lemma 4. (k, b: k Key b B : k b A k AB k) (z: z sub-msgs(x) : a z A z) (b: b B: a b A a),2020/8/25,第二十次全国计算机安全学术交流会,9,Logic of Algorithmic Knowledge,Definition 1. Primitive propositions P0s for security: p, q P0s := sendi (m)
9、Principal i sent message m recvi (m) Principal i received message m hasi (m) Principal i has message m,2020/8/25,第二十次全国计算机安全学术交流会,10,Logic of Algorithmic Knowledge,Definition 2. An interpreted security system S = (R, R), where R is a system for security protocols, and R is the following interpretati
10、on of the primitive propositions in R. R(r, m) (sendi (m) = true iff j such that send (j, m) ri (m) R(r, m) (recvi (m) = true iff recv(m) ri (m) R(r, m) (hasi (m) = true iff m such that m m and recv(m ) ri (m),2020/8/25,第二十次全国计算机安全学术交流会,11,Logic of Algorithmic Knowledge,Definition 3. An interpreted
11、algorithmic security system (R, R, A1, A2, An ), where R is a security system, and R is the interpretation in R, Ai is a knowledge algorithm for principal i.,2020/8/25,第二十次全国计算机安全学术交流会,12,Algorithm knowledge logic,AiDY(hasi(m),l) K = keyof(l) for each recv(m) in l do if submsg(m, m, K) then return “
12、Yes” return “No” submsg(m, m, K) if m = m then return true if m is m1k and k-1 K then return submsg(m, m1, K) if m is m1 .m2 then return submsg(m, m1, K) submsg(m, m2, K) return false,2020/8/25,第二十次全国计算机安全学术交流会,13,Cont.,getkeys(m, K) if m Key then return m if m is m1k and k-1 K then return getkeys(m
13、1, K) if m is m1 .m2 then return getkeys(m1, K) getkeys(m2, K) return keysof(l) K initkeys(l) loop until no change in K k getkeys(m, K) (when recv(m) l ) return K,2020/8/25,第二十次全国计算机安全学术交流会,14,Verification Using SPIN/Promela,SPIN is a highly successful and widely used software model-checking system
14、based on formal methods from Computer Science. It has made advanced theoretical verification methods applicable to large and highly complex software systems. In April 2002 the tool was awarded the prestigious System Software Award for 2001 by the ACM. SPIN uses a high level language to specify syste
15、ms descriptions, including protocols, called Promela (PROcess MEta LAnguage).,2020/8/25,第二十次全国计算机安全学术交流会,15,BAN-Yahalom Protocol,1 AB: A, Na 2 BS: B, Nb, A, NaKbs 3 SA: Nb, B, Kab, NaKas , A, Kab, NbKbs 4 AB: A, Kab, NbKbs , NbKab,2020/8/25,第二十次全国计算机安全学术交流会,16,Attack 1 (intruder impersonates Bob to
16、Alice),.1 AI(B): A, Na .1 I(B)A: B, Na .2 AI(S): A, Na, B, NaKas .2 I(A)S: A, Na, B, NaKas .3 SI(B): Na, A, Kab, NaKas , B, Kab, NaKbs .3 I(S)A: Ne, B, Kab, NaKas , A, Kab, NaKbs .4 AI(B): A, Kab, NbKbs , NeKab,2020/8/25,第二十次全国计算机安全学术交流会,17,Attack 2 (intruder impersonates Alice),.1 AB: A, Na .2 BS:
17、B, Nb, A, NaKbs .1 I(A)B: A, (Na, Nb) .2 BI(S): B, Nb, A, Na, NbKas .3 (Omitted) .4 I(A)B: A, Na, NbKbs , NbNa,2020/8/25,第二十次全国计算机安全学术交流会,18,Attack 3,.1 AB: A, Na .2 BS: B, Nb, A, NaKbs .1 I(B)A: B, Nb .2 AI(S): A, Na, B, NbKas .2 I(A)S: A, Na, B, NbKas .3 SI(B): Na, A, Kab, NbKbs , B, Kab, NaKas .3
18、 I(S)A: Nb, B, Kab, NaKas , A, Kab, NbKbs .4 AB: A, Kab, NbKbs , NbKab,2020/8/25,第二十次全国计算机安全学术交流会,19,Optimization strategies,Using static analysis and syntactical reordering techniques The two techniques are illustrated using BAN-Yahalom verification model as the benchmark. describe the model as Ori
19、ginal version to which static analysis and the syntactical reordering techniques are not applied, the static analysis technique is only used as Fixed version(1), both the static analysis and the syntactical reordering techniques are used as Fixed version(2).,2020/8/25,第二十次全国计算机安全学术交流会,20,Experimental results show the effectiveness,2020/8/25,第二十次全国计算机安全学术交流会,21,Needham-Schroeder Authentication Protocol,2020/8/25,第二十次全国计算机安全学术交流会,22,Attack to N-S Protocol (found by SPIN),2020/8/25,第二十次全国计算机安全学术交流会,23,Conclusion,based on a logic of knowledge a
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026新疆喀什临港投资发展有限责任公司招聘讲解员4人备考题库附答案详解(模拟题)
- 2026浙江工业大学管理学院招聘科研助理1人备考题库(人才派遣B2岗)附答案详解(培优b卷)
- 2026年河南省郑州市二七区事业单位联考招聘备考题库含答案详解(研优卷)
- 2026国家纳米科学中心刘晶课题组招聘1人备考题库及一套完整答案详解
- 2026中国邮政集团有限公司聊城市分公司岗位招聘备考题库附答案详解(b卷)
- 2026贵州恒瑞工业投资(集团)有限公司招聘12人备考题库含答案详解(黄金题型)
- 2026年驻马店平舆县教育系统引进高层次人才135名备考题库含答案详解(b卷)
- 卵巢癌包括输卵管癌及原发性腹膜癌临床实践指南第4版解读总结2026
- 人教版五年级下册数学《不规则物体体积》教案
- 专题党课:弘扬优良传统砥砺奋斗精神
- 2025年北京经济管理职业学院辅导员考试笔试真题汇编附答案
- 徐工集团入职在线测评题库
- 总包变清包工合同范本
- 【《剪叉式举升机结构的优化设计》8400字】
- GB/T 33653-2025油田生产系统能耗测试和计算方法
- 沥青道路厂区施工方案
- (2021-2025)五年高考物理真题分类汇编(全国)专题18 电学实验(解析版)
- 2025年新版《煤矿安全规程》
- 消化内科延续护理服务
- 北京市顺义区2026届中考一模英语试题含答案
- 供水公司阀门管理办法
评论
0/150
提交评论