Introduction Independent Study Notes

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

IndependentStudyNotesAaronL.PaoliniIntroductionThefollowingisasummaryonselectedtopicsfroma2006wintersessionindependentstudy.Overthecourseofthewinter,numerousacademicpapersandtextswerereadinordertogainsomeinsightintothepracticeofcryptanalysis.Onecommonpracticewhenanalyzingaparticularcipheristheintentionalweakeningoftheciphertobestudied.Notonlydoesthismakeanalysisfeasible,itisalsousefulinthatitmayrevealweaknesspertainingspecificallytocertainelementswithinthecipher.Suchweaknessescanbeusedtoattackafullerversionofthecipher,aswellasimprovethecipher’ssecuritybyfixingthatparticularelement.Thefollowingdocumentattemptstosummarizeaselectnumberofcommonattacksthathavebeenusedwithsomedegreeofsuccessagainstcertainblockciphers.Attheendofthedocumentisalistofworksthathavebeenread.AStatementaboutModernCryptanalysisUnlikethecryptanalysisofthelastfewdecades,moderncryptanalysisislargelytheoreticalinnature.Keysthatwereonce56bits(forDES)havesincegrowntoashighas256bits(ormoreinsomecases),makingmanyattacksinfeasibletotestexperimentally.Ofcourse,suchattacksareimportant,butremainimpracticaltocarryoutduetothelimitsofmoderncomputingequipment.ContentsGeneralizedAttackMethods1.ClassicCryptanalyticAttacks2.DifferentialCryptanalysis3.LinearCryptanalysis4.SlideAttacks5.BoomerangAttacks6.Meet-in-the-MiddleAttacks7.Side-ChannelAttacksOtherObservations8.OnKhinchin’sMathematicalFoundationsofInformationTheory9.OnCommonBlockCipherElementsBibliography(Seefinalpages)ClassicalCryptanalysisOverviewWhileciphersofthepasthavebeenthoroughlybroken,thepracticeofperformingcryptanalysisonearlyciphersservesasagentleintroductiontothisfieldofstudy.FrequencyAnalysis(substitution,affine)Bothmonoalphabeticsubstitutionandaffinecipherssuccumbeasilytoamethodofattackknownasfrequencyanalysis.Essentially,byrecordingthefrequencyofsinglecharacters,digrams,andtrigramsinaparticularciphertextandcomparingtheseresultsagainstpreviouslyobtainedfrequencycharacteristicsforthatparticularlanguage,onecanattempttodecodetheciphertext.Foralargeenoughciphertext(sothatuniquedecipherabilityisobtainable)andforafineenoughexpectedfrequencydistribution,thismethodcertainlyworks.Ofcourse,someadditionalmanualanalysismaybenecessarytofullyrecovertheplaintext,butforthemostpart,highfrequencycharacteristicsusuallyholdwellenoughtomaketheattempteddecodingreadable,albeitwithminorerrors.Correctingsucherrorsistrivial.DifferentialCryptanalysisOverviewDifferentialcryptanalysisisoneoftheearliermethodsofblockciphercryptanalysisthatprovedtobeeffectiveagainstcertainblockcipherssuchasFEALandreduced-roundDES.Ingeneral,thisattackexamineshowagivenchangeintheinputofacipherwillaffecttheresultantplaintext.This“difference”isusuallydefinedtobetheXORoftwobitstrings(twoplaintextsortwociphertexts).Considerthef-functioninputofagivenFeistelalgorithm,suchasDES.Giventwoplaintexts(X1andX2)withagivenXOR(X1XORX2),thereexistsanon-uniformoutputXOR(Y1XORY2)distribution.Thatistosay,fortheentirerangeofpossibleplaintextpairswithagivenXORvalue,thereexistsanoutputXORvaluethatoccurswithaprobabilityPoutthatisgreaterthanotherpossibleoutputXORvalues.Thischaracteristicisthebasisforachosenplaintextcryptanalyticattackagainstaalgorithmthatexhibitsthisbehavior.OnMultipleRoundsandDifferentialCharacteristicsForann-roundcipher,thereexistsann-rounddifferentialcharacteristicwithanassociatedprobabilityp.Thisn-rounddifferentialcharacteristicissimplytheconcatenationofnsinglerounddifferentialcharacteristics,eachwithanassociatedprobabilitypi.Theoverallprobabilitypissaidtobethemultiplicationofallper-rounddifferentialprobabilities,althoughthisonlyholdstrueiftheroundsareconsideredindependentofoneanother.Whilethisnotthecase,p,ascalculated,isconsideredtobecloseenoughtoitsactualvalue.Atthispoint,itmaybebeneficialtoclarifytheconceptoftheprobabilitypforagivenn-rounddifferentialcharacteristic.Essentially,theprobabilitythatforagivenroundinputXOR(X1XORX2),anexpectedroundoutputXOR(Y1XORY2)willoccurwithaprobabilitypi.Theprobabilitythatthedesiredper-roundcharacteristicswillholdoverallroundsinthecipherisgivenbyp.Obviously,thehigherthisoverallprobabilityis,themorefavorabletheconditionsforacryptanalyticattack.Thus,itiswisetochoosecarefullytheinputXORoftheplaintextpairanddesiredoutputXORtoyieldthehighestoveralln-rounddifferentialcharacteristicprobabilityp.Forexample,inadifferentialattackontheDataEncryptionStandard(DES)itisbeneficialfortherighthalfoftheinputXORtoevaluatetozero.Suchatechniquegreatlyimprovesthedifferentialcharacteristic’sprobability,asanf-functioninputXORofzerowillresultinanf-functionoutputofzerowithprobability1.OnDifferentialCryptanalysisandDESInthecaseofDES,keybitsarecalculatedbyconsideringthefinalf-functioninput(essentiallythelefthalfoftheciphertext)andanexpectedf-functionoutputthatholdswithprobabilityp.Thef-roundoutputcannotbeknownforcertainasitismaskedbythelefthalfofthepreviousroundinputtogivetherighthalfoftheciphertext.OneofthefirsteffectivemethodsofcryptanalysisontheDataEncryptionStandardwasdifferentialcryptanalysis,ifonlyreducedroundversions(usually3to12

1 / 15
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功