<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>asannou</author_name>
  <author_url>https://blog.hatena.ne.jp/asannou/</author_url>
  <blog_title>知らないけどきっとそう。</blog_title>
  <blog_url>https://asannou.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Vuls で EC2 をバルスされないために - 知らないけどきっとそう。 を書いた後に知ったんですが、送信先 IP アドレスと UID を条件にして、通信を制限することができるようです iptables を使って EC2 インスタンスメタデータを返す 169.254.169.254 への通信をすべて禁止 $ sudo iptables -I OUTPUT -d 169.254.169.254 -j REJECT --reject-with icmp-admin-prohibited 禁止されていることを確認 $ curl http://169.254.169.254/latest/meta-…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fasannou.hatenablog.com%2Fentry%2F20170704&quot; title=&quot;Vuls で EC2 をバルスされないために（簡易版） - 知らないけどきっとそう。&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>2017-07-04 00:00:00</published>
  <title>Vuls で EC2 をバルスされないために（簡易版）</title>
  <type>rich</type>
  <url>https://asannou.hatenablog.com/entry/20170704</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
