Intranet file distribution method and system based on zero trust

By adopting the zero-trust architecture and the principle of least privilege in the intranet file distribution system, secure transmission and dynamic access control of intranet files are achieved, solving the security and efficiency problems of traditional intranet file sharing services, and providing a higher security and flexibility.

CN118540128APending Publication Date: 2024-08-23SHANGHAI HAPPY INTERACTIVE ENTERTAINMENT NETWORK TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410648820.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Traditional intranet file sharing services rely on intranet trust, lack strict authentication and access control, are susceptible to internal threats, and are difficult to adapt to remote working models, leading to security and efficiency issues.

Method used

Adopt an intranet file distribution method and system based on zero trust, and ensure the security of files during storage, transmission and access through continuous verification and the principle of least privilege between the service center and execution units, dynamically adjust access permissions, and real-time Monitor file distribution activity.

Benefits of technology

It improves security and access control accuracy, reduces internal threats and data leakage risks, enhances supervision capabilities, adapts to various network environments, and provides efficient file distribution and good user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540128A
    Figure CN118540128A
Patent Text Reader

Abstract

The invention belongs to the technical field of network security, and particularly relates to an intranet file distribution method and system based on zero trust, and the method comprises the steps that a service center receives a file sharing instruction of a business arrangement center; the service center sends a file compression request; the execution unit compresses the source file and returns success and an MD5 code of the file to the service center; the service center sends a sharing instruction to execution units of all shared files; after receiving the sharing instruction, the execution unit is in two states: the execution unit has a corresponding sharing file, and the execution unit enters a file sharing service state as an execution unit server; if the execution unit does not have a corresponding shared file, the execution unit enters a file downloading state as an execution unit client; and verification is carried out between the execution units, so that the file is downloaded. The method has the main advantages that the security is improved, the attack surface is reduced, the dynamic access control is realized, the supervision capability, flexibility and expandability are improved, the user experience is enhanced, and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technology, and in particular to a zero-trust-based intranet file distribution method and system. Background Art

[0002] As cybersecurity threats increase, enterprises and organizations are paying more and more attention to the security of internal networks. Traditional network security models usually rely on strengthening network boundaries to prevent intrusion from external attackers. However, once attackers bypass these boundary defenses, internal network resources can be easily leaked or damaged. The zero-trust security model proposes a different security concept, namely "never trust, always verify". This model no longer assumes that the internal network is secure, but requires strict authentication and authorization for every request even within the internal network.

[0003] In the context of file distribution systems, the zero trust model pays special attention to how to ensure the secure transmission and access control of files in the intranet. In the intranet file distribution system, it is necessary to ensure the security of files during storage, transmission and access to prevent unauthorized data leakage and tampering. In addition, the system also needs to ensure the efficiency of file distribution to meet the needs of large organizations for fast data sharing.

[0004] Currently, traditional intranet file sharing services are used: such as SMB (Server Message Block) protocol, NFS (Network File System), etc. They rely on intranet security and usually do not involve strict verification of each file access.

[0005] The main disadvantages of traditional intranet file sharing services such as SMB and NFS include:

[0006] 1. Security depends on intranet trust: These services usually assume that the intranet is trustworthy. Once the intranet is invaded, attackers can easily access shared resources.

[0007] 2. Lack of fine-grained access control: The access control provided by SMB and NFS is often coarse and does not support context-based dynamic access control.

[0008] 3. Susceptible to insider threats: Insiders (such as employees) with malicious intent may abuse their access rights, resulting in data leakage or damage.

[0009] 4. Lack of multi-factor authentication: These protocols usually do not support multi-factor authentication, making access verification less stringent.

[0010] 5. Insufficient transmission encryption: Early versions of the SMB and NFS protocols may not use encryption in data transmission, making the data easy to be intercepted during transmission.

[0011] 6. Excessive horizontal permissions: Once a user is granted access to a resource, they may access all resources of the same level, regardless of whether there is an actual need.

[0012] 7. Lack of real-time monitoring and automated response: These services often lack real-time monitoring of file access behavior and automated response mechanisms to abnormal behavior.

[0013] 8. Difficulty adapting to remote work mode: With the popularity of remote work, traditional intranet file sharing services may face performance and security challenges in remote access. Summary of the invention

[0014] The purpose of the present invention is to solve the technical problems existing in the background technology. To this end, a zero-trust-based intranet file distribution method and system are provided, which does not trust any intranet system or user device by default, but ensures the security of the system through continuous verification and the principle of least privilege.

[0015] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0016] A zero-trust-based intranet file distribution method includes the following steps:

[0017] Step S1: The service center receives a file sharing instruction;

[0018] Step S2: The service center sends a compressed file request to the execution unit holding the source file;

[0019] Step S3: The execution unit in step S2 compresses the source file, and after the compression is completed, returns success and the MD5 code of the file to the service center;

[0020] Step S4: The service center sends a sharing instruction to all execution units of the shared files;

[0021] Step S5: After receiving the sharing instruction, the execution unit is in two states:

[0022] The execution unit already has the corresponding shared file, and the execution unit enters the file sharing service state as the execution unit server;

[0023] The execution unit does not have the corresponding shared file, and the execution unit enters the file download state as an execution unit client;

[0024] Step S6: the execution unit client and the execution unit server exchange public keys, and verify the configuration data of the exchanged public keys with each other;

[0025] If the configuration data of the public key is consistent, the execution unit client downloads the corresponding shared file from the execution unit server;

[0026] If the configuration data of the public key is inconsistent, the connection between the execution unit client and the execution unit server is terminated.

[0027] The following is a technical solution further defined in the intranet file distribution method of the present invention, wherein the execution unit client and the execution unit server respectively hold a set of asymmetric encryption keys, wherein the asymmetric encryption keys include a public key and a private key; during the data transmission process, the public keys of the execution unit client and the execution unit server are first exchanged, the execution unit server encrypts the shared file with its own private key and transmits it to the execution unit client, and the execution unit client uses the public key obtained through the exchange to decrypt the encrypted file data.

[0028] The following is a further technical solution of the intranet file distribution method in the present invention, which includes:

[0029] During the public key exchange process between the execution unit server and the execution unit client, the public key exchanged by the execution unit client is verified according to the command configuration issued to see if it is consistent with the configuration; if not, the connection is terminated;

[0030] If they are consistent, the execution unit server receives the PING request from the execution unit client and returns a success message, indicating that the request link is unobstructed;

[0031] The execution unit server receives the file download request from the execution unit client and sends the file to the execution unit client.

[0032] The following is a further technical solution of the intranet file distribution method in the present invention, which includes:

[0033] During the public key exchange process between the execution unit client and the execution unit server, the public key exchanged by the execution unit server is verified according to the command configuration issued to see if it is consistent with the configuration; if not, the connection is terminated;

[0034] If they are consistent, the execution unit client requests a PING from the execution unit server to verify that the request link is unobstructed;

[0035] The execution unit client requests the execution unit server to download the corresponding shared file;

[0036] Verify whether the downloaded file MD5 is a complete file;

[0037] If it is a complete file, the execution unit enters the file sharing service state and shares the file as a sharing node.

[0038] The following is a further technical solution of the intranet file distribution method of the present invention. In step S4, the sharing instruction sent by the service center includes but is not limited to:

[0039] Sharing port: used for the execution unit to open the HTTP service for sharing files;

[0040] ServerCert / Key: Asymmetric encryption key for HTTP file sharing service;

[0041] ClientCert / Key: Asymmetric encryption key used to request HTTP file service to download shared files;

[0042] Synchronized file list: used to download or share synchronized files and their MD5 codes, and to verify the integrity of received files.

[0043] An intranet file distribution system based on zero trust includes a business orchestration center, a service center and multiple execution units, wherein a communication connection is established between the business orchestration center and the service center, and multiple execution units respectively establish communication connections with the service center;

[0044] The business orchestration center is used to compile and sort different file distribution tasks, and send file sharing instructions to the service center based on the file distribution tasks;

[0045] The service center is used to receive file sharing instructions from the business orchestration center, dynamically adjust the access rights of different execution units, monitor and record the file distribution activities of the execution units in real time to form access logs, send compressed file requests to the execution units holding the source files, and send sharing instructions to all execution units that share files;

[0046] The execution unit is an intranet system or device operated by different users, which is used to carry out file distribution activities in real time;

[0047] Based on each access request from the execution unit to the service center, the service center sends a server certificate or a client certificate to the execution unit.

[0048] The following is a technical solution further defined by the intranet file distribution system in the present invention: the execution unit receives the server certificate sent by the service center, thereby obtaining access rights as the server of the execution unit; the execution unit receives the client certificate sent by the service center, thereby obtaining access rights as the client of the execution unit; according to the behavior, role, and request content of the execution unit, the service center dynamically adjusts the access rights of the execution unit.

[0049] The following is a technical solution further defined by the intranet file distribution system in the present invention. After the execution unit obtains access rights, it receives instructions sent by the service center.

[0050] The following is a technical solution further defined by the intranet file distribution system in the present invention. After receiving the instruction sent by the service center, a communication connection is established between the execution units, so that the file distribution activity occurs: first, the exchanged public key is verified; secondly, the PING request and the file download request are verified in turn; finally, the integrity of the downloaded file is verified.

[0051] Compared with the prior art, the present invention has the following technical effects:

[0052] 1. Improved security: Following the principle of least privilege, only verified and authorized users and devices can access files in the system, reducing the risk of internal threats and data leakage.

[0053] 2. Reduce the attack surface: Through the zero trust framework, even if an attacker breaks into the intranet, it is difficult for them to move laterally or access sensitive files because each access requires re-authentication.

[0054] 3. Dynamic access control: The system can evaluate the contextual information of access requests in real time and dynamically adjust access permissions to ensure the accuracy and compliance of file distribution.

[0055] 4. Improve supervision capabilities: The system records detailed access logs to facilitate monitoring and auditing the distribution process of files, and to detect and respond to abnormal behaviors in a timely manner.

[0056] 5. Flexibility and scalability: The system can adapt to a variety of network environments and file types, and can be easily expanded to meet the file distribution needs of intranet environments of different sizes.

[0057] 6. Enhanced user experience: While users enjoy higher security, the simplicity and transparency of the system design also ensure a good user experience.

[0058] The present invention is further described below in conjunction with the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0060] Figure 1 It is a schematic diagram of the process of the method of the present invention;

[0061] Figure 2 It is a connection block diagram of the system in the present invention. DETAILED DESCRIPTION

[0062] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.

[0063] like Figure 1 and 2 As shown, a zero-trust-based intranet file distribution method and a zero-trust-based intranet file distribution system are provided.

[0064] like Figure 1 As shown, a method for distributing intranet files based on zero trust includes the following steps:

[0065] Step S1: The service center receives a file sharing instruction sent by the business orchestration center.

[0066] Step S2: The service center sends a compression file request to the execution unit holding the source file. It should be noted that the service center sends the request to all execution units in a unidirectional manner. Among all the execution units, some execution units hold the source file, while some execution units do not. The execution unit without the source file does not need to perform the compression operation according to the request, and the execution unit holding the source file performs the compression operation according to the request.

[0067] Step S3: The execution unit holding the source file in step S2 compresses the source file, and after the compression is completed, returns a success and the MD5 code of the file to the service center. Thus, the service center can determine whether the execution unit holds the detailed information of the source file and obtain the MD5 code for subsequent verification of the integrity of the file.

[0068] Step S4: The service center sends a sharing instruction to all execution units of the shared file. The sharing instruction includes but is not limited to:

[0069] Sharing port: used for the execution unit to open the HTTP service for sharing files;

[0070] ServerCert / Key: Asymmetric encryption key for HTTP file sharing service;

[0071] ClientCert / Key: Asymmetric encryption key used to request HTTP file service to download shared files;

[0072] Synchronized file list: used to download or share synchronized files and their MD5 codes, and to verify the integrity of received files.

[0073] Step S5: After receiving the sharing instruction, the execution unit is in two states:

[0074] 1) The execution unit already has the corresponding shared file, and the execution unit enters the "file sharing service state" as the execution unit server.

[0075] When the execution unit server enters the "file sharing service state", it includes:

[0076] During the public key exchange process between the execution unit server and the execution unit client, the public key exchanged by the execution unit client is verified according to the issued instruction configuration (the configuration data of the public key depends on the issued instruction configuration) to see if it is consistent with the configuration. If not, the connection is terminated.

[0077] If they are consistent, the execution unit server receives the PING request from the execution unit client and returns success, indicating that the request link is unobstructed.

[0078] The execution unit server receives the file download request from the execution unit client and sends the file to the execution unit client.

[0079] 2) The execution unit does not have the corresponding shared file, and the execution unit enters the "file download state" as an execution unit client.

[0080] When the execution unit client enters the "file downloading state", it includes:

[0081] During the public key exchange process between the execution unit client and the execution unit server, the public key exchanged by the execution unit server is verified according to the issued instruction configuration (the configuration data of the public key depends on the issued instruction configuration). If not, the connection is terminated.

[0082] If they are consistent, the execution unit client requests a PING from the execution unit server to verify that the request link is unobstructed.

[0083] The execution unit client requests the execution unit server to download the corresponding shared file.

[0084] Verify whether the downloaded file's MD5 is a complete file.

[0085] If it is a complete file, the execution unit enters the file sharing service state and shares the file as a sharing node.

[0086] In the above method steps, the execution unit client and the execution unit server respectively hold a set of asymmetric encryption keys, wherein the asymmetric encryption keys include a public key and a private key; during the data transmission process, the public keys of the execution unit client and the execution unit server are first exchanged, the execution unit server encrypts the shared file with its own private key and transmits it to the execution unit client, and the execution unit client uses the public key obtained through the exchange to decrypt the encrypted file data.

[0087] like Figure 2 As shown, an intranet file distribution system based on zero trust includes a business orchestration center, a service center and multiple execution units, wherein a communication connection is established between the business orchestration center and the service center, and multiple execution units respectively establish communication connections with the service center.

[0088] The business orchestration center is used to compile and sort different file distribution tasks, so as to control which files are shared on the intranet or not; and based on the file distribution tasks, send file sharing instructions to the service center.

[0089] The service center is used to receive file sharing instructions from the business orchestration center, dynamically adjust the access rights of different execution units, monitor and record the file distribution activities of the execution units in real time to form access logs, send compressed file requests to the execution units holding the source files, and send sharing instructions to all execution units that share files.

[0090] The execution unit is an intranet system or device operated by different users, which is used for real-time file distribution activities. The execution unit can be a remotely operated authorized device, such as a device operated by an authorized customer; it can also be a company's internal network system, such as a device operated by a company employee.

[0091] Based on each access request from the execution unit to the service center, the service center sends a server certificate or a client certificate to the execution unit. Therefore, each access by the execution unit requires re-verification by the service center.

[0092] The execution unit receives the server certificate sent by the service center, thereby obtaining access rights as the server of the execution unit; the execution unit receives the client certificate sent by the service center, thereby obtaining access rights as the client of the execution unit; the service center dynamically adjusts the access rights of the execution unit according to the behavior, role, and request content of the execution unit. Everything is dynamically controlled by the service center, rather than based on a certain execution unit with a high default trust; therefore, the present invention can safely distribute files even in an intranet environment with a low trust.

[0093] After obtaining access rights, the execution unit receives various instructions sent by the service center, such as compressed file requests or sharing.

[0094] After receiving the instructions sent by the service center, a communication connection is established between the execution units, so that file distribution activities occur: first, the exchanged public keys are verified; secondly, the PING request and the file download request are verified in turn; finally, the integrity of the downloaded file is verified.

[0095] like Figure 2 As shown, the execution unit can establish a communication connection with the source server of the external network, thereby linking to the remote execution unit, and the intranet file distribution activity can also be carried out with the help of the source server.

[0096] In summary, in the intranet file distribution process of the present invention, all execution units need to receive instructions from the service center after obtaining access rights, and then perform verification between the execution units, and finally share files between the execution units; in this process, all execution units are not trusted by the service center, and a zero-trust architecture is realized. Based on the design of this zero-trust security architecture, files can be securely distributed even in an intranet environment with low trust; and only user devices that have been strictly authorized and verified can access and distribute files.

[0097] During the file transmission process, an asymmetric encryption key strategy is used to perform a one-time verification between execution units and ensure the confidentiality, security and integrity of the file during the transmission process.

[0098] The service center can monitor and record the file distribution activities of the execution unit in real time, so that it can conduct security audits and abnormal situation monitoring and early warning, and can also monitor abnormal operations of internal personnel. Furthermore, since each access between the execution unit and the service center requires permission, and each connection between the execution units requires verification, the addition of multi-factor authentication makes it impossible for the execution unit to access file resources of the same level. In other words, although the internal personnel have access rights, each of their accesses will be recorded and judged to be abnormal and each access needs to be re-verified, which greatly increases the difficulty for internal personnel to abuse access rights.

[0099] Due to the zero-trust framework of the above-mentioned strict access verification process, the intranet file distribution system of the present invention can authorize remote execution units without worrying about the vulnerability of the communication of the remote execution units. Even if it is invaded by external attackers, since each access needs to be re-verified, it is difficult for external attackers to move laterally or access sensitive files.

[0100] The execution unit client that obtains the complete file can also enter the file sharing service state to share the file. The efficiency of intranet file distribution is particularly high, and there will be no intranet network congestion. It is easy to expand to meet the file distribution needs of intranet environments of different sizes.

[0101] The above is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Any technician familiar with the art can make many possible changes and modifications to the technical solution of the present invention by using the above disclosed methods and technical contents without departing from the scope of the technical solution of the present invention, or modify it into an equivalent embodiment of equivalent changes. Therefore, all equivalent changes made according to the shape, structure and principle of the present invention without departing from the content of the technical solution of the present invention should be included in the protection scope of the present invention.

Claims

1. A zero-trust-based intranet file distribution method, characterized in that: The following steps are involved: Step S1: The service center receives a file sharing instruction; Step S2: The service center sends a compressed file request to the execution unit holding the source file; Step S3: The execution unit in step S2 compresses the source file, and after the compression is completed, returns success and the MD5 code of the file to the service center; Step S4: The service center sends a sharing instruction to all execution units of the shared files; Step S5: After receiving the sharing instruction, the execution unit is in two states: The execution unit already has the corresponding shared file, and the execution unit enters the file sharing service state as the execution unit server; The execution unit does not have the corresponding shared file, and the execution unit enters the file download state as an execution unit client; Step S6: the execution unit client and the execution unit server exchange public keys, and verify the configuration data of the exchanged public keys with each other; If the configuration data of the public key is consistent, the execution unit client downloads the corresponding shared file from the execution unit server; If the configuration data of the public key is inconsistent, the connection between the execution unit client and the execution unit server is terminated.

2. According to the zero-trust-based intranet file distribution method of claim 1, it is characterized in that: The execution unit client and the execution unit server each hold a set of asymmetric encryption keys, where the asymmetric encryption keys include a public key and a private key. During data transmission, the public keys of the execution unit client and the execution unit server are first exchanged, and the execution unit server encrypts the shared file with its own private key and transmits it to the execution unit client. The execution unit client uses the public key obtained through the exchange to decrypt the encrypted file data.

3. According to the zero-trust-based intranet file distribution method of claim 1, it is characterized in that: When the execution unit server enters the file sharing service state, it includes: During the public key exchange process between the execution unit server and the execution unit client, the public key exchanged by the execution unit client is verified according to the command configuration issued to see if it is consistent with the configuration; if not, the connection is terminated; If they are consistent, the execution unit server receives the PING request from the execution unit client and returns a success message, indicating that the request link is unobstructed; The execution unit server receives the file download request from the execution unit client and sends the file to the execution unit client.

4. According to the zero-trust-based intranet file distribution method of claim 3, it is characterized in that: When the execution unit client enters the file downloading state, it includes: During the public key exchange process between the execution unit client and the execution unit server, the public key exchanged by the execution unit server is verified according to the command configuration issued to see if it is consistent with the configuration; if not, the connection is terminated; If they are consistent, the execution unit client requests a PING from the execution unit server to verify that the request link is unobstructed; The execution unit client requests the execution unit server to download the corresponding shared file; Verify whether the downloaded file MD5 is a complete file; If it is a complete file, the execution unit enters the file sharing service state and shares the file as a sharing node.

5. According to the zero-trust-based intranet file distribution method of claim 1, it is characterized in that: In step S4, the sharing instructions sent by the service center include but are not limited to: Sharing port: used for the execution unit to open the HTTP service for sharing files; ServerCert / Key: Asymmetric encryption key for HTTP file sharing service; ClientCert / Key: Asymmetric encryption key used to request HTTP file service to download shared files; Synchronized file list: used to download or share synchronized files and their MD5 codes, and to verify the integrity of received files.

6. An intranet file distribution system based on zero trust, characterized in that: It includes a business orchestration center, a service center and a plurality of execution units, wherein a communication connection is established between the business orchestration center and the service center, and a plurality of execution units respectively establish communication connections with the service center; The business orchestration center is used to compile and sort different file distribution tasks, and send file sharing instructions to the service center based on the file distribution tasks; The service center is used to receive file sharing instructions from the business orchestration center, dynamically adjust the access rights of different execution units, monitor and record the file distribution activities of the execution units in real time to form access logs, send compressed file requests to the execution units holding the source files, and send sharing instructions to all execution units that share files; The execution unit is an intranet system or device operated by different users, which is used to carry out file distribution activities in real time; Based on each access request from the execution unit to the service center, the service center sends a server certificate or a client certificate to the execution unit.

7. The zero-trust-based intranet file distribution system according to claim 6, characterized in that: The execution unit receives the server certificate sent by the service center, thereby obtaining access rights as the server of the execution unit; the execution unit receives the client certificate sent by the service center, thereby obtaining access rights as the client of the execution unit; according to the behavior, role, and request content of the execution unit, the service center dynamically adjusts the access rights of the execution unit.

8. The zero-trust-based intranet file distribution system according to claim 7, characterized in that: After obtaining access rights, the execution unit receives instructions sent by the service center.

9. The zero-trust-based intranet file distribution system according to claim 8, characterized in that: After receiving the instructions sent by the service center, a communication connection is established between the execution units, so that file distribution activities occur: first, the exchanged public keys are verified; secondly, the PING request and the file download request are verified in turn; finally, the integrity of the downloaded file is verified.