信息安全基础密码编码学与网络安全.ppt_第1页
信息安全基础密码编码学与网络安全.ppt_第2页
信息安全基础密码编码学与网络安全.ppt_第3页
信息安全基础密码编码学与网络安全.ppt_第4页
信息安全基础密码编码学与网络安全.ppt_第5页
已阅读5页,还剩39页未读 继续免费阅读

下载本文档

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

文档简介

Chapter4KeyManagement 2012 FoundationofInformationSecurity Manageallstagesofkeysinthewholelifecycle includingthegeneration storage distribution organization employment suspension update destruction 产生 存储 分配 组织 使用 停用 更换 销毁 KeyManagement 1 2 3 Overview Principle KeyManagementforSymmetricCipher KeyManagementforAsymmetricCipher All aroundSecurity全程安全MinimalRight最小权利ResponsibilitySeparation责任分离KeyClassification密钥分级KeyReplacement密钥更换EnoughLength足够长度Differentcryptosystem differentmanagementpolicy针对不同密码体制采取不同管理策略 1Principle Centralization KDCdistributessessionkeyforeverysessionandtendstobethebottleneckandtheattackingaim 2KeyManagementforSymmetricCipher Classification ElementaryKey初级密钥 usedforencrypting decryptingdataKc forcommunication Ks forsession Kf forfile SecondaryKey二级密钥 usedforprotectingEKKNC KNS KNF N node MasterKey主密钥 thetopmostlevelKM KeyOrganization ElementaryKey Keyforencryption decryption Kcforcommunication Ksforsession KfforfilestorageGeneratedbyhardwareorsoftwareofthesystem canalsobespecifiedbyuserKc Ksisone timepad whilethelifecycleofKfisaslongasthefileKisprotectedbyKNduringitslifecycle SecondaryKey Keytoprotectelementarykey KNCforKc KNSforKs KNFforKfGeneratedbyhardwareorsoftwareLifecycleislongKNisprotectedbyKMduringitslifecycle MasterKey ThemaximalkeyinkeymanagementsystemGeneratedbyhardwareandinstalled distributedbysecurityexpertsHavethelongestlifecycle KeyGeneration DifferentstrategiesfordifferentlevelkeysRandomicity long period non linear equal probability uncertainHigh levelkey real randomicityLow levelkey pseudo randomicity GenerationofMasterKey Real randomicitysequenceswithhighqualityMeans transformtherandomsimulationsignalsfromthenatureintodigitals basedonthemechanicsnoisesourceortheelectronicsnoisesource GenerationofSecondaryKey EncrypttherandomnumbersKN E E E E i RN1 RN2 RN1 RN3 iisaordinalnumber RN1 RN2isreal random RN3ispseudo random GenerationofElementaryKey Decryptpseudo randomnumbersbyKNKc D RN1 KNC Ks D RN2 KNS Kf D RN3 KNF Veryfast KeyDistribution MasterKey bymanpower notpracticalforlargenetworkSecondaryKey encryptedbymasterkey thentransformtheciphertextviathenetworkElementaryKey transformthegeneratedrandomnumberdirectly recoverythekeybydecryptingthenumberusingthesecondarykey KeyDistributionforSecondaryKey KeyDistributionforElementaryKey ByDiffie Hellmanin1976alongwiththeexpositionofpublickeyconceptsApracticalmethodforpublicexchangeofasecretkey usedinanumberofcommercialproductsMathematicalbasis basedonexponentiationinafinitefield moduloaprime easy securityreliesonthedifficultyofcomputingdiscretelogarithms离散对数 similartofactoring hard Diffie HellmanKeyExchange Steps Public q YA YBPrivate XA XBK YB XAmodq XBmodq XAmodq XB XAmodq XBXAmodq XA XBmodq XAmodq XBmodq YA XBmodq CannotbeusedtoexchangeanarbitrarymessageassessionkeybutapowerKnownonlytothetwoparticipantsValueofkeydependsontheparticipants theirprivateandpublicinformation Attackerneedsanx mustsolvediscretelogproblem AnalysisofDiffie Hellman Diffie HellmanExample q 97 5 primitiverootofqAandBselectssecretkeysXA 36andXB 58Eachcomputespublickey YA 536 50mod97 YB 558 44mod97Afterexchangingpublickeys eachcomputethecommonsecretkey K YB XAmod97 4436 75mod97K YA XBmod97 5058 75mod97 TheattackerDarthgeneratestworandomprivate information XD1 XD2 andcomputesthecorrespondingpublic information YD1 YD2AlicetransformsherYAtoBobDarthinterceptsYAandtransformYD1toBob andcalculatesK2 YA XD2modqBobreceivesYD1 andcalculatesK1 YD1 XBmodqBobtransformsYBtoAliceDarthinterceptsYBandtransformYD2toAlice andcalculatesK1 YB XD1modqAlicereceivesYD2 andcalculatesK2 YD2 XAmodqResult Bob DarthshareK1 Alice DarthshareK2 Middle manAttackagainstDiffie Hellman Alice Bob Darth YA YD1 K1 YD1 XBmodq K2 YD2 XAmodq K2 YA XD2modq YB K1 YB XD1modq YD2 Tocountersuchanattack end to endauthentication theuseofdigitalsignaturesorpublic keycertificates isrequired KeyStorage Backup Principle plaintextsofkeysareforbiddenoutofthekeymanagementequipmentsPhysicalassurance reliablestoragemediumManagingassurance secureaccess control访问控制mechanism KeyStorage MasterKey storetheplaintextintheappropriative专用的cipherequipments orstoretheportionsdiscretelyinseveralequipmentsevenindifferentplaces MinimalRight SecondaryKey storetheciphertextinthememorizer存储器ElementaryKey storetheciphertextofKfinthememorizer storetheciphertextofKc Ksinthememory内存 KeyBackup Backupisalsoastorageindifferentequipments differentplacesThebackupedkeysareassecureastheoriginalkeysThelow classkeysshouldbeprotectedbyhigh classkeysinciphertextThehigh classkeysinplaintextstorageshouldbeseparatedinportionsThebackupshouldberecoveredconvenientlyLog日志recordedforaudit审计 KeyUpdate MasterKey alldescendants后代 secondary elementarykeysshouldbeupdatedSecondaryKey alldescendants correlativeelementarykeysshouldbeupdatedElementaryKeyforKc Ks one timepad noextraoperationforKf decryptwithformerkey encryptwithrenewedkey KeySuspension停用 Destruction Keysshouldbesecurelystored protectedaftersuspensiontomanagetheinformationencryptedbythemuntiltheirdestructionDestructionincludesthebackupedkeys PU public integrity authenticityPR secret confidentiality integrity authenticityThecorrespondingrelationofPU user sidentityisprotectedbysignature 3KeyManagementforAsymmetricCipher KeyGeneration Notrandomnumber meetgivenalgorithm KeyDistribution Ensuretheauthenticity integrityofPUinPKDBbydigitalsignatureCertificate thesignatureoftheuser sidentifierandhisPUbyatrustedentityCA CertificationAuthority 认证中心 thetrustedentitywhosubscribesthesignaturesofPU Definesframeworkforauthenticationservices directorymaystorepublic keycertificates includespublickeyofuser signedbycertificationauthoritywithitsPRUsespublic keycrypto digitalsignatures algorithmsnotstandardised butRSArecommendedPublic keycertificateisthetrustedcarrierofPUanddistributePUsecurely usedinE commerce E government X 509AuthenticationService IssuedbyaCertificationAuthority认证中心 CA containing version 1 2 or3 serialnumber uniquewithinCA identifyingcertificate signaturealgorithmidentifier issuerX 500name CAname periodofvalidity from todates subjectX 500name nameofowner subjectpublic keyinfo algorithm parameters key issueruniqueidentifier v2 subjectuniqueidentifier v2 extensionfields v3 signature subscribehashofallfieldsincertificate CA denotescertificateforAsignedbyCA X 509Certificates ObtainingaCertificate AnyuserwithaccesstoCAcangetanycertificatefromitOnlytheCAcanmodifyacertificateBecausecannotbeforged certificatescanbeplacedinapublicdirectory VerifyingaCertificate AuserobtainCA spublickeyinCA scertificate thencanverifythesecurityofotherusers publickeysincertificatesCA scertificateissubscribedbyitselforitsparentCA IfbothusersshareacommonCAthentheyareassumedtoknowCA scertificate otherwiseCAsmustformahierarchyUsecertificateslinkingmembersofhierarchytovalidateotherCAs certificatesEachclienttrustsparentscertificates trustbetweenCAsdependsontheircertificatesforeachother CAHierarchy层次结构 GivenX1 X2 forA Bhowtoauthenticateeachother X1X2subscribetheotherside forA certificateslinkingX1 X2 forB certificateslinkingX2 X1 Example CertificateshaveaperiodofvalidityMayneedtorevokebeforeexpiry到期 eg user sprivatekeyiscompromised userisnolongercertifiedbythisCA CA scertificateiscompromisedCAmaintainslistofrevokedcertificatesbysignature theCertificateRevocationList CRL Userssh

温馨提示

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

最新文档

评论

0/150

提交评论