All pages
Powered by GitBook
1 of 5

Loading...

Loading...

Loading...

Loading...

Loading...

Security Guidelines-IEC 62443-4-1

SG-6: Account Management Guidelines

Guidelines (based on Foundational Requirements (FRs))

  1. Identification and Authentication Control (FR-1) (SG-6)

    1. This will ensure that only authorized entities can interact with the system. For IPC context this requirement often starts at the firmware level. OnLogic’s BIOS does allow the set up for supervisors and user passwords.

      1. For authentication strength policies should enforce a minimum password character limit and should be replaced at X number of days

        1. Password complexity can be any number of these combinations: lowercase, uppercase, numbers, special symbols, and making the password itself case sensitive. (which means if you have a mix of uppercase and lowercase the prospective characters need the proper case in order to work)

        2. Multi-Factor Authentication (MFA) or 2-Factor Authentication (2FA) are optional if you want a more secure authentication method. They have a wide selection of implementation methods. Although MFA may be dependent on the operating system.

          1. They require the user to enter 2 or more verification methods to gain access to an account/system/application. It can be another password, a keypad pin, an answer to a security question, a verification code (randomly generated), a hardware key (yubikey), or a biometric value

    2. The system should have and support unique identifiers(UID) and accounts for all administrative accounts whether that's in the UEFI or OS. They may look like a readable alphanumeric username or a machine-readable system string

      1. In the event of an account lockout make sure there is a way to

        1. Verify the user is in fact the user (ie. verify employee number, verify with personal identifiers, etc)

    3. The system should use a Trusted Platform Module (TPM 2.0) or Intel Trust Technology (PTT) for secure storage of cryptographic keys

  2. Use Control (UC) (FR-2) (SG-6

    1. Least Privilege - this policy enforces the least privilege common practice, which in turn only allows authenticated users to only perform actions or tasks necessary and appropriate for their role. (same can be applied for access levels) This can also mean that restrictions are in place for BIOS settings to prevent any unauthorized changes to the boot order

      1. When setting up accounts make sure you always start with the minimum amount of privileges that users may need and make adjustments as needed. Good to also note that only admins should have the capability to do so

If it only affects one system/application/account is there a way to make account unlocking or resetting accessible by the end user

  • Ensure only select user and/or admins only have the resources to do this

  • User Roles- below will be a list of roles and the privileges that they may need

    1. System (super) Administrator - capabilities to do: provision & decommission environments, manage vendor subscriptions & licenses, deploy system code & API keys, execute hard data deletions, override data access restrictions, terminate live user sessions, bypass conditional access lockouts, & manage or revoke other administrative roles

    2. Network Administrator - access to: topology, routing, traffic incoming/outing & policies, firewalls, certificates, active/live monitoring, network related logs, & device management (depending on organization setup)

    3. Security Administrator - capabilities to do: assigning other roles, set restrictions, set password requirements per password strength, account provisioning & resets, group management, MFA, 2FA, & SSO authentication controls, data & integration methods, access to access logs, & access to security policies

    4. Standard User - (best to follow least privilege) reset own password, manage own MFA settings (should not be disabled), read and write access to appropriate files or directories, & any low level personalized changes

  • Default account - any default account used by the product (for example, service accounts) and instructions for changing default account names and passwords

    1. "Out Of Box" Password Prompt

      1. The UEFI will ship from OnLogic with the UEFI in a “sealed” state. The next time the system’s UEFI Setup Menu is initiated by a user, it will prompt the user to set an admin password. After the password is set the UEFI will be in a “configured” state. This should not impact the boot process if the entering the UEFI is not initiated by a user.

    2. User Experience

      1. Users will only be prompted to set up the admin password when entering the UEFI for the first time. If entering the UEFI isn’t initiated by the user, the system will continue with its normal boot process.

    3. Password Minimum Requirements

      1. The UEFI password can be as simple or as complex as desired. But the minimum requirement will be support for at least 1 character up to 10 alphanumeric characters or special characters. Any password that doesn’t meet the following characteristics will warn the user of weak password strength:

        1. 8 characters minimum

    4. Factory Default & Password Persistence

      1. If the CMOS is cleared, or defaults are loaded from either a user-initiated event or battery failure. The system should fall back to the password that was initially set during the Out of Box setup phase.

    5. Factory Recovery

      1. For users that forget their password, an internal hardware-recovery mechanism such as a jumper will be implemented that when shorted, will put the system back into the Out of Box Experience state and will prompt the user to set up a password again.

    6. Provisioning with CLI Tools

      1. During the Testing Phase of manufacturing the Test Automation platform will generate and apply a “factory” password that is unique to the System Under Test (SUT). The UEFI will always fall back to this password in the event of a CMOS battery failure or user-initiated CMOS clear.

    7. UEFI Password Provisioning

      1. At the time of manufacturing the SUT will boot into OnLogic’s in-house test and imaging suite. During this phase the test suite will use a linux CLI tool to update the UEFI password. The password will be a randomly generated password that meets the following specifications:

        1. 8 characters

    8. UEFI Password Storage

      1. The password and unique system identifiers will be stored on OnLogic servers behind proper access control. From there the password will be printed on the respective system’s label.

  • At least 1 uppercase letter

  • At least 1 number

  • At least 1 special character

  • At least 1 uppercase letter
  • At least 1 number

  • At least 1 special character

  • Use strong Random Number Generation

  • An example of the CLI tool being ran in Ubuntu: Once set the test suite will pair the password along with unique system identifiers (system serial, UUID) from the SMBIOS

  • SG-3: Security Hardening Guidelines

    Introduction and Purpose

    This technical manual provides explicit, step-by-step instructions for reducing the attack surface of Industrial PCs (IPCs) in accordance with the IEC 62443-4-1 SG-3 (Security Hardening Guidelines) requirement. Initial out-of-the-box factory configurations are often optimized for ease of use rather than security, frequently leaving default credentials, open ports, and unmanaged services active. Implementing this guide ensures compliance with IACS (Industrial Automation and Control Systems) security objectives before connecting the asset to the operational network.

    Hardening Framework Overview

    The following table outlines the core hardening categories, specific technical requirements, and underlying security objectives enforced during this out-of-the-box setup procedure:

    Hardening Category

    Technical Requirement

    3.1 Physical Security & BIOS/UEFI Configuration (Pre-Boot Environment)

    Physical modifications and low-level firmware configuration must be completed prior to operating system installation or network initialization.

    1. Establish Firmware Security: Power on the IPC and enter the BIOS/UEFI setup utility (typically via F2, F12, or Del keys). Navigate to the Security tab and configure a strong supervisor/administrative password to restrict unauthorized modification of boot parameters.

    2. Disable External Boot Vectors: Modify the Boot Priority order to set the internal primary drive (SSD/HDD) as the sole boot device. Explicitly disable booting from USB interfaces, optical drives, and network-based Preboot Execution Environment (PXE).

    3. Lock Inactive Physical Interfaces: Physically seal or disable unused external ports (e.g., USB, Serial, extra RJ45 ports) using physical port locks or by disabling the controller directly within the BIOS peripherals menu.

    3.2 Integrity Protection

    Integrity protection ensures that the operating system kernel and boot loaders have not been modified by malicious software or rootkits.

    • Enable UEFI Secure Boot: Inside the BIOS/UEFI interface, ensure the Boot Mode is explicitly set to Native UEFI (disable Legacy/CSM support). Locate and enable "Secure Boot" to enforce cryptographic signature verification on all loaded binaries.

    • Activate Trusted Platform Module (TPM): Verify that TPM 2.0 (or equivalent hardware security chip) is enabled and activated in the firmware. This facilitates measured boot operations and anchors system encryption keys into hardware.

    • Enable Storage Volume Encryption: Configure full disk encryption (such as Windows BitLocker or Linux LUKS) utilizing the TPM chip to automatically protect data at rest against physical drive theft.

    3.3 Identity Management (OS Initialization)

    During the initial boot of the operating system, default access structures must be systematically dismantled.

    1. Purge Default Accounts: Identify and eliminate pre-configured OEM or OS accounts (e.g., "admin", "user", "root"). Under no circumstances should default factory usernames remain active.

    2. Provision Unique Accounts: Establish role-based accounts dedicated to individual personnel. Create separate non-administrative user accounts for operational routines and distinct administrator accounts reserved strictly for maintenance.

    3. Enforce Complex Password Policies: Apply local security policies mandating a minimum length of 14 characters, combining uppercase, lowercase, numeric, and special characters. Enforce account lockout thresholds (e.g., 3 failed attempts triggers a 15-minute lock).

    3.4 Service Minimization

    Unnecessary processes running in the background present a severe, unmonitored risk profile.

    • Identify Active Services: Execute a scan or review running processes to evaluate legacy protocols (e.g., Telnet, FTP, HTTP, SMBv1).

    • Disable Protocols and Port Listeners: Explicitly turn off or uninstall unneeded daemon architectures. For example, disable legacy clear-text administration protocols (Telnet/HTTP) and enforce encrypted variants (SSH/HTTPS) exclusively if remote management is justified by operational requirements.

    • Remove Superfluous Software: Uninstall development utilities, games, browsers, and default trial software packages shipped with the stock operating system image.

    3.5 Network Security (Host-Based Firewall)

    The system must be isolated from the broader network environment by restricting boundary data transmissions.

    1. Enforce a Deny-All Default Policy: Access the local host-based firewall settings (e.g., Windows Defender Firewall or iptables/ufw on Linux). Set the global behavior for all incoming connections to "Block/Deny All" across all network profiles (Domain, Private, Public).

    2. Define Explicit Inbound Exceptions: Create surgical firewall rules allowing incoming traffic only on mandatory operational ports (e.g., specific industrial protocol ports such as Modbus TCP, OPC UA, or Ethernet/IP) and restrict the allowed source scopes to known, trusted engineering workstations or PLCs.

    3. Restrict Outbound Traffic: Where feasible, limit outbound connectivity from the IPC to designated logging servers (Syslog) or local patch repositories, blocking general outbound internet access completely.

    3.6 Audit and Event Logging (System Accountability)

    To support system accountability and satisfy diagnostic requirements, robust trace logging must be configured locally and prepared for transport.

    1. Configure Local Audit Policies: Enable advanced auditing within local system security policies. Ensure active monitoring and logging are configured for the following critical event classes:

      1. Logon/Logoff events (both successful and failed attempts)

      2. Privilege use and administrative elevation

    3.7 Patch Management Lifecycle (Offline Deployment Prep)

    Maintaining security status requires systematic operating system and software maintenance processes, even in highly segregated (air-gapped) environments.

    1. Define Baseline Target Version: Prior to deployment, catalog and verify the precise OS patch baseline version approved by the IACS vendor/integrator.

    2. Configure Offline Update Channels: Disable default automated internet search routes for software updates. Configure the local updater agent to pull approved binaries only from an on-premise local management node (e.g., WSUS or local package mirror) or secure USB "transient" deployment procedures.

    3. Establish Update Windows: Program local update installation policies to restrict automatic restarts of critical system nodes. Updates must only install manually during controlled engineering maintenance windows.

    • Firm password prompt appears when attempting to access BIOS/UEFI.

    • System fails to boot when an external bootable USB drive is inserted.

    • Secure Boot status is verified as "Active" or "Enabled" within the OS environment.

    Enable Chassis Intrusion Detection: If supported by the IPC hardware, enable the "Chassis Intrusion" alert feature in the BIOS to log or halt the system if the physical casing is opened.

    Disable Guest and Anonymous Access: Explicitly disable the built-in "Guest" account profile and restrict anonymous SID/enumeration mappings within the operating system policies.

    Disable Auto-Run Features: Turn off media and external drive AutoPlay/AutoRun functionality to prevent malicious files from automatically executing when a USB or optical drive is connected.

    Disable Network Discovery and File Sharing: Turn off network discovery protocols (like LLMNR, NetBIOS, and mDNS) unless specifically required for control network communications.

    Local security policy modifications (firewall shifts, account adjustments)
  • System events (startup, shutdown, raw time adjustments)

  • Set Log Retention Restrictions: Set local log storage properties to prevent overwrite failures. Enforce a minimum log size (e.g., 1024MB) and configure the system to "Overwrite events as needed" or block operations until archived if strict storage limits exist.

  • Setup Centralized Log Forwarding: Configure local event forwarding utilities (such as Windows Event Forwarding or rsyslog on Linux) to push security and audit events to an designated, out-of-scope syslog server or SIEM agent situated in the local OT zone.

  • Full disk encryption status is active and verified.
  • Default factory user accounts are completely deleted or disabled.

  • Network discovery, AutoPlay, and Guest profiles are explicitly disabled.

  • Local audit policy records successful and failed user logon attempts.

  • Centralized log-forwarding destination is configured and pingable.

  • Automatic operating system internet update checks are disabled.

  • Port scan (e.g., local netstat check) confirms that unrequired ports (21, 23, 80) are unresponsive.

  • Host firewall is running and successfully dropping unsolicited test pings or connection attempts.

  • IACS Security Objective

    Identity Management

    Remove default users; enforce unique accounts and complex passwords.

    Prevent unauthorized access via known or weak credentials.

    Service Minimization

    Disable unused network services (SSH, Telnet, HTTP) and software packages.

    Reduce the logical attack surface and potential entry points.

    Network Security

    Configure host-based firewalls with "deny-all" default settings.

    Restrict communication to only necessary and authorized ports.

    Physical Security

    Password-protect the BIOS; disable boot from USB; lock unused ports.

    Mitigate threats from individuals with physical access to the hardware.

    Integrity Protection

    Enable UEFI Secure Boot and measure the boot sequence via TPM.

    Ensure the system has not been tampered with during the boot process.

    Step-by-Step Implementation Procedures

    Post-Hardening Verification Checklist

    SG-4: Secure Disposal Guidelines

    Overview

    SG-4 guidelines for IPCs are primarily focused on the sanitization of storage media (SSDs and NVMe drives). The framework is based on NIST SP 800-88, which defines three levels of sanitization: Clear, Purge, and Destroy. The choice of method depends on the sensitivity of the data and whether the hardware will be reused, sold, or destroyed. Below is a detailed guide for its secure retirement to prevent the leakage of sensitive data

    Sanitization Level

    Best For...

    Primary Methods

    Top Software/Tools

    Do NOT Use For

    This method is not appropriate for hard copy under any conditions but may be appropriate for ISM (information storage media). This method applies logical techniques to sanitize data in all user-addressable storage locations of an ISM for protection against simple, non-invasive data recovery techniques using the same interface that is available to the user host interface. These standard techniques generally do not affect the ISM's usability; it involves using software or hardware to overwrite an ISM's user-addressable storage and metadata with non-sensitive data via standard read/write commands. Historically, hard drives were erased using multiple overwrite passes (e.g., DoD 5220.22-M5) with various binary patterns. These methods are ineffective for certain ISM, such as SSDs with overprovisioning; more secure methods like purge or destroy should be utilized. Overwriting is unsuitable for non-rewriteable or inoperable ISM, as it cannot reach all sensitive data areas. ISM type and size further limit its effectiveness. Specifically, flash memory-based devices use spare cells and wear leveling, making it impossible to address all storage areas through standard read/write interfaces. Continuing use of magnetic ISM overwrite methods on newer media, like flash memory, risks unintentional data disclosure. The ISM may support dedicated sanitize commands that address all storage areas more effectively. Clear sanitization techniques vary for devices. Always consult the manufacturer’s documentation for the most effective proprietary tool for your specific device.

    • Overwriting. Typically done through the standard read and write commands to the storage device, such as by rewriting with a new value (either random patterns or zeros’) or (if available) using a menu option to reset the device to the factory state (when & where rewriting is not supported).

      • If compatible with your storage media device. Some devices may come with manufacturer tools, in those cases their tools are best to use for clear sanitization. They work by sending and executing secure erase commands directly to the drive’s firmware, removing the stress of overwriting manually.

        • Manufacturer resets without rewriting still qualify as clear sanitization, provided the standard user interface prevents original data retrieval.

    This method is not appropriate for hard copy under any conditions but may be appropriate for some ISM. Purge sanitization employs physical or logical methods to make data recovery infeasible against state of the art laboratory techniques while keeping the ISM potentially reusable. This method is preferred over clear sanitization whenever possible.

    Logical purge techniques vary by ISM type; acceptable methods are overwrite, block erase, or cryptographic erase using dedicated, standardized device sanitize commands that bypass typical command abstractions, increasing the chance of keeping the device usable. Of the logical purge sanitization techniques, cryptographic erase is noteworthy in its ability to rapidly sanitize target data. However, the effective use of cryptographic erase depends on the pedigree of cryptographic capabilities and meeting certain pre-conditions.

    For an ISM that takes the form of logical/virtual storage (e.g., cloud storage), cryptographic erase may be the only viable purge sanitization option. Typically, the underlying physical ISM is abstracted so that the data owner has no direct access to the physical ISM, and sanitizing them is not possible. Organizations should clearly understand their purge sanitization technique options and the effectiveness of the technique prior to storing sensitive data on such ISM.

    Physical purge sanitization techniques historically included degaussing for magnetic tapes, magnetic removable disks, and magnetic hard disk drives. Degaussing should not be used for non-magnetic ISM (e.g., flash storage, such as SSDs). The use of degaussing as a purge sanitization technique has become more complicated as ISM have evolved to use hybrids of magnetic and non-magnetic storage as well as variations of magnetic recording technologies with higher coercivity (i.e., magnetic force). As a result, many existing degaussers do not have sufficient force to effectively degauss such ISM. Additionally, degaussing can make some types of ISM unusable, potentially making them inoperable (if the servo tracks are damaged), but fail to sanitize the target data. At the time of this writing, degaussing is not considered an approved destroy sanitization technique, but IEEE 2883 and/or NSA/CSS Policy Manual 9-12 should be consulted for further clarification.

    Other physical purge sanitization techniques can also exist. The above clear overwrite methods can be reused here as well.

    • Overwriting. Typically done through the standard read and write commands to the storage device, such as by rewriting with a new value (either random patterns or zeros’) or (if available) using a menu option to reset the device to the factory state (when & where rewriting is not supported).

      • If compatible with your storage media device. Some devices may come with manufacturer tools, in those cases their tools are best to use for clear sanitization. They work by sending and executing secure erase commands directly to the drive’s firmware, removing the stress of overwriting manually.

        • Manufacturer resets without rewriting still qualify as clear sanitization, provided the standard user interface prevents original data retrieval.

    This method is appropriate for all hard copies and most ISM (not including logical or virtual storage). Sanitization techniques make target data recovery infeasible using ‘state of the art laboratory techniques and results in the inability to use the ISM for storage of the data. With the many different types of this technique the ISM is not “the ISM is not considered destroyed unless target data access or recovery is infeasible using state-of-the-art laboratory techniques”. This MAY be the only option when the ISM fails or is obsolete and clear and purge techniques cannot be applied effectively.

    Bending, cutting, or other produces (ie. shooting or drilling) may only partly damage the ISM, leaving portions of it still accessible via “state-of-the-art laboratory techniques”. As the density of data and the hardness of the internal components materials increase on an ISM, certain techniques can become ineffective. Note: Pulverize and shred techniques for ISM should be avoided for anything other than the lowest security categories of data.

    Below are some of the more common destruction methods for media:

    • Disintegrate. Process that destroys the media by breaking, separating, or decomposing media into its constituent elements, parts, or small particles such that there is nothing or very little of it that is recognizable after the process.

      • For example, dissolving with acid will disintegrate the product or at the very least destroy the outer layer and make content very difficult to impossible to recover.

    • Incinerate. Process that destroys the media by burning it to ash.

  • Software tools are available ie:

  • ShredOS - open source and highly liked does multiple passes of overwriting

  • Active@ KillDisk - a popular sanitation tool for a wide variety of devices. It supports over 20 international data sanitizing standards

  • BitRaser - a certified tool capable of wiping both HDDs and SSDs beyond recovery. They also support standards like NIST

  • Eraser - An advanced, open-source security tool for Windows designed to securely delete files, folders, or entire drives by overwriting them with complex patterns

  • Software tools are available ie:

    • ShredOS - open source and highly liked does multiple passes of overwriting

    • Active@ KillDisk - a popular sanitation tool for a wide variety of devices. It supports over 20 international data sanitizing standards

    • BitRaser - a certified tool capable of wiping both HDDs and SSDs beyond recovery. They also support standards like NIST

    • Eraser - An advanced, open-source security tool for Windows designed to securely delete files, folders, or entire drives by overwriting them with complex patterns

  • Block Erase

    • A command-based sanitization technique used primarily on flash-based storage (SSDs) that instructs the drive controller to reset all storage blocks to an empty state. This bypasses file system abstraction and is highly effective for fast sanitization.

      • Example: Using an "ATA Secure Erase" command or a vendor-specific "NVMe Sanitize" command to trigger a block-level wipe of all NAND flash cells, effectively resetting all storage locations.

  • Cryptographic Erase

    • A method that sanitizes data by deleting the internal cryptographic key (Data Encryption Key or DEK) used to encrypt the information on the drive. Once the key is destroyed, the data becomes impossible to decrypt, rendering it effectively erased.

      • Example: A Self-Encrypting Drive (SED) receives a "sanitize" command, which forces the drive to securely delete its internal DEK. This renders the data stored on the drive unreadable almost instantly, regardless of the drive's capacity.

  • Degaussing

    • A physical sanitization technique that exposes magnetic storage media (such as hard disk drives and magnetic tapes) to a strong magnetic field, which disrupts the stored magnetic patterns and renders the data unrecoverable. Note: Degaussing should not be used for non-magnetic storage (e.g., flash storage like SSDs) and may be ineffective against modern high-coercivity magnetic media.

      • Example: Using an industrial-grade degausser to expose a magnetic hard drive to a high-intensity magnetic field, which effectively neutralizes the magnetic domains on the platters.

  • Cannot be done probably with household items, most ideal method:

    • Industrial Incinerator: Applies intense heat to completely oxidize the materials, melting platters, memory chips, and circuit boards into ash. They are equipped with high efficiency air pollution control devices to safely filter out the toxic emissions released during the process

  • Hire a professional: They collect the device and can provide you a certificate of destruction, they will handle it in an environmentally compliant way

  • Melt. Process that destroys the media by liquefying it (i.e., loses intactness or solidness), generally through the application of extreme heat.

    • Examples can include Industrial Incinerator,:

      • Plasma Smelting: Industrial-scale plasma smelters melt crushed printed circuit boards (PCBs) so the plastics and resins burn off

      • Heat Gun: Small pieces of discarded tech plastic can be melted in a controlled manner using a heat gun.

  • Pulverize. Process that destroys the media by reducing it to a fine powder or dust through crushing, grinding, or other mechanical means.

    • Industrial grinder: Tear and grind hard drives, solid-state drives (SSDs), and mobile phones into tiny pieces of chips and dust (destroy all internal chips)

    • Mechanical Crushing and Piercing: Uses heavy-duty steel pins to physically pierce, bend, and crush the media, preventing forensic recovery of sensitive data

    • Optical Disk Grinders: For CDs, DVDs, and Blu-rays, declassifying machines can be used to grind and abrade the data-bearing, metallic layer off the plastic disc, turning critical information into dust

  • Shred. Process that destroys the media bTy cutting or tearing it into small particles

    • Examples can include Optical Disk Grinders, Distengrator, and Pulveize methods:

      • Industrial Hard Drive Shredders: Heavy-duty machines that shred hard drives, backup tapes, and smartphones into small metallic fragments

      • Multi-Media Shredders: Smaller, office-grade shredders cut solid-state drives (SSDs) and USBs into tiny cross-cut particles

      • Drive Crushers: Apply extreme hydraulic pressure to warp and fracture internal drive components (like platters in HDDs) so that they cannot be read or accessed

  • Clear - Logical overwrite of all user-addressable storage locations

    Internal reuse

    Logical Overwrite, Factory Reset

    ShredOS, Active@ KillDisk, Eraser

    SSDs with overprovisioning

    Purge - Physical or logical techniques that make recovery infeasible

    External disposal

    Block Erase, Cryptographic Erase

    NVMe Sanitize, ATA Secure Erase

    Degaussing for SSDs

    Destroy - Physical destruction rendering the media unusable and data irretrievable

    High-risk / Failed drives

    Shredding, Incineration, Melting

    Industrial Shredders, Professional Vendors

    Standard magnetic overwriting

    Clear

    Purge

    Destroy

    SG-2: Defense in Depth Measures Expected in the Environment

    Scope & Architectural Intent

    1.1 Purpose and Boundary Control

    Industrial edge gateways operate within complex, multi-zoned operational environments. To preserve system security integrity, the device must not function as an unrestricted bridge between sensitive control networks and upper-level corporate or cloud infrastructure. This technical reference defines the implementation rules for utilizing multiple independent physical network interfaces (LAN ports) to map secure boundaries aligned with the Purdue Reference Model.

    1.2 Residual Risk and Boundaries of Component Responsibility

    While this gateway provides physical and logical network interface isolation (conduits), it does not natively inspect application-layer payloads for malicious command anomalies (e.g., deep-packet inspection of industrial protocols). The asset owner and system integrator must ensure that malicious actors cannot compromise the Level 1/2 network via secondary, unmonitored pathways, as this gateway assumes all traffic ingressing on its designated control interface originates from a verified, trusted local zone.

    Environmental & Physical Security Assumptions

    Network Segment Architecture (Zones and Conduits)

    The gateway acts as an application-layer data proxy (Conduit), strictly dropping raw routed packets between interfaces while facilitating secure data transition between boundaries.

    [ Level 4: Corporate Network / Cloud ]

    │

    ▼ (WAN/Outbound Traffic Only)

    ┌──────────────────────┐

    │ LAN 2 (eth1 / enp3s0)

    │ │

    │ OnLogic Gateway │ ◄─── IP Forwarding: DISABLED

    │ │ Local Firewall: ENABLED

    │ LAN 1 (eth0 / enp2s0)

    └──────────────────────┘

    ▲ (Ingress Data / Local Access Only)

    │

    [ Level 2: Industrial Control Network ]

    (PLCs, HMIs, SCADA)

    2.2 Physical Security Environmental Assumptions

    Target Security Levels (SL) cannot be achieved solely via network-layer software constraints. This deployment guidance assumes the following physical defense-in-depth controls are enforced by the asset owner at the installation site:

    • Enclosure Restrictions: The gateway must be permanently housed inside a physically locked cabinet, panel, or server rack accessible exclusively to authorized Level 2/3 engineering and maintenance personnel.

    • Hardware Port Protection: All unused network ports and USB interfaces must be physically blocked using specialized port locks, or explicitly deactivated within the system BIOS to mitigate unauthorized local intrusion into the network conduits.

    3.1 Disabling Kernel Packet Forwarding

    Operating systems may natively attempt to route traffic between active network interfaces. For compliance with SG-2 baseline requirements, packet forwarding must be explicitly and permanently disabled to ensure the gateway cannot act as an unauthorized router.

    For Linux Subsystems (Ubuntu / Debian / Rocky Linux):

    1. Query the current runtime status of IP forwarding via sysctl. Bash:

    1. If the output returns 1, immediately inject a persistent configuration override block to disable it. Bash:

    For Windows IoT Enterprise Environments:

    1. Enforce complete deactivation of the default Routing and Remote Access Service (RRAS) via an administrative PowerShell terminal. PowerShell:

    3.2 IP Addressing and Gateway Paradigms

    Improper default gateway allocation on internal control networks exposes local asset topologies during upstream network discovery routines. Engineers must enforce the following strict interface properties:

    • LAN 1 (OT Interface): Statically configured network address. Do not define a default gateway on this interface configuration. Omitting an external gateway restricts outbound data transmission strictly to the local physical subnet segment.

    • LAN 2 (IT/Cloud Interface): Configured via Static IP or trusted enterprise DHCP, pointing explicitly to the designated corporate perimeter security firewall or IDMZ gateway.

    4.1 Stateful Access Control Lists (ACLs)

    A local stateful packet inspection firewall must restrict traffic explicitly to the allowed operational boundaries of the conduit interfaces. Below is an administrative shell script utilizing ufw (Uncomplicated Firewall) to implement an SG-2 compliant posture. Bash:

    4.2 Local Service Binding

    Software services operating on the gateway (e.g., Ignition Edge, Node-RED, local MQTT brokers) must be explicitly bound to their designated interface targets. Industrial drivers pulling data must target specific control IPs reachable only via LAN 1. Administrative web panels or local management consoles must bind directly to 127.0.0.1 (loopback) or the internal engineering interface—never allow management daemons to listen globally on 0.0.0.0.

    4.3 Policy for Remote Maintenance & Support Access

    Temporary remote maintenance access to the Level 1/2 automation layer through the gateway is disabled by default. If a remote support session is required under IEC 62443-2-4 guidelines:

    1. Connections must use an on-demand, encrypted VPN tunnel initiated outbound from inside the plant floor, rather than accepting unsolicited inbound requests from the corporate WAN.

    2. Inbound firewall management rules must be programmatically or manually revoked immediately upon the formal conclusion of the authorized maintenance window.

    The field deployment engineer or certified system integration provider must validate this security baseline utilizing the verification checklist below before formal site handover.

    Interface Inbound Auditing

    External network vulnerability scans (e.g., Nmap) executed against LAN 2 must report all inbound ingress ports closed or stealth-filtered.

    [ Pass / Fail ]

    Application Binding Validation

    Inspect active system sockets (ss -tlnp) to verify running middleware daemons bind exclusively to localized loopback or the specific LAN 1 interface IP.

    [ Pass / Fail ]

    Validation Audit Step

    Expected Verification Standard

    Status Verification

    Boundary Isolation Test

    ICMP echo requests (pings) dispatched from the IT network targeting the LAN 1 (OT IP) interface must timeout completely.

    [ Pass / Fail ]

    Hop / Trace Verification

    Traceroute routines initiated from Level 4 toward Level 1 assets through the gateway must terminate entirely at the external LAN 2 interface.

    Host Hardening & Logical Configuration

    Host-Based Firewall Enforcement

    Commissioning Verification Matrix

    [ Pass / Fail ]

    sysctl net.ipv4.ip_forward
    echo "net.ipv4.ip_forward = 0" | sudo tee -a 
    /etc/sysctl.d/99-sg2-hardening.conf
    sudo sysctl -p /etc/sysctl.d/99-sg2-hardening.conf
    Get-Service -Name RemoteAccess | Stop-Service -PassThru | Set-Service -StartupType Disabled
    # Establish global default drop postures
    sudo ufw default deny incoming
    sudo ufw default deny forwarding
    
    # Enforce rules on LAN 1 (OT - eth0)
    sudo ufw allow in on eth0 to any port 22 proto tcp comment 'Engineering Access Only'
    sudo ufw allow in on eth0 to any port 4840 proto tcp comment 'OPC UA Local Polling'
    
    # Enforce rules on LAN 2 (IT/Cloud - eth1)
    sudo ufw allow out on eth1 to any port 8883 proto tcp comment 'Outbound TLS MQTT'
    sudo ufw allow out on eth1 to any port 443 proto tcp comment 'Outbound HTTPS Telemetry'
    
    # Instantiate security posture
    sudo ufw enable