Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Raspberry PI pour les agents secrets
Search
/dev/var/
April 26, 2014
Programming
0
280
Raspberry PI pour les agents secrets
Par Fedir Rykhtik
/dev/var/
April 26, 2014
Tweet
Share
More Decks by /dev/var/
See All by /dev/var/
La qualité logicielle par Jean-Pierre Imbert
devvar
0
160
Présentation de ROS (Robotics Operating System) : un midleware utilisé en robotique par Adrien Barral
devvar
1
250
Web scraping par Vincent Digiusto
devvar
0
250
Un workflow agile et efficace pour le développement front-end par Kévin Pardo
devvar
0
280
Un lab sécurité pour tester des app mobiles en moins de 15 minutes par Cyril Cérésola
devvar
0
270
Retour sur le Startup Weekend Toulon 2014
devvar
0
210
Vulnérabilité XXE par Cyril Ceresola
devvar
1
520
l’Oculus Rift DK2 par Manuel Seilhes
devvar
0
370
Retour d'expérience sur un coding goûter
devvar
0
260
Other Decks in Programming
See All in Programming
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
1
360
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
120
Implementing Design Systems in Swift
seyfoyun
1
460
デフォルトにして至高、RubyMineの大好きな所
ruzia
0
760
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
480
Apache Hive 4 on Treasure Data
ryukobayashi
1
420
From Spring Boot 2 to Spring Boot 3 with Java 21 and Jakarta EE
ivargrimstad
0
540
Exploring the Implementation of “t.Run”, “t.Parallel”, and “t.Cleanup”
akarin
1
110
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
180
大規模UIKitベースアプリへのTCAの段階的導入/gradual-adoption-of-tca-in-a-large-scale-uikit-based-app
takehilo
2
200
Elm 0.19.0 Changes
bkuhlmann
0
510
Amazon SQSコンシューマー疎結合への旅 - 出張! #DevelopersIO IT技術ブログの中の人が語る勉強会 #3
quiver
0
310
Featured
See All Featured
KATA
mclloyd
16
12k
Building an army of robots
kneath
300
41k
Done Done
chrislema
178
15k
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Art, The Web, and Tiny UX
lynnandtonic
290
19k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
22
1.6k
Web development in the modern age
philhawksworth
203
10k
What’s in a name? Adding method to the madness
productmarketing
PRO
17
2.7k
The Invisible Side of Design
smashingmag
294
49k
Designing for Performance
lara
601
67k
10 Git Anti Patterns You Should be Aware of
lemiorhan
649
58k
Transcript
None
Raspberry PI pour les agents secrets 15 exemples d’utilisation Fedir
RYKHTIK, @FedirFR /dev/var/4 Toulon, France
RPi http://fr.farnell.com/raspberry-pi-accessories
Besoin d’un agent secret • Communication avec M • Obtenir
l'information secrète • Défendre ça propre information • Combattre les ennemies • Agents de deuxième plan • Transport (voiture ultra hi-tech) • Gadgets
Communication avec M
Talking to people from distance • Microphone USB • Casque
• SoX ◦ sox -d -t sox - | ssh pi@[IP address] sox -q -t sox - -d
Voice transformation • SoX ◦ sox -t alsa plughw:1 -d
reverb 99 50 0 ▪ Alpes : echo 0.8 0.9 1000 0.3 ▪ Sci-fi robot : flanger 30 10 0 100 10 tri 25 lin ▪ Shtrumpf : pitch 500
Obtenir l'information secrète
Audio Recording • SoX ◦ alias record='sox -t alsa plughw:1
-t wav - | lame -' ◦ record newrec.mp3 • tmux / screen ◦ to not break the session
Audio Transmission • Remote recording ◦ ssh pi@[IP address] sox
-t alsa plughw:1 -t wav - > ~/Desktop/myrec.wav • Speak to people ◦ sox -d -t sox - | ssh pi@[IP address] sox -q -t sox - -d
Recording the video stream • VLC ◦ vlc http://[IP address]:8080/?action=stream
-- sout='#standard{mux=avi,dst=/home/[username] /Desktop/myvideo.avi,access=file}'
Viewing Your webcam • Video ◦ vlc http://[IP address]:8080/?action=stream •
Audio ◦ ssh pi@[IP-address] sox -t alsa plughw:1 -t sox - | sox -q -t sox - -d
Monitoring WiFi • Kismet ◦ Wi-Fi spectrum and traffic analyzer
Analyzing packet dumps • logging ◦ sudo ettercap -q -T
-i wlan0 -M arp:remote -d -w mycapture.pcap /[Router IP]/ /[PC IP]/ • Analyzing ◦ ssh pi@[IP address] cat /home/pi/kismetlogs/Kismet- XXXX.pcapdump | wireshark -k -i -
Combattre les ennemies
Detecting an intruder • Motion
Turning on and off a TV • cron • Motion
Staging a playback scare • Assign to Motion
Traffic remplacement • etterfilter
Ennemies réels ?
Défendre ça propre information
Protection against Ettercap • static ARP entries • ettercap ◦
chk_poison plugin
Keeping data secret • cryptsetup ◦ crypted containers • dosfstools
◦ for Win compatibilty
Agents de deuxième plan
None
None
Transport (voiture ultra hi-tech)
RPi integration
GPS Tracking • USB GPS receiver (projects verified with Columbus
V-800) • gpsd • cgps
Gadgets
Controlling PI with Your smartphone • NetIO • SSH client
• Coversal - Linux Remote Control
Connectivité • Senseurs ◦ Lumiere ◦ Mouvement ◦ Distance •
Triggers • Relais
Livre à conseiller
Références • http://www.tuxboard.com/gadgets-des-agents-secrets/ • http://projectsentrygun.rudolphlabs.com/ • http://www.geek.com/news/autonomous-nerf-sentry-gun-picks-its-targets-protects-your-toy- chest-1561381/ • http://blog.kaazing.com/2013/04/01/remote-controlling-a-car-over-the-web-ingredients-
smartphone-websocket-and-raspberry-pi/ • http://www.raspberrypi.org/raspberry-pi-car-computer/ • http://oversimple.fr/alarme-de-maison-avec-un-raspberry-pi/ • http://fr.farnell.com/raspberry-pi-accessories • http://korben.info/idees-raspberry-pi.html