Novel power software and hardware terminal equipment security access device, module and method

By embedding security access modules in power terminal equipment and deploying security authentication gateways in the main station, identity authentication and data encryption and decryption of terminal equipment are realized, which solves the problem of expanding network attack surface in the power system and enhances the security between terminal equipment and main station. The security of the station ensures the operation safety and data transmission safety of the power system.

CN118611904APending Publication Date: 2024-09-06NARI INFORMATION & COMM TECH
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410587260.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The access of massive intelligent distribution terminal equipment in new power systems has led to an expansion of network attack surfaces. The existing power system network security protection is weak and lacks effective terminal equipment security protection measures, resulting in data being tampered with, intercepted, replayed, forged and other illegal activities. Operational issues.

Method used

Design a new type of secure access device for power software and hardware terminal equipment, including an embedded secure access module and a security authentication gateway deployed at the main station. Through the authentication, key negotiation and Data encryption and decryption enables terminal device identity authentication, data transmission security, and network attack identification and disposal.

Benefits of technology

It provides all-round protection of terminal equipment, enhances the security of the terminal equipment itself, prevents the main station business system from being interfered by illegal terminals, ensures the operation safety and data transmission security of the power system network, and reduces the cost and difficulty of security transformation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611904A
    Figure CN118611904A
Patent Text Reader

Abstract

The invention discloses a novel electric power software and hardware terminal equipment security access device, module and method, and the device comprises electric power software and hardware terminal equipment, a security access module, a security authentication gateway and a password application infrastructure, the security access module is embedded in the electric power software and hardware terminal equipment, and the security authentication gateway is embedded in the password application infrastructure. The security authentication gateway and the password application infrastructure are deployed in the power system master station; performing equipment network access authentication on the terminal equipment through the security authentication gateway; the novel power software and hardware terminal equipment security access module comprises a service interface calling module, a security storage module, a security communication module, a password operation scheduling engine and a hardware password driving module. According to the invention, a highly unified service security interface is provided, undifferentiated one-key calling of the terminal equipment is realized, and the security transformation technology cost and difficulty of the terminal equipment are greatly reduced; and the operation safety and the data transmission safety of the whole power system network are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a terminal equipment security access device, module and method, and in particular to a novel power software and hardware terminal equipment security access device, module and method. Background Art

[0002] The construction of new power systems is gradually accelerating, and new business forms are constantly emerging. As a result, a large number of power terminal devices such as various types of smart distribution terminals, new energy power generation components, photovoltaic panels, charging piles, energy storage controllers, etc. are "explosively" connected to the power grid. The diversified access methods and flexible access control have expanded the network attack surface, which has caused a huge impact on the existing power system network security protection system.

[0003] Access authentication is the entrance to network access and the first line of defense for system network security. Due to the large number of distribution network access terminals, most of which are deployed outdoors, the terminals themselves are relatively lacking in security protection capabilities and monitoring methods due to the limitations of terminal carrying capacity and asset attributes, and can easily become a springboard for network attacks. In addition, the current monitoring capabilities and protection measures of the security access area on the main station side of the power system are also relatively weak. The uncontrollable access of massive low-security terminal devices poses a huge security challenge to power security. Therefore, it is necessary to enhance the security protection of terminal devices from aspects such as access authentication, access control, data encryption, status monitoring, and response disposal. Summary of the invention

[0004] Purpose of the invention: The purpose of the present invention is to provide a new type of power software and hardware terminal equipment security access device, module and method to solve the problem of illegal operations such as data tampering, interception, replay, forgery, etc. caused by hidden dangers such as lack of identity authentication and plain text transmission of sensitive data in traditional terminal equipment.

[0005] Technical solution: The present invention includes: power software and hardware terminal equipment, a security access module, a security authentication gateway and a cryptographic application infrastructure, wherein the security access module is embedded in the power software and hardware terminal equipment, and the security authentication gateway and the cryptographic application infrastructure are deployed in the power system master station; the terminal equipment is authenticated for network access through the security authentication gateway.

[0006] The security authentication gateway includes: a network access authentication service module, a message filtering and forwarding module, an attack detection and traffic monitoring module, an alarm sending module, a security policy management module, a national encryption algorithm support module, a control instruction processing module and a cross-domain interconnection communication module.

[0007] The security authentication gateway filters and forwards all communication messages between the terminal device and the main station.

[0008] The power software and hardware terminal device implements authentication with the security authentication gateway by calling the service interface of the embedded security access module.

[0009] The message exchange between the secure access module and the secure authentication gateway uses a dedicated security protocol to implement secure access authentication, key negotiation and link keep-alive.

[0010] The key negotiation and link keep-alive between the secure access module and the secure authentication gateway are implemented based on the PKI digital certificate and by calling the initialization interface of the secure access module.

[0011] The security access module has an emergency processing mode, and when an abnormality is detected in the hardware cryptographic module device that performs cryptographic operations, it can automatically switch to the emergency processing mode.

[0012] The security access module integrates the driver interfaces of multiple types of cryptographic modules and performs consistency processing on the differences in data encryption and decryption formats between different cryptographic operation modules.

[0013] A novel power software and hardware terminal equipment security access module includes: a service interface calling module, a security storage module, a security communication module, a cryptographic operation scheduling engine and a hardware cryptographic driver module.

[0014] A novel method for secure access to power software and hardware terminal equipment comprises the following steps:

[0015] The terminal device calls the initialization interface SecInit of the security access module, sets the data communication encryption mode, and the security access module establishes a network connection with the authentication gateway and starts identity authentication and key negotiation with the gateway;

[0016] The security access module obtains the terminal certificate serial number S, fingerprint identifier F and verification mode M to complete the device self-test. After the self-test is completed, a random number R1 is generated and encrypted with a private key. R1 encrypts the self-test and authentication information, and constructs an authentication request message to send to the authentication gateway;

[0017] The authentication gateway receives the authentication request message, decrypts R1 according to the IP matching terminal certificate, and R1 performs self-check, authentication information and fingerprint identification F in the decryption device, compares and verifies, and verifies that the authentication gateway generates a random number R2, authentication identification T, and generates a key with R1, then encrypts R2 with the private key, and the key encrypts the asset ID, authentication identification T, and encryption mode, sends an authentication response message to the terminal, adds this terminal to the trusted list, and saves the key and encryption mode for subsequent message filtering and forwarding processing; otherwise, an error is returned and the network connection is forcibly disconnected, and an alarm message is generated;

[0018] After receiving the authentication response message, the terminal uses the authentication gateway certificate to decrypt the random number R2, and generates a key with R1. The key decrypts the asset ID, and compares it with the device preset ID for verification. If the verification passes, the key and encryption mode are saved for subsequent business interactions. Otherwise, the network connection is forcibly disconnected, and the above steps are continued: the terminal device calls the initialization interface of the security access module;

[0019] After the terminal identity authentication and key negotiation are passed, the control link monitoring is enabled and the long connection state is maintained through the heartbeat message;

[0020] The terminal initiates a service connection request to the main station. The request reaches the gateway, which parses the source IP to match the access rule. If the match is successful, it is forwarded to the main station. The terminal establishes a network connection with the main station. Otherwise, it is discarded and an alarm is generated. The terminal cannot communicate with the main station.

[0021] The terminal starts to interact with the main station. When the terminal sends business data, it calls the SecEncrypto encryption interface of the security access module to obtain the ciphertext data and sends the ciphertext data to the main station. The data reaches the authentication gateway for rule matching. If the match is successful, the encryption mode is queried. If the link is in encryption mode, it is decrypted and then forwarded to the main station. Otherwise, it is directly forwarded to the main station.

[0022] After the response data of the master station reaches the authentication gateway, it is decided whether to perform decryption before forwarding to the terminal or to forward it directly to the terminal according to the encryption mode of this link;

[0023] After receiving the data, the terminal chooses whether to call the decryption interface SecDecrypto and then perform subsequent response data processing or directly perform response processing according to the encryption mode of the link;

[0024] During the business interaction between the terminal and the main station, the security authentication gateway detects anomalies in real time and generates alarm information to send to the main station. On the other hand, it monitors the control instructions of the main station alarm and exception handling module in real time, and adjusts the forwarding strategy in time according to the control instructions, cuts off the communication link of the abnormal terminal, and resists network attacks.

[0025] Beneficial effects: The present invention provides a highly unified service security interface to achieve indiscriminate one-click calling of terminal devices, greatly reducing the technical cost and difficulty of security transformation of terminal devices; through the collaborative defense mechanism provided by the security access module and the security authentication gateway, it realizes the terminal device access authentication, data encryption transmission, communication link status monitoring, network attack identification and abnormal alarm uploading, threat linkage disposal and other terminal device all-round protection functions, and solves the problem of illegal operations such as data tampering, interception, replay, and forgery caused by hidden dangers such as lack of identity authentication and plain text transmission of sensitive data in traditional terminal devices. It not only enhances the security of the terminal equipment itself, but also effectively prevents the main station business system from interference and destruction by illegal terminals, thereby ensuring the operation safety of the entire power system network and the security of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic diagram of the overall architecture for secure access to power software and hardware terminal equipment provided by the present invention;

[0027] Figure 2 A schematic diagram of the architecture of the security access module provided by the present invention;

[0028] Figure 3 A schematic diagram of the architecture of the security authentication gateway provided by the present invention;

[0029] Figure 4 The invention provides a secure access authentication and secure communication process for power software and hardware terminal equipment. DETAILED DESCRIPTION

[0030] The present invention will be further described below in conjunction with the accompanying drawings.

[0031] A novel power software and hardware terminal equipment security access device of the present invention comprises: power software and hardware terminal equipment, a security access module, a security authentication gateway and a cryptographic application infrastructure, wherein the security access module is embedded in the power software and hardware terminal equipment, the security authentication gateway is deployed at the boundary of the security access area of ​​the power system master station, and the cryptographic application infrastructure is deployed inside the power system master station.

[0032] Power software and hardware terminal equipment refers to intelligent terminal devices such as embedded measurement and control, data acquisition, protection, etc. that can be equipped with real-time operating systems such as Linux and Unix, and have independent computing and storage resources and flexible network configuration functions, including but not limited to distribution terminals, power monitoring devices, data acquisition and transmission units DTU, power Internet gateways and edge agent equipment, workstation hosts, etc.

[0033] The security access module provides security functions to the outside in the form of service interface calls, which are used to implement security protection functions such as access authentication of terminal devices, secure storage of device feature identification F and communication mode M, communication mode and key negotiation, data encryption and decryption operations, and device security status monitoring.

[0034] The security authentication gateway is used to authenticate the terminal equipment for network access, ensuring that the terminal equipment connected to the power system master station is authentic and reliable, and realizing terminal access security. Based on the national secret algorithm, the security authentication gateway provides network access authentication, data encryption and decryption, security status monitoring, abnormal alarm and linkage response disposal for the terminal equipment to access the main station business system, including: network access authentication service module, message filtering and forwarding module, attack detection and traffic monitoring module, alarm sending module, security policy management module, national secret algorithm support module, control instruction processing module and cross-domain interconnection communication module.

[0035] The network access authentication service module can uniformly register, review and authorize the terminal equipment information within the management domain, where the equipment information includes equipment asset ID, equipment type, operating system type, CPU architecture, key processes, network configuration, equipment certificates, etc. The IP, port, communication protocol, etc. of the main station business system must also be registered with the security authentication gateway. After completing the association authorization with the terminal equipment, the business message of the authenticated legal terminal equipment can be successfully forwarded to the main station business system after being processed by the security authentication gateway, otherwise the message will be discarded by default; process network access authentication requests, and generate real-time alarms for authentication results and send them to the main station management platform for threat analysis and emergency response, and notify the security policy management module to realize dynamic adjustment of security policies;

[0036] The message filtering and forwarding module can filter and forward the TCP / UDP messages from the terminal device to the main station according to the access control policy of the security authentication gateway. When the policy matches successfully, the message is forwarded; when the policy matches fail, the message is discarded;

[0037] The attack detection and traffic monitoring module provides end-to-end traffic monitoring, and can identify and defend against common network attacks to a certain extent based on network traffic analysis to protect the device itself and security, including ARP Flood Attack, Ping Attack, Ping of Death Attack, Smurf Attack, Unreachable Host Attack, TCPLand Attack, UDP Teardrop Attack, TCP Syn Attack, UDP Flood Attack, etc.

[0038] The alarm sending module supports the syslog alarm function, which can send the alarm log of the security authentication gateway to the network security management platform. The content includes the gateway's own CPU, memory, and hard disk periodic alarms, terminal device authentication status success, abnormal real-time alarms, unauthenticated illegal access alarms, network attack alarms, traffic periodic statistics alarms, control disabled alarms, etc.

[0039] The security policy management module supports whitelist and blacklist security policy configuration based on MAC and IP quintuples (source IP address, source port, destination IP address, destination port and transport layer protocol), and can dynamically adjust policies based on the authentication results of the network authentication module and the control commands of the control instruction processing module to achieve active defense;

[0040] The national secret algorithm support module provides other modules with cryptographic operation interfaces such as data encryption and decryption, signature verification, and secure key management. The module supports two hardware configuration modes: built-in PCIE encryption card and external server cryptographic machine.

[0041] The control instruction processing module establishes a secure channel with the main station monitoring and early warning platform based on the national secret SSL protocol. It can receive and process control instructions from the monitoring and early warning platform, block a certain terminal device or terminal within a specified IP range with one click, realize the main station threat alarm and emergency linkage disposal, and promptly block the security threat of malicious terminals to the entire power system.

[0042] The cryptographic application infrastructure includes server cryptographic machines, PCIE cryptographic cards, smart cryptographic keys USB key, and certificate issuance system CA, etc. The certificate issuance system CA is deployed on the intranet side of the power system master station as a basic cryptographic facility, providing flexible digital certificate and security label application, issuance, management, and validity verification functions for communication entities such as power hardware and software terminal equipment, security authentication gateways, power system master stations, and system management users; cryptographic operation modules such as server cryptographic machines, PCIE cryptographic cards, and smart key UsbKey provide cryptographic operations and key security management functions for security access modules and security authentication gateways, and support PKI functions such as certificate management and data signature verification.

[0043] The power software and hardware terminal equipment can achieve authentication with the security authentication gateway, interaction of request messages, key negotiation, data encryption and decryption operations, equipment status monitoring and other security access authentication functions simply by calling the service interfaces of the embedded security access module, including SecInit, SecEncrypto, SecDecrypto, and SecReInit. The security authentication gateway filters and forwards all communication messages between the terminal equipment and the main station to ensure that only terminal equipment that has passed the authentication can access the main station system for business interaction, otherwise it will be discarded and the terminal will not be able to access the main station system.

[0044] Among them, the authentication process between the power software and hardware terminal equipment and the security authentication gateway is as follows: the attribute information of the power software and hardware terminal equipment is registered on the security authentication gateway; the system administrator confirms and reviews the information, and after the review is passed, a device fingerprint with a global unique identifier is generated according to the type of the terminal equipment and the corresponding device fingerprint configuration template; the device fingerprint configuration file is sent to the terminal device and imported into the secure storage area of ​​the security access module; when the terminal device is started, the device feature information and fingerprint authorization information are extracted by calling the security access module initialization interface and an access authentication request is sent to the security authentication gateway. The security authentication gateway receives and processes the authentication request for comparison and verification, and adds the authenticated device to the trusted device list as a basis for the message filtering and forwarding module to provide security policy matching, and returns an authentication success response message. After receiving the authentication success response message, the security access module sets the encryption mode M, updates the strategy, generates and saves the negotiation key Key, and then starts the link monitoring process, and maintains a long connection with the security authentication gateway through the heartbeat message. At this point, the security access module is initialized, and the terminal device and the main station business system can have normal network connection and business communication, otherwise the security access module will disable the network connection of the terminal device.

[0045] A new type of power software and hardware terminal equipment security access module adopts modular and service-oriented design concepts, shields the specific implementation of its hardware cryptographic equipment, and provides terminal equipment with network authentication, information security storage, cryptographic operation services, secure communication and other functions in two modes: API dynamic library interface and local service process. It includes: service interface calling module, security storage module, secure communication module, cryptographic operation scheduling engine and hardware cryptographic driver module.

[0046] The service interface calling module provides security function encapsulation for terminal devices, including initialization interface, network access authentication request interface, link status self-check interface, data encryption interface, data summary generation and verification interface, signature and signature verification interface, parameter setting interface, etc.

[0047] The secure storage module provides secure storage for important configuration files and data such as keys, digital certificates, device fingerprint features, device ID, etc. for terminal devices;

[0048] The secure communication module is used to establish an independent secure communication link with the secure authentication gateway for terminal device network access authentication and status monitoring, complete the sending of network access authentication message requests and the reception and processing of response data, and the interaction of control messages such as heartbeats. It has an emergency processing mode and high availability.

[0049] The cryptographic operation scheduling engine provides the module with national secret algorithm operation functions. It calls the soft cryptographic algorithm or hardware cryptographic device according to the configuration to complete the cryptographic operation and return the encryption and decryption results. The hardware cryptographic driver module can flexibly load the corresponding interface driver according to the configuration of the cryptographic operation scheduling engine, and supports conventional hardware cryptographic devices such as PCIE encryption cards, server cryptographic machines, and smart cryptographic keys USB Key.

[0050] The security access module and device of the present invention realize the functions of equipment access authentication, key negotiation, communication data encryption and decryption based on cryptographic technology; the two must be used in conjunction to realize the security authentication, data encryption and decryption processing, and access control of the equipment; the security access module encapsulates identity authentication, key negotiation, encryption and decryption operations, and dynamic monitoring, and is embedded in the power software and hardware terminal equipment. The technology and cost of security transformation are low; the security authentication gateway is deployed in series between the terminal equipment and the security access area of ​​the power system master station, without changing the network resource configuration and architecture of the original system, and the security authentication gateway has a policy for the interactive message between the terminal equipment and the master station. After a successful match, it can automatically encrypt or decrypt according to the communication transmission encryption mode before forwarding, without the need to transform and upgrade the main station call logic. At the same time, the security authentication gateway strengthens the terminal device access authentication and access control through the comparison and verification of device attributes and device fingerprint identification. It can resist various network attacks on the power system using terminal devices as a springboard, and use national secret algorithms to securely filter and forward business data between terminal devices and the main station system to ensure the security of business data transmission; the message exchange between the security access module and the security authentication gateway uses a dedicated security protocol to implement secure access authentication, key negotiation and link keepalive.

[0051] The key negotiation and link keep-alive between the security access module and the security authentication gateway are implemented based on PKI digital certificates and by calling the initialization interface of the security access module. The communication link supports two modes: plain text communication and encrypted communication. The mode setting priority of the authentication gateway is greater than that of the terminal, that is, if the authentication gateway policy configuration sets this terminal to forced encrypted communication mode, the terminal can only select the encrypted mode. If the authentication gateway does not have this setting, the terminal device can perform negotiation to select the encryption mode according to the data security attributes. In the encrypted communication mode, data encryption and decryption operations are completed in the security access module and authentication gateway on the terminal side, and the security access module provides a data encryption and decryption interface. Only when the key negotiation process is successful can other service interfaces of the security access module be called normally, otherwise an error will be reported. The key negotiation immediately starts the link keep-alive monitoring process through the interface. The keep-alive process provides security functions such as heartbeat maintenance, key update, communication strategy adjustment, and automatic renegotiation after interruption.

[0052] The security access module has an emergency processing mode. When an abnormality is detected in the hardware cryptographic module device that performs cryptographic operations, it can automatically switch to the emergency processing mode. In this mode, a fault warning will be generated to notify the terminal device, and the security authentication gateway will be notified that the device has entered the emergency communication mode to ensure the continuity and secure transmission of terminal business data. At the same time, the status of the cryptographic device can be detected regularly. When the cryptographic device returns to normal, the security access module automatically exits the emergency mode.

[0053] The security access module not only integrates the driver interfaces of multiple types of cryptographic modules such as server cryptographic machines, PCIE cryptographic cards, smart cryptographic keys, open source OpenSSL / GmSSL cryptographic software libraries, but also makes consistency processing for the differences in data encryption and decryption formats between different cryptographic operation modules, which can meet the interconnection and interoperability between different cryptographic operation modules in complex scenarios; it also highly unifies and encapsulates the logic of security technology implementation such as access authentication, data encryption and decryption, key negotiation, link monitoring, etc. based on digital certificates, realizes indiscriminate one-click calling of terminal devices, and greatly reduces the technical cost and difficulty of security transformation of terminal devices.

[0054] A new type of power software and hardware terminal equipment security access method is used to implement access authentication, password negotiation, communication encryption and decryption, link status monitoring and linkage response disposal of power software and hardware terminal equipment, specifically including:

[0055] Step 1: The terminal device calls the initialization interface SecInit of the security access module, sets the data communication encryption mode, and the security access module establishes a network connection with the authentication gateway, and starts identity authentication and key negotiation with the gateway;

[0056] Step 2: The security access module obtains the terminal certificate serial number S, fingerprint identifier F and verification mode M to complete the device self-test. After the self-test is completed, a random number R1 is generated and encrypted with a private key. R1 encrypts the self-test and authentication information, and constructs an authentication request message to send to the authentication gateway.

[0057] Step 3: The authentication gateway receives the authentication request message, decrypts R1 according to the IP matching terminal certificate, and R1 performs self-check, authentication information and fingerprint identification F in the decryption device, compares and verifies, and verifies that the authentication gateway generates a random number R2, authentication identification T, and generates a key with R1, then encrypts R2 with the private key, and the key encrypts the asset ID, authentication identification T, and encryption mode, sends an authentication response message to the terminal, and adds this terminal to the trusted list, saves the key and encryption mode for subsequent message filtering and forwarding processing; otherwise, an error is returned and the network connection is forcibly disconnected, and an alarm message is generated;

[0058] Step 4: After receiving the authentication response message, the terminal uses the authentication gateway certificate to decrypt the random number R2, and generates a key with R1. The key decrypts the asset ID, and compares it with the device preset ID for verification. If the verification passes, the key and encryption mode are saved for subsequent business interactions. Otherwise, the network connection is forcibly disconnected and step 1 is continued.

[0059] Step 5: After the terminal identity authentication and key negotiation are passed, the control link monitoring is enabled and the long connection state is maintained through the heartbeat message, and key update, device feature attribute self-check, periodic authentication, etc. are performed;

[0060] Step 6: The terminal initiates a service connection request to the main station. The request reaches the gateway, resolves the source IP address, and matches the access rule. If the match is successful, it is forwarded to the main station. The terminal establishes a network connection with the main station. Otherwise, it is discarded and an alarm is generated. The terminal cannot communicate with the main station.

[0061] Step 7: Business interaction starts between the terminal and the main station. When the terminal sends business data, it calls the SecEncrypto encryption interface of the security access module to obtain ciphertext data and sends the ciphertext data to the main station. The data arrives at the authentication gateway for rule matching. If the match is successful, the encryption mode is queried. If the link is in encryption mode, it is decrypted and then forwarded to the main station. Otherwise, it is directly forwarded to the main station.

[0062] Step 8: After the response data of the master station arrives at the authentication gateway, it is selected whether to perform decryption before forwarding to the terminal or to forward it directly to the terminal according to the encryption mode of this link;

[0063] Step 9: After receiving the data, the terminal chooses whether to call the decryption interface SecDecrypto and then perform subsequent response data processing or directly perform response processing according to the encryption mode of the link;

[0064] Step 10: During the business interaction between the terminal and the main station, the security authentication gateway detects anomalies in real time and generates alarm information to send to the main station. On the other hand, it monitors the control instructions of the alarm and exception handling module of the main station in real time, and adjusts the forwarding strategy in time according to the control instructions, cuts off the communication link of the abnormal terminal, and resists network attacks.

[0065] Example

[0066] This embodiment designs a module and device for realizing secure access to new power software and hardware terminal equipment, such as Figure 1As shown in the figure, in actual application, the specific design includes various types of power software and hardware terminal equipment deployed on the station side, the security access module embedded in the terminal equipment, the PCIE encryption card, smart password key UsbKey, trusted card module, server cryptographic machine and other types of hardware cryptographic products that provide cryptographic operations and key management to the security access module, and third-party open source cryptographic operation libraries such as OpenSSL / GmSSL, the security authentication gateway, master station business system, monitoring and early warning system, certificate issuance system CA, server cryptographic machine, etc. deployed on the intranet master station side.

[0067] Among them, various types of power software and hardware terminal equipment have built-in security access modules, which can call the service interface of the security access module to perform equipment authentication, data encryption and decryption operations, access control and status monitoring, and can communicate securely with the main station business system processed by the security authentication gateway; the security access module is deployed in the terminal equipment system in the form of a dynamic library or service process, and can be connected to hardware cryptographic operation modules such as PCIE encryption cards, smart password keys UsbKey, trusted cards or server cryptographic machines according to the configuration to perform cryptographic operations and key management, and can establish an independent secure communication link with the security authentication gateway to perform equipment network authentication, key negotiation, and status monitoring.

[0068] The security authentication gateway is deployed on the main station side of the power system intranet and connected in series between the business system host and the terminal equipment. The security authentication gateway can be connected to the main station business system and the monitoring and early warning system for communication respectively; the certificate issuance system CA is deployed on the intranet side of the power system main station as a basic cryptographic facility, providing flexible digital certificate and security label application, issuance, management and validity verification functions for communication entities such as power hardware and software terminal equipment, security authentication gateway, power system master station and system management users; cryptographic operation modules such as server cryptographic machine, PCIE cryptographic card, smart key UsbKey provide cryptographic operation and key security management functions for security access module and security authentication gateway, and support PKI functions such as certificate management and data signature verification; the monitoring and early warning platform is used to monitor various types of alarm information and operating status of various types of power hardware and software terminals and security authentication gateways in real time, and can also issue control instructions to the security authentication gateway to control the access / blocking status of terminal equipment and realize threat alarm linkage disposal.

[0069] For various types of power software and hardware terminal equipment, the physical interface for connecting the terminal equipment to the cryptographic device is slightly different depending on the type of hardware cryptographic device selected by the security access module. The PCIE encryption card and trusted card module need to be connected through the motherboard PCIE interface, the smart key UsbKey needs to be connected through the host USB interface, and the server cryptographic machine needs to be connected to the local area network through a network card for access.

[0070] For various types of power software and hardware terminal equipment, the architecture of the security access module is the same. Figure 2 As shown in the figure, the functional architecture of the security access module includes: a service interface calling module, a security storage module, a security communication module, a cryptographic operation scheduling engine and a hardware cryptographic driver module; the cryptographic operation scheduling engine calls the hardware cryptographic driver module to provide the service interface module and the security communication module with encryption and decryption, hashing, signing and signature verification functions based on the national secret algorithm, and at the same time provides secure storage for important data such as keys, digital certificates, device fingerprint features, and device IDs; the security communication module is connected to the security authentication gateway through the network card of the terminal device, and is used for terminal device network authentication and status monitoring through the established secure communication link, completing the sending of terminal device network authentication message requests and the reception and processing of response data. The service interface calling module provides security function encapsulation for the terminal equipment, and provides initialization interface, network authentication request interface, link status self-check interface, data encryption interface, data encryption interface, data summary generation and verification interface, signature and verification interface, parameter setting interface, etc. After the terminal equipment is powered on and started, it first calls the initialization interface to complete the network authentication, key negotiation, security policy and communication mode negotiation with the security authentication gateway, and establish a secure communication link. Then, according to its business security requirements, it selectively calls encryption / decryption, signature verification, parameter setting and other interfaces to achieve the security enhancement of the terminal equipment itself and the secure transmission of interactive data with the business master station system.

[0071] like Figure 3As shown in the figure, the functional architecture of the specifically designed security authentication gateway includes: network authentication service module, message filtering and forwarding module, attack detection and traffic monitoring module, alarm sending module, security policy management module, national secret algorithm support module, control instruction processing module and cross-domain interconnection communication module; the national secret algorithm support module provides random number generation, data encryption and decryption, hash, signature verification and other cryptographic operation functions and key, digital certificate security storage for the network authentication service module, message filtering and forwarding module through the configuration mode of the built-in PCIE encryption card or the external server cipher machine; the message filtering and forwarding module is respectively connected to the network authentication service module, the security policy management module, and the control instruction processing module. The message filtering and forwarding module can filter all TCP / UDP messages between the terminal device and the main station system according to the security policy configuration enable status, the terminal device authentication status, and the main station system control instruction. If the authentication passes and complies with the policy, it will be further processed, otherwise it will be discarded. The further processing includes judging whether the message needs to be encrypted or decrypted, and then calling the interface of the national secret algorithm module to perform encryption or decryption operations and re-packaging before forwarding; the network authentication service module The block is responsible for establishing an independent secure communication link with the security access module on the terminal device, receiving and processing the network access authentication request of the terminal device, and comparing the authentication information with the registration information in the background database. If the comparison is successful, the IP and MAC corresponding to the device are added to the trusted device list to provide a filtering policy basis for the message filtering and forwarding module, and further key negotiation, communication mode and policy confirmation are performed. If the comparison fails, a real-time alarm is generated and sent to the monitoring and early warning management platform for threat analysis and emergency disposal; the attack detection and traffic monitoring module provides end-to-end traffic monitoring, and can identify and resist common network attacks to a certain extent based on network traffic analysis and send alarm information in time; the control instruction processing module can receive and process the control instructions of the monitoring and early warning platform, block a certain terminal device or a terminal within a specified IP range with one click, realize the threat alarm and emergency linkage disposal of the main station, and timely block the security threat of malicious terminals to the entire power system; the security policy management module realizes the whitelist and blacklist security policy access control of terminal devices based on MAC and IP quintuples (source IP address, source port, destination IP address, destination port, and transport layer protocol).

[0072] Based on the above designed security access module and security authentication gateway device, in actual application, a security access method for power software and hardware equipment is further designed, such as Figure 4 As shown, through the coordinated use of the security access module and the security authentication gateway, the following steps 1-10 are performed to implement access authentication, password negotiation, communication encryption and decryption, link status monitoring and linkage response disposal of power software and hardware terminal devices:

[0073] Step 1) The terminal device calls the initialization interface SecInit of the security access module, sets the data communication encryption mode, and the security access module establishes a network connection with the authentication gateway and starts identity authentication and key negotiation with the gateway;

[0074] Step 2) The security access module obtains the terminal certificate serial number S, fingerprint identification F and verification mode M to complete the device self-test, generates a random number R1 after the self-test is completed, and encrypts R1 with a private key. R1 encrypts the self-test and authentication information, constructs an authentication request message and sends it to the authentication gateway;

[0075] Step 3) The authentication gateway receives the authentication request message, decrypts R1 according to the IP matching terminal certificate, and R1 performs self-check, authentication information and fingerprint identification F in the decryption device, compares and verifies, and verifies that the authentication gateway generates a random number R2, authentication identification T, and generates a key with R1, then encrypts R2 with the private key, and the key encrypts the asset ID, authentication identification T, and encryption mode, sends an authentication response message to the terminal, and adds this terminal to the trusted list, saves the key and encryption mode for subsequent message filtering and forwarding processing; otherwise, an error is returned and the network connection is forcibly disconnected, and an alarm message is generated;

[0076] Step 4) The terminal receives the authentication response message and uses the authentication gateway certificate to decrypt the random number R2, and generates a key with R1. The key decrypts the asset ID and compares it with the device preset ID for verification. If the verification passes, the key and encryption mode are saved for subsequent business interactions. Otherwise, the network connection is forcibly disconnected and step 1 is continued.

[0077] Step 5) After the terminal identity authentication and key negotiation are passed, the control link monitoring is turned on and the long connection state is maintained through the heartbeat message, and key update, device feature attribute self-check, periodic authentication, etc. are performed;

[0078] Step 6) The terminal initiates a service connection request to the main station. The request reaches the gateway, resolves the source IP and matches the access rule. If the match is successful, it is forwarded to the main station. The terminal establishes a network connection with the main station. Otherwise, it is discarded and an alarm is generated. The terminal cannot communicate with the main station;

[0079] Step 7) The terminal starts to interact with the main station. When the terminal sends business data, it calls the SecEncrypto encryption interface of the security access module to obtain the ciphertext data and sends the ciphertext data to the main station. The data arrives at the authentication gateway for rule matching. If the match is successful, the encryption mode is queried. If the link is in encryption mode, it is decrypted and then forwarded to the main station. Otherwise, it is directly forwarded to the main station.

[0080] Step 8) After the response data of the master station arrives at the authentication gateway, it is selected whether to perform decryption before forwarding to the terminal or to forward it directly to the terminal according to the encryption mode of this link;

[0081] Step 9) After receiving the data, the terminal chooses whether to call the decryption interface SecDecrypto and then perform subsequent response data processing or directly perform response processing according to the encryption mode of the link;

[0082] Step 10) During the business interaction between the terminal and the main station, the security authentication gateway detects anomalies in real time and generates alarm information to send to the main station. On the other hand, it monitors the control instructions of the main station alarm and exception handling module in real time, and adjusts the forwarding strategy in time according to the control instructions, cuts off the communication link of the abnormal terminal, and resists network attacks.

[0083] The above technical solution designs a new type of power software and hardware terminal equipment security access method, module and device, which adopts modular design, decouples security protection from business communication, provides a unified service security interface, realizes the indiscriminate calling of terminal equipment, and greatly reduces the technical cost and difficulty of terminal equipment security transformation. Through the coordinated use of the security access module and the security authentication gateway, the authorization management, access authentication, data encryption transmission, communication link status monitoring and response disposal of the terminal equipment are realized, and the problem of illegal operations such as data tampering, interception, replay, and forgery caused by the lack of identity authentication and the plain text transmission of sensitive data in traditional terminal equipment is solved. It not only enhances the security of the terminal equipment itself, but also effectively prevents the main station business system from interference and destruction by illegal terminals, and ensures the operation safety and data transmission security of the entire power system network.

Claims

1. A new type of power software and hardware terminal equipment security access device, characterized in that: include: Power software and hardware terminal equipment, security access module, security authentication gateway and cryptographic application infrastructure. Among them, the security access module is embedded in the power software and hardware terminal equipment, and the security authentication gateway and cryptographic application infrastructure are deployed in the power system master station; the terminal equipment is authenticated for network access through the security authentication gateway.

2. According to claim 1, a new type of power software and hardware terminal equipment security access device is characterized in that: The security authentication gateway includes: a network access authentication service module, a message filtering and forwarding module, an attack detection and traffic monitoring module, an alarm sending module, a security policy management module, a national encryption algorithm support module, a control instruction processing module and a cross-domain interconnection communication module.

3. According to claim 2, a new type of power software and hardware terminal equipment security access device is characterized in that: The security authentication gateway filters and forwards all communication messages between the terminal device and the main station.

4. According to claim 1, a new type of power software and hardware terminal equipment security access device is characterized in that: The power software and hardware terminal device implements authentication with the security authentication gateway by calling the service interface of the embedded security access module.

5. According to claim 1, a new type of power software and hardware terminal equipment security access device is characterized in that: The message exchange between the secure access module and the secure authentication gateway uses a dedicated security protocol to implement secure access authentication, key negotiation and link keep-alive.

6. A novel power software and hardware terminal equipment security access device according to claim 5, characterized in that: The key negotiation and link keep-alive between the secure access module and the secure authentication gateway are implemented based on the PKI digital certificate and by calling the initialization interface of the secure access module.

7. According to claim 1, a new type of power software and hardware terminal equipment security access device is characterized in that: The security access module has an emergency processing mode, and when an abnormality is detected in the hardware cryptographic module device that performs cryptographic operations, it can automatically switch to the emergency processing mode.

8. A novel power software and hardware terminal equipment security access device according to claim 7, characterized in that: The security access module integrates the driver interfaces of multiple types of cryptographic modules and performs consistency processing on the differences in data encryption and decryption formats between different cryptographic operation modules.

9. A new type of power software and hardware terminal equipment security access module, characterized in that: include: Service interface calling module, secure storage module, secure communication module, cryptographic operation scheduling engine and hardware cryptographic driver module.

10. A new method for secure access to power software and hardware terminal equipment, characterized in that: The following steps are involved: The terminal device calls the initialization interface SecInit of the security access module, sets the data communication encryption mode, and the security access module establishes a network connection with the authentication gateway and starts identity authentication and key negotiation with the gateway; The security access module obtains the terminal certificate serial number S, fingerprint identifier F and verification mode M to complete the device self-test. After the self-test is completed, a random number R1 is generated and encrypted with a private key. R1 encrypts the self-test and authentication information, and constructs an authentication request message to send to the authentication gateway; The authentication gateway receives the authentication request message, decrypts R1 according to the IP matching terminal certificate, and R1 performs self-check, authentication information and fingerprint identification F in the decryption device, compares and verifies, and verifies that the authentication gateway generates a random number R2, authentication identification T, and generates a key with R1, then encrypts R2 with the private key, and the key encrypts the asset ID, authentication identification T, and encryption mode, sends an authentication response message to the terminal, and adds this terminal to the trusted list, saves the key and encryption mode for subsequent message filtering and forwarding processing; Otherwise, an error is returned and the network connection is forcibly disconnected, and an alarm message is generated; After receiving the authentication response message, the terminal uses the authentication gateway certificate to decrypt the random number R2, and generates a key with R1. The key decrypts the asset ID, and compares it with the device preset ID for verification. If the verification passes, the key and encryption mode are saved for subsequent business interactions. Otherwise, the network connection is forcibly disconnected, and the above steps are continued: the terminal device calls the initialization interface of the security access module; After the terminal identity authentication and key negotiation are passed, the control link monitoring is enabled and the long connection state is maintained through the heartbeat message; The terminal initiates a service connection request to the main station. The request reaches the gateway, which parses the source IP to match the access rule. If the match is successful, it is forwarded to the main station. The terminal establishes a network connection with the main station. Otherwise, it is discarded and an alarm is generated. The terminal cannot communicate with the main station. The terminal starts to interact with the main station. When the terminal sends business data, it calls the SecEncrypto encryption interface of the security access module to obtain the ciphertext data and sends the ciphertext data to the main station. The data reaches the authentication gateway for rule matching. If the match is successful, the encryption mode is queried. If the link is in encryption mode, it is decrypted and then forwarded to the main station. Otherwise, it is directly forwarded to the main station. After the response data of the master station reaches the authentication gateway, it is decided whether to perform decryption before forwarding to the terminal or to forward it directly to the terminal according to the encryption mode of this link; After receiving the data, the terminal chooses whether to call the decryption interface SecDecrypto and then perform subsequent response data processing or directly perform response processing according to the encryption mode of the link; During the business interaction between the terminal and the main station, the security authentication gateway detects anomalies in real time and generates alarm information to send to the main station. On the other hand, it monitors the control instructions of the main station alarm and exception handling module in real time, and adjusts the forwarding strategy in time according to the control instructions, cuts off the communication link of the abnormal terminal, and resists network attacks.

Citation Information

Cited By

  • Safe and credible interaction method and system for photovoltaic data

    CN119652543A

  • Safety management system, method and equipment of power utilization information acquisition system master station and medium

    CN120415895A

  • Detection method and system for encryption mode of power distribution terminal

    CN122678980A