- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Return to System Call stack overflow variant 返回系统函数 针对 non-executable stack defences attacker 再返回地址之上构建恰当的参数 函数返回类函数执行 e.g. system(“shell commands”) attacker 需要精确的地址 甚至可以练两个库 Heap Overflow 也可攻击 heap 通常放置在 program code上 有程序请求用于动态数据类型的内存请求, e.g. linked lists 无返回 不已转移控制 可能可利用函数指针 或操作管理数据结构 defenses: non executable or random heap Heap Overflow Example Heap Overflow Example Global Data Overflow 可以攻击global数据 may be located above program code if has function pointer and vulnerable buffer or adjacent process management tables aim to overwrite function pointer later called defenses: non executable or random global data region, move function pointers, guard pages Global Data Overflow Example Summary introduced basic buffer overflow attacks stack buffer overflow details shellcode defenses compile-time, run-time other related forms of attack replacement stack frame, return to system call, heap overflow, global data overflow * * * * * * * * * * Given the problems that can occur in C with unsafe array and pointer references, there have been a number of proposals to augment compilers to automatically insert range checks on such references. Whilst this is fairly easy for statically allocated arrays, handling dynamically allocated memory is more problematic, and requires an extension to the semantics of a pointer to include bounds information, and the use of library routines to ensure these values are set correctly. Several such approaches exist. However, there is generally a performance penalty with the use of such techniques that may or may not be acceptable. It also requires all programs and libraries that require these safety features to be re-compiled with the modified compiler. A common concern with C comes from the use of unsafe standard library routines, especially some of the string manipulation routines. One approach to improving the safety of systems has been to replace these with safer variants, eg. strlcpy() which requires rewriting the source to conform to the new s
您可能关注的文档
最近下载
- 八年级上册英语重点知识归纳.doc VIP
- 地方病防治课件.pptx VIP
- 三级公路(含声环境、生态环境专项评价)环评环境影响报告表(新版环评).pdf
- GB50666-2019混凝土结构工程施工规范.ppt VIP
- 2.2-全国森林草原湿地荒漠化普查技术规程.pdf VIP
- 新型冠状病毒核酸检测标本采集、送检、处理流程.pptx VIP
- 培训资料慢病及地方病防治工作要点.ppt VIP
- DB61_T 5006-2021 人民防空工程标识标准.docx VIP
- GB50118-2010民用建筑隔声设计规范.docx VIP
- (高清版)B-T 42588-2023 系统与软件工程 功能规模测量 NESMA方法.pdf VIP
文档评论(0)