SlideShare a Scribd company logo
1 of 35
Hacking Robotics
Kensei Demura @ken_demu
Robot Engineer/Researcher/Creator
NII (National Institute of Informatics)
SIGVerse Project Developer
D.K.T. Robot School President
Background
IPA SecurityCamp 2014
● Raspberry pi IDS Development
https://github.com/kendemu/embeddids
● Furniture Injection
The most popular Robot Middleware/OS
Robot Operating System
・ visualization
・ IPC
・ Package management
・ Multithread/Process/Clustering
・ Image/PointCloud Processing
・ Robot Modeling / Simulation
・ Cross-platform
・ Navigation
・ Program Scalability
Question
Is ROS Secure?
ROS Technical Overview
・ Message : XML-RPC(HTTP-based)
・ runs through TCP usually
・ The namesystem of process called “Master”
  manages the services  
http://wiki.ros.org/ROS/Technical%20Overview
1. a service register a Name to the Master
2. a service query other services through Master
3. a service establishes TCP/IP connection with other
services
4. the services exchange the connection header
5. a service require the serialized message
6. the other service respond with the serialized message
Connection of ROS
Node(Process/Service)
How about encryption ?
No data
Packet Sniffing
Special thanks
Background of meeting @jitomesky
Repairing the Intel Edison which I had made a
fatal error on the Operating System side
Test Environment:
Gazebo Simulator with Turtlebot
http://qiita.com/kendemu/items/f915c7c2498b04e097cc
Node Network
Result:
XML-RPC Packet is not encrypted
ROS Connection I/O Graph(Red)
ROS XML-RPC Packet length
Test environment 2 :Roomba
Node Network
Follow TCP Stream
Motor Commands are not
encrypted
Negative effects
1. Remote Control is possible just by
spoofing packets
2. How to spoof packets : TCP Spoofing
3. The robots nowadays connect to the
Internet → critical problem for robots
Solution
SSH,IPSec,SLL/TLS Encryption
Problem : Slow for Robot Control
→Needs of fast encryption
※Using IPSec,VPN make network connection more
than 6 times slower
http://d.hatena.ne.jp/nori_no/20100919/1284875253
※ROS XML-RPC Packet length is about
400~600 bytes(496±99.8 bytes)
(by my calculation & datasets)  
Conclusion
The Network Security
of ROS is weak
Pepper Reverse
Engineering(Legal)
Pepper : Cross Development
But wanted to do in native
environment
Normally, just the GUI Software above
Pepper OS is NaoQiOS, customized Gentoo※
Nmapepper:
Pepper port scan
ftp, ssh, http, teradataordbms, hydap
service open
Doing SSH in Pepper was very
slow....
Fortunately, discovered MicroUSB
and Ethernet port!
Connect MicroUSB to Pepper
Login Pepper with tty
gcc/g++, openni,opencv,gdb,wget,pulseaudio is usable
No X environment, package manager
Implementing git
No Make & configure tools in pepper
Conclusion
Pepper is programmable in native environment
Pepper is customizable
Implementing git
No Make & configure tools in pepper

More Related Content

What's hot

debugging openstack neutron /w openvswitch
debugging openstack neutron /w openvswitchdebugging openstack neutron /w openvswitch
debugging openstack neutron /w openvswitch
어형 이
 
Networking in Gnu/Linux
Networking in Gnu/LinuxNetworking in Gnu/Linux
Networking in Gnu/Linux
Ahmed Mekkawy
 

What's hot (20)

ExaProxy
ExaProxyExaProxy
ExaProxy
 
visagie_freebsd
visagie_freebsdvisagie_freebsd
visagie_freebsd
 
All of Your Network Monitoring is (probably) Wrong
All of Your Network Monitoring is (probably) WrongAll of Your Network Monitoring is (probably) Wrong
All of Your Network Monitoring is (probably) Wrong
 
debugging openstack neutron /w openvswitch
debugging openstack neutron /w openvswitchdebugging openstack neutron /w openvswitch
debugging openstack neutron /w openvswitch
 
Run Run Trema Test
Run Run Trema TestRun Run Trema Test
Run Run Trema Test
 
SFScon 2020 - Jakob Schwienbacher - Linux as HA Router - Linux Kernel keepali...
SFScon 2020 - Jakob Schwienbacher - Linux as HA Router - Linux Kernel keepali...SFScon 2020 - Jakob Schwienbacher - Linux as HA Router - Linux Kernel keepali...
SFScon 2020 - Jakob Schwienbacher - Linux as HA Router - Linux Kernel keepali...
 
Itep
ItepItep
Itep
 
Twisted: a quick introduction
Twisted: a quick introductionTwisted: a quick introduction
Twisted: a quick introduction
 
Taking Security Groups to Ludicrous Speed with OVS (OpenStack Summit 2015)
Taking Security Groups to Ludicrous Speed with OVS (OpenStack Summit 2015)Taking Security Groups to Ludicrous Speed with OVS (OpenStack Summit 2015)
Taking Security Groups to Ludicrous Speed with OVS (OpenStack Summit 2015)
 
nullcon 2010 - Software Fuzzing with Wireplay
nullcon 2010 - Software Fuzzing with Wireplaynullcon 2010 - Software Fuzzing with Wireplay
nullcon 2010 - Software Fuzzing with Wireplay
 
bro - what is in my network?
bro - what is in my network?bro - what is in my network?
bro - what is in my network?
 
Mak3
Mak3Mak3
Mak3
 
netty_qcon_v4
netty_qcon_v4netty_qcon_v4
netty_qcon_v4
 
Python on FreeBSD
Python on FreeBSDPython on FreeBSD
Python on FreeBSD
 
Networking in Gnu/Linux
Networking in Gnu/LinuxNetworking in Gnu/Linux
Networking in Gnu/Linux
 
Deconstruct 2017: All programmers MUST learn C and Assembly
Deconstruct 2017: All programmers MUST learn C and AssemblyDeconstruct 2017: All programmers MUST learn C and Assembly
Deconstruct 2017: All programmers MUST learn C and Assembly
 
netfilter programming
netfilter programmingnetfilter programming
netfilter programming
 
Anycast all the things
Anycast all the thingsAnycast all the things
Anycast all the things
 
Fluentd Hacking Guide at RubyKaigi 2014
Fluentd Hacking Guide at RubyKaigi 2014Fluentd Hacking Guide at RubyKaigi 2014
Fluentd Hacking Guide at RubyKaigi 2014
 
An Introduction to Twisted
An Introduction to TwistedAn Introduction to Twisted
An Introduction to Twisted
 

Similar to Hacking Robotics(English Version)

JmDNS : Service Discovery for the 21st Century
 JmDNS : Service Discovery for the 21st Century JmDNS : Service Discovery for the 21st Century
JmDNS : Service Discovery for the 21st Century
Gnu Alsonative
 
JmDNS : Service Discovery for the 21st Century
 JmDNS : Service Discovery for the 21st Century JmDNS : Service Discovery for the 21st Century
JmDNS : Service Discovery for the 21st Century
Gnu Alsonative
 
Computer network (10)
Computer network (10)Computer network (10)
Computer network (10)
NYversity
 
Simplified Networking and Troubleshooting for K-12 Teachers
Simplified Networking and Troubleshooting for K-12 TeachersSimplified Networking and Troubleshooting for K-12 Teachers
Simplified Networking and Troubleshooting for K-12 Teachers
webhostingguy
 
Pears
PearsPears
Pears
thips
 

Similar to Hacking Robotics(English Version) (20)

Networks Have Layers - Understanding The OSI Model
Networks Have Layers - Understanding The OSI ModelNetworks Have Layers - Understanding The OSI Model
Networks Have Layers - Understanding The OSI Model
 
JmDNS : Service Discovery for the 21st Century
 JmDNS : Service Discovery for the 21st Century JmDNS : Service Discovery for the 21st Century
JmDNS : Service Discovery for the 21st Century
 
JmDNS : Service Discovery for the 21st Century
 JmDNS : Service Discovery for the 21st Century JmDNS : Service Discovery for the 21st Century
JmDNS : Service Discovery for the 21st Century
 
Peer-to-peer Internet telephony
Peer-to-peer Internet telephonyPeer-to-peer Internet telephony
Peer-to-peer Internet telephony
 
Insider Threat Visualization - HITB 2007, Kuala Lumpur
Insider Threat Visualization - HITB 2007, Kuala LumpurInsider Threat Visualization - HITB 2007, Kuala Lumpur
Insider Threat Visualization - HITB 2007, Kuala Lumpur
 
Insider Threat Visualization - HackInTheBox 2007
Insider Threat Visualization - HackInTheBox 2007Insider Threat Visualization - HackInTheBox 2007
Insider Threat Visualization - HackInTheBox 2007
 
aibo introduction at ROSCon2018@Madrid
aibo introduction at ROSCon2018@Madridaibo introduction at ROSCon2018@Madrid
aibo introduction at ROSCon2018@Madrid
 
Computer network (10)
Computer network (10)Computer network (10)
Computer network (10)
 
Hackerworkshop exercises
Hackerworkshop exercisesHackerworkshop exercises
Hackerworkshop exercises
 
Network Stack in Userspace (NUSE)
Network Stack in Userspace (NUSE)Network Stack in Userspace (NUSE)
Network Stack in Userspace (NUSE)
 
Tcp Anonymous Authenticated ID
Tcp Anonymous Authenticated IDTcp Anonymous Authenticated ID
Tcp Anonymous Authenticated ID
 
Cisco Certified Network Associate
Cisco Certified Network AssociateCisco Certified Network Associate
Cisco Certified Network Associate
 
Network Testing ques
Network Testing quesNetwork Testing ques
Network Testing ques
 
"Taming the Dragon": Get Started with Zenoh
"Taming the Dragon": Get Started with Zenoh"Taming the Dragon": Get Started with Zenoh
"Taming the Dragon": Get Started with Zenoh
 
509 512
509 512509 512
509 512
 
class12_Networking2
class12_Networking2class12_Networking2
class12_Networking2
 
Simplified Networking and Troubleshooting for K-12 Teachers
Simplified Networking and Troubleshooting for K-12 TeachersSimplified Networking and Troubleshooting for K-12 Teachers
Simplified Networking and Troubleshooting for K-12 Teachers
 
Pears
PearsPears
Pears
 
HTTP/2 and SAP Fiori
HTTP/2 and SAP FioriHTTP/2 and SAP Fiori
HTTP/2 and SAP Fiori
 
SREcon Europe 2016 - Full-mesh IPsec network at Hosted Graphite
SREcon Europe 2016 - Full-mesh IPsec network at Hosted GraphiteSREcon Europe 2016 - Full-mesh IPsec network at Hosted Graphite
SREcon Europe 2016 - Full-mesh IPsec network at Hosted Graphite
 

More from Kensei Demura

ロボカップ世界大会報告@IPAセキュリティキャンプ全国大会2016チューター成果報告
ロボカップ世界大会報告@IPAセキュリティキャンプ全国大会2016チューター成果報告ロボカップ世界大会報告@IPAセキュリティキャンプ全国大会2016チューター成果報告
ロボカップ世界大会報告@IPAセキュリティキャンプ全国大会2016チューター成果報告
Kensei Demura
 
Robots I made in Robocup
Robots I made in RobocupRobots I made in Robocup
Robots I made in Robocup
Kensei Demura
 
Robots I made in Robocup
Robots I made in RobocupRobots I made in Robocup
Robots I made in Robocup
Kensei Demura
 

More from Kensei Demura (20)

FutureKreateロボットシミュレータ
FutureKreateロボットシミュレータFutureKreateロボットシミュレータ
FutureKreateロボットシミュレータ
 
Connecting Virtual to Real Robot with SIGVerse Robot Simulator
Connecting Virtual to Real Robot with SIGVerse Robot SimulatorConnecting Virtual to Real Robot with SIGVerse Robot Simulator
Connecting Virtual to Real Robot with SIGVerse Robot Simulator
 
新型Happy Miniの発表 @ RoboCup 2017 NVIDIA 展示ブース
新型Happy Miniの発表 @ RoboCup 2017 NVIDIA 展示ブース新型Happy Miniの発表 @ RoboCup 2017 NVIDIA 展示ブース
新型Happy Miniの発表 @ RoboCup 2017 NVIDIA 展示ブース
 
ロボカップ世界大会報告@IPAセキュリティキャンプ全国大会2016チューター成果報告
ロボカップ世界大会報告@IPAセキュリティキャンプ全国大会2016チューター成果報告ロボカップ世界大会報告@IPAセキュリティキャンプ全国大会2016チューター成果報告
ロボカップ世界大会報告@IPAセキュリティキャンプ全国大会2016チューター成果報告
 
Robots I made in Robocup
Robots I made in RobocupRobots I made in Robocup
Robots I made in Robocup
 
Robots I made in Robocup
Robots I made in RobocupRobots I made in Robocup
Robots I made in Robocup
 
生活支援ロボットMini@ROS勉強会
生活支援ロボットMini@ROS勉強会生活支援ロボットMini@ROS勉強会
生活支援ロボットMini@ROS勉強会
 
7・27ランチ自己紹介2015
7・27ランチ自己紹介2015 7・27ランチ自己紹介2015
7・27ランチ自己紹介2015
 
Happy Robot Mini
Happy Robot MiniHappy Robot Mini
Happy Robot Mini
 
RoboCup@home SPL Technical league intro
RoboCup@home SPL Technical league introRoboCup@home SPL Technical league intro
RoboCup@home SPL Technical league intro
 
Dream slush
Dream slushDream slush
Dream slush
 
KANAZAWAスマホアプリコンテスト企画書
KANAZAWAスマホアプリコンテスト企画書KANAZAWAスマホアプリコンテスト企画書
KANAZAWAスマホアプリコンテスト企画書
 
Development of human support robot
Development of human support robotDevelopment of human support robot
Development of human support robot
 
賢聖プレゼンSictic2013
賢聖プレゼンSictic2013賢聖プレゼンSictic2013
賢聖プレゼンSictic2013
 
ロボカップジュニア日本大会提出論文(出村賢聖)140317
ロボカップジュニア日本大会提出論文(出村賢聖)140317ロボカップジュニア日本大会提出論文(出村賢聖)140317
ロボカップジュニア日本大会提出論文(出村賢聖)140317
 
賢聖自律型ロボットの開発2012
賢聖自律型ロボットの開発2012賢聖自律型ロボットの開発2012
賢聖自律型ロボットの開発2012
 
Kensei sictic2012
Kensei sictic2012Kensei sictic2012
Kensei sictic2012
 
RobocupJunior summercamp
RobocupJunior summercampRobocupJunior summercamp
RobocupJunior summercamp
 
ロボカップジュニア自由研究2011
ロボカップジュニア自由研究2011ロボカップジュニア自由研究2011
ロボカップジュニア自由研究2011
 
ノダチュウポスター2011
ノダチュウポスター2011ノダチュウポスター2011
ノダチュウポスター2011
 

Recently uploaded

Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Recently uploaded (20)

data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 

Hacking Robotics(English Version)