Top Banner
*All pictures are taken from Dr StrangeLove movie and other Internets Sergey Gordeychik Gleb Gritsai
106

Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Jun 09, 2018

Download

Documents

dodan
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: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

*All pictures are taken from Dr StrangeLove movie and other Internets

Sergey GordeychikGleb Gritsai

Page 2: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

¨ Group of security researchers focused on ICS/SCADA

to save Humanity from industrial disasterand to keep Purity Of Essence

Alexander TimorinAlexander TlyapovAlexander ZaitsevAlexey OsipovAndrey MedovArtem ChaykinDenis BaranovDmitry EfanovDmitry Nagibin

Dmitry SerebryannikovDmitry SklyarovEvgeny ErmakovGleb GritsaiIlya KarpovIvan PoliyanchukKirill NesterovRoman IlinRoman PolushinSergey Bobrov

Sergey DrozdovSergey GordeychikSergey SidorovSergey ScherbelTimur YunusovValentin ShilnenkovVladimir KochetkovVyacheslav EgoshinYuri GoltsevYuriy Dyachenko

Page 3: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Please note, that this talk is by SCADA StrangeLove team. We don’t speak for our

employers. All the opinions andinformation here are of our responsibility

(actually no one ever saw this talk before). So, mistakes and bad jokes are all OUR

responsibilities.

Page 4: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

9260 km6 day 1:59

Page 5: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 6: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 7: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

A signal is a mechanical or electrical device erectedbeside a railway line to pass information relating to thestate of the line ahead to train/engine drivers.

A railroad switch, turnout or [set of] points is a mechanical installation enabling railway trains to beguided from one track to another, such as at a railwayjunction or where a spur or siding branches off.

Page 8: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 9: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

http://www.railway-technical.com/sigtxt5.shtml

Page 10: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

https://www.youtube.com/watch?v=Mjx3S3UjmnA

Page 11: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

https://en.wikipedia.org/wiki/File:Clear_track_circuit.svg

Page 12: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

https://en.wikipedia.org/wiki/File:Occupied_track_circuit.svg

Page 13: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 14: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Weld resistanceWeld no transfer contactsSolid gold and bifurcated contacts-40 °C...+70 °C operating temperatureVital relays are gravity-operated devices

Page 15: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 16: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

LocomotiveTraction motors control/Cab SignalingAutomatic Train ControlPassenger Information and Entertainment

Wayside/StationsComputer base interlocking / Centralized traffic controlMarshalling yard automationAutomated railway level crossing protection system

Other systemsTraction substationsTickets / Passenger InformationTelemetry

Page 17: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

THREATS?

Page 18: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

THREATS?

http://news.sky.com/story/four-cyber-attacks-on-uk-railways-in-a-year-10498558https://www.theguardian.com/technology/2016/jan/07/ukrainian-blackout-hackers-attacked-media-company

Page 19: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

The train's signalling, control and train protection systems include a Transmission Voie-Machine (TVM) signalling system, Controle de Vitesse par Balises (KVB) train protection system, Transmission Beacon Locomotive (TBL) train protection system, Runback Protection System (RPS), European Train Control System (ETCS), Automatic train protection (ATP) system, Reactor Protection System (RPS) and train control system.http://www.railway-technology.com/projects/eurostar-e320-high-speed-train/

KVB - a train protection system used in FranceMEMOR - Belgian railway signalingTVM - in-cab signaling originally deployed in FranceTBL - train protection system used in BelgiumRPS - Runback ProtectionATP - Great Britain implementations of a train protection systemETCS - European Train Control System

Sibas 32 train control system guarantees a safe and smooth transfer of data via the Train Communication Network (TCN), which consists of the train bus (WTB) and vehicle bus (MVB)

Page 20: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

The train's signalling, control and train protection systems include a Transmission Voie-Machine (TVM) signalling system, Controle de Vitesse par Balises (KVB) train protection system, Transmission Beacon Locomotive (TBL) train protection system, Runback Protection System (RPS), European Train Control System (ETCS), Automatic train protection (ATP) system, Reactor Protection System (RPS) and train control system.http://www.railway-technology.com/projects/eurostar-e320-high-speed-train/

KVB - a train protection system used in FranceMEMOR - Belgian railway signalingTVM - in-cab signaling originally deployed in FranceTBL - train protection system used in BelgiumRPS - Runback ProtectionATP - Great Britain implementations of a train protection systemETCS - European bus (MVB)

Train!

Page 21: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

¨ Loco’s internals¡ Traction control¡ Braking system¡ Cab signaling¡ Train protection system¡ Automatic train control¡ Passenger Information and Entertainment

¨ Software not available in public¡ True for the all railroad software

Page 22: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

¨ SIBAS 32¡ Eurostar e320 high-speed trains¡ class 120.1 locomotive of German Rail¡ S 252 of Spanish National Railways (RENFE)¡ LE 5600 of Portuguese Railways (CP) ¡ Velaro¡ class 182 2nd gene EuroSprinter¡ EG 3100 in Sweden, Germany

and Denmark ¨ SIBAS PN

¡ New DB ICE trains

Page 23: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

¨ SIBAS 32 updates to SIBAS PN¨ Proprietary SIBAS OS to VxWorks + WinAC RTX¨ S7 controllers to PC-based controllers with WinAC

RTX software¡ “configured and programmed with STEP 7 in exactly the same

way as a normal S7 controllerӬ WTB (Wire Train Bus) to ETB (Ethernet Train Bus)

¡ And PROFINET¨ Goodbye weird executable formats and IS. Hello

ELF/PE and x86/ppc

Page 24: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Follow https://github.com/scadastrangelove to get WinAC FeatureServer scanning and controlling tool very soon

Page 25: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

¨ Hardcodes¡ No, hardcodes are for the authentication

¨ Known protocols¡ XML over HTTP, S7

¨ Secure network facing services¡ Self-written web server¡ Self-written xml parser¡ …

¨ Heavily based on WinCC code¨ Runs on Windows x86¨ Vulnerabilities

¡ Probably

Page 26: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

How to access PC-based controllers (WinAC RTX)?

¨ We don’t know¨ We don’t want to know¨ We will never know¨ Yet to not know¨ Yet to don’t know¨ Not yet to know

Page 27: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

INDUSTRIAL CYBERSECURITY

Functional Safety and Reliability

Industrial Safety

Information Security

The secrets of cybersecurity, Valentin Gpanovich, Efim Rozenberg, Sergey Gordeychik . Railway Strategies, Issue 130

https://issuu.com/schofieldpublishingltd/docs/railway_strategies_issue_130_june_2

Page 28: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

MISSION CENTRIC APPROACH

Industrial safety: directly affect physical safety.Economical: decrease railroad traffic capacityor other quantitative economical characteristics(train delays, local power outage)Reliability and functional safety impact: ICScrashes, out of service, etc.

Page 29: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

COMPUTER BASED INTERLOCKING

1

2

Page 30: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

COMPUTER BASED INTERLOCKING

1

2

Page 31: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Notation in a chartWD Wayside devicesOC Object controller(s)CP/CPU Central Processing Unit IPU Interlocking processing unitYW Yardmaster’s workstationIG Integration gatewayEMW Electrical mechanic’s

workstationCTC Centralized traffic controlCM Centralized monitoringABS Automatic block systemCBI Computer-based interlockingDN Data networks

Page 32: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Notation in a chartWD Wayside devicesOC Object controller(s)CP/CPU Central Processing Unit IPU Interlocking processing unitYW Yardmaster’s workstationIG Integration gatewayEMW Electrical mechanic’s

workstationCTC Centralized traffic controlCM Centralized monitoringABS Automatic block systemCBI Computer-based interlockingDN Data networks

Page 33: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Notation in a chartWD Wayside devicesOC Object controller(s)CP/CPU Central Processing Unit IPU Interlocking processing unitYW Yardmaster’s workstationIG Integration gatewayEMW Electrical mechanic’s

workstationCTC Centralized traffic controlCM Centralized monitoringABS Automatic block systemCBI Computer-based interlockingDN Data networks

Page 34: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Notation in a chartWD Wayside devicesOC Object controller(s)CP/CPU Central Processing Unit IPU Interlocking processing unitYW Yardmaster’s workstationIG Integration gatewayEMW Electrical mechanic’s

workstationCTC Centralized traffic controlCM Centralized monitoringABS Automatic block systemCBI Computer-based interlockingDN Data networks

Page 35: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 36: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

1. Safety (Cyber Physical Threats)• set a less restrictive signal light• operate a switch with a train passing over it• set conflicting routes …

2. Economics (freight efficiency)• CBI CPU crash• Blocking of control• False indication…

3. Reliability and functional safety• CBI CPU reboot• Network crash…

Automation Communication Informatics, №7, 2015, CBI Threat Model

Page 37: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 38: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 39: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 40: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Notation in a chartWD Wayside devicesOC Object controller(s)CP/CPU Central Processing Unit IPU Interlocking processing unitYW Yardmaster’s workstationIG Integration gatewayEMW Electrical mechanic’s

workstationCTC Centralized traffic controlCM Centralized monitoringABS Automatic block systemCBI Computer-based interlockingDN Data networks

Page 41: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 42: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 43: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 44: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 45: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

WINDOWS NT 4.0 SERVICE PACK 6!

Page 46: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 47: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Validation and generation of geographical data using a domain theory, Lars-Henrik Eriksson, Uppsala University (c)

Page 48: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

¨ Interlocking security (by Jakob Lyng Petersen)

¡ Trains must not collide¡ Trains must not derail¡ Trains must not hit person working the tracks

¨ Formal methods and verification (rtfm)¡ B Method, Event B

ú Underground rail network in Beijing, Milan and Sao Paulo ¡ Prover.com

ú Sweden, USA

Page 49: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

¨ Safety critical systems¨ Abstract machines + formal methods¨ Atelier B

¡ Available IDE and C translator¡ No Ada translator

¨ Newer version – Event-B¡ See Rodin framework

Page 50: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 51: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 52: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

¨ “Everything will be C in the end. If it's not C, it's not the end.” – almost John Lennon

Page 53: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

¨ KVB: Alstom ¡ Automatic Train Protection for the French railway company

(SNCF), installed on 6,000 trains since 1993 ú 60,000 lines of B; 10,000 proofs; 22,000 lines of Ada

¨ SAET METEOR: Siemens Transportation Systems ¡ Automatic Train Control: new driverless metro line 14 in Paris

(RATP), 1998. 3 safety-critical software parts: onboard, section, line ú 107,000 lines of B; 29,000 proofs; 87,000 lines of Ada

¨ Roissy VAL: ClearSy (for STS)¡ Section Automatic Pilot: light driverless shuttle for Paris-Roissy

airport (ADP), 2006 ú 28,000+155,000 lines of B; 43,000 proofs; 158,000 lines of Ada

Page 54: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Communication services,

Interlocking logic,Objects database,

Diagnostic,etc

Railroad site

HMIUser

interaction and

monitoringCommands

Site objects state

Commands

Site objects indication

Stat

ion

netw

ork

(Eth

erne

t, RS

xxx,

…)

Cont

rolle

rs

Page 55: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Communication services,

Interlocking logic,Objects database,

Diagnostic,etc

Railroad site

HMIUser

interaction and

monitoringCommands

Site objects state

Commands

Site objects indication

Stat

ion

netw

ork

(Eth

erne

t, RS

xxx,

…)

Cont

rolle

rs

C/C++ Ada

Page 56: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 57: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 58: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 59: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 60: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 61: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 62: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Boundaries between ETCS and the GSM-R Network

Page 63: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

28C3: Stefan Katzenbeisser: Can trains be hacked?

• ERTMS EuroradioSafety Layer

• RBC-RBC Safe Communication Interface

• VPN over GSM

Page 64: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

In areas where the European Train Control System (ETCS) Level 2 or3 is used, the train maintains a circuit switched digital modemconnection to the train control centre at all times. … If the modemconnection is lost, the train will automatically stop.

Page 65: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 66: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

http://www.era.europa.eu/Document-Register/Documents/P38T9001%204.2%20FFFIS%20for%20GSM-R%20SIM-CARD.pdf

Page 67: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

― Remote data recovery (Kc, TIMSI)• Chanel decryption (including A5/3)• «Clone» the SIM and mobile station

― SIM “malware”― Block SIM via PIN/PUK brute― Extended OTA features (FOTA)

Karsten Nohl, https://srlabs.de/rooting-sim-cards/Alexander Zaitsev, Sergey Gordeychik , Alexey Osipov, PacSec, Tokyo, Japan, 2014

Page 68: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 69: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 70: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 71: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Attack host

Page 72: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Con

trol

Page 73: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 74: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Travis Goodspeed, Sergey Bratus, https://www.troopers.de/wp-content/uploads/2012/12/TROOPERS13-You_wouldnt_share_a_syringe_Would_you_share_a_USB_port-Sergey_Bratus+Travis_Goodspeed.pdf

HITB 2015, Bootkit via SMS by Timur Yunusov and Kirill Nesterov.

Page 75: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Con

trol

Attack the ATC

Page 76: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 77: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Source: moxa.com

Page 78: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

And tend to flyin the CLOUDs. Andbecome an IoT.But without strong secureapproach.

Source: moxa.com

Page 79: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

1 5 ms 192.168.X.1 //SSH, Telnet2 5 ms 192.168.X.1 //SSH, Web, Telnet3 * Request timed out. 4 54 ms 10.112.X.237 //…5 54 ms 10.112.X.1 //…6 50 ms 10.112.X.2 7 66 ms 10.12.X.234 8 365 ms 10.12.X.226 9 51 ms 203.11.X.113 10 52 ms 1.2.X.165

Train

Wayside

Telecom

Page 80: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 81: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 82: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 83: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 84: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

• GOOSE• carry alarms, status, and control between devices• Broadcasts• Sequence number “protection”

• MMS• Network inventory/browsing

• Exploiting the GOOSE Protocol:�A Practical Attack on Cyber-infrastructure Juan Hoyos, Mark Dehus, Timthy X Brown

• Poisoned GOOSE: Exploiting the GOOSE Protocol http://crpit.com/confpapers/CRPITV149Kush.pdf

• IEC 61850 toolkit http://scadastrangelove.blogspot.com/2013/11/scada-security-deep-inside.html

Page 85: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 86: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

http://www.phdays.com/press/news/41213/

•Siemens SICAM PAS v. 7.0,SIPROTEC v4, protective relays and switches•GPS and GLONASS time servers•Industrial switches.

Page 87: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Relay Protection

Page 88: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 89: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Specially crafted packets sent to port 50000/udp could cause a denial-of-service of the affected device. A manual reboot is required to recover the service of the device.

Page 90: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

Kudos Pavel Toporkov from Kaspersky Lab/Aleksandr Bersenev from HackerDom

Page 91: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

to get firmware?to get debug symbols?to debug?..PowerPCno “operation system”

Page 92: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

To access this information, the confirmation code “311299” needs to be provided whenprompted."...Siemens does not publish official documentation on these statistics. It is stronglyrecommended to work together with Siemens SIPROTEC customer care orcommissioning experts to retrieve and interpret the statistics and test information..."

Page 93: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 94: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

http://scadastrangelove.blogspot.com/2015/12/now-declared-capabilities.html

Page 95: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 96: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

VxWorks 6.x61850 StackMisfortune C…

Kudos @repdet @k_v_Nesterov @samincube

Page 97: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 98: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 99: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 100: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 101: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

http://blog.trendmicro.com/trendlabs-security-intelligence/sandworm-to-blacken-the-scada-connection/

http://www.slideshare.net/qqlan/scada-strangelove-2-we-already-know#42

Page 102: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

«It is extremely important to note that neither BlackEnergy 3, unreported backdoors, KillDisk, nor the malicious firmware uploads alone were responsible for the outage»

http://www.nerc.com/pa/CI/ESISAC/Documents/E-ISAC_SANS_Ukraine_DUC_18Mar2016.pdf

Page 103: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

*All pictures are taken from googleand other Internets

Alexander TimorinAlexander TlyapovAlexander ZaitsevAlexey OsipovAndrey MedovArtem ChaykinDenis BaranovDmitry EfanovDmitry NagibinDmitry SerebryannikovDmitry SklyarovEvgeny ErmakovGleb GritsaiIlya KarpovIvan PoliyanchukKirill NesterovRoman IlinSergey BobrovSergey DrozdovSergey GordeychikSergey ScherbelTimur YunusovValentin ShilnenkovVladimir KochetkovVyacheslav EgoshinYuri GoltsevYuriy Dyachenko

Page 104: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

*All pictures are taken from googleand other Internets

Page 105: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection
Page 106: Sergey Gordeychik Gleb Gritsai - Power Of Communitypowerofcommunity.net/poc2016/gleb.pdf · 2018-01-08 · Marshalling yard automation Automated railway level crossing protection

…We explore... and you call us criminals. We seek after knowledge... and you call us criminals. We exist without skin color, without nationality, without religious bias... and you call us criminals. You build atomic bombs, you wage wars, you murder, cheat, and lie to us and try to make us believe it's for our own good, yet we're the criminals.Yes, I am a criminal. My crime is that of curiosity…