Honk Kong: Design flaws in old software programming languages could lead to vulnerable automation programs. These insecurities could enable attackers to hijack industrial robots and automation machines to disrupt production lines or steal intellectual property, revealed a new Trend Micro Research.
Citing the design flaws in old siprogramming languages based on the new research, Trend Micro has released new secure coding guidelines to help Industry 4.0 developers largely reduce the software attack surface. And this decreases business disruption in operational technology (OT) environments.
Legacy proprietary programming languages such as RAPID, KRL, AS, PDL2, and PacScript were designed without an active attacker model in mind. Developed decades ago, they are now essential to critical automation tasks on the factory floor, but can’t themselves be fixed easily.
Not only are vulnerabilities a concern in the automation programs written using these proprietary languages, but researchers demonstrate how a new kind of self-propagating malware could be created using one of the legacy programming languages as an example.
Conducted jointly with Politecnico di Milano, the research details how design flaws in legacy programming languages could lead to vulnerable automation programs.
These insecurities could enable attackers to hijack industrial robots and automation machines to disrupt production lines or steal intellectual property.
The industrial automation world may be unprepared to detect and prevent the exploitation of the issues found, according to the research.
Therefore it is imperative that the industry start embracing and establishing network-security best practices and secure coding practices, which have been updated with industry leaders as a result of this research.
“Once OT systems are network-connected, applying patches and updates is nearly impossible, which makes secure development upfront absolutely critical,” said Bill Malik, VP – Infrastructure Strategies, Trend Micro.
“Today, the software backbone of industrial automation depends on legacy technologies that too often contain latent vulnerabilities, like Urgent/11 and Ripple20, or varieties of Y2K-like architectural defects,” added Malik.
“We don’t want to simply point out these challenges, but once again take the lead in securing Industry 4.0 by offering concrete guidance for design, coding, verification, and on-going maintenance, along with tools to scan and block malicious and vulnerable code,” he commented.
Trend Micro Research has worked closely with the Robotic Operating System Industrial Consortium to establish recommendations to reduce the exploitability of the identified issues.
“Most industrial robots are designed for isolated production networks and use legacy programming languages,” said Christoph Hellmann Santos, Program Manager, ROS-Industrial Consortium Europe.
“They can be vulnerable to attacks if connected to, for example, an organisation’s IT-network. Therefore, ROS-Industrial and Trend Micro have collaborated to develop guidelines for correct and secure network set-up for controlling industrial robots using ROS,” added Santos.
As these new guidelines demonstrate, the task programs that rely on these languages and govern the automatic movements of industrial robots can be written in a more secure manner to mitigate Industry 4.0 risk. The essential checklist for writing secure task programs includes the following:
- Treat industrial machines as computers and task programs as powerful code
- Authenticate every communication
- Implement access control policies
- Always perform input validation
- Always perform output sanitization
- Implement proper error handling without exposing details
- Put proper configuration and deployment procedures in places
In addition, Trend Micro Research and Politecnico di Milano have also developed a patent-pending tool to detect vulnerable or malicious code in task programs, thus preventing damage at runtime.
As a result of this research, security-sensitive features were identified in the eight most popular industrial robotic programming platforms, and a total of 40 instances of vulnerable open source code have been found.
One vendor has removed the automation program affected by vulnerability from its application store for industrial software. And two more have been acknowledged by the maintainer, leading to a fruitful discussion. Details of the vulnerability disclosures have also been shared by ICS-CERT in an alert to their community.
(Image source – Rawpixel)