网络信息安全原理简介.ppt

上传人:p** 文档编号:164257 上传时间:2023-03-07 格式:PPT 页数:42 大小:937KB
下载 相关 举报
网络信息安全原理简介.ppt_第1页
第1页 / 共42页
网络信息安全原理简介.ppt_第2页
第2页 / 共42页
网络信息安全原理简介.ppt_第3页
第3页 / 共42页
网络信息安全原理简介.ppt_第4页
第4页 / 共42页
网络信息安全原理简介.ppt_第5页
第5页 / 共42页
网络信息安全原理简介.ppt_第6页
第6页 / 共42页
网络信息安全原理简介.ppt_第7页
第7页 / 共42页
网络信息安全原理简介.ppt_第8页
第8页 / 共42页
网络信息安全原理简介.ppt_第9页
第9页 / 共42页
网络信息安全原理简介.ppt_第10页
第10页 / 共42页
亲,该文档总共42页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

《网络信息安全原理简介.ppt》由会员分享,可在线阅读,更多相关《网络信息安全原理简介.ppt(42页珍藏版)》请在第壹文秘上搜索。

1、1网络信息安全原理简介网络信息安全原理简介2OutlineFoundations: rwhat is security?rcryptographyrauthenticationrmessage integrityrkey distribution and certificationSecurity in practice:rapplication layer: secure e-mailrtransport layer: Internet commerce, SSL, SETrnetwork layer: IP security3Friends and enemies: Alice, Bob,

2、 Trudyrwell-known in network security worldrBob, Alice (lovers!) want to communicate “securely”rTrudy, the “intruder” may intercept, delete, add messagesFigure 7.1 goes here4What is network security?Secrecy: only sender, intended receiver should “understand” msg contentsmsender encrypts msgmreceiver

3、 decrypts msgAuthentication: sender, receiver want to confirm identity of each other Message Integrity: sender, receiver want to ensure message not altered (in transit, or afterwards) without detection5Internet security threatsPacket sniffing: mbroadcast mediampromiscuous NIC reads all packets passi

4、ng bymcan read all unencrypted data (e.g. passwords)me.g.: C sniffs Bs packetsABCsrc:B dest:A payload6Internet security threatsIP Spoofing: mcan generate “raw” IP packets directly from application, putting any value into IP source address fieldmreceiver cant tell if source is spoofedme.g.: C pretend

5、s to be BABCsrc:B dest:A payload7Internet security threatsDenial of service (DOS): mflood of maliciously generated packets “swamp” receivermDistributed DOS (DDOS): multiple coordinated sources swamp receiverme.g., C and remote host SYN-attack AABCSYNSYNSYNSYNSYNSYNSYN8The language of cryptographysym

6、metric key crypto: sender, receiver keys identicalpublic-key crypto: encrypt key public, decrypt key secret Figure 7.3 goes hereplaintextplaintextciphertextKAKB9Symmetric key cryptographysubstitution cipher: substituting one thing for anothermmonoalphabetic cipher: substitute one letter for anotherp

7、laintext: abcdefghijklmnopqrstuvwxyzciphertext: mnbvcxzasdfghjklpoiuytrewqPlaintext: bob. i love you. aliceciphertext: nkn. s gktc wky. mgsbcE.g.:Q: How hard to break this simple cipher?:brute force (how hard?)other?10Symmetric key crypto: DESDES: Data Encryption StandardrUS encryption standard NIST

8、 1993r56-bit symmetric key, 64 bit plaintext inputrHow secure is DES?mDES Challenge: 56-bit-key-encrypted phrase (“Strong cryptography makes the world a safer place”) decrypted (brute force) in 4 monthsmno known “backdoor” decryption approachrmaking DES more securemuse three keys sequentially (3-DES

9、) on each datummuse cipher-block chaining11Symmetric key crypto: DESinitial permutation 16 identical “rounds” of function application, each using different 48 bits of keyfinal permutationDES operation12Public Key Cryptographysymmetric key cryptorrequires sender, receiver know shared secret keyrQ: ho

10、w to agree on key in first place (particularly if never “met”)?public key cryptographyrradically different approach Diffie-Hellman76, RSA78rsender, receiver do not share secret keyrencryption key public (known to all) rdecryption key private (known only to receiver)13Public key cryptographyFigure 7.

11、7 goes here14Public key encryption algorithmsneed d ( ) and e ( ) such thatd (e (m) = m BBBB.need public and private keysfor d ( ) and e ( ).BBTwo inter-related requirements:12RSA: Rivest, Shamir, Adelson algorithm15RSA: Choosing keys1. Choose two large prime numbers p, q. (e.g., 1024 bits each)2. C

12、ompute n = pq, z = (p-1)(q-1)3. Choose e (with en) that has no common factors with z. (e, z are “relatively prime”).4. Choose d such that ed-1 is exactly divisible by z. (in other words: ed mod z = 1 ).5. Public key is (n,e). Private key is (n,d).16RSA: Encryption, decryption0. Given (n,e) and (n,d)

13、 as computed above1. To encrypt bit pattern, m, computec = m mod ne(i.e., remainder when m is divided by n)e2. To decrypt received bit pattern, c, computem = c mod nd(i.e., remainder when c is divided by n)dm = (m mod n)e mod ndMagichappens!17RSA example:Bob chooses p=5, q=7. Then n=35, z=24.e=5 (so

14、 e, z relatively prime).d=29 (so ed-1 exactly divisible by z. lettermmec = m mod nel12152483217cm = c mod nd1748196857210675091509141182522307200012cdletterlencrypt:decrypt:18AuthenticationGoal: Bob wants Alice to “prove” her identity to himProtocol ap1.0: Alice says “I am Alice”Failure scenario?19A

15、uthentication: another tryProtocol ap2.0: Alice says “I am Alice” and sends her IP address along to “prove” it.Failure scenario?20Authentication: another tryProtocol ap3.0: Alice says “I am Alice” and sends her secret password to “prove” it.Failure scenario?21Authentication: yet another tryProtocol

16、ap3.1: Alice says “I am Alice” and sends her encrypted secret password to “prove” it.Failure scenario?I am Aliceencrypt(password)22Authentication: yet another tryGoal: avoid playback attackFailures, drawbacks?Figure 7.11 goes hereNonce: number (R) used onlyonce in a lifetimeap4.0: to prove Alice “live”, Bob sends Alice nonce, R. Alicemust return R, encrypted with shared secret key23Figure 7.12 goes hereAuthentication: ap5.0ap4.0 requires shared symmetric keymproblem: how do Bob, Alice agree on k

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > IT计算机 > 网络信息安全

copyright@ 2008-2023 1wenmi网站版权所有

经营许可证编号:宁ICP备2022001189号-1

本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。第壹文秘仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知第壹文秘网,我们立即给予删除!