<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ptr-yudai</author_name>
  <author_url>https://blog.hatena.ne.jp/ptr-yudai/</author_url>
  <blog_title>CTFするぞ</blog_title>
  <blog_url>https://ptr-yudai.hatenablog.com/</blog_url>
  <categories>
    <anon>CTF</anon>
  </categories>
  <description>はじめに 名前だけ知ってたのですが内容は全然知らなかったのでまとめます。 ヒープ問を解くときは通常freeによりチャンクをtcacheやbinに繋げるのですが、中にはdelete系の機能が用意されていなかったりfreeの回数に制限があったりという問題があります。 そのような場合に使えるのがHouse of Orangeというテクニックで、freeがなくてtop chunkのサイズを改竄できるときに便利です。 House of Orangeは本来top chunkのサイズ改竄により_int_freeを呼び出し、その際できたmain arenaへのポインタを使ってlibc leakし、最後に偽の_…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fptr-yudai.hatenablog.com%2Fentry%2F2019%2F10%2F12%2F181931&quot; title=&quot;house of orangeによりmallocから_int_freeを呼ぶ - CTFするぞ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-10-12 18:19:31</published>
  <title>house of orangeによりmallocから_int_freeを呼ぶ</title>
  <type>rich</type>
  <url>https://ptr-yudai.hatenablog.com/entry/2019/10/12/181931</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
