PISA Pakistan — Community CERT

← ⚙️ Blue Team & Defense Engineering

16. OT/ICS Security Monitoring for Pakistan’s Critical Infrastructure

⏱ 10 min

OT/ICS Security Monitoring for Pakistan’s Critical Infrastructure

Why This Matters

Pakistan’s power grid, water treatment plants, and gas pipelines rely on Industrial Control Systems (ICS) that are increasingly connected to enterprise IT networks. Threats such as the TRITON malware target safety instrumented systems (SIS), and local incidents—sometimes sparked by WhatsApp social‑engineering—can disrupt essential services. The NCCIA encourages critical operators to report any suspicious OT activity via its helpline 1799.

Core Concepts

  • OT network architecture: SCADA servers, PLCs, RTUs, and historian databases communicating over Modbus, DNP3, and IEC 61850.
  • Visibility tools: Zeek (formerly Bro) for deep packet inspection of OT protocols, Wireshark for live captures, Nozomi Networks or Claroty for passive monitoring and anomaly detection.
  • Security zones: Implement a Purdue Model segmentation—enforce a DMZ between IT and OT, and restrict protocol‑specific traffic (e.g., only allow DNP3 from approved substations).
  • Threat mapping: Correlate OT alerts with MITRE ATT&CK for ICS (e.g., T0866 – Modify Control Logic).

Step‑by‑Step Deployment

  1. Map OT assets – Use Nmap with the -sU flag for UDP‑based OT protocols; export results to a CMDB that integrates with NADRA employee IDs for personnel accountability.
  2. Deploy passive monitoring sensors – Place Zeek nodes on OT switch SPAN ports to capture Modbus/DNP3 traffic. Configure Zeek’s modbus and dnp3 scripts to log function‑code anomalies.
  3. Integrate with SIEM – Ship Zeek logs to ELK; create Sigma rules such as:
    title: Unexpected PLC Firmware Upload
    logsource: product zeek service modbus
    detection:
      modbus_function: 0x50
    condition: modbus_function == 0x50
    
  4. Set baseline behavior – Capture normal traffic for 30 days; use Kibana to visualize typical polling cycles, then generate alerts for deviations (e.g., unauthorized PLC write commands).
  5. Correlate with threat intel – Pull IOC feeds from MISP that contain known malicious OT command signatures; tag alerts accordingly.
  6. Incident response playbook – Define steps: isolate affected segment via managed Ethernet switch, preserve logs, notify the NCCIA helpline 1799, and engage the vendor’s security team.
  7. Conduct tabletop exercises – Simulate a WhatsApp‑delivered phishing link that attempts to deploy a payload on an engineering workstation; validate that the SOC detects the lateral movement into OT.

Do / Don't

  • Do segment OT traffic from IT using a demilitarized zone (DMZ) and enforce strict firewall rules for OT protocols.
  • Don’t rely solely on active scanning (e.g., Nmap) on live PLCs—passive monitoring avoids disrupting control processes.
  • Do schedule regular firmware updates for PLCs through vendor‑approved channels.
  • Don’t ignore human factors—ensure engineers don’t plug USB drives from WhatsApp‑shared “software updates” directly into OT workstations.

Takeaway

Deploy Zeek on OT SPAN ports, baseline normal Modbus/DNP3 traffic, and write at least two Sigma rules to detect abnormal control commands. Integrating these alerts into your SOC’s theHive workflow will give you early warning of attacks against Pakistan’s critical infrastructure.

← PrevNext →