今天看啥  ›  专栏  ›  合天网安实验室

tcache-Attack总结

合天网安实验室  · 公众号  ·  · 2019-10-21 13:49

文章预览

0x01  前言 heap攻击方式有很多,但是目前多数pwn还是停留在libc2.23这些上面,而在之后的libc版本中引入了一些新的机制,tcache就是其中一个。 tcache的引入,就目前来看,似乎是让我们熟悉的攻击方式使用的更便利,这是因为很多检查机制是在tcache处理之后才开始的,所以无形中敞开了安全的大门。 0x02  新外衣 实现tcache机制引入的新结构 /* We overlay this structure style="box-sizing: border-box; padding-right: 0.1px;"> the chunk is stored in the per-thread cache. */ typedef struct tcache_entry { struct tcache_entry *next; } tcache_entry; /* There is style="box-sizing: border-box; padding-right: 0.1px;"> per-thread cache (hence "tcache_perthread_struct"). Keeping overall size low is mildly important. Note that COUNTS and ENTRIES are redundant (we could have just cou ………………………………

原文地址:访问原文地址
快照地址: 访问文章快照
总结与预览地址:访问总结与预览