版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
資訊安全
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)SecuritydependsonlyonthesecrecyofK,notonEorD39-A2D5G8KbNfQiTlXo#r%v(y0B3E6I9LcOgRjVmYp!t&w)z1C4G7JaMePhSkWnZr$u*x+A2D5H8KbNfQiUl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)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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 物业管理区域物业服务智能化管理细则
- 教育局民办教育管理实施细则
- 教育培训从业人员乱收费检讨书
- 纳米材料研发与应用指南
- 直流电源设备转换调试手册
- 航空货物运输与仓储手册
- 矿山事故应急抢险通风救援手册
- 蔬菜批发批发零售兼营管理手册
- 酒店餐饮摆台技能与操作规范手册
- 高中生2026年复学申请理由陈述
- 广东深圳市2025-2026学年高一下学期7月期末考试生物试卷
- T/YH 1037-2025商业小卫星产品保证要求
- 中小学正高职称评审答辩高频题及高分答案育人实践与反思
- 2026年餐厨垃圾处理项目运营成本控制与核算
- 2025年短视频文案标题创作技巧
- 无仓储危险品公司安全管理制度、操作规程汇编
- 工地八大员岗位责任制度标牌
- 射箭动作图解
- 宗教场所财务报表
- 工程土石方作业安全教育培训课件
- JJG 52-2013弹性元件式一般压力表、压力真空表和真空表
评论
0/150
提交评论