| name | performing-oil-gas-cybersecurity-assessment |
| description | Use when this skill covers conducting cybersecurity assessments specific to oil and gas facilities including upstream (exploration/production), midstream (pipeline/transport), and downstream (refining/distribution) operations. It addresses SCADA systems controlling pipeline operations, DCS for refinery process control, safety instrumented systems for hazardous processes, remote terminal units at unmanned wellhead sites, and compliance with API 1164, TSA Pipeline Security Directives, IEC 62443... |
| domain | cybersecurity |
| tags | ["ot-security","ics","scada","industrial-control","iec62443","oil-gas","pipeline-security","api1164"] |
| subdomain | ot-ics-security |
| version | 1.0.0 |
| author | oyi77 |
| license | Apache-2.0 |
| nist_csf | ["PR.IR-01","DE.CM-01","ID.AM-05","GV.OC-02"] |
Performing Oil Gas Cybersecurity Assessment
Overview
Cybersecurity skill for performing oil gas cybersecurity assessment. Follows industry best practices and security standards.
When to Use
Trigger phrases:
-
"performing oil gas cybersecurity assessment"
-
"This skill covers conducting cybersecurity assessments specific to oil and gas f"
-
When conducting a cybersecurity assessment of a refinery, pipeline, or production facility
-
When preparing for TSA Pipeline Security Directive compliance (SD-01, SD-02)
-
When assessing cybersecurity posture against API Standard 1164 (Pipeline SCADA Security)
-
When evaluating the security of remote wellhead SCADA systems and satellite communications
-
When a merger, acquisition, or regulatory audit requires a comprehensive OT security evaluation
Do not use for IT-only corporate network assessments of oil and gas companies, for physical security assessments without a cyber component, or for environmental compliance assessments.
When NOT to Use
- When you lack proper authorization for testing
- For production systems without change management
- When the task requires legal or compliance expertise beyond technical scope
Prerequisites
- Written authorization from facility management and operations team
- Understanding of oil and gas operations (upstream, midstream, downstream processes)
- Familiarity with API 1164, TSA SD-01/SD-02, IEC 62443, and NIST CSF
- Passive monitoring tools for OT network traffic capture
- Access to network diagrams, SCADA architecture documentation, and safety studies (HAZOP)
Workflow
import re
IOC_PATTERNS = {
"ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",
"domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",
"hash_md5": r"\b[a-f0-9]{32}\b",
"hash_sha256": r"\b[a-f0-9]{64}\b",
}
def extract_iocs(text: ) -> :
{k: re.findall(v, text) k, v IOC_PATTERNS.items()}