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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
kitok
December 03, 2017
Technology
120
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
Transcript
22 slides
なんでも分解する男 @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っぽい
More Decks by kitok
See All by kitok
Starting radio hacking with SDR
kitok
2
300
Making full use of Bus Pirate
kitok
1
790
Other Decks in Technology
See All in Technology
AWS Client VPNの設定でハマったポイントとその過程での気づき
amarelo_n24
1
430
Taking back control of your AI development
inesmontani
PRO
0
310
こんなに変わった! AWSネットワークの常識
shotashiratori
16
11k
CloudTrail を推したい
kazzpapa3
1
160
社内アプリ基盤「Quartz」による、 非エンジニアとAIに本番デプロイを 任せても壊れないプラットフォームの設計
staka121
PRO
1
170
AIエージェントのアーキテクチャ設計
nsatoh
0
440
RAGの改善を速く回すための評価基盤
yosukeyoshida
6
3.5k
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
160
Test Impact Analysis を武器に立ち向かう、AI 時代のテスト増加に対するヌーラボのアプローチ / getting-started-datadog-test-impact-analysis
k6s4i53rx
2
310
Del vibe coding a un Desarrollo (agéntico) fiable
jcabot
0
200
gradle-best-practices 使ってみた
mikanichinose
0
220
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
0
160
Featured
See All Featured
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
410
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Exploring anti-patterns in Rails
aemeredith
4
570
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
900
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
340
How STYLIGHT went responsive
nonsquared
100
6.4k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
480