moxa-the-security-hardening-guide-for-the-Nport-5000-series-tech-note-v1.0
moxa-the-security-hardening-guide-for-the-Nport-5000-series-tech-note-v1.0
Contents
1. Introduction.................................................................................... 2
2. General System Information ........................................................... 3
2.1. Basic Information About the Device ............................................................ 3
2.2. Deployment of the Device ......................................................................... 4
3. Configuration and Hardening Information ...................................... 4
3.1. TCP/UDP Ports and Recommended Services ................................................. 5
3.2. HTTPS and SSL Certificates ....................................................................... 9
3.3. Account Management ..............................................................................10
3.4. Accessible IP List.....................................................................................12
3.5. Logging and Auditing ...............................................................................13
4. Patching/Upgrades ....................................................................... 15
4.1. Patch Management Plan ...........................................................................15
4.2. Firmware Upgrades .................................................................................15
5. Security Information and Vulnerability Feedback ......................... 16
About Moxa
Moxa is a leading provider of edge connectivity, industrial computing, and network
infrastructure solutions for enabling connectivity for the Industrial Internet of Things
(IIoT). With over 30 years of industry experience, Moxa has connected more than 57
million devices worldwide and has a distribution and service network that reaches
customers in more than 70 countries. Moxa delivers lasting business value by
empowering industries with reliable networks and sincere service. Information about
Moxa’s solutions is available at www.moxa.com.
How to Contact Moxa
Tel: +886-2-8919-1230
Moxa Tech Note The Security Hardening Guide for the NPort 5000
Series
1. Introduction
This document provides guidelines on how to configure and secure the NPort 5000 Series. The
recommended steps in this document should be considered as best practices for security in
most applications. It is highly recommended that you review and test the configurations
thoroughly before implementing them in your production system in order to ensure that your
application is not negatively impacted.
The NPort 5000 Series is a device server specifically designed to allow industrial
devices to be directly accessible from the network. Thus, legacy devices can be
transformed into Ethernet devices, which then can be monitored and controlled from
any network location or even the Internet. Different configurations and features are
available for specific applications, such as protocol conversion, Real COM drivers, and
TCP operation modes, to name a few.
The default account and password are admin and moxa (both in lowercase letters),
respectively. Once you are successfully logged in, a pop-up notification will appear to remind
you to change the password in order to ensure a higher level of security.
Default
Service Name Option Type Port Number Remark & Description
Setting
User-defined (default:
UDP Mode Enable/Disable Disable UDP
4000+Serial port No.)
Pair Connection User-defined (default: Only available in
Enable/Disable Disable TCP
Master Mode 4000+Serial port No.) certain models
For security reasons, you should consider disabling unused services. After initial setup,
use services with stronger security for data communication. Refer to the table below for
the suggested settings.
Suggested
Service Name Type Port Number Security Remark
Setting
Moxa Command TCP 14900, 4900 Disable this service as it is not commonly
Disable
(DSCI) UDP 4800 used
HTTP Disable
HTTPS Enable
Telnet Disable
To enable or disable these services, log in to the HTTP/HTTPS console and select Basic
Settings Console Settings.
For the SNMP agent service, log in to the HTTP/HTTPS console and select
Administration SNMP Agent, select Disable for SNMP, and select Disable for the
SNMP agent service.
To disable the SNTP service server, log in to the HTTP/HTTPS/SSH/Telnet console and
select Basic Settings, and keep the Time server setting empty. This will disable the
SNTP service. Then, keep the Time server empty as Disable for the SNTP Server.
For the remote system log server, it depends on your network architecture. We
recommend your network administrator to have a Log Server to receive the log
messages from the device. In this case, log in to the HTTP/HTTPS/SSH/Telnet console,
select Remote Log Server, and input the IP address of the Log Server in the SYSLOG
server field. If your network doesn't have one, keep it empty (disable Remote
System Log Server).
For the operation mode services, it depends on how you bring your serial device to the
Ethernet network. For example, if your host PC uses a legacy software to open a COM
port to communicate with the serial device, then the NPort will enable the Real COM
mode for this application. If you don't want the NPort to provide such a service, log in
to the HTTP/HTTPS/SSH/Telnet console, select Serial Port Settings Port #
Operation Modes, and then select Disable.
Note: For each instruction above, click the Submit button to save your changes, then restart
the NPort device so the new settings will take effect.
• The default Read Write account is admin, with the default password moxa. To
manage accounts, log in to the web console and select Administration Account
Management User Account.
• To add a new account, click Add in the top toolbar, then enter the Account Name,
Password, Confirm Password, and select a User Level.
• To modify an existing account, click on the account name and select Edit in the top
toolbar.
• To delete an account, click on the account name and select Delete in the top
toolbar.
Note: We suggest you manage your device with another “administrator level” account instead of
using the default “admin” account, as it is commonly used by embedded systems. Once
the new administrator level account has been created, it is suggested that the original
“admin” account should be monitored for security reasons to prevent brute-force attacks.
• To improve security, the login password policy and account login failure lockout can
be configured. To configure them, log in to the HTTP/HTTPS console and select
Administration Account Management Password & Login Policy.
• You should adjust the password policy to require more complex passwords. For
example, set the Minimum length to 16, enable all password complexity strength
checks, and enable the Password lifetime options. Also, to avoid brute-force
attack, it’s suggested that you enable the Account login failure lockout feature.
Ensure that the IP address of the PC you are using to access the web console is in the
Accessible IP List.
Warning
• To configure this setting, log in to the HTTP/HTTPS console and select System Log
Settings. Then, enable the Local Log for recording on the NPort 5000 device
and/or Remote Log for keeping records on a server. You should enable system log
settings to record all important system events in order to monitor device status and
check for security issues.
• To view events in the system log, log in to the HTTP/HTTPS console and select
Monitor System Log.
4. Patching/Upgrades
• Download the latest firmware for your MGate device from the Moxa website:
https://www.moxa.com/en/products/industrial-edge-connectivity/serial-
5600-DTL
device-servers/general-device-servers/nport-5600-dtl-series#resources
https://www.moxa.com/en/products/industrial-edge-connectivity/serial-
IA5000A
device-servers/industrial-device-servers/nport-ia5000a-series#resources
https://www.moxa.com/en/products/industrial-edge-connectivity/serial-
IA5000
device-servers/industrial-device-servers/nport-ia5000-series#resources
https://www.moxa.com/en/products/industrial-edge-connectivity/serial-
5000AI-M12
device-servers/general-device-servers/nport-5000ai-m12-series#resources
• If you want to upgrade the firmware for multiple units, download the Device Search
Utility (DSU) or MXconfig for a GUI interface, or the Moxa CLI Configuration Tool for
a CLI interface.