A zero-trust protection method based on network frame transformation
By adding verification information and P-Token/U-Token mechanism to the network frame, the problem of resource consumption and lateral penetration when zero trust strategy is implemented in the existing network is solved, and zero trust verification and security of the whole life cycle are realized. Improve and reduce implementation costs and risks.
Patent Information
- Application Number
- CN202411017392.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-29
AI Technical Summary
Existing zero-trust security strategies require large-scale transformation of network topology when implemented, resulting in resource consumption and system interruption, and cannot effectively prevent intranet lateral penetration attacks.
By modifying the network frame and adding additional verification information, real-time monitoring and verification of each access request is achieved, and the P-Token and U-Token mechanisms between user verification software and hardware and secondary network equipment are used to ensure the legitimacy of access. and security, and deploy zero-trust protection strategies without changing network topology.
It achieves zero-trust verification of the entire life cycle and all links, eliminates lateral penetration attacks, reduces implementation costs and risks, and does not require significant changes to the network architecture. It has low cost, high compatibility and good scalability.
Smart Images

Figure CN118555137B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network security technology, and in particular to a zero-trust protection strategy that does not change the network topology structure. Background Art
[0002] The zero-trust principle of network security is a modern network security strategy, and its core concept is "never trust, always verify". This means that the system will not continuously trust any internal or external access requests, but will require multiple verifications to ensure that each access is legitimate and safe, thereby effectively defending against the risks of hacker intrusion and information leakage. In addition, the zero-trust strategy requires the segmentation of permissions and micro-segmentation of networks, dividing the network into multiple tiny areas, so as to implement stricter control over sensitive areas. Finally, the zero-trust principle also requires continuous monitoring and response of the entire network system, and the use of situational awareness technology to monitor network activities in real time, so as to promptly detect and respond to abnormal behavior.
[0003] At present, many security protection strategies and products based on zero-trust technology have been launched at home and abroad. For example, BeyondCorp launched by Google is an innovative security model that adopts the zero-trust principle and shifts the focus of security control from the difficult-to-demarcate network boundaries to the trust verification of users and devices. In this way, even without relying on traditional VPNs, secure access to internal network resources and information transmission can be ensured. The domestic Qi'anxin Zero Trust Network Access System (ZTNA) focuses on data assets and mitigates various access risks through dynamic access control.
[0004] However, there is a common phenomenon among zero-trust security strategies or products, both domestic and foreign, that is, once these security strategies need to be implemented or related equipment needs to be deployed, the overall network topology needs to be transformed on a large scale. This large-scale network topology transformation will not only consume a lot of economic and time resources, but may also cause system operation interruption or instability. In addition, solutions such as BeyondCorp and ZTNA themselves cannot directly solve the problem of lateral penetration of the intranet, that is, the situation where attackers try to further access other devices or systems in the network by gaining partial access to a system in the network. Summary of the invention
[0005] The technical problem solved by the present invention is that the present invention proposes a zero-trust protection method based on the transformation of network frames. This method can implement the deployment of zero-trust protection strategies without changing the network topology and only transforming the secondary network devices, and effectively avoid the risk of lateral penetration attacks.
[0006] By modifying the network frame, additional verification information can be added during the data transmission process, thereby achieving real-time monitoring and verification of each access request to ensure the legitimacy and security of the access.
[0007] To achieve the above objectives, a zero-trust protection method based on network frame transformation is provided, including:
[0008] 1) The user verification software and hardware sends a request to the secondary network device, wherein the request includes a TCP message, a short hash of application information, a timestamp generated at the current time, and the user's ID, wherein the TCP message reserves unwritten bytes;
[0009] 2) After receiving the TCP message, the secondary network device identifies that the TCP message does not include P-Token information, and then checks whether the TCP message includes the destination IP sent to the authentication root server;
[0010] If the TCP message includes the destination IP, the secondary network device will forcibly forward the TCP message to the authentication root server;
[0011] If the TCP message does not include the destination IP, the secondary network device discards the TCP message;
[0012] 3) The authentication root server receives the TCP message and verifies the content of the TCP message, wherein the content of the TCP message includes login information, account number and password;
[0013] If the verification fails, the authentication root server discards the TCP message;
[0014] If the verification is passed, the authentication root server randomly generates a U-Token, which corresponds to the user ID of the request, and the U-Token is fed back to the user verification software and hardware through the secondary network device;
[0015] 4) The verification software and hardware generates a P-Token based on the U-Token, wherein the P-Token includes an application information short hash byte, a timestamp byte, a user ID byte, and a verification information short hash byte, wherein the verification information includes application information, U-Token, timestamp, and user ID;
[0016] 5) The verification software and hardware write the P-Token into the reserved unwritten bytes of the TCP message requested by the user later within a preset time; obtain a new TCP message containing the P-Token, and send it to the secondary network device;
[0017] 6) The secondary network device receives the new TCP message, and the secondary network device indexes the U-Token corresponding to the user ID on the authentication root server;
[0018] The secondary network device calculates the U-Token corresponding to the user ID, the user ID, the timestamp and the short hash value of the application information included in the new TCP message, and obtains a short hash value of the verification information, and compares the short hash value of the verification information with the short hash value of the original verification information in the new TCP message;
[0019] If they are the same, the verification is passed and the TCP message continues to be sent to the next level;
[0020] If they are different, the authentication fails, the TCP message is discarded, and the authentication root server is informed.
[0021] Furthermore, the bytes of the P-Token are less than or equal to 32 bytes.
[0022] Furthermore, the U-Token is a 32-bit hexadecimal string.
[0023] Furthermore, the application information short hash is the result of hashing the application data, which is used to verify whether the data has been tampered with or damaged during transmission and to identify the initiated application content;
[0024] The timestamp is the timestamp when the package is constructed, which records the time when the U-Token is generated, determines the validity period of the data or checks whether the data has expired;
[0025] The user ID is a unique identifier that identifies the owner of the data or the relevant user, indicates the owner of the data or the relevant user, and tracks the ownership and access control of the data;
[0026] The verification information short hash is composed of application information, U-Token, timestamp and user ID, and is hashed to obtain the short hash of the pass token, which is used to verify that the P-Token itself has not been tampered with or damaged; wherein, the U-Token is a random string generated by the authentication root server.
[0027] Furthermore, padding is used to fill the P-Token to meet the byte length required by the TCP message specification, and '0' is used as fixed data for padding.
[0028] Furthermore, the user verification software and hardware is a TUN network card-level agent, which adds a P-Token to the TCP message calculation and stores a U-Token.
[0029] Furthermore, the user verification software and hardware is a network card hardware, which adds a P-Token to the TCP message calculation and stores a U-Token.
[0030] Furthermore, the secondary network device is a switch.
[0031] The beneficial effects of the present invention include: 1. Without changing the original network topology, only the secondary network equipment and user agent hardware and software need to be replaced, so as to achieve low cost without significantly changing the network architecture.
[0032] 2. By using user agent software and hardware to transform network frames, user verification information is added to network frames, and verification is performed on all secondary network devices that the network frames pass through, zero-trust verification is achieved throughout the entire life cycle and the entire link, completely eliminating lateral penetration.
[0033] 3. Through the root server's issuance of verification tasks and direct verification of secondary network devices, a certain degree of balanced load verification mechanism is achieved, so it can defend against distributed denial of service attacks to a certain extent.
[0034] 4. The secondary network equipment transformation uses mature chip extension codes to achieve low cost, high compatibility and good scalability.
[0035] 5. Through the verification of network frames by the underlying secondary network equipment, abnormal situations can be accurately physically located and reported back.
[0036] 6. Collect detailed network information of users in real time through user agent software and hardware, and realize all-round monitoring of users' Internet access.
[0037] 7. This innovative zero-trust protection approach not only improves network security, but also reduces large-scale transformation of network infrastructure, thereby reducing implementation costs and risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A schematic diagram of the contents of the P-Token of the present invention;
[0039] Figure 2 It is a schematic diagram of the overall verification process of the present invention. DETAILED DESCRIPTION
[0040] The specific implementation manner and working principle of the present invention are further described in detail below with reference to the accompanying drawings.
[0041] A zero-trust protection method based on transforming network frames, including:
[0042] 1) The user verification software and hardware sends a request to the secondary network device, the request includes a TCP message, a short hash of application information, a timestamp generated at the current time, and the user's ID, wherein the TCP message reserves unwritten byte space, and the byte space reserved for writing the P-Token is less than or equal to 32 bytes;
[0043] 2) After the secondary network device receives the TCP message, the secondary network device identifies that the TCP message does not include P-Token information, and then checks whether the TCP message includes the destination IP sent to the authentication root server;
[0044] The TCP message includes a destination IP sent to the authentication root server, and the secondary network device forcibly forwards the TCP message to the authentication root server;
[0045] If the TCP message does not include the destination IP sent to the authentication root server, the secondary network device discards the TCP message;
[0046] 3) The authentication root server receives the TCP message and verifies the content of the TCP message, wherein the content includes login information, account number and password;
[0047] If the verification fails, the authentication root server discards the TCP message;
[0048] If the verification is passed, the authentication root server randomly generates a 32-bit hexadecimal string U-Token, and the U-Token corresponds to the user ID of the request;
[0049] 4) The secondary network device forwards the new TCP message to the verification software and hardware;
[0050] 5) The verification software and hardware write the byte space of P-Token in the reserved byte space of the TCP message; wherein the P-Token includes a short hash byte space for application information, a timestamp byte space, a user ID byte space, and a short hash byte space for verification information, wherein the verification information includes application information, U-Token, timestamp, and user ID; and also includes a padding byte space, wherein the padding byte space is used to fill the P-Token with a specific byte length that meets the requirements of the TCP message specification, and '0' is used as fixed data for padding;
[0051] Verify that the software and hardware add the P-Token to the TCP message requested by the user later within a preset time; obtain a new TCP message containing the P-Token;
[0052] 6) The secondary network device receives the new TCP message, and the secondary network device indexes the U-Token corresponding to the user ID on the authentication root server;
[0053] The secondary network device calculates the U-Token corresponding to the user ID, the user ID, the timestamp and the short hash value of the application information included in the new TCP message, and obtains a short hash value of the verification information, and compares the short hash value of the verification information with the short hash value of the original verification information in the new TCP message;
[0054] If they are the same, the verification is passed and the TCP message continues to be sent to the next level;
[0055] If they are different, the authentication fails, the TCP message is discarded, and the authentication root server is informed.
[0056] In a preferred specific embodiment:
[0057] The application information short hash is the result of hashing the application data. It is used to verify whether the data has been tampered with or damaged during transmission and to identify the initiated application content.
[0058] Timestamp, which is the timestamp when the TCP packet body is constructed, records the time when the U-Token is generated, determines the validity period of the data or checks whether the data has expired;
[0059] User ID is a unique identifier that identifies the owner of the data or the relevant user, indicates the owner of the data or the relevant user, and tracks the ownership and access control of the data;
[0060] The short hash of the verification information is composed of application information, U-Token, timestamp and user ID, and a hash calculation is performed to obtain the short hash value of the pass token, which is used to verify that the P-Token itself has not been tampered with or damaged; wherein, the U-Token is a random string generated by the authentication root server to represent the user verification information.
[0061] In a preferred specific embodiment:
[0062] The hardware transformation of secondary network equipment includes:
[0063] A1. Burn the RTL8367RB chip-specific firmware code into the Flash storage chip of the secondary network device to realize the verification function of the secondary network device;
[0064] A2. The firmware code presets a verification mechanism to check and judge the received TCP message data packet, and decides to forward or discard the data packet according to the verification result;
[0065] A3. For the TCP message data packet that needs to be forwarded, the secondary network device sends the forwarded TCP message data packet out from the port to complete the data exchange and transmission;
[0066] A4. For the TCP message data packets that need to be discarded in A2, the secondary network device directly discards the discarded TCP message data packets to achieve security control of network data;
[0067] A5. Configure the registers of the RTL8367RB chip;
[0068] A6. After completing A1-A5, the secondary network equipment is repeatedly tested until it passes.
[0069] The experimental example provides a zero-trust protection method based on the transformation of network frames. The specific method includes the following steps:
[0070] Step 1: Build the overall software and hardware architecture design content
[0071] The zero-trust protection method of this embodiment is divided into two routes: internal access and external access.
[0072] For internal access, the specific process is as follows: the user uses a dedicated user security authentication agent software and hardware device to add user authentication information to the TCP message. For requests from unauthenticated users, the secondary network device will forcefully forward the TCP message to the authentication root server after receiving it. The authentication root server performs login authentication with the user.
[0073] After the authentication is passed, the authentication server generates a U-Token and sends it to the user's security authentication agent software and hardware device. The U-Token is the user's pass token, which is a randomly generated 32-bit hexadecimal string, representing that the user has logged in. At the same time, it is dynamically configured and sent to the secondary network device, containing the package verification information P-Token of the short hash of the pass token. The P-Token is the package verification information and its full name is "verification information containing the short hash of the pass token". This information is used for verification on the secondary network device and is transmitted back to the user's security authentication agent software and hardware device through the secondary network device.
[0074] During the validity period, the user security authentication agent software and hardware equipment will add verification information to the user information. After the secondary network device recognizes the legal verification information, it sends the TCP message to the next level.
[0075] For external access, users establish a tunnel after the login process through a dedicated user security authentication agent software and hardware device, access the external authentication agent, and access the intranet through the external agent. The agent is a proxy server used to forward requests.
[0076] In the zero-trust protection method of the present invention, if the secondary network device identifies an abnormal request, it will report it to the threat intelligence data center. At the same time, the authentication root server needs to synchronize the authentication records and abnormal reports throughout the process.
[0077] When the information comes from an external unauthenticated request, the external user needs to use the user security authentication agent software and hardware device to add the user's basic information to the TCP message, and pass the firewall inspection, and then forward it to the external authentication dedicated agent, and the dedicated agent forwards it to the secondary network device. After receiving the request, the secondary network device forwards the TCP message to the authentication root server. After receiving the TCP message, the authentication root server will first check the user's basic information for verification. If the inspection passes, a U-Token will be generated and sent to the secondary network device at the same time. The package verification information (P-Token) containing the short hash of the pass token will be returned to the user security authentication agent software and hardware device through the secondary network device. If it fails, the abnormal request will be reported to the threat intelligence data center. At the same time, the authentication root server also needs to synchronize the authentication records and record the abnormal report throughout the process, and return the verification information (P-Token) containing the short hash of the pass token to the user security authentication agent software and hardware device through the secondary network device. After that, the user's information will be added with verification information by the user security authentication agent software and hardware device within the valid time. The secondary network device recognizes that there is legal verification information and issues the TCP message to the next level.
[0078] Step 2: Perform network frame transformation based on the overall hardware and software architecture built in step 1
[0079] TCP / IP (Transmission Control Protocol / Internet Protocol) is a network protocol suite that is the basis of Internet communications. It includes the physical layer, data link layer, network layer, transport layer, and application layer. Among them, the Transmission Control Protocol TCP working at the transport layer is responsible for reliable data transmission, and the User Datagram Protocol UDP working at the transport layer is responsible for connectionless transmission. In this protection method, only TCP transmission is allowed.
[0080] The TCP message header is an important part of the TCP protocol, including the source port number, destination port number, sequence number, acknowledgment number, data offset, reserved bit, control bit (URG, ACK, PSH, RST, SYN, FIN), window size, checksum, urgent pointer and optional option field. These fields together define the control and data transmission process of the TCP connection, such as data sorting, confirmation, flow control, etc. Through the TCP message header, the sender and receiver can coordinate the transmission of data and ensure the reliability and integrity of communication. According to RFC 793: Transmission Control Protocol - RFC Editor, Options may occupy space at the end of the TCP header and are a multiple of 8 bits in length. All options are included in the checksum. An option may begin on any octetboundary. There are two cases for the format of an option. The optional option field of the TCP message header can occupy space at the end of the TCP header, with a length of multiples of 8 bits, and all options are included in the checksum. Options can start on any octet boundary. According to the TCP protocol, TCP provides an optional option field with a maximum of 40 bytes, including the following possible occupancy:
[0081] 1. MSS option: used to inform the other party of the maximum segment size to improve transmission efficiency.
[0082] 2. Window Scale option: Enlarges the TCP window to improve throughput on high-bandwidth, long-latency networks.
[0083] 3. SACK option: Implements selective acknowledgment to efficiently retransmit lost data and improve performance.
[0084] 4. Timestamp option: used to calculate the round-trip time (RTT) to improve congestion control and retransmission mechanisms.
[0085] Taking these possible options into account, the optional option field has a maximum of 32 bytes of space left for writing the P-Token.
[0086] P-Token Content Integration Figure 1 , P-Token includes:
[0087] 1. Short hash of application information (6 bytes): The result of hashing the name of the currently used application, used to verify whether the data has been tampered with or damaged during transmission and to identify the initiating application;
[0088] 2. Timestamp (8 bytes): This is the timestamp when the package is built. It usually uses a standard time format to record the time when the token is generated, determine the validity period of the data, or check whether the data is outdated.
[0089] 3. User ID (4 bytes): a unique identifier that identifies the owner of the data or the relevant user, indicates the owner of the data or the relevant user, and tracks the ownership and access control of the data;
[0090] 4. Short hash of the pass token (6 bytes): The pass token is composed of the short hash of the application information, U-Token, timestamp and user ID, and the short hash of the pass token is obtained by hash calculation. It is used to verify that the P-Token itself has not been tampered with or damaged to ensure the reliability of the entire verification process;
[0091] 5. Padding (8-bit byte): used to fill P-Token to meet the specific byte length required by the TCP message specification. It uses '0' as fixed data for padding to facilitate transmission and processing.
[0092] In total, the 32-bit P-Token is used to verify data integrity, determine the generation time, indicate the data owner, and verify the integrity of the P-Token itself, thereby ensuring data security and reliability. The P-Token is added to the network frame to achieve the transformation of the network frame.
[0093] During the overall verification process, the user generates basic information (including user application information and user ID) through the security proxy software and hardware, puts it in the 32 bits specified above, and sends it to the secondary network device through a TCP message. After the secondary network device passes the whitelist verification, it forwards the TCP message to the authentication root server.
[0094] The authentication root server verifies the user's basic information. If the verification fails, the TCP message is intercepted. If the verification passes, a U-Token is randomly generated for the user. The authentication root server sends the U-Token and dynamic rules to the secondary network device.
[0095] The secondary network device generates a pass token based on the user application information, U-Token, the timestamp generated at the current time, and the user's ID, calculates the short hash of the pass token, and completes the P-Token generation. The secondary network device forwards the TCP message containing the P-Token to the user's verification software and hardware for storage.
[0096] The verification software and hardware used by the user sends a request and adds verification information to the TCP message sent by the user later within the valid time. The software and hardware adds verification information to the TCP message sent by the user, and then forwards it to the secondary network device to index the corresponding user's U-Token, calculate the short hash of (the short hash of the user's application information concatenated with the user's U-Token concatenated with the timestamp concatenated with the user ID), and compare it with the value of the fourth segment of the pass token of the verification message. If they are the same, the two pass the verification, and the TCP message is sent to the next level; if not, the TCP message is intercepted and notified to the authentication root server.
[0097] The overall verification process is as follows Figure 2 As shown:
[0098] 1. The user requests to send a normal TCP message, which is forwarded to the secondary network device.
[0099] 2. After receiving the TCP message, the secondary network device verifies the user's identity through the whitelist, but fails to recognize the P-Token and forcibly forwards the TCP message to the authentication root server.
[0100] 3. After receiving the TCP message, the authentication root server verifies the user's verification message. If the verification fails, the TCP message is intercepted; if the verification passes, a U-Token is randomly generated for the user.
[0101] 4. Based on the user's application information, U-Token, the timestamp generated by the current time, and the user's ID, the authentication root server generates a server-side P-Token and calculates the short hash of the P-Token. Then, the authentication root server completes the P-Token generation and records the user information. At the same time, it issues dynamic rules to the secondary network device and returns the U-Token to the user.
[0102] 5. The proxy software and hardware used by the user receives the U-Token and adds a P-Token to the TCP packets sent by the user afterwards within the validity period.
[0103] 6. When the secondary network device receives a TCP message containing a P-Token, it regenerates the short hash of the pass token in the P-Token based on the U-Token corresponding to the user ID, and compares it with the short hash of the pass token carried in the P-Token to ensure that the P-Token has not been tampered with.
[0104] 7. The secondary network device compares the calculated P-Token with the P-Token on the server side in the dynamic rule (the timestamp is not involved in the calculation in this step). If they are the same, the verification is passed and the TCP message continues to be sent to the next level; if it fails, the TCP message is intercepted and the authentication root server is informed.
[0105] Step 3: Design the agent software and hardware
[0106] The design of user security proxy software and hardware needs to consider the collection and storage of user information, as well as the management and protection of pass tokens. Users cannot directly obtain U-Token information, but obtain pass tokens containing U-Token information through security proxy software and hardware. The security proxy software and hardware is responsible for adding verification information to the information transmitted by the user. According to different security requirements, different types of security proxy software and hardware can be selected, including:
[0107] 1. Software: TUN network card-level proxy:
[0108] The agent software initiates a login request to the user and obtains the U-Token after successful login;
[0109] Use TUN network card-level proxy technology to install a virtual network interface on the user's device, proxy all user traffic, and add P-Token to the TCP packet calculation in the user's traffic;
[0110] Use virtual network device TUN / TAP to simulate network layer devices to redirect and control traffic;
[0111] The proxy software initiates a login request to the user, and after successful login, it acts as the proxy for the user's traffic;
[0112] Monitor the user's authentication page in real time to ensure the timeliness and accuracy of user authentication;
[0113] User information collected includes: username, IP address, device type, operating system version;
[0114] 2. Network card hardware (such as USB network card / wireless network card):
[0115] The U-Token information is stored in the network card, and users cannot directly obtain the U-Token information, thus ensuring the security of transmission;
[0116] The collected user information includes: MAC address, device model, and connection status;
[0117] The proxy program runs in the USB network card device instead of the user's computer, which improves the security of the program.
[0118] 3. Network card hardware with authentication device (such as USB / wireless network card with joint biometrics):
[0119] It integrates authentication technologies such as biometrics to further enhance the security of user authentication.
[0120] The collected user information may include: biometric information (such as fingerprints, face recognition), user authentication status, etc.
[0121] These security proxy software and hardware are designed with emphasis on the security and privacy protection of user information, and ensure the legitimacy of user identity and the integrity of transmitted data through effective identity authentication and data encryption.
[0122] Step 4: Based on step 3, transform the secondary network equipment
[0123] In this step, various types of network devices are involved, among which the secondary network device is the core component of the entire network. The following takes a common 5-port Gigabit secondary network device as an example to explain its transformation process in detail.
[0124] Hardware selection:
[0125] Main control chip: RTL8367RB (or similar chip)
[0126] Memory: Flash memory chip
[0127] Other basic components include power module, RJ45 network cable interface, circuit board, heat sink and casing.
[0128] The transformation steps include:
[0129] 1. Burn the RTL8367RB-specific firmware code into the Flash memory chip. This firmware needs to implement the secondary network device verification function mentioned above.
[0130] 2. The firmware code needs to check and judge the received data packet according to the predetermined verification mechanism, and decide whether to forward or discard the data packet based on the verification result.
[0131] 3. For data packets that need to be forwarded, the secondary network device sends them out from the corresponding port to complete data exchange and transmission.
[0132] 4. For data packets that need to be discarded, the secondary network device will directly discard them and no longer perform subsequent forwarding operations to achieve security control of network data.
[0133] 5. By configuring the registers of the RTL8367RB chip, the working mode, port properties and other parameters of the secondary network device can be set to meet the specific needs of the project.
[0134] 6. After completing the firmware burning and configuration, repeatedly test the secondary network equipment to ensure that it can work normally and meet the verification and forwarding requirements of the project.
[0135] Through the above steps, the transformation of the 5-port Gigabit secondary network device can be completed, making it an intelligent network device with verification and control functions. The same transformation principle and process can also be applied to other types of secondary network devices, such as routers, gateways, etc., to build a safe and reliable network environment.
[0136] By selecting hardware and modifying firmware for secondary network devices, data packet verification and control functions can be realized to meet the requirements of network security and reliable transmission. The economical RTL8367RB chip and Flash memory can be selected for modification, which can significantly reduce the hardware cost of the project and improve economic benefits. The modified secondary network devices have good scalability and can easily expand and upgrade functions through register configuration and firmware code modification. In addition, the selected hardware has excellent compatibility with a variety of devices and can be seamlessly integrated into the existing network environment.
[0137] Step 5: Complete the design of the authentication root server
[0138] The design of the authentication root server includes:
[0139] 1. Identity management and authentication: Provide multi-factor authentication and conditional access verification to ensure the security and credibility of user identities.
[0140] Integrate with existing identity providers (such as AD, LDAP) to achieve a unified identity management and authentication system.
[0141] When a user requests to log in, a U-Token is generated for the user.
[0142] Centrally manage and store identity information of users, devices, services, etc., including user credentials, device identifiers, etc.
[0143] 2. Policy management and authorization:
[0144] Continuously manage the user's login status to achieve dynamic monitoring and control of user behavior.
[0145] Dynamic rules are issued to secondary network devices to implement network access control based on user identity, device status and other information.
[0146] Supports fine-grained authorization based on multiple dimensions such as roles, attributes, and environments to ensure that users obtain appropriate access rights.
[0147] Integrate with existing policy management systems, such as KACML (XACML), to achieve unified management and execution of policies.
[0148] 3. Device management and trusted assessment:
[0149] Manage the device list, including device attributes, status and other information, to achieve comprehensive management of devices.
[0150] Evaluate the security status and credibility of devices, such as checking device patches, anti-virus software, etc., to ensure network security and stability.
[0151] Realize automated and large-scale equipment management, reduce manual intervention and improve management efficiency.
[0152] Integrate with existing enterprise protection equipment, such as firewalls, intrusion detection systems, etc., to jointly build a comprehensive security protection system.
[0153] Step 6: Complete the design of the backend management system on the authentication root server
[0154] The management backend design covers functions such as user management, user operation monitoring and user traffic monitoring:
[0155] 1. User management:
[0156] User information management: Provides functions for entering, editing and deleting user information, including user name, password, permissions and other user information.
[0157] User rights management: supports the allocation and management of user rights, and can control rights based on user roles or organizational structures to ensure that users can only access the functions and data they need.
[0158] User group management: Classify and manage users according to different organizational structures or roles to simplify the complexity of permission allocation and user management.
[0159] User authentication method management: Support multiple user authentication methods, such as username and password authentication, multi-factor authentication, etc., to meet the needs of different security levels.
[0160] 2. User operation monitoring:
[0161] Real-time monitoring of user operations: Monitor user operations in the system, including login, access, modification and other operations, as well as operation time, IP address and other information.
[0162] Abnormal operation detection: Identify and alarm abnormal user operation behaviors, such as illegal login, unauthorized operation, etc., and take timely response measures to protect system security.
[0163] Operation log record: records the user's operation history, including operation content, execution results, etc., to provide support for future auditing and tracing.
[0164] 3. User traffic monitoring:
[0165] Real-time monitoring of user traffic: Monitor the user's data traffic usage in the system, including upload, download and other operations, as well as the source and destination of the traffic.
[0166] Traffic analysis and statistics: Analyze and count user traffic, including traffic size, frequency, trend, etc., to provide reference for system performance optimization and resource planning.
[0167] Traffic limitation and adjustment: Based on the results of real-time monitoring, user traffic is limited or adjusted to ensure the stability and fairness of the system and prevent malicious attacks or abuse.
[0168] The above description is only a specific implementation mode of the present invention. Any feature disclosed in this specification, unless otherwise stated, can be replaced by other alternative features that are equivalent or have similar purposes; all disclosed features, or all steps in the methods or processes, except for mutually exclusive features and / or steps, can be combined in any way; any non-essential additions and substitutions made by technicians in this field based on the technical features of the technical solution of the present invention belong to the protection scope of the present invention.
Claims
1. A zero-trust protection method based on network frame transformation, characterized in that: include, 1) The user verification software and hardware sends a request to the secondary network device, wherein the request includes a TCP message, a short hash of application information, a timestamp generated at the current time, and the user's ID, wherein the TCP message reserves unwritten bytes; 2) After receiving the TCP message, the secondary network device identifies that the TCP message does not include P-Token information, and then checks whether the TCP message includes the destination IP sent to the authentication root server; If the TCP message includes the destination IP, the secondary network device will forcibly forward the TCP message to the authentication root server; If the TCP message does not include the destination IP, the secondary network device discards the TCP message; 3) The authentication root server receives the TCP message and verifies the content of the TCP message, wherein the content of the TCP message includes login information, account number and password; If the verification fails, the authentication root server discards the TCP message; If the verification is passed, the authentication root server randomly generates a U-Token, which corresponds to the user ID of the request, and the U-Token is fed back to the user verification software and hardware through the secondary network device; 4) The verification software and hardware generates a P-Token based on the U-Token, wherein the P-Token includes an application information short hash byte, a timestamp byte, a user ID byte, and a verification information short hash byte, wherein the verification information includes application information, U-Token, timestamp, and user ID; 5) The verification software and hardware write the P-Token into the reserved unwritten bytes of the TCP message requested by the user later within a preset time; obtain a new TCP message containing the P-Token, and send it to the secondary network device; 6) The secondary network device receives the new TCP message, and the secondary network device indexes the U-Token corresponding to the user ID on the authentication root server; The secondary network device calculates the U-Token corresponding to the user ID, the user ID, the timestamp and the short hash value of the application information included in the new TCP message, and obtains a short hash value of the verification information, and compares the short hash value of the verification information with the short hash value of the original verification information in the new TCP message; If they are the same, the verification is passed and the TCP message continues to be sent to the next level; If they are different, the authentication fails, the TCP message is discarded, and the authentication root server is informed.
2. According to claim 1, the zero-trust protection method based on transforming network frames is characterized in that: The bytes of the P-Token are less than or equal to 32 bytes.
3. The zero-trust protection method based on network frame transformation according to claim 2 is characterized in that: The U-Token is a 32-bit hexadecimal string.
4. The zero-trust protection method based on network frame transformation according to claim 3 is characterized in that: The application information short hash is the result of hashing the application data, and is used to verify whether the data has been tampered with or damaged during transmission and to identify the initiated application content; The timestamp is used to record the time when the U-Token is generated and to determine the validity period of the data or check whether the data has expired; The user ID is a unique identifier that identifies the owner of the data or the relevant user, indicates the owner of the data or the relevant user, and tracks the ownership and access control of the data; The verification information short hash is composed of application information, U-Token, timestamp and user ID, and a short hash value of the pass token is obtained by hash calculation, which is used to verify that the P-Token itself has not been tampered with or damaged; wherein, the U-Token is a random string generated by the authentication root server.
5. The zero-trust protection method based on network frame transformation according to claim 4 is characterized in that: Also includes, The padding is used to fill the P-Token to meet the byte length required by the TCP message specification, and '0' is used as fixed data for padding.
6. The zero-trust protection method based on network frame transformation according to claim 1 is characterized in that: The user verification software and hardware is a TUN network card-level agent, which adds P-Token to TCP message calculation and stores U-Token.
7. The zero-trust protection method based on network frame transformation according to claim 1 is characterized in that: The user verification software and hardware is a network card hardware, which adds a P-Token to the TCP message calculation and stores a U-Token.
8. The zero-trust protection method based on transforming network frames according to any one of claims 1 to 7, characterized in that: The secondary network device is a switch.
Citation Information
Patent Citations
Smart home control system and method, and information data processing terminal
CN111061159A
Zero-trust network security system
CN111314282A
Zero-trust power Internet of Things equipment and user real-time trust degree evaluation method
CN112055029A
Method and device for designing secure interaction protocol in energy internet scene
CN115118756A
Encrypted traffic inspection in a cloud-based security system
US20210344511A1
