Automation and Control. CERN OpenLab 25 January 2010



Similar documents
Siemens Openlab Major Review. PLCs Security. October Author: Filippo Tilaro Supervised by: Brice Copy

Off-the-shelf Packaged Software Systems And Custom Software Analysis By Gamal Balady MASS Group, Inc.

WHAT IS SCADA? A. Daneels, CERN, Geneva, Switzerland W.Salter, CERN, Geneva, Switzerland. Abstract 2 ARCHITECTURE. 2.1 Hardware Architecture

"FRAMEWORKING": A COLLABORATIVE APPROACH TO CONTROL SYSTEMS DEVELOPMENT

Technical Training Module ( 30 Days)

Protecting Your Organisation from Targeted Cyber Intrusion

TEST AUTOMATION FRAMEWORK

Readout Unit using Network Processors

Cisco Application Networking for IBM WebSphere

Innovative Defense Strategies for Securing SCADA & Control Systems

Database Monitoring Requirements. Salvatore Di Guida (CERN) On behalf of the CMS DB group

SANS Top 20 Critical Controls for Effective Cyber Defense

Cisco Application Networking for BEA WebLogic

Detailed Design Report

DB2 Connect for NT and the Microsoft Windows NT Load Balancing Service

Industrial Network Security and Connectivity. Tunneling Process Data Securely Through Firewalls. A Solution To OPC - DCOM Connectivity

FOXBORO. I/A Series SOFTWARE Product Specifications. I/A Series Intelligent SCADA SCADA Platform PSS 21S-2M1 B3 OVERVIEW

LEARNING SOLUTIONS website milner.com/learning phone

SCADA System Overview

Secure Communication Made Easy

SEMANTIC SECURITY ANALYSIS OF SCADA NETWORKS TO DETECT MALICIOUS CONTROL COMMANDS IN POWER GRID

Component Based Rapid OPC Application Development Platform

Remote Access Platform. Architecture and Security Overview

Web based monitoring in the CMS experiment at CERN

Data Collection and Analysis: Get End-to-End Security with Cisco Connected Analytics for Network Deployment

White Paper ClearSCADA Architecture

On the use of Honeypots for Detecting Cyber Attacks on Industrial Control Networks

MEGA Web Application Architecture Overview MEGA 2009 SP4

Symphony Plus Cyber security for the power and water industries

Virtualization, SDN and NFV

Functional Area 3. Skill Level 301: Applications Systems Analysis and Programming Supervisor (Mercer 1998 Job 011)

Testing & Assuring Mobile End User Experience Before Production. Neotys

Content Distribution Management

Installation and configuration guide

DNP Serial SCADA to SCADA Over IP: Standards, Regulations Security and Best Practices

Linux Server Support by Applied Technology Research Center. Proxy Server Configuration

Securely Connect, Network, Access, and Visualize Your Data

Release Version 4.1 The 2X Software Server Based Computing Guide

OPCNet Broker TM for Industrial Network Security and Connectivity

Secure Networks for Process Control

Down the SCADA (security) Rabbit Hole. Alberto Volpatto

Red Hat Network Satellite (On System z) 18-JUNE CAVMEN Meeting

Cloud Computing for SCADA

RUGGEDCOM NMS. Monitor Availability Quick detection of network failures at the port and

VESZPROG ANTI-MALWARE TEST BATTERY

High rate and Switched WiFi. WiFi QoS, Security 2G. WiFi a/b/g. PAN LAN Cellular MAN

Ovation Security Center Data Sheet

Improved metrics collection and correlation for the CERN cloud storage test framework

Software Testing and Deployment Using Virtualization and Cloud

SSL-TLS VPN 3.0 Certification Report. For: Array Networks, Inc.

Stephen Coty Director, Threat Research

Managed Service Plans

ARTICLE Cloud Computing more than a hype?

OPC & Security Agenda

Niagara IT Manager s Guide

Design Document. Team Members: Tony Gedwillo James Parrott David Ryan. Faculty Advisor: Dr. Manimaran Govindarasu

Data Center Virtualization and Cloud QA Expertise

An Integrated CyberSecurity Approach for HEP Grids. Workshop Report.

Honeywell Industrial Cyber Security Overview and Managed Industrial Cyber Security Services Honeywell Process Solutions (HPS) June 4, 2014

ICSA Labs Web Application Firewall Certification Testing Report Web Application Firewall - Version 2.1 (Corrected) Radware Inc. AppWall V5.6.4.

Open EMS Suite. O&M Agent. Functional Overview Version 1.2. Nokia Siemens Networks 1 (18)

Cisco Application Networking for Citrix Presentation Server

IT Security and OT Security. Understanding the Challenges

Safeguarding Your Plant Automation Programs with Change Management

HoneyBOT User Guide A Windows based honeypot solution

A Data Collection Revolution?

ViSION Status Update. Dan Savu Stefan Stancu. D. Savu - CERN openlab

Dream Report vs MS SQL Reporting. 10 Key Advantages for Dream Report

Trains crossing at Toronto s Old Mill Station 2009 TTC. Train Control

CYBER SECURITY Is your Industrial Control System prepared? Presenter: Warwick Black Security Architect SCADA & MES Schneider-Electric

Cloud3DView: Gamifying Data Center Management

Guideline for stresstest Page 1 of 6. Stress test

OPC COMMUNICATION IN REAL TIME

PLUMgrid Toolbox: Tools to Install, Operate and Monitor Your Virtual Network Infrastructure

Building Secure Networks for the Industrial World

Assignment # 1 (Cloud Computing Security)

Intrusion Detection and Cyber Security Monitoring of SCADA and DCS Networks

EWeb: Highly Scalable Client Transparent Fault Tolerant System for Cloud based Web Applications

CS 356 Lecture 25 and 26 Operating System Security. Spring 2013

Ovation Security Center Data Sheet

Kepware s Latest Communications Platform Addresses Need for Enterprise Service Bus

Peach Fuzzer Platform

PLCs and SCADA Systems

HP ProLiant Essentials Vulnerability and Patch Management Pack Planning Guide

October 21 November 5 November 14 December 12. Washington DC Boston Chicago San Jose. ni.com

Database Services for CERN

Developing Microsoft Azure Solutions 20532B; 5 Days, Instructor-led

Out of the Fire - Adding Layers of Protection When Deploying Oracle EBS to the Internet

CA ARCserve Backup r16.x Professional Exam (CAT-360) Study Guide Version 1.1

Table of Contents...2 Introduction...3 Mission of IT...3 Primary Service Delivery Objectives...3 Availability of Systems Improve Processes...

Sophos Mobile Control Technical guide

Information Technology Cyber Security Policy

SCADA System Security. ECE 478 Network Security Oregon State University March 7, 2005

Solutions using our software products

How To Connect To Bloomerg.Com With A Network Card From A Powerline To A Powerpoint Terminal On A Microsoft Powerbook (Powerline) On A Blackberry Or Ipnet (Powerbook) On An Ipnet Box On

Transcription:

Automation and Control CERN OpenLab 25 January 2010

Outline PVSS Openlab staff: D. RODRIGUES Openlab fellow: M. BOGUSZ CERN tech. sup.: M. GONZALES Step7 Openlab fellow: O. KHALID CERN tech. sup.: R. BARILLERE Security and control devices Openlab fellow: F. TILARO CERN tech. sup.: B. COPY Openlab Siemens Major Review January 2010 2

Outline Topics PVSS Archiving Development Environment Web Access Step 7 Deployment / Security PVSS Security Security and Control Devices Openlab Siemens Major Review January 2010 3

PVSS Openlab Siemens Major Review January 2010 4

Background What is SCADA Supervisory control and data acquisition software Supervisory layer on top of the control system What is PVSS Commercial SCADA product from ETM, Austria Widely adopted across CERN Some features Human-machine interface (process visualization) Devices described as data points (DP), device properties as data point elements (DPe) Control device access Alarm handling (display, filtering, etc.) Archiving and trending Openlab Siemens Major Review January 2010 5

Other systems (LHC, Safety,...) PVSS Storage Configuration DB, Archives, Log files, etc. Layer Structure Technologies Commercial Custom FSM WAN Supervision LAN SCADA Controller/ PLC Field Bus LAN VME Process Management OPC Communication Protocols PC PLC/UNICOS DIM VME Node Node Experimental Equipment Field Management Field Buses & Nodes Sensors/Devices Openlab Siemens Major Review January 2010 6

Applications at CERN Experiments Detector Control Systems LHC Cryogenics Cooling & Ventilation Etc. Present at CERN since 2000 PVSS at CERN Long term fruitful collaboration between CERN and ETM ever since CERN has put years of effort in extending PVSS to it s custom needs (JCOP framework as an example ) Openlab Siemens Major Review January 2010 7

Oracle database archiver for the upcoming ETM SCADA system A new project, started last year Involves ETM (Siemens subsidiary) Scope of work Driver Manager Event Manager Data Manager Control Manager Remote UI Remote UI Remote UI RDB Manager RDBMS Openlab Siemens Major Review January 2010 8

PVSS Archiving Archiving in PVSS Long term storage of the data on a physical media eg. relational database Why do we archive Trend plots for monitored values Analytics (post mortem analytics, etc.) Physics (conditions) data analysis Data being archived by CERN Event values (DPe values) and alarms Numbers ~150 machines for an experiment DCS (forming a PVSS distributed system) All 150 machines use a single DB (150 connected clients) Current system is scalable (based on Oracle RAC) and has proven a very high performance well enough to cover experiments' needs (in the lab conditions 250 K value changes/s have been stored for a few hours a fruit of collaboration between CERN and ETM order of millions of datapoint elements per system, however not all of them are archived Openlab Siemens Major Review January 2010 9

Future developments of PVSS Major effort devoted to a new version (PVSS 4) to come out in a few years Totally new architecture of logging/archiving services Xml configurable generic archiving component Dynamically loaded storage modules for various RDMS implemening a common interface Logging services architecture designed to handle not only SCADA but also other Siemens Products Architecture comes from ETM, CERN would have an influence on it The goal is to develop the Oracle archiving module that fulfills CERN s requirements (e.g. at least no degradation compared to current version) Storage modules for other relational database products are developed by ETM, we are responsible for the development of Oracle solution Openlab Siemens Major Review January 2010 10

Why ETM (Siemens) want us to develop the new Oracle archiver? Long term collaboration with CERN CERN has been a major user of the Oracle archiver CERN has helped to improve the Oracle archiving module to increase the performance Many years of experience in archiving large amount of fast changing data Oracle KNOW HOW CERN runs several large distributed systems CERN will use the next version of PVSS Oracle archiving module could be used not only by the SCADA system, but given the flexible logging architecture, also in other Siemens products Openlab Siemens Major Review January 2010 11

Project scope Close cooperation with ETM Study of the current archiving architecture (PVSS 3.X) Data model Changes performed by CERN to boost the performance Potential area of improvements Review of the architectural documentation for the new (version 4 ) system Frameworks Components New storage management architecture Implementation of the storage module for Oracle (OCCI/OCI) for further evaluation Identification of areas for improvement request/propose changes to ETM Testing and evaluation Low level unit tests of the basic storage module functionalities (connection to the data source, performing statements) Higher level tests using configured archiving component and PVSS database schema Performance evaluation Openlab Siemens Major Review January 2010 12

Status of work Integration in the ETM environment Software frameworks Test suits Most of the basic functionalities implemented and unit tested Statement handling Bulk operations Identified parts that would need improvements (to be discussed with ETM) Segmentation/Partitioning capabilities to be implemented Find solutions for identified issues with ETM Higher level tests with the PVSS database schema pending Performance tests Openlab Siemens Major Review January 2010 13

SVN Plugin Problem scope: Developing a PVSS system creates a large quantity of code panels, scripts, datapoint lists, configuration files. An Integrated Development Environment exists for creating PVSS projects (GEDI) Giving easy access to all key development tools Limited aids for software management Purpose of the topic: Integrate Versioning control of project files inside the GEDI Openlab Siemens Major Review January 2010 14

Last Status SVN Plugin A prototype was made available To CERN users and ETM Using some elements of an initial version Same libraries, using subversion command line. Implementing key ideas for enhancement of GEDI Enabling access to different sub projects Diff tool for project files Easy installation and start up Since then work focused on changes to the underlying libraries To improve interaction with the Subversion repository. Openlab Siemens Major Review January 2010 15

SVN Plugin Most work done at the code level No fancy updates to the GUI, sorry Prototype used subversion command line Has limitations svn authentication contexts not under control requiring use of pageant no http based access to repository Limited error handling and no server interaction Solution A CtrlExt (Control Extension) A PVSS feature, that allows adding custom C++ code to the PVSS native scripting language (Control) Interfacing the subversion C API More refined control in contacting the SVN repository Possibility of managing the Subversion context within PVSS Accessible from CTRL language Openlab Siemens Major Review January 2010 16

SVN Plugin GEDI Project View Control Libraries (Ctl) Control Extension System (C++) Call SVN Command SVN Api Line (C) (Bash) SVN repository Repository Openlab Siemens Major Review January 2010 17

Problem scope: PVSS Very flexible and highly distributed Remote User Interfaces require a PVSS installation on each machine ETM has made available a Web Client for version 3.9 Purpose of the topic Web Client Testing Test if the new Web Client is suitable for use at CERN Does performance fit the general needs Can it be used from outside the technical network Test the performance in complex configurations and demanding loads Openlab Siemens Major Review January 2010 18

Web Plugin Example of a PVSS System RDB Manager Driver Manager Event Manager Data Manager RDBMS Control Manager Web UI Remote UI Remote UI Remote UI Control Manager (HTTP server) Web UI Web UI Openlab Siemens Major Review January 2010 19

Web Client Testing Last Status Web Client initial release was tested First conclusions reported Installation; Basic functionality; Network Setup; Performance (Stress tests) A patch was made available by ETM addressing most of the issues, in particular: Performance under Windows Easier installation Since then work focused on retesting and extending tests to the patch. Results were presented Following the presentations, preparatory work for further testing was done. Openlab Siemens Major Review January 2010 20

Web Client Testing PVSS00ui PVSS00ui PVSS00ui E Pvss Dist2 Event/Data 1 simulator 10 dpchanging E Pvss Main System Event/Data Test Panel 1 simulator 10 dpchanging Web_server E Pvss Dist3 Event/Data 1 simulator 10 dpchanging Squid Proxy XP vm XP vm IE 8 Firefox 3.6 IE 8 Firefox XP 3.6 vm IE 8 Firefox 3.6 XP vm IE 8 Firefox 3.6 SLC5 Firefox 3.6 Openlab Siemens Major Review January 2010 21

Upgraded scenario 3 Distributed systems Internal mapping of ~1 million dpvalues : 100 dptypes 1000 dpelements 10 float/string values Using Proxy Server (squid) from 2 clients Across 2 axis Number of clients 1 14 3 Remote UI s for cross checking Up to 11 simultaneous Web Clients Firefox Linux Windows XP VM s with IE8 / Firefox 3.6 Different frequencies of update 30 dpconnects (10 per system) 3 Simulators, changing values every 1/2/5 ms Web Client Testing Openlab Siemens Major Review January 2010 22

Web Client Testing Results A very visible improvement on the performance of updates Before, limited to ~200Hz frequency of update, now 4 times faster ~800Hz Proxy test Some issues under investigation, probably related to the proxy itself Presentations JCOP, with representatives of ETM A lot of questions raised, for further investigation CPU Usage on each of the system managers and impact Up to 100 Web Clients Study firewall settings with CERN Security Team Next Steps CtrlExtension for including CpuUsage on the tests (underway) More focus on HTTPS and very large number of clients Pocket Client testing (when considered stable by ETM) Openlab Siemens Major Review January 2010 23

STEP7 PVSS Security Openlab Siemens Major Review January 2010 24

Step7 Overview Step 7 / Totally Integrated Automation: Software development environment to develop software for PLC s that interfaces with the industrial equipment. Aim: To bring-in modern software engineering capabilities to Step7 product line: Step7 Deployment To automate the deploy Siemens software on engineering workstations; Scalability: from small (10 s of machines) to large (100 s of machines); Easy and flexible to deploy, fast refresh rate Openlab Siemens Major Review January 2010 25

Step 7 Controls architecture Storage Configuration DB, Archives, Log files, etc. Layer Structure Technologies Commercial Custom FSM WAN Supervision LAN SCADA PLC LAN Process Management OPC DIM Communication Protocols Field Bus VME PC PLC/UNICOS VME Node Node Experimental Equipment Field Management Field Buses & Nodes Sensors/Devices Openlab Siemens Major Review January 2010 26

Status: Completed and Closed Step7 Deployment All milestones has been achieved and delivered. Verified and confirmed by Siemens. Value for Siemens: Final strategy is implemented by Siemens in v12 of TIA. TIA portal can now be deployed in automated fashion using 3 rd party standard software inventory management software. Approach: Three strategies validated through prototyping Reported in detail in previous major review Nutshell: either using chained MSI s or SIA engine Meets short term, medium and long terms objectives and product development plans of Step7 software Criteria: integration with Siemens existing software tools. Openlab Siemens Major Review January 2010 27

SIA Deployment Strategy Openlab Siemens Major Review January 2010 28

Stuxnet worm Detected in June 2010. Attack method (0-day exploit against windows, fake certificates, rootkit, DLL replacement) Step7 Security Step7 Security New topic was added to the project in Jul/Aug 2010 Test bench was setup Market survey conducted mostly source code based analysis Binary code based analysis identified to complement existing source code based analysis BitBlaze and Veracode selected as test candidates Status: Closed Prior to any further testing/prototyping; Siemens decided to do this in-house. Openlab Siemens Major Review January 2010 29

PVSS Security extending PLC Security PVSS Distributed architecture that uses TCP messages for synchronization Potentially vulnerable for network based attacks Driver Manager Event Manager Data Manager Control Manager Web UI Remote UI Remote UI Remote UI Control Manager (HTTP server) Web UI Web UI Openlab Siemens Major Review January 2010 30

Approach Started end of 2010 PVSS/SCADA systems are critical for LHC operations Any vulnerability could potentially have serious consequences Incase an external agent manages to corrupt the status of the messages passed between various components of PVSS software Extending PLC Security: Building on the experience of PLC security i.e. tools, framework, testing approaches to penetrate PVSS TCP message communications Initially using black box/external penetration to corrupt PVSS TCP messages Status: on-going work Virtualization based test bench is deployed PVSS software components distributed on a local network, and an attacker VM uses various Initial tests are conducted and will be expanded in coming weeks. Openlab Siemens Major Review January 2010 31

Conclusion Step7 Deployment SIA engine strategy implemented in v12; verified the strategy; Delivered. Topic closed. Step7 Security After initial work, this topic has been closed and internalized by Siemens. PVSS Security Applying to PVSS the SCADA security guidelines document produced by PLC security team, their tools, standards and testing approaches On going work for the near future Thank you for listening QUESTIONS! Openlab Siemens Major Review January 2010 32

SECURITY AND CONTROL DEVICES Openlab Siemens Major Review January 2010 33

Objective Background Improve the Process Control System (PCS) security level Importance of security In 2010 more than 180 security incidents were reported to the US Congress Gas explosions, Deepwater Horizon, Vulnerabilities in VxWorks and STUXNET recovery from attacks is expensive! (loss of reputation, very costly time to market delays for vendors) Strategy Design of a test-bench to discover and classify vulnerabilities Determine key cyber security aspects relevant to CERN Openlab Siemens Major Review Major Report Review January 2011 2010 34

Test-bench diagram System Testing Target Extended Peach Fuzzing Attacker Panel Partner System Monitoring Reporting System Vulnerabilities DB Configurator Traffic Analyzer Signals Mon. Web front-end Openlab Siemens Major Review Major Report Review January 2011 2010 35

Fuzzing framework enhancements How to identify PLC failures? Loss of vision or control, process reaction time delays, loss of communication Each needs specific monitoring tools and technologies Need for a generic interface between these monitoring tools and our test bench : Implementation of an Agent to react in case of failures and inform the test bench Implementation of a Watcher to save status and resume the testing process at the point of last failure Delivery to Siemens: A Linux package to install and keep updated the Peach framework extensions Live-meeting with Siemens with a short demonstration on how to use the extended fuzzing framework Openlab Siemens Major Review Major Report Review January 2011 2010 36

Integration with Siemens test-bench Siemens Bany PNIO as a part of the network monitoring Bany PNIO: Based on FPGA (Field Programmable Gate Array) technology Allows real-time traffic analysis and simulation for system testing We developed some Bany PNIO scripts to: Analyze the packets coming in/out from the PLC target Generate traffic at specific triggers Replay of malicious packets sequences Limitations: Hubbed network required Bany PNIO fails to generate some Malformed Packets Openlab Siemens Major Review Major Report Review January 2011 2010 37

Monitoring process and internal statuses The I/O monitoring system Use of another Siemens PLC to: Analyze the target PLC s process signals Detect any delays or anomalies during the testing phase The analysis is affected by synchronization issues between the two PLCs Investigation on the use of Digital Acquisition Cards (DAC) which could solve these timing issues PLC internal status monitoring: Siemens S7 Linux library: As a replacement of the open-source libnodave library Supported by Siemens, also for the new PLC models So far no API to retrieve diagnostic information from the PLC under test Siemens will deliver an extension for this purpose in the next version of its SOFTNET library Openlab Siemens Major Review Major Report Review January 2011 2010 38

Vulnerabilities Reporting System Achievements : Web user interface to insert and retrieve any previously stored vulnerabilities Benefits : Follow-up on PLC Robustness, Debugging and Replay capabilities (e.g. replay malicious traffic on demand) Track vulnerabilities across PLC hardware families and firmware releases Web-view Tomcat Web-Server Vulnerabilities DB Openlab Siemens Major Review Major Report Review January 2011 2010 39

Next steps Expertise knowledge transfer to Siemens ISCI Communication Robustness Tests (CRT) 1 st phase: analysis of the CRT requirements 2 nd phase: Test-bench extension to fulfill the ISCI CRT requirements 3 rd phase: Siemens PLCs testing and eventual vulnerabilities reporting Custom S7-protocol and PROFINET security testing Analysis of the proprietary protocols specifications Implementation of S7 and PROFINET specific security tests A customized PLC Monitoring System I/O signals process Use of Digital Acquisition Cards Communication Delays Internal device s status Multi-Protocols (Man-in-the-middle) layer testing support Openlab Siemens Major Review Major Report Review January 2011 2010 40