Network security detection method, system, device and medium

By detecting network security risks and restricting operation permissions between the third-party platform and the cloud platform, the problem of network risks on the third-party platform is solved, the network security when users log in is improved, and the spread of security threats is prevented.

CN118659902AActive Publication Date: 2024-09-17JINAN INSPUR DATA TECH CO LTD

Patent Information

Application Number
CN202410706088.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-17
Estimated Expiration
2044-05-31

AI Technical Summary

Technical Problem

When there are network risks on third-party platforms, users' identity information may be stolen, causing security threats to applications on the cloud platform and causing serious security risks.

Method used

By detecting network security risks between third-party platforms and cloud platforms, creating single sign-on accounts, and restricting the account's operating permissions on the cloud platform when security risks are discovered, the security of user identity information is ensured.

Benefits of technology

It effectively reduces the scope of security risks, improves network security when users log in to the cloud platform through third-party platforms, and prevents malicious exploitation and unauthorized access.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118659902A
    Figure CN118659902A
Patent Text Reader

Abstract

The invention discloses a network security detection method, system and device and a medium, relates to the field of network security, and is used for solving the problem that a third-party platform has network risks. According to the scheme, the identity information of the user is received through the third-party platform, the single sign-on account is created on the cloud platform, the operation authority is configured, whether the security risk exists or not can be determined by detecting the network corresponding to the third-party platform and the cloud platform, and the operation authority of the account to the cloud platform is limited when the security risk is found. Therefore, the influence range of the security risk is reduced, and the problem that the third-party platform has the network risk can be solved, so that the network security when the user logs in the cloud platform through the third-party platform is improved.
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, and in particular to a network security detection method, system, device and medium. Background Art

[0002] It is becoming more and more common to use single sign-on technology on cloud platforms. Specifically, cloud platforms are service-providing platforms on which multiple applications can run. The principle of single sign-on is that users only need to log in once to access multiple applications without having to repeatedly enter their usernames and passwords. Specifically, when a user enters their identity information on a third-party platform to log in, the third-party platform will verify the user's identity and send the user's identity information to the cloud platform. After receiving the identity information, the cloud platform will verify and authorize the application running on the cloud platform to access the user's identity information, thereby enabling login.

[0003] However, if there are network risks on the third-party platform, such as account leakage or malicious intrusion, the user's identity information may be stolen, causing the user's account to be maliciously exploited, and the applications bound to the cloud platform will also be affected, which may bring serious security risks. Summary of the invention

[0004] The purpose of the present invention is to provide a network security detection method, system, device and medium. By detecting the networks corresponding to the third-party platform and the cloud platform, it can be determined whether there is a security risk, and when a security risk is found, the account's operating authority on the cloud platform is restricted, thereby reducing the impact of the security risk. It can be seen that the present invention can solve the problem of network risks on the third-party platform, thereby improving the network security when users log in to the cloud platform through the third-party platform.

[0005] In a first aspect, the present invention further provides a network security detection method, comprising:

[0006] According to the user identity information received by the third-party platform, a single sign-on account is created on the cloud platform, and operation permissions are configured for the single sign-on account; the third-party platform is a website for providing the user identity information, and the cloud platform is a website for providing preset function services;

[0007] Logging into the cloud platform through the single sign-on account according to the account name and account password received by the third-party platform;

[0008] Detecting the first network of the third-party platform and / or detecting the second network corresponding to the cloud platform to determine whether there is a security risk in the first network and / or the second network;

[0009] When there is a security risk in the first network or the second network, the operation authority of the account name on the cloud platform is restricted.

[0010] In one embodiment, based on the user identity information received by the third-party platform, before creating a single sign-on account on the cloud platform and configuring operation permissions for the single sign-on account, the network security detection method further includes:

[0011] Obtaining a network certificate of a first network of the third-party platform;

[0012] Determining whether the network certificate satisfies a preset security certificate rule;

[0013] When the network certificate meets the preset security certificate rules, a trust relationship is established between the third-party platform and the cloud platform, and a single sign-on account is created on the cloud platform according to the user identity information received by the third-party platform, and operation permissions are configured for the single sign-on account.

[0014] In one embodiment, determining whether the network certificate satisfies a preset security certificate rule includes:

[0015] Determine whether the network certificate is issued by a trusted certificate authority, and / or determine whether the validity period of the network certificate is within the validity period, and / or determine whether the information in the network certificate is consistent with the information of the visited website, and / or determine whether the key length and encryption algorithm in the network certificate comply with security encryption standards, and / or determine whether the chain structure in the network certificate is complete, and / or determine whether the network certificate includes online certificate status protocol information and certificate revocation list information;

[0016] If the network certificate is issued by a trusted certificate authority and is valid within the validity period, and the information in the network certificate is consistent with the visited website information, and the key length and the encryption algorithm comply with the security encryption standard, and the chain structure is complete and includes the online certificate status protocol information and the certificate revocation list information, then it is determined that the network certificate meets the preset security certificate rules.

[0017] In one embodiment, obtaining a network certificate of the first network of the third-party platform includes:

[0018] Obtaining a root node address in the network address of the first network of the third platform;

[0019] A network certificate corresponding to the first network is determined according to the root node address.

[0020] In one embodiment, before obtaining the network certificate of the first network of the third-party platform, the network security detection method further includes:

[0021] Performing a network delay test on the transmission interface between the third-party platform and the cloud platform;

[0022] When the network delay test time of the transmission interface is within a preset range, the step of obtaining a network certificate of the first network corresponding to the third-party platform is entered.

[0023] In one embodiment, based on the user identity information received by the third-party platform, when a single sign-on account is created on the cloud platform and operation permissions are configured for the single sign-on account, the single sign-on account is isolated from the local login account of the cloud platform, and the process of configuring operation permissions for the single sign-on account is isolated from the process of configuring the operation permissions for the local login account of the cloud platform.

[0024] In one embodiment, detecting the first network of the third-party platform includes:

[0025] Scan the first network using a vulnerability scanning tool to determine whether the first network has a vulnerability;

[0026] Performing password detection on the login management system of the first network to determine the complexity of the login password;

[0027] Detecting whether the first network is attacked by a cross-site request forgery attack, an injection attack, or a directory traversal attack;

[0028] Detecting whether the first network has a file upload vulnerability to determine whether a malicious file has been uploaded;

[0029] Detecting whether the first network enables content security policy to determine whether malicious scripts and malicious content are injected;

[0030] Detecting whether the URL header configuration of the first network is secure;

[0031] Scanning the host port of the first network to determine whether the opening status of the host port is the same as the preset required port;

[0032] detecting whether there are unprotected backup files in the first network to determine whether there are abnormal backup files;

[0033] Detect whether the first network has a risk of sensitive information leakage, where the sensitive information includes the account name and / or the account password and / or property information.

[0034] In one embodiment, detecting the second network corresponding to the cloud platform includes:

[0035] Scanning the applications, operating systems, and networked devices in the cloud platform to determine whether the applications, operating systems, and networked devices have vulnerabilities or attacks;

[0036] Check whether the configuration of network security groups, firewall rules, access control lists, and identity authentication policies in the cloud platform meets security configuration standards;

[0037] Monitoring the network traffic of the second network, and determining whether the cloud platform has abnormal traffic according to the network traffic of the second network;

[0038] Monitoring the security log of the cloud platform to determine whether the second network has risks, the security log including login logs generated by user login, operation logs generated by user operation of the cloud platform, and abnormal logs generated by the operating system and the networked device;

[0039] Detecting whether the data in the cloud platform is encrypted during storage and transmission;

[0040] The data in the cloud platform is backed up and restored regularly to verify whether there are any anomalies during the backup and restoration of the data in the cloud platform.

[0041] In a second aspect, the present invention further provides a network security verification system, comprising:

[0042] An account creation unit, configured to create a single sign-on account on the cloud platform according to the user identity information received from the third-party platform, and configure operation permissions for the single sign-on account; the third-party platform is a website for providing the user identity information, and the cloud platform is a website for providing preset function services;

[0043] An account login unit, configured to log in to the cloud platform through the single sign-on account according to the account name and account password received by the third-party platform;

[0044] a risk assessment unit, configured to detect the first network of the third-party platform and / or detect the second network corresponding to the cloud platform to determine whether there is a security risk in the first network and / or the second network;

[0045] The permission restriction unit is used to restrict the operation permission of the account name on the cloud platform when there is a security risk in the first network or the second network.

[0046] In a third aspect, the present invention further provides a network security verification device, comprising:

[0047] Memory for storing computer programs;

[0048] The processor is used to implement the steps of the network security verification method described above when storing a computer program.

[0049] In a fourth aspect, the present invention further provides a non-volatile storage medium having a computer program stored thereon, and the computer program, when executed by a processor, implements the steps of the above-mentioned network security verification method.

[0050] The present invention provides a network security detection method, system, device and medium, which relates to the field of network security and is used to solve the problem of network risk in third-party platforms. The solution receives user identity information through a third-party platform, creates a single sign-on account on a cloud platform and configures operation permissions, and detects the network corresponding to the third-party platform and the cloud platform to determine whether there is a security risk, and limits the account's operation permissions on the cloud platform when a security risk is found, thereby reducing the impact of the security risk. It can be seen that the present invention can solve the problem of network risk in third-party platforms, thereby improving the network security when users log in to the cloud platform through a third-party platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the prior art and the drawings required for use in the embodiments are 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 creative work.

[0052] Figure 1 A flowchart of a network security detection method provided by the present invention;

[0053] Figure 2 A specific implementation flow chart of a network security detection method provided by the present invention;

[0054] Figure 3 A schematic diagram of a network security detection system provided by the present invention;

[0055] Figure 4 A schematic diagram of a network security detection device provided by the present invention;

[0056] Figure 5 A schematic diagram of a non-volatile storage medium provided by the present invention. DETAILED DESCRIPTION

[0057] The core of the present invention is to provide a network security detection method, system, device and medium. By detecting the networks corresponding to the third-party platform and the cloud platform, it can be determined whether there is a security risk, and when a security risk is found, the account's operating authority on the cloud platform is restricted, thereby reducing the impact of the security risk. It can be seen that the present invention can solve the problem of network risks on the third-party platform, thereby improving the network security when users log in to the cloud platform through the third-party platform.

[0058] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0059] In a first aspect, the present invention further provides a network security detection method, comprising:

[0060] S11: creating a single sign-on account on the cloud platform according to the user identity information received by the third-party platform, and configuring operation permissions for the single sign-on account; the third-party platform is a website for providing user identity information, and the cloud platform is a website for providing preset function services;

[0061] This step mainly describes the creation of a single sign-on account in the cloud platform and the configuration of its operation permissions. Specifically, when the third-party platform receives the user's identity information, the cloud platform creates a single sign-on account in its system based on this information. This account is used to store the user's identity information and authentication credentials during subsequent logins, so that the user can verify when performing single sign-on in the future. After creating a single sign-on account, the cloud platform needs to configure operation permissions for the account, which means determining which functions and services the account can access and execute. Permissions may include accessing specific applications, reading specific data, or performing specific operations.

[0062] Among them, the third-party platform, as a website that provides user identity information, is responsible for receiving user login information and passing it to the cloud platform. As a website that provides preset functional services, the cloud platform manages user access rights and services through a single sign-on account.

[0063] That is, this step is mainly to establish a centralized single sign-on system to ensure the security and consistency of user identity information. By creating a single sign-on account on the cloud platform and configuring operation permissions, you can effectively manage user access rights and ensure that only verified users can access applications and services on the cloud platform. This approach can reduce the number of login credentials that users need to remember and manage, improve user experience and enhance security, because users only need to enter login information on a trusted third-party platform without having to log in and verify in each application or service.

[0064] S12: Log in to the cloud platform through a single sign-on account according to the account name and password received by the third-party platform;

[0065] This step describes the process of logging into the cloud platform through a single sign-on account based on the account name and account password received by the third-party platform. Specifically, the user enters his account name and password on the third-party platform to log in. After receiving these login credentials, the third-party platform will pass them to the cloud platform. After the cloud platform receives the user's account name and password, it will verify it with the single sign-on account created in advance. The cloud platform will use the received account name and password to try to log in to the single sign-on account. If the account name and password match the information stored in the single sign-on account, the authentication is successful. This verification process usually includes checking the correctness of the account name and password, and possible other authentication measures, such as two-factor authentication. When performing single sign-on, the cloud platform needs to take appropriate security measures to protect the user's account information. This may include encrypting the transmission channel, securely storing user credentials, etc.

[0066] In addition, in one embodiment, if the cloud platform verifies that the account name and account password do not match, a login failure policy may be executed, wherein the login failure policy includes account locking and IP address restriction of the third-party platform.

[0067] To prevent malicious login attempts and unauthorized access, the cloud platform can enforce login failure policies when the cloud platform verifies that the account name and account password do not match, that is, when the login credentials provided by the user are inconsistent with the information stored in the cloud platform. These policies include account locking and IP address restrictions on third-party platforms. Account locking means temporarily prohibiting the account from continuing to log in, even if the user provides the correct account name and password. For example, account security can be protected by limiting the number of login attempts. When someone attempts to log in maliciously using methods such as brute force, account locking can prevent them from making unlimited attempts, thereby increasing the cost and difficulty of the attacker. Another login failure policy is to limit IP addresses from third-party platforms; if multiple login failures occur in a short period of time and these login attempts all come from the same IP address, the cloud platform can assume that the IP address may be the source of the attacker and restrict access to the IP address to prevent malicious users or attackers from invading the system by constantly trying to log in.

[0068] By implementing these login failure policies, cloud platforms can enhance the protection of account security and system security. Account lockout can prevent malicious attacks such as brute force cracking, while IP address restrictions can prevent attackers from intruding through malicious login attempts. The implementation of these policies is based on the identification and prevention of security risks to ensure the security of user identity information and system security.

[0069] In summary, the main principle of this step is to build on the single sign-on mechanism, and to verify the user's account name and password entered on the third-party platform and compare it with the single sign-on account on the cloud platform to achieve user identity authentication. This allows users to achieve single sign-on between different applications and services without having to repeatedly enter their usernames and passwords, which improves user convenience and experience. At the same time, due to the existence of a single sign-on account, the cloud platform can centrally manage the user's identity information and access rights, improving security and management efficiency.

[0070] S13: Detecting the first network of the third-party platform and / or detecting the second network corresponding to the cloud platform to determine whether there is a security risk in the first network and / or the second network;

[0071] This step mainly describes the detection of the two networks corresponding to the third-party platform and the cloud platform to determine whether there are security risks. Specifically, as a website that provides user identity information, the third-party platform may have various network security risks, such as account leakage, malicious intrusion, etc. By detecting the network of the third-party platform, it can be found whether there is unauthorized access, abnormal traffic or other possible security threats. This detection may include network traffic analysis, vulnerability scanning, security log auditing and other operations. Similarly, as a website that provides preset function services, the cloud platform may also face various network security risks, such as DDoS attacks, SQL injections, data leaks, etc. By detecting the network of the cloud platform, it can be found whether there are abnormal activities, malicious traffic or other possible security vulnerabilities. This detection may include intrusion detection systems, intrusion prevention systems, security log analysis and other operations. When performing network detection, by analyzing the detection results, possible security risks are identified. These security risks may include network attacks, malware infections, unauthorized access and other problems. By identifying these risks, timely measures can be taken to prevent the occurrence of security incidents.

[0072] If security risks are discovered, corresponding security measures can be taken to deal with them, such as blocking malicious traffic, updating security patches, strengthening identity authentication measures, etc., to protect the user's identity information and the security of the cloud platform and prevent unauthorized access and malicious attacks.

[0073] S14: When there is a security risk in the first network or the second network, the operation authority of the account name on the cloud platform is restricted.

[0074] Specifically, when there is a security risk in the first network or the second network, in order to reduce further security risks, the account name's operating authority to the cloud platform is restricted. At the same time, a corresponding security alert can also be triggered. Among them, the measure of restricting the account's operating authority means that the system will temporarily or permanently restrict the account name's operating authority to the cloud platform, making it unable to perform specific operations or access specific resources. There are many ways to restrict the account name's operating authority, such as lowering the account's authority level, limiting its access to sensitive data, temporarily prohibiting it from performing certain operations, etc., depending on the severity of the security risk and the system administrator's security policy.

[0075] In summary, in this embodiment, proactive security measures are taken when security risks are discovered to reduce further security threats and risks. By limiting the operating permissions of account names, potential attackers or malicious users can be prevented from continuing to access or operate the system without authorization. Security incidents can be responded to in a timely manner to reduce the losses and impacts caused by security risks. By reducing the permissions of affected accounts, the attacker's ability to act can be limited, and sufficient time is provided for system administrators to investigate security incidents and take further security measures.

[0076] In one embodiment, before creating a single sign-on account on the cloud platform based on the user identity information received by the third-party platform and configuring operation permissions for the single sign-on account, the network security detection method also includes: obtaining a network certificate of a first network of the third-party platform; determining whether the network certificate satisfies preset security certificate rules; when the network certificate satisfies the preset security certificate rules, establishing a trust relationship between the third-party platform and the cloud platform, and entering the step of creating a single sign-on account on the cloud platform based on the user identity information received by the third-party platform, and configuring operation permissions for the single sign-on account.

[0077] This embodiment mainly describes the steps of establishing a trust relationship between the third-party platform and the cloud platform before conducting network security testing. Specifically, the cloud platform will obtain the network certificate of the third-party platform. The network certificate is a digital certificate used to authenticate the identity of a network entity, usually issued by a trusted certificate authority (CA). The network certificate contains key information such as the identity information and public key of the third-party platform. After obtaining the network certificate of the third-party platform, the cloud platform will verify the certificate to ensure that it meets the preset security certificate rules. The security certificate rules may include verifying the validity of the certificate, checking the credibility of the certificate authority, and ensuring the integrity and correctness of the certificate. If the network certificate of the third-party platform meets the preset security certificate rules, the cloud platform will establish a trust relationship with the third-party platform. Establishing a trust relationship means that the cloud platform trusts the identity and security of the third-party platform and is willing to communicate and exchange data with it securely.

[0078] After the trust relationship between the third-party platform and the cloud platform is established, you can proceed to the step of creating a single sign-on account on the cloud platform based on the user identity information received from the third-party platform and configuring the operation permissions for the single sign-on account. In this step, the cloud platform can safely use the user identity information received from the third-party platform to create the corresponding single sign-on account and configure the appropriate operation permissions for the account.

[0079] The principle of this embodiment is to first ensure that the identity and security of the third-party platform are verified and confirmed before performing sensitive operations to ensure the security of the entire system. By establishing a trust relationship, the cloud platform can process user identity information under the premise of security, ensuring the security and reliability of the single sign-on system.

[0080] In one embodiment, determining whether a network certificate satisfies preset security certificate rules includes: determining whether the network certificate is issued by a trusted certificate authority, and / or determining whether the validity period of the network certificate is within the validity period, and / or determining whether the information in the network certificate is consistent with the visited website information, and / or determining whether the key length and encryption algorithm in the network certificate comply with security encryption standards, and / or determining whether the chain structure in the network certificate is complete, and / or determining whether the network certificate includes online certificate status protocol information and certificate revocation list information; if the network certificate is issued by a trusted certificate authority, and the validity period is within the validity period, and the information in the network certificate is consistent with the visited website information, and the key length and encryption algorithm comply with security encryption standards, and the chain structure is complete and includes online certificate status protocol information and certificate revocation list information, then it is determined that the network certificate satisfies the preset security certificate rules.

[0081] This embodiment describes the steps of determining whether a network certificate meets the preset security certificate rules, which mainly include the following aspects: Issued by a trusted certificate authority: When determining whether a network certificate meets the security rules, it is first necessary to verify whether the certificate is issued by a trusted certificate authority. The certificate authority (CA) is an authoritative entity responsible for issuing and managing digital certificates, and the certificates it issues are generally widely recognized and trusted. Validity check: Check the validity period of the network certificate to ensure that it is within the validity period. The validity period of the certificate is usually specified by the certificate authority. Certificates that have exceeded the validity period may no longer be trusted. Information consistency verification: Ensure that the information in the network certificate is consistent with the information of the visited website, which includes verifying whether the subject name contained in the certificate (usually the domain name of the website) matches the domain name of the website actually visited. Encryption standard and key length check: Check whether the key length and encryption algorithm in the network certificate meet the security encryption standards. The public key length and encryption algorithm in the certificate should be strong enough to ensure the security of the communication data. Chain structure integrity check: Ensure that the chain structure of the network certificate is complete. The certificate chain structure consists of a root certificate, an intermediate certificate, and a server certificate. Its integrity is crucial to the validity of the certificate. Online Certificate Status Protocol and Certificate Revocation List Check: Checks whether the network certificate includes Online Certificate Status Protocol (OCSP) information and Certificate Revocation List (CRL) information, which are used to confirm the validity and status of the certificate.

[0082] When a network certificate meets all of the above security rules at the same time, it can be determined that the certificate is secure. The purpose of these rules is to ensure that the certificate used is legal, valid and secure to ensure the security and credibility of communications.

[0083] When the network certificate does not meet the above two security rules, the step of executing restricted operation permissions is entered. In order to further reduce potential security risks and protect the security of the system and users. Specifically, when checking the security rules of the network certificate, if the certificate is found to be non-compliant, it means that there may be security risks. These risks may include the authenticity of the certificate being questioned, the certificate may be tampered or forged, and the communication data may be stolen or tampered with. In order to reduce potential security risks, measures to restrict operation permissions are implemented. Before executing the restriction of operation permissions, a notification can be sent to the user to indicate that there is a security issue and corresponding measures will be taken, which will help the user understand the situation and may prompt the user to take further security measures. At the same time, the system can also strengthen other security measures to prevent further security risks, such as strengthening network security monitoring, updating certificate verification policies, and strengthening identity authentication measures.

[0084] By taking steps to restrict operating permissions, you can promptly respond to network certificates that pose security risks, reduce potential security threats, and protect the security of systems and users, while ensuring the security and credibility of communications and minimizing the impact of security risks.

[0085] In one embodiment, obtaining a network certificate of a first network of a third-party platform includes: obtaining a root node address in a network address of the first network of the third platform; and determining a network certificate corresponding to the first network according to the root node address.

[0086] In this embodiment, obtaining a network certificate for the first network of the third-party platform involves the following steps. First, the network address of the first network of the third-party platform needs to be obtained. The network address is usually composed of a set of numbers and dots, which are used to uniquely identify the location of a network node or device. In this step, the first network of the third-party platform will be located and the root node address of the network will be obtained. The root node address is usually the starting address of the network and can be used to further retrieve the certificate information of the network. Once the root node address of the first network is obtained, the system will use the address to retrieve the corresponding network certificate. This usually involves communicating with a certificate authority (CA) or a related server in the network to request a network certificate. The system sends a request to the root node address to obtain the certificate information associated with it.

[0087] In summary, the step of obtaining the network certificate of the first network of the third-party platform is an important step in ensuring secure communication between the cloud platform and the third-party platform. By obtaining and verifying the network certificate, the security and reliability of communication can be ensured.

[0088] In one embodiment, before obtaining the network certificate of the first network of the third-party platform, the network security detection method also includes: performing a network delay test on the transmission interface between the third-party platform and the cloud platform; when the network delay test time of the transmission interface is within a preset range, entering the step of obtaining the network certificate of the first network corresponding to the third-party platform.

[0089] In this embodiment, the network security detection method further includes performing a network delay test on the transmission interface between the third-party platform and the cloud platform before obtaining the network certificate of the first network of the third-party platform. Network delay refers to the time required for data to travel from the sender to the receiver, also known as data transmission delay or network delay. The purpose of the test is to evaluate the performance and stability of the transmission interface. The size of the network delay directly affects the speed and response time of data transmission. Therefore, testing the network delay of the transmission interface can help evaluate the efficiency and reliability of communication, as well as whether the transmission interface meets the expected performance requirements.

[0090] Specifically, a threshold or range is set according to a preset network delay range, and this preset range may be determined according to the actual network environment, performance requirements or security policies. When the network delay test time of the transmission interface is within the preset range, the step of obtaining the network certificate of the first network corresponding to the third-party platform will be entered. In summary, the steps of this embodiment can ensure that the communication channel is stable and reliable when obtaining the network certificate, thereby ensuring the security and success of the certificate acquisition process.

[0091] In one embodiment, based on the user identity information received by the third-party platform, when a single sign-on account is created on the cloud platform and operation permissions are configured for the single sign-on account, the single sign-on account is isolated from the local login account of the cloud platform, and the process of configuring operation permissions for the single sign-on account is isolated from the process of configuring operation permissions for the local login account of the cloud platform.

[0092] In this embodiment, when a single sign-on account is created on the cloud platform based on the user identity information received by the third-party platform and operation permissions are configured for it, measures are taken to isolate the single sign-on account from the local login account of the cloud platform.

[0093] A single sign-on account is a specific account created on the cloud platform by the user identity information received by the third-party platform, which is used to implement the single sign-on function. In contrast, a local login account is an account created within the cloud platform, which is used to log in and access the cloud platform directly. In order to ensure the isolation between the single sign-on account and the local login account, measures are taken to ensure that they are independent of each other in logic and permissions to avoid mutual interference or confusion. When creating a single sign-on account and configuring its operation permissions, it is handled through a dedicated identity authentication and authorization process. This process is for single sign-on accounts and is separate from the process for local login accounts.

[0094] Even in the same cloud platform, the authentication and authorization mechanisms for single sign-on accounts and local sign-on accounts are separate to ensure that the operation permissions of the single sign-on account do not affect the local sign-on account, and vice versa. For example, the single sign-on account may have specific permission restrictions or access control policies that are independent of the permission settings of the local sign-on account to improve the security and flexibility of the system.

[0095] Maintaining isolation between the single sign-on account and the local login account is crucial to ensuring the security and stability of the system. It can prevent the security of the local login account from being affected by problems with the permission settings of the single sign-on account, and can also prevent the single sign-on account from being threatened due to the leakage of permissions of the local login account.

[0096] In summary, by isolating single sign-on accounts from local login accounts, their independence in authentication and permission settings can be guaranteed, thereby improving the security and reliability of the system.

[0097] like Figure 2 As shown, the network security monitoring method for single sign-on may include but is not limited to the following steps: S21: configuring the single sign-on website information on the cloud platform; S22: verifying the network certificate of the third-party platform (identity provider); S23: creating a single sign-on account and configuring permissions; S24: enabling policy security detection to detect the first network of the third-party platform; S25: the cloud platform enables the function of regularly performing security detection on the second network; S26: adjusting the operating permissions of the single sign-on user in real time according to the results of the network security detection of the first network and the second network.

[0098] In one embodiment, the first network of the third-party platform is detected, including: using a vulnerability scanning tool to scan the first network to determine whether the first network has vulnerabilities; performing password detection on the login management system of the first network to determine the complexity of the login password; detecting whether the first network is subject to cross-site request forgery attacks, injection attacks, and directory traversal attacks; detecting whether the first network has file upload vulnerabilities to determine whether malicious files are uploaded; detecting whether the first network has content security policies enabled to determine whether malicious scripts and malicious content are injected; detecting whether the URL header configuration of the first network is secure; scanning the host port of the first network to determine whether the opening status of the host port is the same as the preset required port; detecting whether there are unprotected backup files in the first network to determine whether there are abnormal backup files; detecting whether the first network has a risk of sensitive information leakage, where the sensitive information includes account names and / or account passwords and / or property information.

[0099] Specifically, the first network detection involves multiple security checks: (1) Scanning the first network using vulnerability scanning tools to discover publicly known vulnerabilities in the network. The vulnerabilities may be security vulnerabilities in the third-party platform system or application, which may be exploited by hackers to obtain unauthorized access or perform malicious operations. (2) Performing password detection on the login management system of the first network to determine the complexity of the login password. The complexity of the password includes length, character types, etc. A password with low complexity is easy to be guessed or cracked, increasing the security risk of the account. (3) Detecting whether the first network is attacked by cross-site request forgery (CSRF), injection attacks (such as SQL injection), directory traversal attacks, etc. These attacks may lead to system data leakage, tampering or destruction, so they need to be discovered and prevented in a timely manner. (4) Detecting whether the first network has a file upload vulnerability, which may be exploited by attackers to upload malicious files, such as Trojan programs or malicious scripts, thereby causing harm to the system. (5) Detecting whether the first network has enabled content security policy (CSP) to prevent the injection of malicious scripts and malicious content and improve network security. (6) Check whether the URL header configuration of the first network is secure, including whether there is a security header (such as the Strict-Transport-Security header) to enhance network security. (7) Scan the host ports of the first network to determine which ports are open. Open ports may expose system services. It is necessary to ensure that only necessary ports are open to reduce the attack surface. (8) Check whether there are unprotected backup files on the first network. These files may contain sensitive information or system configuration information. If they are not properly protected, they may be exploited by attackers. (9) Check whether there is a risk of sensitive information leakage in the first network, such as account names, passwords, property information, etc. Leakage of sensitive information may lead to risks such as identity theft and property loss.

[0100] These detection steps are intended to discover and resolve potential security risks in the first network to improve the security and stability of the network and protect user data and system resources from malicious attacks.

[0101] In one embodiment, the second network corresponding to the cloud platform is detected, including: scanning the applications, operating systems and networked devices in the cloud platform to determine whether there are vulnerabilities or attacks in the applications, operating systems and networked devices; detecting whether the configurations of the network security groups, firewall rules, access control lists, and authentication policies in the cloud platform meet the security configuration standards; monitoring the network traffic of the second network, and determining whether there is abnormal traffic on the cloud platform based on the network traffic of the second network; monitoring the security logs of the cloud platform to determine whether there are risks in the second network, the security logs including login logs generated by user logins, operation logs generated by user operations on the cloud platform, and abnormal logs generated by the operating system and networked devices; detecting whether the data in the cloud platform is encrypted during storage and transmission; and regularly performing backup and recovery tests on the data in the cloud platform to verify whether there are abnormalities during data backup and recovery in the cloud platform.

[0102] The steps of detecting the second network corresponding to the cloud platform in this embodiment cover multiple aspects of security checks, including (1) scanning the applications, operating systems and network devices in the cloud platform to find possible public vulnerabilities that may be exploited by hackers to invade the system, steal data or perform other malicious operations. (2) Checking the configuration of network security groups, firewall rules, access control lists (ACLs) and authentication policies in the cloud platform to ensure that they meet the security configuration standards. Correct configuration of these security control measures can reduce the risk of system attacks. (3) Monitoring the network traffic of the second network to detect whether there are abnormal traffic patterns. Abnormal traffic may indicate that the system has been attacked by DDoS, network scanning or other malicious behaviors. (4) Monitoring the security logs of the cloud platform, including user login logs, operation logs and abnormal logs. By analyzing these logs, possible security threats and abnormal activities can be discovered and responded to in a timely manner. (5) Checking whether the data in the cloud platform is encrypted during storage and transmission. Data encryption is an important measure to protect data confidentiality and can prevent data leakage or theft. (6) Back up data in the cloud platform regularly and perform recovery tests to verify the integrity and reliability of the backup. This helps ensure that data can be restored in a timely manner in the event of data loss or system failure, and prevents data loss or corruption due to incomplete backup and recovery.

[0103] These security detection steps are designed to improve the security of the cloud platform, protect the system from various security threats and attacks, and ensure the confidentiality, integrity and availability of data. By performing these tests regularly, potential security risks can be discovered and resolved in a timely manner to protect the security of the cloud platform and the data therein.

[0104] Second, as Figure 3 As shown, the present invention also provides a network security verification system, comprising:

[0105] An account creation unit 31 is used to create a single sign-on account on the cloud platform according to the user identity information received from the third-party platform, and configure operation permissions for the single sign-on account; the third-party platform is a website for providing user identity information, and the cloud platform is a website for providing preset function services;

[0106] An account login unit 32, configured to log in to the cloud platform through a single sign-on account according to the account name and account password received by the third-party platform;

[0107] The risk assessment unit 33 is used to detect the first network of the third-party platform and / or the second network corresponding to the cloud platform to determine whether there is a security risk in the first network and / or the second network;

[0108] The permission limiting unit 34 is used to limit the operation permission of the account name on the cloud platform when there is a security risk in the first network or the second network.

[0109] In one embodiment, the network security detection system further includes:

[0110] A certificate acquisition unit, used to acquire a network certificate of the first network of the third-party platform;

[0111] A certificate detection unit, used to determine whether the network certificate satisfies a preset security certificate rule;

[0112] The execution unit is used to determine whether the network certificate meets the preset security certificate rule, establish a trust relationship between the third-party platform and the cloud platform, and feed back to the account creation unit 31.

[0113] In one embodiment, the certificate detection unit is specifically used to determine whether the network certificate is issued by a trusted certificate authority, and / or determine whether the validity period of the network certificate is within the validity period, and / or determine whether the information in the network certificate is consistent with the visited website information, and / or determine whether the key length and encryption algorithm in the network certificate comply with the security encryption standard, and / or determine whether the chain structure in the network certificate is complete, and / or determine whether the network certificate includes online certificate status protocol information and certificate revocation list information; if the network certificate is issued by a trusted certificate authority and the validity period is within the validity period, and the information in the network certificate is consistent with the visited website information, and the key length and the encryption algorithm comply with the security encryption standard, and the chain structure is complete and includes the online certificate status protocol information and the certificate revocation list information, then it is determined that the network certificate meets the preset security certificate rules.

[0114] In one embodiment, the certificate acquisition unit is specifically used to acquire a root node address in a network address of a first network of the third platform; and determine a network certificate corresponding to the first network according to the root node address.

[0115] In one embodiment, the network security detection system further includes:

[0116] The network testing unit is used to perform a network delay test on the transmission interface between the third-party platform and the cloud platform; when the network delay test time of the transmission interface is within a preset range, feedback is given to the certificate acquisition unit.

[0117] In one embodiment, based on the user identity information received by the third-party platform, when a single sign-on account is created on the cloud platform and operation permissions are configured for the single sign-on account, the single sign-on account is isolated from the local login account of the cloud platform, and the process of configuring operation permissions for the single sign-on account is isolated from the process of configuring the operation permissions for the local login account of the cloud platform.

[0118] In one embodiment, the risk assessment unit 33 is specifically used to use a vulnerability scanning tool to scan the first network to determine whether the first network has vulnerabilities; perform password detection on the login management system of the first network to determine the complexity of the login password; detect whether the first network is subject to cross-site request forgery attacks, injection attacks, and directory traversal attacks; detect whether the first network has file upload vulnerabilities to determine whether malicious files are uploaded; detect whether the first network has content security policy enabled to determine whether malicious scripts and malicious content are injected; detect whether the URL header configuration of the first network is secure; scan the host port of the first network to determine whether the opening status of the host port is the same as the preset required port; detect whether there are unprotected backup files in the first network to determine whether there are abnormal backup files; detect whether the first network has a risk of sensitive information leakage, and the sensitive information includes the account name and / or the account password and / or property information.

[0119] In one embodiment, the risk assessment unit 33 is specifically used to scan the applications, operating systems and networked devices in the cloud platform to determine whether the applications, the operating systems and the networked devices have vulnerabilities or attacks; detect whether the configurations of the network security groups, firewall rules, access control lists, and authentication policies in the cloud platform comply with security configuration standards; monitor the network traffic of the second network, and determine whether the cloud platform has abnormal traffic based on the network traffic of the second network; monitor the security log of the cloud platform to determine whether the second network has risks, the security log including login logs generated by user logins, operation logs generated by user operations on the cloud platform, and abnormal logs generated by the operating system and the networked devices; detect whether the data in the cloud platform is encrypted during storage and transmission; and regularly perform backup and recovery tests on the data in the cloud platform to verify whether there are abnormalities during data backup and recovery in the cloud platform.

[0120] For an introduction to the network security verification system, please refer to the above embodiments, which will not be elaborated herein.

[0121] Thirdly, Figure 4 As shown, the present invention also provides a network security verification device, comprising:

[0122] A memory 41, used for storing computer programs;

[0123] The processor 42 is used to implement the steps of the above-mentioned network security verification method when storing the computer program.

[0124] For the introduction of the network security verification device, please refer to the above embodiments, and the present invention will not be described in detail here.

[0125] Fourthly, Figure 5 As shown, the present invention further provides a non-volatile storage medium 51, on which a computer program 52 is stored. When the computer program 52 is executed by a processor, the steps of the above-mentioned network security verification method are implemented.

[0126] For the introduction of the non-volatile storage medium 51 , please refer to the above embodiment, and the present invention will not go into details here.

[0127] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0128] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A network security detection method, characterized in that: include: According to the user identity information received by the third-party platform, a single sign-on account is created on the cloud platform, and operation permissions are configured for the single sign-on account; the third-party platform is a website for providing the user identity information, and the cloud platform is a website for providing preset function services; Logging into the cloud platform through the single sign-on account according to the account name and account password received by the third-party platform; Detecting the first network of the third-party platform and / or detecting the second network corresponding to the cloud platform to determine whether there is a security risk in the first network and / or the second network; When there is a security risk in the first network or the second network, the operation authority of the account name on the cloud platform is restricted.

2. The network security detection method according to claim 1, characterized in that: According to the user identity information received by the third-party platform, before creating a single sign-on account on the cloud platform and configuring operation permissions for the single sign-on account, the network security detection method further includes: Obtaining a network certificate of a first network of the third-party platform; Determining whether the network certificate satisfies a preset security certificate rule; When the network certificate meets the preset security certificate rules, a trust relationship is established between the third-party platform and the cloud platform, and a single sign-on account is created on the cloud platform according to the user identity information received by the third-party platform, and operation permissions are configured for the single sign-on account.

3. The network security detection method according to claim 2, characterized in that: Determining whether the network certificate satisfies a preset security certificate rule includes: Determine whether the network certificate is issued by a trusted certificate authority, and / or determine whether the validity period of the network certificate is within the validity period, and / or determine whether the information in the network certificate is consistent with the information of the visited website, and / or determine whether the key length and encryption algorithm in the network certificate comply with security encryption standards, and / or determine whether the chain structure in the network certificate is complete, and / or determine whether the network certificate includes online certificate status protocol information and certificate revocation list information; If the network certificate is issued by a trusted certificate authority and is valid within the validity period, and the information in the network certificate is consistent with the visited website information, and the key length and the encryption algorithm comply with the security encryption standard, and the chain structure is complete and includes the online certificate status protocol information and the certificate revocation list information, then it is determined that the network certificate meets the preset security certificate rules.

4. The network security detection method according to claim 2, characterized in that: Obtaining a network certificate of the first network of the third-party platform includes: Obtaining a root node address in the network address of the first network of the third platform; A network certificate corresponding to the first network is determined according to the root node address.

5. The network security detection method according to claim 2, characterized in that: Before obtaining the network certificate of the first network of the third-party platform, the network security detection method further includes: Performing a network delay test on the transmission interface between the third-party platform and the cloud platform; When the network delay test time of the transmission interface is within a preset range, the step of obtaining a network certificate of the first network corresponding to the third-party platform is entered.

6. The network security detection method according to claim 1, characterized in that: Based on the user identity information received by the third-party platform, when a single sign-on account is created on the cloud platform and operation permissions are configured for the single sign-on account, the single sign-on account is isolated from the local login account of the cloud platform, and the process of configuring operation permissions for the single sign-on account is isolated from the process of configuring the operation permissions for the local login account of the cloud platform.

7. The network security detection method according to any one of claims 1 to 6, characterized in that: Detecting the first network of the third-party platform includes: Scan the first network using a vulnerability scanning tool to determine whether the first network has a vulnerability; Performing password detection on the login management system of the first network to determine the complexity of the login password; Detecting whether the first network is attacked by a cross-site request forgery attack, an injection attack, or a directory traversal attack; Detecting whether the first network has a file upload vulnerability to determine whether a malicious file has been uploaded; Detecting whether the first network enables content security policy to determine whether malicious scripts and malicious content are injected; Detecting whether the URL header configuration of the first network is secure; Scanning the host port of the first network to determine whether the opening status of the host port is the same as the preset required port; detecting whether there are unprotected backup files in the first network to determine whether there are abnormal backup files; Detect whether the first network has a risk of sensitive information leakage, where the sensitive information includes the account name and / or the account password and / or property information.

8. The network security detection method according to any one of claims 1 to 6, characterized in that: Detecting the second network corresponding to the cloud platform includes: Scanning the applications, operating systems, and networked devices in the cloud platform to determine whether the applications, operating systems, and networked devices have vulnerabilities or attacks; Check whether the configuration of network security groups, firewall rules, access control lists, and identity authentication policies in the cloud platform meets security configuration standards; Monitoring the network traffic of the second network, and determining whether the cloud platform has abnormal traffic based on the network traffic of the second network; Monitoring the security log of the cloud platform to determine whether the second network has risks, the security log including login logs generated by user login, operation logs generated by user operation of the cloud platform, and abnormal logs generated by the operating system and the networked device; Detecting whether the data in the cloud platform is encrypted during storage and transmission; The data in the cloud platform is backed up and restored regularly to verify whether there are any anomalies during the backup and restoration of the data in the cloud platform.

9. A network security verification system, characterized in that: include: An account creation unit, configured to create a single sign-on account on the cloud platform according to the user identity information received from the third-party platform, and configure operation permissions for the single sign-on account; the third-party platform is a website for providing the user identity information, and the cloud platform is a website for providing preset function services; An account login unit, configured to log in to the cloud platform through the single sign-on account according to the account name and account password received by the third-party platform; a risk assessment unit, configured to detect the first network of the third-party platform and / or detect the second network corresponding to the cloud platform to determine whether there is a security risk in the first network and / or the second network; The permission restriction unit is used to restrict the operation permission of the account name on the cloud platform when there is a security risk in the first network or the second network.

10. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, used to implement the steps of the network security verification method described in any one of claims 1 to 8 when storing a computer program.

11. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the network security verification method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Processing method and device of single sign-on system and readable storage medium

    CN110417820A

  • End-to-end zero-trust security gateway system

    CN112019560A

  • Tenant-based security capability and security service chain management platform

    CN112291232A

  • Data processing method and device

    CN112383556A

  • Network card identification processing method and system based on Kylin system, terminal and storage medium

    CN112653576A

Cited By

  • Intra-domain security detection method, device, equipment, medium and program product

    CN119652593A