<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inaz2</author_name>
  <author_url>https://blog.hatena.ne.jp/inaz2/</author_url>
  <blog_title>ももいろテクノロジー</blog_title>
  <blog_url>https://inaz2.hatenablog.com/</blog_url>
  <categories>
    <anon>Exploit</anon>
  </categories>
  <description>この記事は「CTF Advent Calendar 2016」17日目の記事です。 ちょいちょい見かけてはいるのだが、実戦でよく忘れてしまうので応用の効きそうなものをまとめておく。 ROPからのGOT overwrite 単純なROP問題の場合、GOTに置かれた関数アドレスを読み出した後offsetからsystem関数のアドレスを計算し、それを用いてsystem(&quot;/bin/sh&quot;)を呼ぶという流れになる。 最後の部分はStack pivotでやってもよいのだが、Full-RELROでない場合、すなわちGOTの書き換えができる場合はGOT overwriteしてPLT経由で呼んだほうが楽である…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finaz2.hatenablog.com%2Fentry%2F2016%2F12%2F17%2F180655&quot; title=&quot; Exploit系複合テクニックのメモ - ももいろテクノロジー&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>2016-12-17 18:06:55</published>
  <title> Exploit系複合テクニックのメモ</title>
  <type>rich</type>
  <url>https://inaz2.hatenablog.com/entry/2016/12/17/180655</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
