Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities...

18
Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC

Transcript of Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities...

Page 1: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTB

What’s an ICP ?

And why is it Useful for Utilities ?

Dave Teumim, CISSP

Teumim Technical, LLC

Page 2: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTB

Interoperable Configuration Profile

ICP =

Page 3: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTBDesigning a Substation Security Gateway(Vendor’s Point of View)

Operating System Communications Software (IPsec, SSH VPN’s)

Page 4: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTB

Vendor’s Choices

Open Source ?

Proprietary OS Proprietary Comm Stack

Linux ---------OPEN SOURCE-------Strongswan

or Proprietary ???

Page 5: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTBOpen Source Consistently Uses IETF RFC’s (Request for Comments)

Open Source IPsecRFC2401/4301

RFC3602RFC 4308

etc.

Open Source SSHRFC4250RFC4251RFC4252RFC4253

etc

Page 6: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTB

Vendors Make Independent Choices

ESP or AH ?Tunnel Mode or Transport Mode ?Use HMAC ?IKE Version #Diffie-Hellman Group #

Key Life Settings ?Encryption Algorithms ?Hash Algorithms ?

IPsec Choices

, Reproduced from the book IPsec Virtual Public Network Fundamentals. Copyright [2006], Cisco Systems, Inc.

Page 7: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTB Sample Utility Architecture

Syslog server

MaintenanceAccess (SSH)

IPSEC and SSH CONNECTIONS

Engineering Access (SSH)

Control Room

BackupControl Room

SEL n-Dimension Cisco Garrettcom Encore Ruggedcom

Page 8: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTB

Page 9: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTBICP’s Specify the Many Details Below the Internet Protocol/RFC Level

IPSEC INTERNET PROTOCOL LEVEL RFC

Lemnos ICP (Interoperable Configuration Profile) for IPsec = Parameter Level

NO COMPETING DOCUMENT(S) !

Interoperability Work Done informally by Utilities Technicians and Engineers

Page 10: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTB

• Basic configuration decisions included:• Using ESP (Encapsulating Security Payload) • Using TUNNEL mode• Using HMAC for authentication and integrity• Using IKE Version 1 (moving to IKE Version 2 in future) • Using DH-5 (Diffie-Hellman Group 5)

• The specific configuration parameters for configuration the IPSec VPN tunnel are as follows:• ike_life: 28,800s; (28,800 seconds life for key until exchange)• ipsec_life: 3600s; ( time till key re-negotiation)• rekey_margin: 540s; (default value ?)• rekey_fuzz: 100%; (default value ?)• keyingtries: 3; (renegotiate keys 3 times)• dpd_action: restart; (dead peer detection action)• dpd_delay: 60s; (dead peer detection time “hello” interval in seconds)• dpd_timeout: 150s; (dead peer detection time timeout interval in seconds)• policy: PSK+ENCRYPT+TUNNEL+PFS+UP;• Use PFS (perfect forward secrecy ); for enhanced key exchange security (Use DH5 with PFS)The following is the Required,

• Recommended, and Deprecated list of Cryptographic Algorithms from the reference software configuration File

• 000 List of registered IKE 1 Encryption Algorithms:– 000 #7 OAKLEY_AES_CBC, blocksize: 128, keylen: 128(Required)– 000 OAKLEY_AES_CBC,blocksize:128, keylen: 192 or 256 (Recommended)

• 000 List of registered IKE Hash Algorithms:– 000 #1 OAKLEY_MD5, hashsize: 128 (Required)– 000 OAKLEY_SHA1, hashsize 128 (Required)

–000 #4 OAKLEY_SHA2_256, hashsize: 256 (Recommended)

All vendors agree to use one set of values in the ICP

Page 11: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTB

Page 12: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTBLemnos Builds Interoperability Function by Function, Protocol by Protocol

IPSEC

SSH

LDAP

SYSLOG

Page 13: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTB Scope for SSH ICP (DRAFT)

• Scope:

• For the SSH interoperability testing, a test network was created in a laboratory environment to examine the ICP. Sandia National Laboratory (SNL) created a “reference” server on the network with the SSH daemon configured according to the ICP specifications. The reference server is used to form the baseline configuration and to test client interaction with the daemon process. The participating vendors then configure the SSH daemon on their platform in accordance with the ICP. 

• The SSH ICP is designed to allow engineering access to remote locations in a secure, compliant, and vendor-neutral manner. This is accomplished by implementing the ICP on the remote daemon (server service) in a standardized and tested  configuration allowing utilities to choose from multiple vendors as they implement smart grid technologies.

• Previously, a utility operator needing to interact with substation equipment remotely was forced to use insecure protocols such as telnet, FTP, or an insecure proprietary protocol. Figure 2 displays an example utility implementation utilizing the SSH ICP. A control center operator is able to securely connect to a remote vendor device, presumably in a substation, via SSH

Page 14: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTB

ICP Work on Standardized Syslog WordingEVENT TYPE

TAG NAME NERCCIP

LOG MESSAGE FOR THIS TYPE OF EVENT

LDAP Connection

LDAPConfig CIP011 R14

LDAP failed connection to <hostname> at <Remote IP>

Firewall Rule Change

Firewall CIP005 R1, R2CIP007

R2

Firewall general rules were modified by <Username> at <Remote IP>

Syslog SyslogConfig CIP005 R3

Syslog destination <alias> created by <username> at <remote_ip>

VPN IPSecMgmt CIP005 R1

CIP011 R19

IPSec connection <local_gateway> - <remote gateway> generated by <Username> at

<Remote_ip>

VPN IPSecMgmt CIP011 R19

IPSec connection <local_gateway> - <remote gateway> removed by <Username> at

<Remote_ip>

User Accounts UserManagement

CIP011 R10

Password changed <username> at <remote_ip>

User Accounts Login CIP007 R6

Invalid login attempt from <Remote_ip>

User Accounts Login CIP007 R5, R6

Login successful by <Username> at <Remote_ip>

Syslog Syslog Many Syslog destination <alias> deleted by <Username> at <Remote_ip>

Page 15: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTB Industry Outreach via UCA OpenSG

Users Group

SG SecurityWorking

GroupCybersec-Interop

Task Force

Page 16: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTB

Cybersec-Interop Task Force

• Background• Task force created in May 2010• Allows wider review and feedback for ICP’s• Lemnos ICP’s will become OpenSG

documents• Task Force Leadership

• Chair – Dave Teumim, Teumim Technical, LLC• Vice-Chair – John Stewart, TVA• Secretary – Joe McCormick, Boeing Energy

Page 17: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTB

Importance of ICP’s – TVA View

Page 18: Cyber Security for Energy Delivery Systems NSTB What’s an ICP ? And why is it Useful for Utilities ? Dave Teumim, CISSP Teumim Technical, LLC.

Cyber Security for Energy Delivery SystemsNSTB

Discussion