月3日cissp2013核心章节培训课件6-08software development security_第1页
月3日cissp2013核心章节培训课件6-08software development security_第2页
月3日cissp2013核心章节培训课件6-08software development security_第3页
月3日cissp2013核心章节培训课件6-08software development security_第4页
月3日cissp2013核心章节培训课件6-08software development security_第5页
已阅读5页,还剩47页未读, 继续免费阅读

付费下载

下载本文档

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

文档简介

SoftwareDevelopmentXuHui,: 1SoftwareAttack2StatisticsofCyber3Demo:ESPCMSasa问题代码if(!empty($tagkey))$db_where.="AND}Step1:寻找站点 搜索是用了ESPCMS的Step2:判断可注入4Demo:ESPCMSasa???5Demo:ESPCMSasa)limit1)limit1--anything)limit1)limit1--6Demo:ESPCMSasa ))))7(软件(软件运行…1CISSPExpectation-CISSPUnderstandandapplysecurityinthesystemlife理解在系统生命周期中如何应SystemsDevelopmentLifeCycle(SDLC)Operationandmaintenance运 ChangemanagementPerform ysisUnderstandtheapplicationenvironmentandsecurity理解应用环境和安全SecurityoftheapplicationenvironmentSecurityissuesofprogramminglanguagesSecurityissuesinsourcecodee.g.,bufferoverflowConfiguration2CISSPExpectation-CISSPAssesstheeffectivenessofapplicationCertificationandAuditingandCorrective3※1.Programming※2.SoftwareDevelopment※3.45ProgrammingLanguage-ProgrammingMachineCode:executeddirectlybytheMachinecodeisCPU-SourceCode:computerprogramminglanguageinstructionswrittenintextthatmustbetranslatedintomachinecodebeforeexecutionbytheCPU.AssemblerCode:low-levelcomputerprogramming 6ProgrammingLanguage-ProgrammingLanguage-ProgrammingCompiler:Compilerstakesourcecode,suchasCBasic,andcompileitintomachineInterpretedLanguagevsCompiledProgrammingLanguage-Encapsulation:Encapsulationisthetechniqueofmakingthefieldsinaclassprivateandprovidingaccesstothefieldsviapublicmethods.Ifafieldisdeclaredprivate,itcannotbeaccessedbyanyoneoutsidetheclass,therebyhidingthefieldswithintheclass.Forthisreason,encapsulationisalsoreferredtoasdatapublicpublicclassprivateStringpublicintreturn}publicvoidsetAge(intage=}}ProgrammingLanguage-Inheritance:Inheritancecanbedefinedastheprocesswhereoneobjectacquiresthepropertiesofanother.Withtheuseofinheritancetheinformationismademanageableinahierarchicalorder.publicclass}publicclass lextends}publicclassReptileextends}publicclassDogextends }ProgrammingLanguage-Polymorphism:Polymorphismistheabilityofanobjecttotakeonmanyforms.ThemostcommonuseofpolymorphisminOOPoccurswhenaparentclassreferenceisusedtorefertoachildclassobject.publicclasspublicpublicclasspublicclassDeerextendsAnimalimplementsProgrammingLanguage-ObjectRequestAswehaveseen,matureobjectsaredesignedtobereused:Theylowerriskanddevelopmentcosts.ObjectRequestBrokers(ORBs)canbeusedtolocate:Theyactasobjectsearchengines.Twoobjectbroker ComponentObjectModel(COM)andDistributedComponentObjectModel(DCOM).COMlocatesobjectsonalocalsystem;DCOMcanalsolocateobjectsoveraCORBA(CommonObjectRequestBrokerArchitecture)isanopenvendor-neutralnetworkedobjectbrokerframeworkdevelopedbytheObjectManagementGroup(OMG).CORBAcompeteswith ’sproprietaryProgrammingLanguage-PubliclyreleasedOpen-andClosed-SourceClosed-sourcesoftwareistypicallyreleasedinexecutableform:Thesourcecodeiskept allowinganyonetoinspect,modify,orcompileProgrammingLanguage-Publiclyreleased FullDisclosureisthepracticeofpublishing ysisofsoftwarevulnerabilitiesasearlyaspossible,makingthedataaccessibletoeveryonewithoutrestriction.TheprimarypurposeofwidelydisseminatinginformationaboutvulnerabilitiesissothatpotentialvictimsareasknowledgeableasthosewhoattackthemPartialProgrammingLanguage-PubliclyreleasedSoftware,Shareware,and wareis“ asinbeer”(gratis)―thatis, Sharewareisfullyfunctionalproprietarysoftwarethatmaybeinitiallyused ofcharge.Iftheusercontinuestouseitforaperiodoftimespecifiedbythelicense(suchas30days),theSharewarelicensetypicallyrequirespayment.Cripplewareispartiallyfunctioningproprietarysoftware,oftenwithkeyfeaturesdisabled.Theuseristypicallyrequiredtomakeapaymenttounlockthefullfunctionality.ProgrammingLanguage-SecurityIssuesof#includevoidfoo#includevoidfoo(char{charc[12];strcpy(c,bar);}intmain(intargc,char{}Database-

SecurityIssuesofTOC/TOU:Anattackerattemptstoalteraconditionafterithasbeencheckedbytheoperatingsystembutbeforeitisused.if(access("file",W_OK)!=0){symlink("/etc/passwd",

fd=open("file",//Actuallywritingover/etc/passwdwrite(fd,buffer,sizeof(buffer));RapidApplicationSOFTWAREDEVELOSoftware Model-WaterfallSoftware Model-SpiralSoftware Model-eXtremeExtremeProgrammingissuccessfulbecauseitstressescustomersatisfaction.Insteadofdeliveringeverythingyoucouldpossiblywantonsomedatefarinthefuturethisprocessdeliversthesoftwareyouneedasyouneedit.ExtremeProgrammingempowersyourdeveloperstoconfidentlyrespondtochangingcustomerrequirements,evenlateinthelifecycle.opigoldSoftware Model-Agilesoftware agroupofsoftwaredevelopmentmethodsbasedoni tiveandincrementaldevelopment,whererequirementsandsolutionsevolvethroughcollaborationbetweenself-organizing,cross-functionalteams.Itpromotesadaptive evolutionarydevelopmentanddeliverySoftware Model-SystemDevelopmentLifeSystemDevelopmentLifeProjectinitiation FunctionalrequirementsDevelopmentandationandcommonprogramSystemLifeCycle(2OperationsandmaintenanceRevisionsandsystem Software Model-

CapabilityMaturityLevel1–Initiating.Competentpeopleandheroics;processesareinformalandadhoc.Level2–Repeatable.Projectmanagementprocesses;projectmanagementpracticesareinstitutionalized.Level3–Defined.Engineeringprocessesandorganizationalsupport;technicalpracticesareintegratedwithmanagementpracticesinstitutionalized.Level4–Managed.Productandprocessimprovement;productandprocessare tativelycontrolled.Level5–Optimizing.Continuousprocessimprovement;improvementisDatabase-

DBMS(DatabaseManagementSystem)Database ApplicationDBMSshouldTransactionFaultToleranceandSharingbyMultipleSecurityDatabase-

DBMSHierarchicalDatabaseManagementNetworkDatabaseManagementRelationalDatabaseManagementObjectOrientedDatabaseDatabase-HierarchicalDatabaseManagementE.g.,Database-NetworkDatabaseManagementallowingmany-to-manyrelationshipsinatree-likestructurethatallowsmultipleparent,themostpopularbeforebeingre cedbytherelationalmodelDatabase-RelationalDatabaseManagementE.g.,Oracle,Database-ObjectOrientedDatabaseDatabase-DatabaseInterfaceODBC:OpenDatabaseXML:eXtensibleMarkupOLEDB:ObjectLinkingandEmbeddingADO:ActiveXDataJDBC:JavaDatabaseDatabase-DBIntegrityEntityintegrity:Notallowingmultiplerowstohavethesameidentitywithinatable.Entityintegrityisanintegrityrulewhichstatesthateverytablemusthaveaprimarykeyandthatthecolumnorcolumnschosentobetheprimarykeyshouldbeuniqueandnotnull.Referentialintegrity:Requiringtheexistenceofarelatedrowinanothertable.Referentialintegrityisapropertyofdatawhich,whensatisfied,requireseveryvalueofoneattribute(column)ofarelation(table)toexistasavalueofanotherattributeinadifferent(orthesame)relation(table). integrity:Restrictingdatatopredefineddatatypes,e.g.:dates.Database-

ACIDisasetofpropertiesthatguaranteedatabasetransactionsareprocessedAtomicity:Atomicityrequiresthateachtransactionis"allornothing":ifonepartofthetransactionfails,theentiretransactionfailsConsistency:TheconsistencypropertyensuresthatanytransactionwillbringthedatabasefromonevalidstatetoIsolation:TheisolationpropertyensuresthattheconcurrentexecutionoftransactionsresultsinasystemstatethatcouldhavebeenobtainediftransactionsareexecutedseriallyDurability:Durabilitymeansthatonceatransactionhasbeencommitted,itwillremainso,evenintheeventofpowerloss,crashes,orerrors Database-

ACIDCREATECREATETABLEacidtest(AINTEGER,BINTEGERCHECK(A+B=情景一:要执行操作(A+10,B-10),如果A+10存,B-10执行出现故障,则违背了情景二:要执行操作A+10,如果A+10(0)DurabilityDatabase-

ACID12(+1),olatn。ThreadThread0read←00write→1read←11write→2Thread0read←0read←000write→1write→1Race Database-DBSecurityTwo-PhaseDatabase-

DBFlightCargoABCAtomicTopDWhenanormalstaffFlightCargoABDAssumethecombinationof“FlightIDandCargoHold”istheprimarykey.IfinsertFlight1254,CargoCintothetable,errorwilloccurs,sohecaninferDatabase-

DBMSRaceCondition=>Lock=>Database-

DataDatabase-

OtherDataArtificial NeutralSampleLisahaslearnedthatmostdatab

温馨提示

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

评论

0/150

提交评论