All information products included in http://ics-cert.us-cert.gov are provided "as is" for informational purposes only. The Department of Homeland Security (DHS) does not provide any warranties of any kind regarding any information contained within. DHS does not endorse any commercial product or service, referenced in this product or otherwise. Further dissemination of this product is governed by the Traffic Light Protocol (TLP) marking in the header. For more information about TLP, see http://www.us-cert.gov/tlp/.
An independent research group comprised of Nadia Heninger, Zakir Durumeric, Eric Wustrow, and J. Alex Halderman identified an insufficient entropy vulnerability in Innominate’s mGuard network appliance product line. By impersonating the device, an attacker can obtain the credentials of administrative users and potentially perform a Man-in-the-Middle (MitM) attack. Innominate has validated the vulnerability and produced an update that resolves the reported vulnerability. This vulnerability can be remotely exploited.
ICS-CERT has coordinated this vulnerability with Innominate, which has produced an update that resolves this vulnerability.
All versions of the following Innominate products are affected:
- mGuard Smart—HW-101020, HW-101050, BD-101010, BD-101020,
- mGuard PCI—HW-102020, HW-102050, BD-111010, BD-111020,
- mGuard Industrial RS—HW-105000, BD-501000, BD-501010, BD-501020,
- mGuard Blade—HW-104020, HW-104050,
- mGuard Delta—HW-103050, BD-201000,
- EAGLE mGuard—HW-201000, BD-301010,
- All products manufactured prior to 2006.
This vulnerability can weaken the security posture of any industrial network in which these products are deployed.
Impact to individual organizations depends on many factors that are unique to each organization. ICS-CERT recommends that organizations evaluate the impact of this vulnerability based on their operational environment, architecture, and product implementation.
Innominate is a company based in Berlin, Germany, founded in 2001. Innominate’s mGuard product line includes firewall and VPN network security appliances. Innominate’s products are deployed in many sectors including manufacturing, electric power generation, water, transportation, healthcare, communications, and satellite operations. Innominate reports that the mGuard products are used many countries worldwide.
The mGuard products do not use sufficient entropy when generating keys for HTTPS and SSH, therefore making them too weak. By calculating private keys, an attacker could perform a MitM attack on the system. This could allow the attacker to execute arbitrary code or gain unauthorized access to the system. Keys that are loaded as part of the mGuard configuration (i.e., VPN) are not affected.
An attacker can predict the user’s session ID and potentially hijack the session. This vulnerability could be exploited remotely by a MitM type attack. An attacker that has obtained unauthorized access could inject malicious code or change system settings.
The attacker must first successfully guess or calculate the private key of the mGuard device and have physical access to the network path between the device and a legitimate administrator or have the ability to deviate legitimate device traffic to the attacker’s system using techniques such as ARP spoofing.
Existence of Exploit
No known exploits specifically target this vulnerability.
An attacker with a high skill level would be able to exploit this vulnerability.
Software Version 7.5.0 or later properly uses existing entropy before generating HTTPS and SSH keys. It also increases the size of the RSA keys from 1,024 bits to 2,048 bits. The software update can be found at Innominate download website.e Innominate recommends changing passwords after new keys are generated.
Innominate recommends one of the three following mitigation procedures:
- Use the Rescue Procedure to install the software Version 7.5.0. New keys will be generated as part of this process.
- Use the update mechanism to update the devices to Version 7.5.0.
a. Install the update. Existing keys will be kept.
b. After the update, the existing keys must be replaced by using one of the following methods:
i. Web User Interface
1) Login as root or admin user.
2) Press the “Generate new 2048 bit keys” button either in the “Web Settings -> Access” or in the “System Settings -> Shell Access” menu.
3) Note the fingerprint output of the newly generated keys.
4) Login via HTTPS and compare the certificate information provided by the browser.
1) Login via the serial console or SSH as root or admin user.
2) Call the program: $ rsa_renewal update.
3) Note the fingerprint output of the newly generated keys.
4) Login via SSH and compare the fingerprints shown by the SSH.
3. Upload and execute a shell script via SSH as root, provided by Innominate. The script will generate new 2,048 bit keys without requiring an update to software Version 7.5.0.
a. The script can be downloaded from Innominate at http://www.innominate.com/en/downloads/software-and-misc.
b. Use scp to copy the script onto the mGuard like (but appropriate for the user’s setup): $ scp generate_2048key.sh firstname.lastname@example.org:/root/.
c. Login via SSH as root user.
d. Execute the script: $ sh /root/generate_2048key.sh.
e. Note the fingerprint output of the newly generated keys.
f. Login via SSH and compare the fingerprints shown by SSH.\
ICS-CERT encourages asset owners to take additional defensive measures to protect against this and other cybersecurity risks.
- Minimize network exposure for all control system devices. Critical devices should not directly face the Internet.
- Locate control system networks and remote devices behind firewalls, and isolate them from the business network.
- When remote access is required, use secure methods, such as Virtual Private Networks (VPNs), recognizing that VPN is only as secure as the connected devices.
The Control Systems Security Program (CSSP) also provides a section for control systems security recommended practices on the CSSP web page. Several recommended practices are available for reading and download, including Improving Industrial Control Systems Cybersecurity with Defense-in-Depth Strategies. ICS-CERT reminds organizations to perform proper impact analysis and risk assessment prior to taking defensive measures.
Organizations observing any suspected malicious activity should follow their established internal procedures and report their findings to ICS-CERT for tracking and correlation against other incidents.
For any questions related to this report, please contact the NCCIC at:
Toll Free: 1-888-282-0870
The NCCIC continuously strives to improve its products and services. You can help by choosing one of the links below to provide feedback about this product.