Top Banner
Breaking the Laws of Robotics Attacking Industrial Robots Davide Quarta, Marcello Pogliani, Mario Polino, Federico Maggi, Andrea M. Zanchettin, Stefano Zanero
90

Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

May 08, 2018

Download

Documents

lamtuong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Breaking the Laws of RoboticsAttacking Industrial Robots

Davide Quarta, Marcello Pogliani, Mario Polino, Federico Maggi,Andrea M. Zanchettin, Stefano Zanero

Page 2: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

(shameless) self introduction

● Black Hat Review board member

● Academic (Associate Professor @ )

● Industry and startup experience

Page 3: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Industrial robots?

Page 4: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Industrial Robot Architecture (Standards)

Controller

Page 5: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks
Page 6: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks
Page 7: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks
Page 8: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks
Page 9: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks
Page 10: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Interconnected

Flexibly programmable Remotely

exposed

Page 11: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Flexibly programmable&

Connected

Page 12: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Screenshot of teach pendant + formatted code snippet on the side

Page 13: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

“Implicit” parameters

Page 14: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

“Implicit” parameters

Page 15: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Flexibly programmable&

Connected(Part 1)

Page 16: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

They are already meant to be connected

Page 17: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Attack surface

USB port

LAN

Radio

Services:Well-known (FTP) +

custom (RobAPI)

Page 18: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Connected Robots: Why?

● Now: monitoring & maintenance ISO 10218-2:2011

● Near future: active production planning and control○ some vendors expose REST-like APIs○ … up to the use of mobile devices for commands

● Future: app/library stores○ “Industrial” version of robotappstore.com?

Page 19: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks
Page 20: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Connected?

Do you considercyber attacks

against robots arealistic threat?

Page 21: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Do you considercyber attacks

against robots arealistic threat?

Page 22: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Whatconsequences

do you foresee?

Page 23: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

What are the mostvaluable assets

at risk?

Page 24: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

impact is much more important than the

vulnerabilities alone.

Page 25: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

How do we assess the impactof an attack against

industrial robots?

Page 26: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

We assess impact by

reasoning on

requirements

Page 27: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Requirements: "Laws of Robotics"

Safety

Accuracy

Integrity

Page 28: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Requirements: "Laws of Robotics"

Safety

Accuracy

IntegrityAcknowledgements T.U. Munich, YouTube -- Dart Throwing with a Robotic Manipulator

Page 29: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Requirements: "Laws of Robotics"

Safety

Accuracy

Integrity

Page 30: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

1. A robot may not injure a human being or, through inaction, allow a human being to come to harm.

2. A robot must obey the orders given it by human beings except where such orders would conflict with the First Law.

3. A robot must protect its own existence as long as such protection does not conflict with the First or Second Laws.

Handbook of Robotics, 56th Edition, 2058 A.D.

Page 31: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

violating any of these requirements

via a digital vector

Robot-Specific Attack

Safety

Accuracy

Integrity

Page 32: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Control Loop Alteration

Safety

Integrity

Attack 1

Accuracy

Page 33: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Control Loop Alteration

Safety

Integrity

Attack 1

Accuracy

Page 34: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Control Loop Alteration

Safety

Integrity

Attack 1

Accuracy

Page 36: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

dr0wned - Cyber-Physical Attack with Additive ManufacturingSofia Belikovetsky, Mark Yampolskiy, Jinghui Toh, Yuval Elovici

Accuracy impact: Micro-defects in additive manufacturing

Page 37: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Calibration Tampering

Safety

Accuracy

Integrity

Attack 2

Page 38: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Calibration Tampering

Safety

Accuracy

Integrity

Attack 2

Page 39: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Production Logic Tampering

Safety

Accuracy

Integrity

Attack 3

Page 40: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Production Logic Tampering

Safety

Accuracy

Integrity

Attack 3

Page 41: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Displayed or Actual State Alteration

Safety

Accuracy

Integrity

Attacks 4+5

Page 42: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Displayed or Actual State Alteration

Safety

Accuracy

Integrity

Attacks 4+5

Page 43: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Malicious DLL

Displayed State Alteration PoC

Teach Pendant

Page 44: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Displayed State Alteration PoC

Teach Pendant

Malicious DLL

Page 45: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Is the Teach Pendant part of the safety system?

Page 46: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Is the Teach Pendant part of the safety system?

NO

Page 47: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Are thestandard safety

measurestoo limiting?

Page 48: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Do you"customize"

the safety measuresin your deployment?

Page 49: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Standards & Regulations vs. Real World

Page 50: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks
Page 51: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

...so far, we assumed the attacker has already

compromised the controller...

Page 52: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

… let’s compromise the controller!

Page 53: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Attack surface

USB port

LAN

Radio

Services:Well-known (FTP) +

custom (RobAPI)

Page 54: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

VxWorks 5.x RTOS (x86)

VxWorks 5.x RTOS (PPC)

Windows CE (ARM) .NET >=3.5

FTP, RobAPI, ...

Page 55: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

● No fuzzing● No emulation● Limited simulator

○ “Virtual controller”

● MMC: Firmware Available Online● Statically Linked

Wearing the pentester’s hat

Page 56: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

User Authorization System

User ∈ roles → grants

Authentication: username + password

Used for FTP, RobAPI, …

Page 57: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

User Authorization System

Page 58: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

User Authorization System

tl;dr; read deployment guidelines

& deactivate the default user

Page 59: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Update problems

FlexPendant

Axis Computer

Microcontrollers

Page 60: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Update problems

FlexPendant

Axis Computer

Microcontrollers

How? FTP at boot

.... plus, no code signing, nothing

Page 61: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Update problems

FlexPendant

Axis Computer

Microcontrollers

FTP? Credentials? Any credential is OK during boot!

ABBVU-DMRO-124644

Page 62: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Autoconfiguration is magic!

Page 63: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Autoconfiguration is magic!

ABBVU-DMRO-124642

Page 64: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

FTP RETR /command/whatever read system info

FTP STOR /command/command execute “commands”

Enter /command

ABBVU-DMRO-124642

Page 65: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

FTP RETR /command/whatever read system info

FTP STOR /command/command execute “commands”

Enter /command

ABBVU-DMRO-124642

Page 66: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

FTP GET /command/whatever read, e.g., env. vars

FTP PUT /command/command execute “commands”

shell reboot

shell uas_disable

+ hard-coded credentials? → remote command execution

Enter /command

ABBVU-DMRO-124642

Page 67: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Let’s look at cmddev_execute_command:

shell → sprintf(buf, "%s", param)

other commands → sprintf(buf, "cmddev_%s", arg)

overflow buf (on the stack) → remote code execution

Enter /command

ABBVU-DMRO-128238

Page 68: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Ex. 1: RobAPI

● Unauthenticated API endpoint● Unsanitized strcpy()

→ remote code execution

Ex. 2: Flex Pendant (TpsStart.exe)

● FTP write /command/timestampAAAAAAA…..AAAAAAA

● file name > 512 bytes ~> Flex Pendant DoS

Other buffer overflows

ABBVU-DMRO-124641, ABBVU-DMRO-124645

Page 69: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Takeaways

Some memory corruption

Mostly logical vulnerabilities

All the components blindly trust the

main computer (lack of isolation)

Page 70: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Complete attack chain (1)

Page 71: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Complete attack chain (2)

Page 72: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Complete attack chain (3)

Page 73: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

“Sensitive” files:

● Users’ credentials and permissions● Sensitive configuration parameters (e.g., PID)● Industry secrets (e.g., workpiece parameters)

File protection

Page 74: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

“Sensitive” files:

● Users’ credentials and permissions● Sensitive configuration parameters (e.g., PID)● Industry secrets (e.g., workpiece parameters)

Obfuscation: bitwise XOR with a “random” key.

Key is derived from the file name. Or from the content. Or …

File protection

Page 75: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

That’s how we implemented the attacks

Page 76: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Attack Surface

?

Page 77: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Flexibly programmable&

Connected(Part 2)

Page 78: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks
Page 79: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Ethernet Wireless

Page 80: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

WAN

Page 81: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Not so many...(Shodan+ZoomEye+Censys)

Remote Exposure of Industrial Robots

Search Entries Country

ABB Robotics 5 DK, SE

FANUC FTP 9 US, KR, FR, TW

Yaskawa 9 CA, JP

Kawasaki E Controller 4 DE

Mitsubishi FTP 1 ID

Overall 28 10

Page 82: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Remote Exposure of Industrial Routers

...way many more!

Unknown which routers are actually robot-connected

Page 83: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Typical Issues

Trivially "Fingerprintable"

● Verbose banners (beyond brand or model name)● Detailed technical material on vendor’s website

○ Technical manual: All vendors inspected○ Firmware: 7/12 vendors

Page 84: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Typical Issues (1)

Outdated Software Components

● Application software (e.g., DropBear SSH, BusyBox)● Libraries (including crypto libraries)● Compiler & kernel● Baseband firmware

Page 85: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Typical Issues (2)

Insecure Web Interface

● Poor input sanitization● E.g., code coming straight from a "beginners" blog

Cut & paste

Page 86: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Bottom line

Connect your robots with care

(follow security best practices & your robot vendor’s guidance)

Page 87: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Robots are increasingly being connected

Industrial robot-specific class of attacks

Barrier to entry: quite high, budget-wise

Conclusions

Page 88: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Vendors are very responsive

As a community we really needto push hard for countermeasures

What should we do now?

Page 89: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Hints on Countermeasures

Short term

Attack detection and deployment hardening

Medium term

System hardening

Long term

New standards, beyond safety issues

Page 90: Breaking the Laws of Robotics - SecTor 2018 · Breaking the Laws of Robotics ... Handbook of Robotics, 56th Edition, 2058 A.D. ... Industrial robot-specific class of attacks

Stefano [email protected]

@raistolo

Papers, slides, and FAQhttp://robosec.org

Questions?