资讯安全72课件_第1页
资讯安全72课件_第2页
资讯安全72课件_第3页
资讯安全72课件_第4页
资讯安全72课件_第5页
已阅读5页,还剩35页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

資訊安全

NetworkSecurityInstructor:孫宏民hmsun@.tw

Room:EECS6402,Tel:03-5742968,Fax:886-3-572-36941Textbook:

C.Kaufman,R.Perlman,andM.Speciner,NetworkSecurity,SecondEdition,Prentice-HallPTR,2002.

ReferenceBooks:

1.W.Ford,ComputerCommunicationsSecurity:principles,StandardProtocols,andTechniques,PrenticeHall,1994.2.W.Stallings,NetworkSecurityEssentials,SecondEdition,PrenticeHall,2003.

GradingScheme:

Project50%,Paper25%,Exams25%

2Chapter2IntroductiontoCryptographyInstructor:孫宏民3Cipher(Cryptosystem):

secretmethodofwritingCiphertexts:

AnencryptedmessagesSenderReceiverIntruderModelofConventionalCryptosystem5Cryptographyisthestudyofcreatingandusingsecretwriting,ortheartandscienceofkeepingmessagessecure.Encryption(Enciphering):Theencryptionistheprocessofdisguisingamessageinsuchawayastohideitssubstance.Notation:C=E(M)orEK(M)orEK1(M)Decryption(Deciphering):Theprocessofturningciphertextbackintoplaintext.Notation:M=D(C)orDK(C)orDK2(C)6Cryptanalysis:

Theartandscienceofbreakingciphertexts.Cryptographersv.s.CryptanalystsCryptology=Cryptography+Cryptanalysis7FourBasicServicesofCryptographyIntegrity:

Itshouldbepossibleforthereceiverofamessagetoverifythatithasnotbeenmodifiedintransit;anintrudercannotsubstituteafalsemessageforalegitimateone.Nonrepudiation:

Asendershouldnotbeabletofalselydenylaterthathesentamessage.92.2BreakinganEncryptionScheme(1)Acipherisbreakableifitispossibletofindplaintextorkeyfromciphertext,ortofindthekeyfromplaintext-ciphertextpairs.Cryptanalysis=study(methods)ofbreakingsystem,thatis,decipheringwithoutthekey(K2),using:102.2BreakinganEncryptionScheme(2)(a)Ciphertextonly(C)Mostdifficulttobreak(b)Knownplaintext(M,C)E.g.,encryptedprograms(while,if,else,...)(c)Chosenplaintext(M*,C)GetthesendertoencipherM*(yourchoice)foryou.(d)Chosenciphertext(M,C*)GetthereceivertodecipherC*(yourchoice)foryou.11SomeothertypesofCryptanalyticAttacks(1)Adaptive-chosen-plaintextAttacks(aspecialcaseofachosen-plaintextattack):

Theintrudernotonlycanchoosetheplaintextthatisencrypted,buthecanalsomodifyhischoicebasedontheresultsofpreviousencryption.Chosen-keyAttacks:

Theintrduerhassomeknowledgeabouttherelationshipbetweendifferentkeys.13SomeothertypesofCryptanalyticAttacks(2)Bruce-forceAttacks(Exhaustivesearch):

Totryeverypossiblekeyonebyoneandtocheckwhethertheresultingplaintextismeaningful.142.3TypeofCryptographicFunctionHashFunctionSecretKeyFunctionPublicKeyFunction

15plaintextencryptionciphertextkeyciphertextplaintextdecryption17ExampleofaCiphermi,ci

{00,01,02,...,25}Toencipher:M=m1m2m3…C=c1c2c3…18Todecipher:19CodeBookPlaintextwordsorphrasesareenteredintothecodebooktogetherwiththeirciphertextsubstitutes.Thecodebookisthekey.Example:ATTACKJAPAN40085603WordCodeBOMB1701JAPAN5603ATTACK4008NIGHT3790

212.5PublicKeyCryptosystemsPublicKeyCryptosystems:

Encryption&decryptionkeysaredifferent(EK1(M)=C&DK2(C)=M),suchasRSA,ElGamal,andMcEliece.Theencryptionkey(publickey)canbepublicwhilethedecryptionkey(secretkey)cannotbecalculatedfromthepublickey.22Encryptionanddecryptionaretwomathmaticalfunctionsthatincersesofeachother.plaintextencryptionciphertextPrivatekeyciphertextplaintextdecryptionPublickey232.6HashAlgorithmAcryptographichashfunctionisamathematicaltransformationthattakesamessageofarbitrarylengthandcomputesfromitafixed-lengthnumber.Wewillcallthehashofamessagem,h(m).25Ithasthefollowingproperty:Foranymessage,itiseasytocomputeh(m).Givenh(m),thereisnowaytofindamthathashestoh(m)inawaythatissubstantiallyeasierthangoingthroughallpossiblevaluesofmandcomputingh(m)foreachone.Itiscomputationallyinfeasibletofindtwovaluethathashtothesamething.26InterruptionThisisanattackonavailability.Examples:cuttingofacommunicationline,ordestructionofapieceofhardware.InterceptionThisisanattackonsecrecy.Examples:wiretappingtocapturedatainnetwork,orillicitcopyingoffilesorprograms.29ModificationThisisanattackonintegrity.Examples:changingvaluesinadatafile,oralteringaprogramsothatitperformsdifferently.FabricationThisisanattackonauthenticity.Examples:insertionoffakemessagesinnetwork,oradditionofrecordstoafile.30SecurityThreatsPassivethreatsInterception(Secrecy)ActivethreatsInterruption(Availability)Modification(Integrity)Fabrication(Authenticity)31DataSecurity(1)Datasecurityisthescienceandstudyofmethodsofprotectingdataincomputerandcommunicationssystems.Datasecuritystudiesfourkindsofcontrol:CryptographyAccessInformationflowPreventleakageInferencePeopleshouldn'tbeabletoinfersomethingthatshouldn'tbeinferred32DataSecurity(2)ThreatstodataincomputersystemsSecrecyBrowsing,Leakage,InferenceAuthenticityTampering,AccidentaldestructionBrowsingSearchingthroughmainmemoryorsecondarystorage33DataSecurity(3)Leakage

Transmissionofdatatounauthorizedusersbyprocesseswithlegitimateaccesstothedata(e.g.,compilers,texteditors,...)Inference

Inastatisticaldatabase,youmayinfertheinfoofanindividualfromaverage.

34DataSecurity(4)TamperingReplayinsertDeleteAccidentaldestructionUnintentionaloverwritingCausedbyfaultysoftware(e.g.,anarraysubscriptisout-of-range)Accesscontrolsareneededtopreventprogramsfromwritingintomemoryregionsofotherprograms35DataSecurity(5)UnintentionaldeletionCausedbysoftwareorhardwarefailureorusermistakes(e.g.,adiskcrash)Backupisneededtorecoverfromdestruction36OtherThreatstoDataSecurityCiphertextsearching

xyz xyz salary(example)

Youdon'tknowwhatxyzis,butknowtheyarethesame.KnowoneofthemKnowbothMasquerading

Writeprogramstosimulateloginproceduretogetotherpeople'spassword.

37ComputerSystem38CryptographicSystemForagivenK,DKistheinverseofEK;thatis,DK(EK(M))=MRequirementsforcryptosystems:K,EKandDKareefficient(runinpolynomialtime)Systemiseasytouse(no200digitskeyshastobetyped)Securitydependsonlyonthes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nZr$u*x+A2E5H8KcNfQiUlXp#s%v)y0B3F6IaLdOgSjVmYq!t*w-z1D4G7JbMePhTkWoZr$u(x+A2E5H9KcNfRiUlXp#s&v)y0C3F6IaLdPgSjVnYq!t*w-A1D4G8JbMeQhTlWoZr%u(x+B2E6H9KcOfRiUmXp!s&v)z0C3F7IaLhTkWoZr$u(x+A2E5H9KcNfRiUlXp#s&v)y0C3F6IaLdPgSjVnYq!t*w-A1D4G8JbMeQhTlWoZr%u(x+B2E5H9KcOfRiUmXp#s&v)z0C3F7IaLdPgSkVnYq$t*w-A1D5G8JbNeQhTlWo#r%u(y+B2E6H9LcOfRjUmXp!s&w)z0C4F7IaMdPhSkVnZq$t*x-A1D5G8KbNeQiTlWo#r%v(y+B3E6H9LcOgRjUmYp!s&w)z1C4F7JaMdPhSkWnZq$u*x-A2D5H8KbNfQiTlXo#s%v(y0B3E6I9LcOgRjVmYp!t&w)z1C4G7JaMePhSkWnZr$u*x+A2D5H8KcNfQiUlXo#s%v)y0B3F6I9LdOgSjVmYq!t&w-z1D4G7JbMePhTkWnZr$u(x+A2E5H8KcNfRiUlXp#s%v)y0C3F6IaLdSkWnZr$u*x+A2D5H8KcNfQiUlXo#s%v)y0B3F6I9LdOgSjVmYq!t&w-z1C4G7JbMePhTkWnZr$u(x+A2E5H8KcNfRiUlXp#s%v)y0C3F6IaLdOgSjVnYq!t*w-z1D4G8JbMeQhTkWoZr%u(

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论