Showing posts with label IoT. Show all posts
Showing posts with label IoT. Show all posts

Tuesday, 22 March 2016

Siemens Opens IIoT Cyber Security Centers in Ohio & Germany



While scanning Automation.Com yesterday, I noticed what I think is a first in the Industrial Internet of Things (IIoT) and perhaps the CIM world... 
Siemens has opened Cyber Security Operations Centers in both North America and Europe. This need for a cyber security has been predicted here and I am happy to see the commitment from our friends at Siemens in this area. Their press release is below.
I know that Cisco and IBM are also looking at this area as Cloud, Mobile and Wireless IIoT are dependent upon robust and secure connectivity. 
I liken the time now to what we had in the late 1990's when everybody knew that e-Commerce would be a major internet app, but many didn't trust it with their credit card. It really to indemnification from the banks and good security practices (SSL, HTTPS, CAPTCHA, etc) to make our comfort level high enough to grow the business side. Today we all use it and it has allowed eBay and Amazon to flourish. I predict that IIoT will be pervasive in less than 5 years like these e-commerce technologies and apps we enjoy today. We are moving closer every day - thanks Siemens!   
Press Release:
Siemens opens Cyber Security Operation CentersMarch 17, 2016 - Siemens opened Cyber Security Operation Centers (CSOC) for the protection of industrial facilities in Lisbon, Munich and Milford, Ohio. Siemens industrial security specialists based at these sites monitor industrial facilities all around the world for cyber threats, warn companies in the event of security incidents and coordinate proactive countermeasures. These protective measures are part of Siemens' extensive Plant Security Services with which the enterprise supports companies in the manufacturing and processing industry in encountering constantly changing security threats and increasing plant availability.
The increased networking of industrial infrastructures ("Internet of Things", "Industrie 4.0") calls for appropriate protective action for the automation environment. This is where the Siemens Plant Security Services enter the picture: these services range from Security Assessments and the installation of protective measures, such as firewalls and virus protection (Security Implementation), through to the continuous surveillance of plants with the Managed Security Services, which is now offered by the CSOCs themselves. If the Siemens experts detect an increased risk, they give the customer an early warning, issue recommendations for proactive countermeasures and coordinate their implementation.
The countermeasures are based on the criticality of the incident and the likely impact on the customer's business. They include modifying firewall rules or providing updates for closing gaps in security. In addition, Siemens provides forensic analyses of security incidents. Companies are then in a position to prepare reports that comply with international standards such as ISO 27002 or IEC 62443. And that is not all – companies also receive a transparent view of their plants' security status. Siemens' Plant Security Services use products from the company's collaboration partner, Intel Security. These include: McAfee VirusScan, McAfee Application Control, McAfee ePolicy Orchestrator (ePO) as well as McAfee Enterprise Security Manager with Security Information and Event Management.
Siemens AG (Berlin and Munich) is a global technology powerhouse that has stood for engineering excellence, innovation, quality, reliability and inter-nationality for more than 165 years. The company is active in more than 200 countries, focusing on the areas of electrification, automation and digitalization. In fiscal 2015, which ended on September 30, 2015, Siemens generated revenue of €75.6 billion and net income of €7.4 billion. At the end of September 2015, the company had around 348,000 employees worldwide. 

Thursday, 19 November 2015

XBOX as PLC - Is it Feasible?

On November 9. 2015 Frank Schliephacke, a Senior Engineer at Westinghouse Electric Company on LinkedIn Groups, posted the following question. He wrote:
Given the evolving Industry 4.0 and IoT the XBOX is the ideal hardware: Single type, off the shelf, cheap, long live cycle. Thus what problems do you see? 
For the actual thread I refer to, see https://www.linkedin.com/grp/post/68581-6069194159758016514

To delve into this question a bit deeper, some definitions may be in order...

What is Industry 4.0?

As manufacturers look to the future, they are examining how advanced information and communication technologies can boost value creation. In Germany, this development is called "Industry 4.0." Similar initiatives have been launched in other European countries, the U.S., China, and elsewhere. Industry 4.0 aims to achieve production-related advantages by creating a networked, flexible, and dynamically self-organizing manufacturing process for highly customizable products.

Over the next 15 to 20 years, it is expected to be accompanied by a paradigm shift that could justifiably be called the fourth industrial revolution. The result will appear to be revolutionary from today’s point of view, but ultimately it will involve a large number of development steps in a process of evolution.

 The first industrial revolution was triggered by the invention of the steam engine and the mechanization of manual work in the 18th century. The second revolution was made possible by the introduction of electricity and involved the use of mass production techniques in the early 20th century, and the third was ushered in during the past few decades by electronic systems and computer technologies for automating manufacturing and finishing processes. Now the rules are changing again in many sectors, due to the digitization of the entire value chain and continuous and pervasive access to a comprehensive range of information in the form of virtual models, data, and knowledge.


(Source Siemens - see http://www.siemens.com/innovation/en/home/pictures-of-the-future/industry-and-automation/digtial-factory-trends-industry-4-0.html) The world of Industry 4.0 is built upon a new area called Cyber-Physical Systems I might add which has sensors, connectivity and local decision making at its core - perfect for the Industrial Internet of Things (IIoT).

What is the Internet of Things (IoT)?

To quote Greg Goodwin from LNS Research who defines Internet of Things as:

The IoT refers to the network or networks encompassing the use of standard Internet Protocol (IP) technologies to connect people, processes, and things to enable new cyber-physical systems. The Industrial IoT should be understood as a subset of the broader IoT, where these connections exist mainly to produce physical goods for the marketplace as well as to maintain the physical assets of production.

Whereas previously, the Internet has generally been understood as comprising a network of computers, the adoption of mobile, embedded sensors, and other technologies is expanding this definition to include people and objects outfitted or embedded with smart sensors. As this trend grows over time with improved technology and less expensive hardware, the number of connected “objects” will trend toward all-encompassing. By 2020, this network is expected to include:
  • Devices
  • Sensors
  • Instrumentation
  • Materials
  • Mobile and Fixed Assets
  • Products
  • People
Today the majority of manufacturing companies have a legacy of information and automation technology solutions that have been implemented over several decades, with most of these solutions built on a mix of open and proprietary communication protocols that were the industry standard at the time of their development. As these systems do not easily inter-operate with one another, this communication sticking point is a major roadblock to actually realizing Industrial IoT capabilities, and why the creation of an IIoT Platform that can integrate the information from these legacy systems is necessary.

The IIoT Platform is a future looking framework for categorizing the technology capabilities that are necessary to deliver Smart Connected Operations, Smart Connected Assets, and the Smart Connected Enterprise. A growing area of market activity, the progress and development in constructing the IIoT Platform is something we’ll be talking and blogging about frequently as time moves on.

For manufacturers to capture the true value of the IIoT LNS Research sees four main buckets of capabilities that are critical in enabling the Industrial Internet of Things platform:
  • Connectivity: This includes all necessary hardware and software to network within the plant and the enterprise, standards for integrating machines, clouds, applications and the technology for quickly and efficiently managing devices, moving data, and triggering events.
  • Cloud: Includes all of the various clouds across an enterprise to implement computing and storage capabilities wherever they are most needed—at the edge, within the plant, at the enterprise, or outside the firewall
  • Big Data Analytics: Includes the use of a broad set of statistical and optimization tools to cleanse, monitor, and analyze both structured and unstructured data for enabling unprecedented insights
  • Application Development: Includes the needed tools for quickly and easily creating new mashup software applications that leverage all other areas of the IIoT platform as well as quickly and easily moving existing legacy applications on top of the platform as well.
See: http://blog.lnsresearch.com/what-is-the-industrial-internet-of-things-iiot-platform    

Points to Ponder:

Martin Schlinder in his 02.25.2015 iBadge Infineon Article quotes market research firm Gartner in 2015 should be in the retail segment 2.9 billion networked objects in use. By 2020, the number of networked devices is expected to increase to over 13 billion.

In Summary:

As the price of hardware drops, the level of inter-connectedness rises, the need for mass customization, the tolerance for waste is zero and level of velocity on the factory floor increases, I can see that mass produced gaming boxes like XBOX will have a place over time on the factory floor, the Smart City, Home Automation and IIoT world in general.

In the responses that Frank got to his original question, some pointed out that PLCs need to be robust, documented, stable, available for the long haul and pass certain certifications - all good points. But the old world of PLCs is daily being bombarded by low cost suppliers like Automation Direct and now Arduino and Rasberry Pi - so the writing is on the wall that it will come... 

My posted answer today to Frank's XBOX as a PLC question was as such...

Use of COTS hardware is a driving force these days on the factory floor. Most PLCs do not do mission critical systems, and even in the PLC world there are special categories of PLCs just for safety and harsh environments.
The real question here is with the advanced math/graphics processing, the economies of scale in production, the native networking and the backing of Microsoft (yes, I have asked them personally not 6 months ago) - the use of XBOX and other Microsoft products on the factory floor is something to be considered.
For my part Frank, I think it should be... Microsoft has long been interested in the factory floor even supporting the OMAC (Organization for Machine Automation & Control see http://www.omac.org) group of which I was a part in the Global HMI Sub-Committee. Today the fruits of that original OMAC XML schema have become MTConnect (see www.mtconnect.org). 
Use of open source hardware will come, as will leveraging advancing in gaming technology on the factory floor I predict. Look at the Digital Manufacturing and Design Innovation Institute (http://dmdii.uilabs.org/) in Chicago that my friend Dr. Dean Bartles is running for where all this is going... exciting times!
One final thought ... my friend Richard (Dick) Morley (the inventor of the PLC) once challenged me to make manufacturing into a game somehow - today I call this "gamification" and we are seriously doing research to make that reality...

In the end, I bet the XBOX and its gaming brethren could help the manufacturing process more than you know ...

Tuesday, 23 December 2014

Security is Paramount in the Internet of Things

This article was written by my friend Kim Rowe of RoweBots and it has been slightly adapted for this blog. The original can be read at http://www.embedded-know-how.com/article/1776/security-is-of-paramount-in-the-internet-of-things...

Security is of paramount concern for internet connected systems because it now controls all infrastructure, most entertainment, most factories, medical systems, all electronic communications – both corporate and personal, and all financial transactions. As a society, we are completely dependent on the Internet and without reliable Internet services society would not function.

 
This Internet dependence will only grow as we add more devices and capabilities creating the Internet of Things. Dependence will create significant vulnerabilities if the devices are not secure. Imagine a connected hospital without security for patient data collected in real time or a voting system vulnerable to hackers. How about traffic lights which can easily be changed by criminals? Without security on all devices, everything that surrounds us will be subject to attack and exploitation by terrorists, criminals, power hungry hackers and vandals. Our society, safety and freedom will be at risk.

If pervasive security is in place, our society will have the capabilities to become much safer, with greater freedom and improved safety and security. The tyranny of the masses could be minimized and a society responsive to individual needs could be created – from getting the right traffic lights while eliminating all accidents, through guaranteeing private information remains private and ensuring that medical results are both secure and immediately accessible. Internet of things devices will go into the field now but will remain viable for many years depending on the application. Traffic lights and utility meters are rarely changed. Communications infrastructure is designed to be compatible and operational for twenty years. Electrical transmission systems last thirty years or more. Homes, offices, industrial buildings and other structures are intended to last indefinitely with retrofits in terms of decades.

If new systems are not secure now, they could be a significant risk for the purchaser very quickly as threats grow. To preserve customers investments in their smart devices and protect society, security is an essential requirement for all new devices. The time to protect society is when systems are designed. How secure can small microcontrollers (MCUs) and microprocessors (MPUs) be? Of the 20-50B devices expected to go onto the Internet in the next few years, all can be secure to the point where abuse and misuse is minimal.  Small devices can be more secure than much larger devices for two reasons. First, they are not subject to the same type of threats – threats are much lower level. Second, they often lack the features to dynamically run new programs and the mechanisms that they have for reloading the program either require physical access or can be secured relatively easily. This does not mean that security is very easy, just that it is not as difficult if you properly exploit the features of MCUs and small MPUs for maximum security. The remainder of this article discusses how to protect small devices on the Internet of Things.

Hacking an Embedded Device

 In the case of systems with dynamic loading, modification of executable files and other sophisticated features, security is difficult. Imagine the following scenario:
  • An intruder moves a file onto the machine using email, ftp or some other means.
  • The file is dynamically loaded and when it runs, it corrupts other executable files. It then cleans up and deletes itself.
  • If the virus is new or unknown to the system, it won't be recognized as a virus and will pass into the system and infect it.
Consider another scenario where communication links are not secure or not properly secured. In this case, there is likely a means to read data at a minimum. There might also be a means to inject new data into the data stream which could be used in turn to corrupt the receiving system. A good example of this is loading a non-secured image for a device over the Internet. When the new image is loaded and run, it could take over the system assuming that it has the correct access. In yet another scenario, a device with critical data on it is stolen. Unless the data is encrypted or sits in an encrypted file system, it could be possible to recover the restricted data from the device. This is another scenario to consider.

To ensure system security, often it is best to consider how the device information will be accessed. Typically, great security would require: something you know (password), something you have (debit card or a wearable device), and something that you are (an iris scan). For small devices this is typically overkill, but in cases where very high security is required, it is possible to achieve this through indirect means as long as the various elements are all secure. By securely interacting with a server which in turn securely accesses the device the device interfaces for security can run on larger machines and still be used to secure small devices.

Another critical element for secure systems is layered security and an assumption that someone will gain partial access. A good design practice uses layered security where possible. In this case, the intruder may access some part of the system but not all the system without significant additional work. Examples of this might be using two different firewalls in cascade to secure a server so that vulnerabilities in one are secured by the second firewall. Following a discussion of the processes required and the components or software elements which provide various security features, the use of these components will be discussed further in the context of system security, addressing each of these scenarios.

Securing Small Devices

 The first and most important thing that is required to secure a small system is the desire to make sure the device is impenetrable by all reasonable means. Without the proper motivation and mindset to make the system secure, it most certainly won't be secure. The second thing that is required is an approach that designs in layered security at the design level. After having completed a design, to then think about how best to secure the device is at best impractical. By using the correct approaches and knowing what is needed at design time, and actually using these tools to achieve a secure system is the next step to a secure system.

The third important approach is a well defined process for testing the security of the system after the implementation is completed and the device is properly configured. Through proper configuration followed with good testing approaches, the security of the final system can be assured; provided that the installation is correct. The final step to a secure system is a secure installation. A secure installation requires a rigorous procedure for installation which is strictly followed. Automation of the process is not necessary but is highly desirable as it can eliminate human error. Final in place testing will ensure that the install was correct and the security is operational.

Security Features

To completely lock down an MCU or small MPU at design time, the following security features are required. Some may not be necessary for your system, but in general, all should be considered. Security using standard information technology security solutions are the core security mechanisms for deeply embedded MCU and MPU products. These security protocols are:
•    TLS
•    IPSec / VPN
•    SSH
•    SFTP
•    Secure bootloader and automatic fallback
•    IP Filtering
•    HTTPS
•    SNMP v3
•    Secure wireless links
•    Encryption and decryption
•    DTLS (for UDP only security)
•    Secure email

TLS, IPSec/VPN, HTTPS, Secure wireless links, and DTLS are all means to secure communications links. SFTP provides secure file transfer while SSH provides secure remote access and Secure email provides email services over encrypted links. A secure bootloader with automatic fallback ensures that the system cannot be corrupted. SNMPv3, encrypted data, and an encrypted file system protects data through encryption either locally or as it is about to be transferred to another machine. IP filtering is really a firewall feature, intended to keep out unwanted and uninvited guests. Each section and each item will be discussed after a discussion on system level security.

System Security

Security is only as strong as its weakest link or component. To make a system secure, all the various communication channels, all the file transfer, all the data storage and any means to update anything must be secure. By making all of these things secure, the system becomes secure.

rowebots140826-1Figure 1. Network Security Components highlighted. The diagram shows the Unison OS Internet protocols, highlighting the components that offer the necessary security for that feature in order to build secure MCU and small MPU based devices. The security components require seamless integration across the entire set of protocols to provide high quality security.





The approach whereby the system is secured in layers using components is an excellent approach and the one used in the RoweBots Unison Operating System and most higher level environments. At the core, all operating system components are secure to protect against unauthorized tampering. Operating system security includes an encrypted file system so even if the device is stolen, the data is protected. Small MCUs use memory protection units (MemPU) and MPUs use their memory management units (MMUs) to ensure unauthorized changes to the programs are prohibited. Often flash reading is eliminated by using memory protection features which stop users from accessing the programs and or executing new programs from RAM or non program flash.

Secure boot and re-flash should be part of the core operating system security. By using the mechanisms provided by a secure boot system in conjunction with secure operating system features, all unauthorized tampering with the program can be prevented.  After the basic OS has been secured, attention is turned to the next layer of security – namely secure data link communications protocols. This includes wireless link level security and various military data link security protocols.

The next layer is at the IP level. This includes the following protocols:
•    PPP, PPPoE, PPTP
•    IPSec (or VPN)
•    IP filtering or firewall capabilities

These protocols securely transfer IP packets over the network. With reference to the OSI model, they all operate in the IP or network layer. IP filtering is used to authenticate and accept and reject connections. IPSec provides a virtual network built on top of the IP network using encrypted packets, and the remaining protocols provide encrypted and/or authenticated communications links for iP packets.

The next layer of security includes the transport, session and presentation layers. This end to end encryption layer includes TLS and DTLS. The remainder of the security protocols are application level protocols and provide the following features:
•    SSH – secure remote access
•    SMTP – secure email
•    SFTP – secure file transfer
•    SNMP v3 – secure device management
•    HTTPS – secure web server access
•    Encryption and decryption provide separately secured data in the environment to prevent unauthorized use.

Using all of these components and layers together, within a secure framework which has been thoroughly tested will ensure that your layered, secure design has optimal protection.

rowebots140826-2Figure 2. Unison Nanokernel Architecture – highlighted with security components. The Unison RTOS offers an additional secure boot feature at the lowest levels which completely locks down the system. Without an interpreter or other means to load a program which would run and then exploit a vulnerability of the system, it becomes extremely difficult for the system to be attacked.





System Security Revisited

Now consider the security of a MCU or MPU with limited resources needing to apply most if not all of these protocols to achieve security. To provide practical examples, this will be considered for the Unison OS, a tiny POSIX RTOS which has these features off the shelf in its tiny footprint. First, using secure communications protocols, all applications talking to the target device can be made secure. This includes phone applications, secure web based access to a tiny web server and more. Tricks like buffer overflow attacks are not possible because Unison is designed to run in minimal resources and must protect against any unreasonable resource use. Secure wireless links can be used. A VPN may be used.

To transfer files into the system SFTP can be used. This guarantees that the data is not corrupted during transmission – very important to secure the system updates. Adding filtering to the front end processing in the TCP server ensures that only authorized requests and updates are processed. This protects the device from intruders and significantly improves security. In addition, SSH can be used to remotely setup the device using a terminal based approach which may be more conducive to a scripted approach compared to a web server. This guarantees that the setup of the device is secure as well. At this point, the data flowing to and from the device is secure. Any changes or setup is secure and authorized applications and users can get access to the device's data and features. What if the device is stolen? To protect against this either encrypt the stored data on the device, keep no local data or use an encrypted file system. This will ensure that the critical data on the device is secured. If the user has the device, and has a password, this is generally regarded as reasonable security. Additional security in terms of fingerprint scans, iris scans, palm prints and other devices can be added for additional security either with the device or connected to a secure access station. If you review the security scenarios that were first discussed, you will see that all but one of the scenarios has been discussed. The issue of execution of a program which subverts the security system has not been considered in depth.

In the case of an MCU and some MPUs, the program is a single linked image that runs from flash memory. In this case, it is not possible to add anything to the system because the entire image runs from flash and if the boot mechanism or re-flashing mechanism is secure, then an intruder can't introduce new code. This is true in the Unison case which makes the system extremely secure. In the case where an interpreter is in the system, the same cannot be said. An interpreted program could go and change the system image with unfettered access on an MCU or MPU unless elaborate security mechanisms are put into place such as use of a memory protection unit or MMU.

Securing MCU and MPU Systems

In summary, MCU and small MPU systems can be completely locked down using standard IT security protocols, secure boot and by restricting interpreter use. Unison benefits from the complete integration of all these components and the attention paid to layers security as part of this integration. Security should not be an afterthought or something layered on top of the operating system – it should be designed into the system and integrated and tested as a unit for true security.


 Kim Rowe is the CEO of RoweBots Limited, the manufacturer of the Unison Operating System and builder of Internet of Things devices.

More information can be found at http://rowebots.com/products/unison_rtos .

Wednesday, 24 September 2014

Industrial Equipment & Network Security - A Growing Concern

Increasingly our industrial world is adopting Information Technology (IT) advances such as networking, remote control via the web, mobile interfaces, 802.11 wireless, USB support,  and now cloud based applications in the race to stay ahead in this competitive world. This application of technology may be coming a a cost of vulnerability and we need to look at this.

At the recent International Manufacturing Technology Show (IMTS 2014) in Chicago, exhibitors showed how they could leverage every advance in the IT world on to the factory floor. At the leading edge 100,000 sq ft DMG MORI booth, amazing new controllers and machines with remote OEM support options and high tech interfaces made in their new Davis, California plant were highlighted.

Following DMG MORI's lead, every manufacturer wants to reduce costs and yet enhance customer service - and leveraging IT is a great way to do so. That said, this openness cannot be done at the cost of making the system less secure and opening up the potential for a cyber attack and disaster.

Anyone in the defense industry (especially in the US) has heard of the International Treaty of Arms Reduction (ITAR) and the many security requirements that this program entails. Right now security on the factory floor is focused on perimeter control (network, magnetic card locks, video surveillance, etc) and the human element (checking out each worker and contractor). This may not be good enough in the future - we must get security into each machine.

The opportunity here is to investigate Machine to Machine (M2M) security systems - having part programs secure right to each machine (and perhaps once in them). Machine protocols like open source XML-based MTConnect need a secure version to be considered for ITAR or even cloud-based machine monitoring and Overall Equipment Effectiveness (OEE) programs.

In the days to come, Nexas will be looking into just what would be needed to provide secure factory communications to enable mobile, wireless and cloud-based applications. If factory floor network security is not yet a concern - I think it should be. This may indeed be the "next big thing" in the manufacturing sector worldwide...


Reference Links You Should Check Out...

1. 2014 Kaspersky Industrial Security Review
2. LoJack System for Cargo
3. IMPERVIO Information Rights Management System
4. Finding Your Cyber-Security Weak Spots
5. Tofino Factory Automation Security