




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)會(huì)1網(wǎng)絡(luò)安全認(rèn)證協(xié)議形式化分析肖肖 美美 華華南昌大學(xué)信息工程學(xué)院南昌大學(xué)信息工程學(xué)院( (南昌南昌,330029),330029)中國科學(xué)院軟件研究所計(jì)算機(jī)科學(xué)重點(diǎn)實(shí)驗(yàn)室中國科學(xué)院軟件研究所計(jì)算機(jī)科學(xué)重點(diǎn)實(shí)驗(yàn)室( (北京北京,100080),100080)2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)2Organization nIntroductionnRelated WorknFormal System NotationnIntruders Algorithmic Know
2、ledge LogicnVerification Using SPIN/PromelanConclusion 2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)3 Introduction nCryptographic protocols are protocols that use cryptography to distribute keys and authenticate principals and data over a network.nFormal methods, a combination of a mathematical or logic
3、al 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 (Specification);Verification. 2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)4 Introduction (cont.)In cryptographic protoc
4、ols, 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-Repudiation (NRO, NRR);Fairness, etc. 2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)5Related WorkTechniques of verif
5、ying security properties of the cryptographic protocols can be broadly categorized:nmethods based on belief logics (BAN Logic)n-calculus based models n state machine models (Model Checking) Model checking advantages (compare with theory proving): automatic; counterexample if violation Use LTL (Linea
6、r temporal logic ) to specify properties FDR (Lowe); Mur (Mitchell); Interrogator (Millen); Brutus (Marrero) SPIN (Hollzmann)n theorem prover based methods (NRL, Meadows)n methods based on state machine model and theorem prover (Athena, Dawn)nType checkingnISCAS, LOIS, (in China)2022-2-18第二十次全國計(jì)算機(jī)安全
7、學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)6Notation(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 2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)7Notation(3) Derivation ( , Dolev-Yao model) m B B m
8、 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) 2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)8Notation(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 sub-msgs(m) : X Y B Y) (b: b B : Y b) (Z, k: Z Msg k Key :
9、 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) 2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)9Logic of Algorithmic KnowledgeDefinition 1. Primitive propositions P0s for security: p, q P0s := sendi (m) Principal i sent message m recvi (m) Principal i
10、 received message m hasi (m) Principal i has message m 2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)10Logic of Algorithmic KnowledgeDefinition 2. An interpreted security system S = (R, R), where R is a system for security protocols, and R is the following interpretation of the primitive propositions in
11、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) 2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)11Logic of Algorithmic KnowledgeDefinition 3. An interpreted algorithmic security sys
12、tem (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. 2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)12Algorithm knowledge logic AiDY(hasi(m),l) K = keyof(l) for each recv(m) in l do if submsg(m, m, K) then return “Yes” return
13、 “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 false2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)13Cont.getkeys(m, K) if m Key then return m if m is m1k and k-1 K then return getkeys(m1
14、, 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 K2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)14Verification Using SPIN/PromelaSPIN is a highly successful and widely used software model-checki
15、ng system 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 spe
16、cify systems descriptions, including protocols, called Promela (PROcess MEta LAnguage). 2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)15BAN-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 , NbKab2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)16Atta
17、ck 1 (intruder impersonates Bob to 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 2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)17Attack 2 (intr
18、uder impersonates Alice).1 AB: A, Na.2 BS: 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 2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)18Attack 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,
19、 NbKas .3 SI(B): Na, A, Kab, NbKbs , B, Kab, NaKas .3 I(S)A: Nb, B, Kab, NaKas , A, Kab, NbKbs.4 AB: A, Kab, NbKbs , NbKab2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)19Optimization strategies nUsing static analysis and syntactical reordering techniquesnThe two techniques are illustrated using BAN-Yahal
20、om verification model as the benchmark.ndescribe the model as Original version to which static analysis and the syntactical reordering techniques are not applied, nthe static analysis technique is only used as Fixed version(1),nboth the static analysis and the syntactical reordering techniques are u
21、sed as Fixed version(2).2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)20Experimental results show the effectivenessProtocol Model ConfigurationWith type flawsNo type flawsStatesTrans.StatesTrans.Original version15802065549697Fixed version(1)7121690405379Fixed version(2)433512225 2432022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)21Needham-Schroeder Authentication Protocol 2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)22Attack to N-S Protocol (found by SPIN)2022-2-18第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)第二十次全國計(jì)算機(jī)安全學(xué)術(shù)交流會(huì)
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 【2025年存儲(chǔ)芯片發(fā)展趨勢:AI驅(qū)動(dòng)市場需求激增 價(jià)格上行周期開啟】
- 預(yù)制梁板施工方案
- 智能交通系統(tǒng)施工方案
- 第08講 八上古詩詞【知識(shí)精研】中考語文一輪復(fù)習(xí)(廣東專用)
- 吉林清淤固化施工方案
- 東莞排水帶施工方案
- 2025年增城臨聘筆試試題及答案
- 2025年往年音樂學(xué)考試題及答案
- 2025年排序中考試題語文及答案
- 低碳行動(dòng)方案設(shè)計(jì)
- 2025年政府預(yù)算支出經(jīng)濟(jì)分類科目說明表
- 手術(shù)室剖宮產(chǎn)護(hù)理教學(xué)查房范文
- 【MOOC】機(jī)器學(xué)習(xí)-北京理工大學(xué) 中國大學(xué)慕課MOOC答案
- 《森林防火安全教育》主題班會(huì) 課件
- 《類風(fēng)濕專病數(shù)據(jù)集技術(shù)規(guī)范》 編制說明
- 麻醉機(jī)故障應(yīng)急預(yù)案演練
- 2024年同等學(xué)力申碩英語考試真題
- 2024-2030年實(shí)驗(yàn)室自動(dòng)進(jìn)樣器行業(yè)市場現(xiàn)狀供需分析及投資評(píng)估規(guī)劃分析研究報(bào)告
- 專題07說明文閱讀(中考??紵狳c(diǎn)題型)20篇(原卷版)-2023-2024學(xué)年九年級(jí)語文上學(xué)期期末(一模)真題分類匯編
- 風(fēng)險(xiǎn)投資中的人工智能應(yīng)用
- DB5204T 10-2024 農(nóng)產(chǎn)品地理標(biāo)志質(zhì)量要求 紫云花豬
評(píng)論
0/150
提交評(píng)論