SlideShare a Scribd company logo
1 of 65
WiFi による 
モダン 
ネットストーキング 
2013夏休み自由研究 
Akira KUMAGAI 
@tinbotu 
14年9月19日金曜日
あとでデモをします 
• 個人を直接特定可能な情報はありません 
• 間接的には特定の材料になり得るかも 
• 同意いただけない場合は WiFi デバイスの 
電源を切ってください 
14年9月19日金曜日
デモの対象になるよ 
14年9月19日金曜日
WiFi のしくみ 
1. クライアント(子機) が AP(親機) を探す 
2. クライアントが AP の一覧を表示 
3. ユーザが AP を選択 
4. 認証 
5. 接続完了 
14年9月19日金曜日
AP一覧を表示 
14年9月19日金曜日
ユーザがAPを選択 
14年9月19日金曜日
パスワード入力 
14年9月19日金曜日
パスワード入力 
初回だけだろ 
14年9月19日金曜日
WiFi のしくみ(2) 
1. クライアント(子機) が AP(親機) を探す 
2. 記憶している APがあれば 
3. 記憶しているパスワードで認証 
4. 接続完了 
14年9月19日金曜日
WiFi のしくみ(2) 
1. クライアント(子機)が AP を探す 
2. 記憶している全AP自があ動 
れば 
3. 記憶しているパスワードで認証 
4. 接続完了 
14年9月19日金曜日
もう少し詳しく 
14年9月19日金曜日
端末は親機がないと 
接続できない 
14年9月19日金曜日
端末がAP(親機)の存在を知る方法は2つ 
• APが定期放送しているビーコン*1 
• アクティブな検出要求*2 
*1 IEEE802.11 00/1000 Beacon Frame, MAC(APのBSSID), SSID, Capability, BI, TIM などを特定のチャネルにて通常20~500ms間隔で送信 
*2 IEEE802.11 00/0100 Probe Request, MAC(端末のMACアドレス), SSID(空ならブロードキャスト) 
  IEEE802.11 00/0101 Probe Response, 大体ビーコンと同じ情報量を特定の端末へ応答 
14年9月19日金曜日
(1) APは通信がないときも 
 自分のSSIDなどを定期的に放送している 
これをBeacon(ビーコン) と呼びます 
14年9月19日金曜日
IEEE802.11 Probe Request 
(2) 検出要求を積極的に送信し、APからの応 
答があれば AP を認識できる 
14年9月19日金曜日
IEEE802.11 Probe Request 
(2) 検出要求を積極的に送信し、APからの応 
答があれば AP を認識できる 
AP 検出要求 (Probe Request) 
「AP 誰かいますか」 
14年9月19日金曜日
IEEE802.11 Probe Request 
(2) 検出要求を積極的に送信し、APからの応 
答があれば AP を認識できる 
AP 検出要求 (Probe Request) 
「AP 誰かいますか」 
AP 検出応答 (Probe Response) 
「はい 俺の名は”MyHomeBuffalo”」 
14年9月19日金曜日
14年9月19日金曜日
端末(子機)はビーコン(1)を受信するか、 
または 検出要求を積極的に送信し (2)、APから 
の応答があれば AP を認識できる 
14年9月19日金曜日
端末(子機)はビーコン(1)を受信するか、 
または 検出要求を積極的に送信し (2)、APから 
の応答があれば AP を認識できる 
または? 
14年9月19日金曜日
端末(子機)はビーコン(1)を受信するか、 
または 検出要求を積極的に送信し (2)、APから 
の応答があれば AP を認識できる 
または? 
検出要求(Probe Request)って何よ 
APがビーコン出してれば存在がわかるじゃん 
いらないのでは。 
14年9月19日金曜日
検出要求が必要! 
14年9月19日金曜日
検出要求が必要! 
• 繋ぎたいSSIDが既にわかってるなら、その 
SSIDを名指しで検出要求したほうが遙かに 
速い(二回目以降の接続とか) 
14年9月19日金曜日
検出要求が必要! 
• 繋ぎたいSSIDが既にわかってるなら、その 
SSIDを名指しで検出要求したほうが遙かに 
速い(二回目以降の接続とか) 
• WiFi はチャネルがいっぱいあるし、タイ 
ミングが悪いとビーコンを受信できない 
14年9月19日金曜日
検出要求が必要! 
• 繋ぎたいSSIDが既にわかってるなら、その 
SSIDを名指しで検出要求したほうが遙かに 
速い(二回目以降の接続とか) 
• WiFi はチャネルがいっぱいあるし、タイ 
ミングが悪いとビーコンを受信できない 
• SSIDを隠してるAPはそもそも見えない 
14年9月19日金曜日
検出要求が必要! 
• 繋ぎたいSSIDが既にわかってるなら、その 
SSIDを名指しで検出要求したほうが遙かに 
速い(二回目以降の接続とか) 
• WiFi はチャネルがいっぱいあるし、タイ 
ミングが悪いとビーコンを受信できない 
• SSIDを隠してるAPはそもそも見えない 
14年9月19日金曜日
SSID 名指しで検出要求 
14年9月19日金曜日
SSID 名指しで検出要求 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
14年9月19日金曜日
SSID 名指しで検出要求 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
AP 検出応答 (Probe Response) 
「はい」 
14年9月19日金曜日
SSID 名指しで検出要求 
はやい 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
AP 検出応答 (Probe Response) 
「はい」 
14年9月19日金曜日
SSID 名指しで検出要求 
はやい 
検出ミスもない 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
AP 検出応答 (Probe Response) 
「はい」 
14年9月19日金曜日
はやいけど 
14年9月19日金曜日
問題点 
14年9月19日金曜日
問題点 
• 子機は自分の居場所がわかってない. 
APが無いはずの場所でも Probe Request 
する 
14年9月19日金曜日
問題点 
• 子機は自分の居場所がわかってない. 
APが無いはずの場所でも Probe Request 
する 
• 一度接続記憶させたらしばらくの間 
Probe Request を送出し続ける(実装依存) 
14年9月19日金曜日
たとえば東京~博多を移動します 
14年9月19日金曜日
たとえば東京~博多を移動します 
自宅のAPに対する検出要求は 
家を出た瞬間からすべて無駄撃ち 
(電池とかの無駄はまあ些末な問題) 
14年9月19日金曜日
SSID 名指しで検出要求 
14年9月19日金曜日
SSID 名指しで検出要求 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
14年9月19日金曜日
SSID 名指しで検出要求 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
14年9月19日金曜日
SSID 名指しで検出要求 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
14年9月19日金曜日
SSID 名指しで検出要求 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」14年9月19日金曜日
SSID 名指しで検出要求 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
このiPhoneがあらゆる出先で 
“MyHomeBuffalo”ってのを要求してるようだ 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
AP 検出要求 (Probe Request) 
「“MyHomeBuffalo”さんいますか」 
14年9月19日金曜日
実際に見てみよう 
14年9月19日金曜日
14年9月19日金曜日
自分のノートPC(b8:f6:b1:14:fc:1b)が 
iis-visitor ってのを探している 
14年9月19日金曜日
iis-visitor 
どこかのゲスト用WiFiっぽい 
14年9月19日金曜日
iis-visitor 
どこかのゲスト用WiFiっぽい 
接続した覚えある 
14年9月19日金曜日
Probe Request に含まれる内容 
14年9月19日金曜日
Probe Request に含まれる内容 
• 端末のMACアドレス 
• 端末が接続したことのある AP の ESSID 
(複数かも) 
• APのBSSID(MACアドレス)は含まれない 
14年9月19日金曜日
14年9月19日金曜日
14年9月19日金曜日
このApple製品の所有者はギー水に行ったこと 
があってshibuhouseにも行ったことがあって 
sinapにも行ったことがあってtakano32さんと 
面識があるだろう。 
14年9月19日金曜日
やばい 
14年9月19日金曜日
ストーキングへの応用 
14年9月19日金曜日
ストーキングへの応用 
• 完全に受動(passive)なストーキングなので、 
端末側では攻撃検知が不可能 
14年9月19日金曜日
ストーキングへの応用 
• 完全に受動(passive)なストーキングなので、 
端末側では攻撃検知が不可能 
• WiFi が直接届く範囲に行く必要があって、 
厳密にはネットストーキングじゃない 
14年9月19日金曜日
ストーキングへの応用 
• 完全に受動(passive)なストーキングなので、 
端末側では攻撃検知が不可能 
• WiFi が直接届く範囲に行く必要があって、 
厳密にはネットストーキングじゃない 
• ターゲットの端末のMACアドレスがわから 
ないと誰が誰だかわからない 
14年9月19日金曜日
MACアドレスを知る方法 
14年9月19日金曜日
MACアドレスを知る方法 
ターゲットの端末に直接接触する必要がある… 
それが無理なら推測するのみ 
14年9月19日金曜日
デモ 
14年9月19日金曜日
14年9月19日金曜日
他のネタ 
• BSSID(MAC) から位置情報を引けるAPI 
• ESSID から BSSID を推測し Probe 
Request から端末の過去の位置情報を推 
測 
14年9月19日金曜日
法律的な話 
• 電波法 第59条(秘密の保護) 
• 何人も法律に別段の定めがある場合を除くほか、特定の相手方に対し 
て行われる無線通信(電気通信事業法第4条第1項又は第164条第2項の 
通信であ るものを除く。第109条並びに第109条の2第2項及び第3項に 
おいて同じ。)を傍受してその存在若しくは内容を漏らし、又はこれ 
を窃用してはならない。 
14年9月19日金曜日
__END__ 
14年9月19日金曜日

More Related Content

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

WiFi によるモダン・ネットストーキング