版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1SecurityChapter99.1Thesecurityenvironment9.2Basicsofcryptography9.3Userauthentication9.4Attacksfrominsidethesystem9.5Attacksfromoutsidethesystem9.6Protectionmechanisms9.7Trustedsystems2TheSecurityEnvironment
ThreatsSecuritygoalsandthreats3入侵者通常的入侵者分类非专业用户的随意浏览内部人员的窥视为获取利益而尝试商业或军事间谍4数据意外遗失导致的原因常有天灾fires,floods,wars软硬件错误CPUmalfunction,baddisk,programbugs人为错误dataentry,wrongtapemounted5BasicsofCryptographyRelationshipbetweentheplaintextandtheciphertext6单字母替换eachletterreplacedbydifferentletterGiventheencryptionkey,
easytofinddecryptionkey秘密秘钥加密亦称对称秘钥加密秘密秘钥加密7公钥加密体系Alluserspickapublickey/privatekeypairpublishthepublickeyprivatekeynotpublishedPublickeyistheencryptionkeyprivatekeyisthedecryptionkey8单向函数Functionsuchthatgivenformulaforf(x)easytoevaluatey=f(x)Butgivenycomputationallyinfeasibletofindx9数字签名Computingasignatureblock(MD5,SHA)Whatthereceivergets接受方将计算得到x与E(D(x))=x比较,一致则说明无篡改(b)10用户验证用户登录的方法基于三个方面的考虑:SomethingtheuserknowsSomethingtheuserhasSomethingtheuserisThisisdonebeforeusercanusethesystem11AuthenticationUsingPasswords(a)Asuccessfullogin(b)Loginrejectedafternameentered(c)Loginrejectedafternameandpasswordtyped12AuthenticationUsingPasswordsHowacrackerbrokeintoLBLaU.S.Dept.ofEnergyresearchlab13AuthenticationUsingPasswordsTheuseofsalttodefeatputationofencryptedpasswordsSaltPassword,,,,14一次性Password单向函数y=f(x)
Pi-1=f(Pi)取n=4:P1=f(f(f(f(x)))),P2=f(f(f(x))),P3=f(f(x)),P4=f(x)Server:初始时P0=f(P1),i=1User:userID
Server,Server:i=1userUser:P1
Server,server比较f(P1)与P0匹配则允许登录,并用P1覆盖P0,i=215挑战-响应验证User选择某种算法(如x2),server随机发送给user一个参数,如7,此时用户输入正确的49,从而不断变化password增强:user事先选择密钥k放置在user和server,登录时,server发随机数r给user,user计算f(r,k)的值y并发给server,server也计算f(r,k)的值是否与收到的y匹配16AuthenticationUsingaPhysicalObjectMagneticcardsmagneticstripecardschipcards:storedvaluecards,smartcards17AuthenticationUsingBiometricsAdeviceformeasuringfingerlength.18对策LimitingtimeswhensomeonecanloginAutomaticcallbackatnumberprespecifiedLimitednumberoflogintriesAdatabaseofallloginsSimpleloginname/passwordasatrapsecuritypersonnelnotifiedwhenattackerbites19OperatingSystemSecurity
TrojanHorsesFreeprogrammadeavailabletounsuspectinguserActuallycontainscodetodoharmPlacealteredversionofutilityprogramonvictim'scomputertrickuserintorunningthatprogram20LoginSpoofing(a)Correctloginscreen(b)Phonyloginscreen21LogicBombsCompanyprogrammerwritesprogrampotentialtodoharmOKaslongashe/sheenterspassworddailyffprogrammerfired,nopasswordandbombexplodes22TrapDoors(a)Normalcode.(b)Codewithatrapdoorinserted23BufferOverflow(a)Situationwhenmainprogramisrunning(b)AfterprogramAcalled(c)Bufferoverflowshowningray24GenericSecurityAttacksTypicalattacksRequestmemory,diskspace,tapesandjustreadTryillegalsystemcallsStartaloginandhitDEL,RUBOUT,orBREAKTrymodifyingcomplexOSstructuresTrytodospecifiedDONOTsConvinceasystemprogrammertoaddatrapdoorBegadmin'ssec’ytohelpapooruserwhoforgotpassword25DesignPrinciplesforSecuritySystemdesignshouldbepublicDefaultshouldbenotaccessCheckforcurrentauthorityGiveeachprocessleastprivilegepossibleProtectionmechanismshouldbesimpleuniforminlowestlayersofsystemSchemeshouldbepsychologicallyacceptableAnd…keepitsimple26NetworkSecurityExternalthreatcodetransmittedtotargetmachinecodeexecutedthere,doingdamageGoalsofviruswriterquicklyspreadingvirusdifficulttodetecthardtogetridofVirus=programcanreproduceitselfattachitscodetoanotherprogramadditionally,doharm27VirusDamageScenariosBlackmailDenialofserviceaslongasvirusrunsPermanentlydamagehardwareTargetacompetitor'scomputerdoharmespionageIntra-corporatedirtytrickssabotageanothercorporateofficer'sfiles28常见的病毒共事者病毒可执行程序病毒内存驻留病毒引导扇区病毒设备驱动程序病毒宏病毒29HowVirusesWork(1)ViruswritteninassemblylanguageInsertedintoanotherprogramusetoolcalleda“dropper”Virusdormantuntilprogramexecutedtheninfectsotherprogramseventuallyexecutesits“payload”30HowVirusesWork(2)RecursiveprocedurethatfindsexecutablefilesonaUNIXsystemViruscouldinfectthemall31HowVirusesWork(3)AnexecutableprogramWithavirusatthefrontWiththevirusattheendWithavirusspreadoverfreespacewithinprogram32HowVirusesWork(4)Aftervirushascapturedinterrupt,trapvectorsAfterOShasretakenprinterinterruptvectorAftervirushasnoticedlossofprinterinterruptvectorandrecapturedit33HowVirusesSpreadVirusplacedwherelikelytobecopiedWhencopiedinfectsprogramsonharddrive,floppymaytrytospreadoverLANAttachtoinnocentlookingemailwhenitruns,usemailinglisttoreplicate34AntivirusandAnti-AntivirusTechniques(a)Aprogram(b)Infectedprogram(c)Compressedinfectedprogram(d)Encryptedvirus(e)Compressedviruswithencryptedcompressioncode35AntivirusandAnti-AntivirusTechniquesIntegritycheckersBehavioralcheckersVirusavoidancegoodOSinstallonlyshrink-wrappedsoftwareuseantivirussoftwaredonotclickonattachmentstoemailfrequentbackupsRecoveryfromvirusattackhaltcomputer,rebootfromsafedisk,runantivirus36TheInternetWormConsistedoftwoprogramsbootstraptouploadwormthewormitselfWormfirsthiditsexistenceNextreplicateditselfonnewmachines37MobileCode(1)Sandboxing(a)Memorydividedinto1-MBsandboxes(b)Onewayofcheckinganinstructionforvalidity38MobileCode(2)AppletscanbeinterpretedbyaWebbrowser39MobileCode(3)Howcodesigningworks40ProtectionMechanisms
ProtectionDomains(1)Examplesofthreeprotectiondomains41ProtectionDomains(2)Aprotectionmatrix42ProtectionDomains(3)Aprotectionmatrixwithdomainsasobjects43AccessControlLists(1)Useofaccesscontrollistsofmanagefileaccess44AccessControlLists(2)Twoaccesscontrollists45Capabilities(1)Eachprocesshasacapabilitylist46Cryptographically-protectedcapabilityGenericRightsCopycapabilityCopyobjectRemovecapabilityDestroyobjectCapabilities(2)ServerObjectRightsf(Objects,Rights,Check)47TrustedSystems
TrustedComputingBase
Areferencemonitor48FormalModelsofSecureSystems(a)Anauthorizedstate(b)Anunauthorizedstate49MultilevelSecurity(1)TheBell-LaPadulamultilevelsecuritymodel50MultilevelSecurity(2)TheBibaModelPrinciplesto
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年亲子互动与学习计划协议
- 2024年工程造价咨询协议细则
- 2024年婚内协议书大全
- 2024年小区住宅建筑工程协议
- 2024年居间服务合同:航空航天技术交流与转让
- 2024年办公室装修设计委托合同
- 2024年全年租赁合同模板:加油站使用权转让协议
- 2024年多功能机器人购买协议
- 2024年全新版:跨区域物流配送服务合同
- 2024年先进制造业技术引进与许可合同
- 期中检测卷(1-4单元)(试题)-2024-2025学年二年级上册数学人教版
- 2024-2030年中国高岭土市场运行态势分析与发展现状调研报告
- 期中(1-3单元)通关练习(试题)-2024-2025学年人教PEP版(2024)英语三年级上册
- 高中数学大单元教学设计研究
- 经济师中级考试《经济基础知识》历年真题卷及答案解析
- 人教版七年级英语上册教学课件Unit 3 My School
- 2024-2030年中国节庆饰品市场发展趋势及营销策略分析报告
- 新视野大学英语(第四版)读写教程3(思政智慧版)课件 B3U5 Chinas space dream Section C
- 幼儿园社会《认识警察》课件
- 期中 (试题) -2024-2025学年人教精通版英语六年级上册
- 期刊编辑的学术期刊论文写作指导考核试卷
评论
0/150
提交评论