Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
The reversing man
Search
kitok
December 03, 2017
Technology
110
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The reversing man
第1回元祖濱せっくでLT
https://hamasec.connpass.com/event/70567/
kitok
December 03, 2017
More Decks by kitok
See All by kitok
Starting radio hacking with SDR
kitok
2
290
Making full use of Bus Pirate
kitok
1
780
Other Decks in Technology
See All in Technology
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
140
Optunaの最新リリースv5.0について
pfn
PRO
0
120
『SAR衛星データ解析入門』のご紹介とその応用
syuchimu
0
120
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
1つのリクエストを追って理解する - llm-dのP/D分離
akhino
1
160
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
Browser Spec: Testing Hotwire with Ruby
takahashim
1
130
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
400
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
150
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
180
USB PDを使ってスマホを労わりたい
raspython3
0
180
Featured
See All Featured
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
520
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
Typedesign – Prime Four
hannesfritz
42
3.2k
Tell your own story through comics
letsgokoyo
1
1.1k
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
740
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Docker and Python
trallard
47
4.2k
Transcript
なんでも分解する男 @kitokay
自己紹介 • @kitokay / Keisuke KITO • 電機屋さんのへっぽこ研究員@大船 • ゲームとアニメとビールで動作します
• 小さなころから悪ガキで、分解する衝動が抑え られない • 買ったものをすぐに分解しちゃうとか • 分解して戻せないとか • 「なんでも分解する男」
何でも「むかずに食べる男」
何でも「むかずに食べる男」 • デイリーポータルZ「むかない安藤」
サービスマン以外、 分解・改造しないで ください
俺がサービスマンだ
分解?実際どうなん?
http://itpro.nikkeibp.co.jp/atcl/column/16/080200163/080200004/
みんな分解 好きじゃん!
こんなのやってました
分解の喜びを知りやがって…許 さんぞ! • リバースエンジニアリングの愉しみ • 知らないことを知ること、知識欲 • 手を動かす愉しみ • やっぱり実物を扱うの楽しい
• でも法律の範囲内でやろうね
何したらいいかわからない… ①とりあえず、コンソール探す • 組込みはシリアルでコンソールを作りがち ②ファームウェアを吸い出す • ファームが公開されてないデバイスも多い • 法律の範囲内でよろしく ③ボード上のデバイスと通信する
• 温度センサーとか、Flash ROMとか
でも解析する器具がない… • 探そう! • みんな大好きhacker warehouse http://hackerwarehouse.com/
None
ツール(冶具)とか準備大変そう • BusPirateっていう便利なツール • いろいろできる • UART(Serial), JTAG • 1-wire,
SPI, I²C • MIDI, PS/2 • Switch Scienceで買える • 講義した後で取扱い 始まった(!?) • お手軽H/Wはっきん!
実はPython Scriptable • 決まり切ったものはPythonで自動化できる • SPI通信でFlash ROMから吸い出す • JTAGで今のレジスタ値をdumpする •
先人がPythonで書かれてる • Githubとかで”buspirate flash”とか • Flashromっていうコマンド • Bus Pirateに地味に対応してる
どこにつなげばいいの? • 結構ノウハウだよねー • でもISP(In-circuit Serial Programming)が大抵ある • 基板に実装した後に、ファームを入れる事 •
これを利用して… • 「4個の1列横ならびのピン」 • 「14個の2列横並びのピン」 • だいたいパターンになってる
れっつ ハードウェア はっきん!
おまけ
JTAGっぽい UARTっぽい
None
JTAGっぽい