<?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>はじめに Kernel Exploitを初めて1ヶ月半くらいが経ちましたが、カーネルランドはデバッグが大変なので「なぜかexploitが動かない」ってなったときのチェックリストを作りました。 僕は大量に時間を溶かしたのですが、皆はこんな人間にならないでね。 ユーザーランドのコードを実行すると死ぬ場合 権限昇格などをユーザーランドに書いて、それをROPから呼ぼうとしたら死ぬ場合があります。 これはSMEPが有効になっていることが原因です。 CR4を書き換えて事前にSMEPを無効化するか、ROPで済ましましょう。 また、SMEPを回避しているのにiretqでユーザーランドに戻ったら死ぬ場合がありま…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fptr-yudai.hatenablog.com%2Fentry%2F2020%2F03%2F11%2F125818&quot; title=&quot;Kernel Exploitで嵌ったときのチェックリスト - 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>2020-03-11 12:58:18</published>
  <title>Kernel Exploitで嵌ったときのチェックリスト</title>
  <type>rich</type>
  <url>https://ptr-yudai.hatenablog.com/entry/2020/03/11/125818</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
