A 5G MEC security assessment system and method

By designing a security assessment system in 5G MEC system, combining fuzzy theory and information entropy risk assessment methods, the multi-faceted security risks of MEC are evaluated, and the shortcomings of security assessment before and after the MEC access network are solved, and the security of MEC is achieved Comprehensive evaluation and periodic monitoring prevent malicious intrusions and improve network security.

CN115297481BActive Publication Date: 2024-12-06NINGBO YONGYAO POWER INVESTMENT CORP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210914056.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-01
Publication Date
2024-12-06
Estimated Expiration
2042-08-01

AI Technical Summary

Technical Problem

The prior art is difficult to comprehensively and accurately evaluate the security capabilities of 5G MEC, especially in terms of periodic security assessments before and after the MEC is connected to the network, and it is impossible to effectively prevent trusted users from being maliciously invaded and counterfeited.

Method used

A 5G MEC security assessment system was designed, using fuzzy theory and information entropy risk assessment methods, combined with trusted communication agent technology, to evaluate the security risks of MEC hardware, control plane interface, user plane, virtualization, MEC platform and management plane , through the coordinated work of the security assessment module, computing storage module, access control module and alarm module, the security assessment before MEC access and periodic security assessment after access to the network are realized.

Benefits of technology

A comprehensive and broad assessment of MEC security is achieved, and the trusted MEC is prevented from being counterfeited and attacked by malicious nodes after accessing the network, improving network security, ensuring the security of data shunts and generating warning information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115297481B_ABST
    Figure CN115297481B_ABST
Patent Text Reader

Abstract

The present invention discloses a 5G MEC security assessment system, which relates to the field of information security technology, including a security assessment module, a computing and storage module, an access control module and an alarm module. The present invention also discloses a 5G MEC security assessment method, including S100, performing a security assessment; S200, calculating a risk value R; S300, making a security decision; S400, executing the security decision. The present invention considers the security risks in seven aspects, namely, MEC hardware, control plane interface, user plane, virtualization, MEC platform, application and management plane, and assesses the security of MEC, covering a wide and comprehensive range. In combination with the trusted communication agent technology, the security assessment before the MEC accesses the network and the periodic security assessment after the MEC accesses the network are realized, so as to prevent the trusted MEC from being counterfeited and attacked by malicious nodes after accessing the network, resulting in an untrusted MEC.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technologies, and in particular to a 5G MEC security assessment system and method. Background Art

[0002] Multi-access Edge Computing (MEC) is a key technology for 5G (5th Generation, the fifth generation of mobile communication technology) network transformation to meet the needs of high-definition video, VR / AR (Virtual Reality, Virtual Reality / Augmented Reality, Augmented Reality), Industrial Internet, Internet of Vehicles and other business development. MEC builds a bridge between edge devices and data centers, so that raw data can be efficiently processed at the mobile edge, and the data computing, storage, and network capabilities originally concentrated on large cloud computing platforms are moved to the edge of the network. Through 5G slicing technology, secure isolation communication between edge data and edge networks between different users is achieved, so that on-site data can obtain computing, storage, network and security capabilities nearby without being transmitted to the cloud.

[0003] As a new distributed computing method, MEC is based on mobile communication networks and is built on the cloud service environment of 5G RAN (Radio Access Network). By separating certain network services and network functions from the core network, it can achieve goals such as cost savings, reduced latency and round-trip time, optimized traffic, enhanced physical security and cache efficiency. MEC is built on a virtualized infrastructure, based on SDN (Software Defined Network) and NFV (Network Function Virtualization) technologies. The Network Function Virtualization Orchestrator (NFVO) and Network Function Virtualization Manager (NFVM) deployed in the cloud computing center are responsible for the network management of edge nodes.

[0004] MEC provides edge intelligent services nearby to meet the key needs of industry digitalization in terms of agile connection, real-time business, data optimization, intelligent applications, security and privacy protection. The above functions mean that MEC is more likely to be favored by attackers. With the further development and popularization of MEC, how to comprehensively and accurately evaluate the security capabilities of MEC is an important issue that urgently needs to be solved.

[0005] The 5G network is designed with a control plane and a user plane separated architecture. The AMF (Access and Mobile Management Function) network element is mainly responsible for registration management, connection management, access management, mobility management, and security and access management and authorization functions; the SMF (Session Management Function) network element is responsible for IP address allocation and management, policy implementation, etc. The AMF network element and the SMP network element belong to the control plane. The UPF (User plane function) network element belongs to the user plane, and as a connection anchor point, it collaborates with the 5G core network, MEC, and terminals to realize the functions of traffic control and data routing, and meet the mobility management in edge scenarios.

[0006] Chinese patent publication number CN109688139A, authorization date 2021.08.31, discloses a cloud platform security detection system, which aims to improve the cloud platform's ability to resist attacks. The cloud platform security detection system includes a website service module, a switching module and several detection subsystems; wherein the website service module is used to receive test requests and pass the test requests to the switching module; the switching module is used to forward the test requests to the corresponding detection subsystem according to the type of the test request; each detection subsystem includes a test module and a data aggregation module, the test module is used to provide test functions, and the data aggregation module is used to generate a test report and feed the test report back to the switching module; wherein the switching module is also used to forward the test report to the website service module; the website service module is also used to receive and display the test report fed back by the switching module. However, the invention focuses on the network isolation problem existing in the cloud computing platform, focusing on the data isolation security detection, data encryption security detection and vulnerability scanning security detection involved in the system, and the scope of detection is not broad and comprehensive enough.

[0007] Chinese patent publication number CN111683053A, publication date 2020.09.18, discloses a cloud platform security network architecture, including a cloud platform security machine and a cloud platform; the cloud platform security machine is connected to the cloud platform, and the data transmitted from the cloud platform to the cloud platform security machine must undergo security verification; the cloud platform transmits the extracted key data to the cloud platform security machine for backup; the cloud platform performs security verification on all received user operations, and executes user operations that pass the security verification, and does not execute user operations that fail the security verification. By setting up a cloud platform security machine, the cloud platform security machine is isolated from the cloud platform in terms of physical hardware and software architecture, and interacts through a dedicated interactive port; the cloud platform security-related controls are taken over by the cloud platform security machine, and even if the cloud platform is at risk of being breached, the cloud platform security machine still has its own security protection capabilities due to its relative isolation from the cloud platform. Thereby achieving the purpose of improving the security of the cloud platform. However, this invention only considers the security verification before user access, and adopts an unconditional trust strategy for users who have passed the security verification. It cannot prevent users who access the cloud platform from being maliciously invaded and impersonated by attackers, causing them to become untrusted users, thereby further invading the entire cloud platform.

[0008] Therefore, technicians in this field are committed to developing a 5G MEC security assessment system and method. Summary of the invention

[0009] In view of the above-mentioned defects of the prior art, the technical problem to be solved by the present invention is how to implement security assessment before MEC accesses the network and periodic security assessment after accessing the network.

[0010] The inventor focuses on the 5G network system architecture and makes multi-faceted considerations on the security assessment of MEC based on the information on the 5G MEC network side. Based on the 5G MEC security risk research, the inventor uses the information on the MEC network side and combines the fuzzy theory and information entropy risk assessment method to design a method to obtain the MEC risk value R from the security risk indicators of MEC hardware, control plane interface, user plane, virtualization, MEC platform, application and management plane to assess the security of MEC. In addition, the inventor combines the trusted communication agent technology and introduces the access control module to achieve the security assessment of MEC before access and the periodic security assessment after access to the network.

[0011] The inventors used information from the 5G MEC network side to design a MEC security assessment system to conduct a security assessment on MEC, make security decisions, and send them to the SMF network element and the alarm module. The SMF network element then sends the security policy to the UPF, and the UPF terminates or allows data to be diverted to the MEC node. When the risk is too high, the alarm module generates a warning message.

[0012] In one embodiment of the present invention, a 5G MEC security assessment system is provided, including:

[0013] The security assessment module performs security assessment on risk factors from the MEC network and obtains the initial value of the risk factors;

[0014] The calculation and storage module calculates and stores the risk value R based on the initial value of the risk factor, calculates the risk threshold α based on the historical risk value, and sends the risk value R and the risk threshold α to the access control module;

[0015] The access control module compares the risk value R and the risk threshold α and makes a security decision, which is then sent to the SMF network element and the alarm module;

[0016] The alarm module generates a warning message when the risk value R is greater than the risk threshold α;

[0017] The security assessment module, computing and storage module, access control module and alarm module are connected in communication in sequence. In response to the risk factors of the MEC network, the security assessment module performs a security assessment to obtain the initial value of the risk factor and sends it to the computing and storage module. The computing and storage module calculates the risk value R based on the initial value of the risk factor and stores it. The risk threshold α is calculated based on the historical risk value, and the risk value R and the risk threshold α are sent to the access control module. The access control module compares the risk value R and the risk threshold α, makes a security decision, and sends the security decision to the SMF network element and the alarm module. The SMF network element sends the security decision to the UPF network element, and the UPF network element executes the security decision.

[0018] The inventors believe that 5G MEC faces security risks in MEC hardware, control plane interface, user plane, virtualization, MEC platform, application and management plane.

[0019] Optionally, in the 5G MEC security assessment system in the above embodiment, the risk factors include:

[0020] The MEC hardware security risk factor is that MEC is deployed in edge data centers. The central data center is close to users, often unattended, and in a relatively open environment, which is prone to physical damage.

[0021] The risk factor of the control plane interface is that attackers may illegally access the interface between the control plane and the edge UPF, causing threats of signaling forgery and sensitive information leakage;

[0022] The user plane security risk factor is that attackers illegally invade the MEC platform and then illegally access the UPF to steal user communication data;

[0023] The virtualization security risk factor is that MEC is based on virtualized infrastructure, with fuzzy security boundaries and a high risk of unauthorized access to resources. Most MEC applications use a container-based microservice architecture, and the isolation between containers and hosts, and between containers, poses security risks.

[0024] The security risk factors of the MEC platform are that the communication data between the MEC platform and applications may be tampered with, intercepted, and replayed; attackers use third-party applications to launch unauthorized access to the platform, thereby launching a denial of service attack or stealing sensitive data; if the system configuration of the MEC platform is maliciously changed, it will lead to unauthorized access of applications, affecting the operation of other applications and MEC hosts; it may also cause user data to be forwarded to unauthorized third-party applications, bringing security risks of user data leakage;

[0025] Application security risk factors are that the same application runs on the same MEC node, and improper isolation between different applications poses a security threat to other applications; different applications share the virtualized resources provided by the MEC platform. If the resource allocation does not match the application requirements, the normal operation of the application is affected;

[0026] The security risk factor on the management plane lies in the fact that the communication data between MEC orchestration management and MEC nodes can be stolen, tampered with, intercepted and replayed; if MEC orchestration management is illegally controlled or counterfeited by attackers, the attackers can illegally obtain MEC resource control permissions or related management information, and further illegally control MEC node resources, causing orchestration management to fail.

[0027] Furthermore, in the 5G MEC security assessment system in the above embodiment, the security assessment module includes:

[0028] Hardware security assessment submodule, which performs security assessment on MEC hardware;

[0029] The control plane security assessment submodule performs security assessment on the control plane interface;

[0030] The user plane security assessment submodule performs security assessment on the user plane;

[0031] The virtualization security assessment submodule performs security assessment on the virtualization infrastructure of MEC nodes;

[0032] The platform security assessment submodule conducts a security assessment on the MEC platform’s ability to resist internal and external threats;

[0033] Application security assessment submodule, which performs security assessment on applications;

[0034] The management plane security assessment submodule performs security assessment on MEC orchestration management;

[0035] The hardware security assessment submodule, the control plane security assessment submodule, the user plane security assessment submodule, the virtualization security assessment submodule, the platform security assessment submodule, the application security assessment submodule and the management plane security assessment submodule are arranged in parallel and are respectively communicated with the computing storage module.

[0036] The inventors took into account that MEC is deployed in edge data centers, and the central data room is close to users, often unattended, and in a relatively open environment, making it more vulnerable to physical damage; according to the requirements for a secure physical environment in "GB / T 22239-2019 Basic Requirements for Information Security Technology Network Security Level Protection", the inventors jointly evaluated and ensured the physical security of the infrastructure with the venue providers, and introduced security measures such as access control and environmental monitoring.

[0037] Furthermore, in the 5G MEC security assessment system in the above embodiment, the indicators for security assessment of MEC hardware include:

[0038] Physical environment security, including the physical environment of the MEC infrastructure in terms of equipment room location, power supply, anti-theft, fire prevention, water discharge, anti-static, temperature and humidity control, and electromagnetic protection.

[0039] Infrastructure access security, including MEC room entrance and exit control, identification and recording of people entering and leaving, cabinet switch recording and auditing, and whether MEC devices are trusted devices, to prevent illegal personnel from stealing sensitive data.

[0040] The inventors consider that an attacker may illegally access the interface between the control plane and the edge UPF, causing threats such as signaling forgery and sensitive information leakage.

[0041] Furthermore, in the 5G MEC security assessment system in the above embodiment, the indicators for security assessment of the control plane interface include the control plane security protection capability and whether the control plane interface complies with the 3GPP standard to use the IPSec tunnel to protect the integrity and confidentiality of the interface.

[0042] The inventors considered that the user plane function connects the 5G core network, MEC nodes and user terminals, realizes data diversion according to the needs of different services, and meets the functions of mobility management, legal monitoring, billing, and service quality assurance in edge scenarios. Attackers can illegally invade the MEC platform and then illegally access the UPF to steal user communication data.

[0043] Furthermore, in the 5G MEC security assessment system in the above embodiment, the indicators for security assessment of the user plane include:

[0044] User plane attack protection capability: intercept data, forge malicious data, and attack malformed messages on the user plane. Compare the UPF data packet loss rate before and after the attack to verify the MEC node's defense capability against illegal access and attacks on the user plane.

[0045] User plane access security, whether there is resource isolation between UPF and applications, and whether a virtual firewall is deployed to prevent illegal access.

[0046] The inventors took into consideration that MEC is based on virtualized infrastructure, with blurred security boundaries and a high risk of unauthorized access to resources; most MEC applications use a container-based microservice architecture, and the isolation between containers and host machines and between containers poses security risks.

[0047] Furthermore, in the 5G MEC security assessment system in the above embodiment, the indicators for security assessment of virtualization include:

[0048] The ability to isolate containers from host machines securely, verifying whether there are known virtual machine escape vulnerabilities through vulnerability scanning and intrusion detection;

[0049] The ability to securely isolate containers from each other verifies the isolation and protection between virtual machines on the same MEC platform.

[0050] The inventors considered that the threats focused on the MEC platform mainly include that the communication data between the MEC platform and applications may be tampered with, intercepted, and replayed; attackers can use third-party applications to initiate unauthorized access to the MEC platform, thereby launching a denial of service attack or stealing sensitive data; if the system configuration of the MEC platform is maliciously changed, it will lead to unauthorized access of the application, thereby affecting the operation of other applications and MEC hosts; it may also cause user data to be forwarded to unauthorized third-party applications, bringing security risks of user data leakage; it also includes the MEC platform's ability to monitor daily operations and security incidents.

[0051] Furthermore, in the 5G MEC security assessment system in the above embodiment, the indicators for security assessment of the MEC platform include:

[0052] Internal and external attack protection capabilities: Initiate data interception, unauthorized access, denial of service, malicious intrusion and other attacks from the outside to the MEC node, compare the data transmission rate and transmission delay of the MEC platform before and after the attack, and verify the ability of the MEC node to defend against external threats; attack the communication between the MEC node and UPF from the inside, compare the data transmission rate and transmission delay of the MEC platform before and after the attack, and verify the ability of the MEC node to defend against internal threats;

[0053] Daily operation and maintenance monitoring capabilities: Use an account with management privileges to log in to the MEC management platform to perform daily operation and maintenance operations, and verify the monitoring capabilities of MEC nodes for daily operation and maintenance operations through audit logs;

[0054] Security event monitoring capability, using various tests such as unauthorized access, denial of service, data replay, etc., to verify the MEC node's monitoring capabilities for malicious attacks and abnormal events.

[0055] The inventors took into consideration that different applications running on the same MEC node and improper isolation between different applications will pose a security threat to other applications; different applications share the virtualized resources provided by the MEC platform. If the resource allocation does not match the application requirements, it will affect the normal operation of the application.

[0056] Furthermore, in the 5G MEC security assessment system in the above embodiment, the indicators for security assessment of applications include application security monitoring capabilities, regularly monitoring and recording the application life cycle, and verifying the monitoring capabilities of the MEC node on the application.

[0057] The inventors took into consideration that the communication data between MEC orchestration management and MEC nodes may be stolen, tampered with, intercepted and replayed; if MEC orchestration management is illegally controlled or counterfeited by an attacker, the attacker may illegally obtain MEC resource control authority or related management information, and further illegally control MEC node resources, causing the orchestration management to fail.

[0058] Furthermore, in the 5G MEC security assessment system in the above embodiment, the indicators for security assessment of the management plane include orchestration management security response capability, using a counterfeit orchestration node to initiate illegal control access to the MEC node, and verifying the MEC node's MEC orchestration management capability.

[0059] Optionally, in the 5G MEC security assessment system in any of the above embodiments, the calculation and storage module constructs a risk factor set U for the MEC security membership matrix based on fuzzy theory, calculates the weight vector of the risk factor according to the information entropy theory, calculates the risk value R in combination with the initial value of the risk factor, and stores it.

[0060] Optionally, in the 5G MEC security assessment method in the above embodiment, the security decision includes: when the risk value R is greater than the risk threshold α, the alarm module generates a warning message, and the UPF network element terminates data diversion to the MEC node; when the risk value R is not greater than the risk threshold α, the UPF network element allows data diversion to the MEC node.

[0061] Based on any of the above embodiments, in another embodiment of the present invention, a 5G MEC security assessment method is provided, comprising the following steps:

[0062] S100, performing security assessment. In response to the risk factors of the MEC network, the security assessment module performs security assessment to obtain initial values ​​of the risk factors.

[0063] S200, calculating the risk value R, the calculation storage module calculates the risk value R according to the initial value of the risk factor, and calculates the risk threshold α according to the historical risk value, and sends the risk value R and the risk threshold α to the access control module;

[0064] S300, making a security decision, the access control module compares the risk value R with the risk threshold α, and makes a security decision after analysis;

[0065] S400: Execute security decision and conduct periodic security assessment, and repeat S100-S400.

[0066] Optionally, in the 5G MEC security assessment method in the above embodiment, the risk factors include MEC hardware security risk factors, control plane interface security risk factors, user plane security risk factors, virtualization security risk factors, MEC platform security risk factors, application security risk factors and management plane security risk factors.

[0067] Further, in the 5G MEC security assessment method in the above embodiment, step S100 includes:

[0068] S110, assign initial values ​​to MEC hardware security risk factors. The hardware security assessment submodule assigns values ​​based on the physical environment security and MEC infrastructure access security. A MEC infrastructure with a safe physical environment, stable power supply, and complete protection in all aspects is assigned a lower initial value, otherwise a higher initial value is assigned; the MEC room has access control, identification and recording of in and out personnel, cabinet switch records and audits. MEC devices are trusted devices and are assigned a lower initial value, otherwise a higher initial value is assigned; if a trusted device has a security vulnerability in the device vulnerability library, the initial value is adjusted upward according to the security vulnerability level;

[0069] S120, assigning initial values ​​to control plane security risk factors. The control plane security assessment submodule assigns values ​​according to the control plane security protection capability. The control plane interface follows the 3GPP standard and uses an IPSec tunnel, and is assigned a lower initial value. Otherwise, a higher initial value is assigned.

[0070] S130, assigning initial values ​​to user plane security risk factors. The user plane security assessment submodule assigns values ​​based on the user plane attack protection capability and user plane access security. If the difference in UPF data packet loss rate before and after the attack on the user plane of the MEC node is small, there is resource isolation between UPF and the application, and a virtual firewall is deployed, a lower initial value is assigned, otherwise a higher initial value is assigned;

[0071] S140, assigning initial values ​​to virtualization security risk factors. The virtualization security assessment submodule assigns values ​​based on the security isolation capabilities between the container and the host and between containers, and in combination with the existing virtual machine escape vulnerabilities and the isolation and protection between virtual machines. A higher initial value is assigned, otherwise a lower initial value is assigned.

[0072] S150, assigning initial values ​​to MEC platform security risk factors. The platform security assessment submodule assigns values ​​based on internal and external attack protection capabilities, daily operation and maintenance monitoring capabilities, and security event monitoring capabilities. If the difference between the data transmission rate and transmission delay of the MEC platform before and after the MEC node is attacked internally and externally is small, and the daily operation and maintenance operations, malicious attack events, and abnormal events are monitored and recorded completely, a lower initial value is assigned, otherwise a higher initial value is assigned;

[0073] S160, assigning initial values ​​to application security risk factors. The security assessment submodule assigns values ​​based on the application security monitoring capability. During the application life cycle, if there is no monitoring and record of illegal creation, deletion, or update, a lower initial value is assigned. Otherwise, a higher initial value is assigned.

[0074] S170: Assign initial values ​​to the security risk factors of the management plane. The management plane security assessment submodule assigns values ​​according to the orchestration management security response capability. The MEC node can identify counterfeit orchestration nodes and assign a lower initial value, otherwise assign a higher initial value.

[0075] S180. Obtain the initial value of risk factor K = {k1, k2, k3, k4, k5, k6, k7}, where k1, k2, k3, k4, k5, k6, k7 represent the initial values ​​of MEC hardware security risk factor, control plane interface security risk factor, user plane security risk factor, virtualization security risk factor, MEC platform security risk factor, application security risk factor, and management plane security risk factor, respectively;

[0076] S110-S170 are in no particular order.

[0077] Further, in the 5G MEC security assessment method in the above embodiment, step S200 includes:

[0078] S210. Construct a risk factor set U, where U = {u1, u2, u3, u4, u5, u6, u7}, where u1, u2, u3, u4, u5, u6, u7 represent MEC hardware security risk factors, control plane interface security risk factors, user plane security risk factors, virtualization security risk factors, MEC platform security risk factors, application security risk factors, and management plane security risk factors, respectively;

[0079] S220, construct a judgment set of security indicators, construct a judgment set C of the risk factor set U for the MEC security indicators = {C1, C2, C3, C4, C5}, where C1 to C5 represent the impact of the risk factors on the MEC security indicators as low, relatively low, medium, relatively high, and high, respectively;

[0080] S230, establish fuzzy mapping function f, f:u i →f(u i )=(u i1 ,u i2 ,u i3 ,u i4 ,u i5 ),u i1 ,u i2 ,u i3 ,u i4 ,u i5 ∈[0,1], 1≤i≤7, represents the i-th risk factor, 1≤j≤5, represents the j-th indicator in the evaluation set C, i and j are both integers, where u ij represents the support of the i-th risk factor for the j-th indicator of the evaluation set C. For example, f(u1) = (0.2, 0.3, 0.5, 0, 0), which means that the support of MEC hardware risk is 0.2, which has a low impact on MEC security, the support of MEC hardware risk is 0.3, which has a low impact on MEC security, the support of MEC hardware risk is 0.5, which has a medium impact on MEC security, and the support of MEC hardware risk is 0 and 0, which has a high and high impact on MEC security. Considering MEC hardware security risk factors, control plane interface security risk factors, user plane security risk factors, virtualization security risk factors, MEC platform security risk factors, application security risk factors, and management plane security risk factors, the integrity membership matrix M is obtained. 7×5 =(u ij ) 7×5 ;

[0081] S240. Calculate the security weight vector, and use the information entropy method to obtain the weights of MEC hardware security risk factors, control plane interface security risk factors, user plane security risk factors, virtualization security risk factors, MEC platform security risk factors, application security risk factors, and management plane security risk factors for MEC security.

[0082] Further, in the 5G MEC security assessment method in the above embodiment, step S250 includes:

[0083] S241. Using information entropy H i Measure the relative weight of the i-th risk factor:

[0084] S242, H i Normalize it,

[0085] S243, in order to intuitively reflect the impact of risk factors on MEC security, normalize again, w i represents the weight of the i-th risk factor on MEC security, where The weight vector W of all risk factors is obtained as (w1, w2, w3, w4, w5, w6, w7), where w1, w2, w3, w4, w5, w6, w7 represent the weight of MEC hardware risk, the weight of control plane interface risk, the weight of user plane risk, the weight of virtualization risk, the weight of MEC platform risk, the weight of application risk, and the weight of management plane risk respectively;

[0086] S244, use Calculate the risk value R of the MEC node.

[0087] Optionally, in the 5G MEC security assessment method in any of the foregoing embodiments, step S300 includes:

[0088] S310, the access control module compares the risk value R with the risk threshold α, makes a security decision, and sends the security decision to the SMF network element and the alarm module;

[0089] S320, SMF network element sends security decision to UPF network element.

[0090] Optionally, in the 5G MEC security assessment method in any of the foregoing embodiments, step S400 includes:

[0091] S410. When the risk value R is greater than the risk threshold α, the UPF network element stops the data diversion to the MEC node, and the alarm module generates a warning message;

[0092] S420: When the risk value R is not greater than the risk threshold α, the UPF network element allows data to be diverted to the MEC node;

[0093] S430: Periodic safety assessment, repeating S100-S400.

[0094] Furthermore, in the 5G MEC security assessment method in the above embodiment, the security decision includes: when the risk value R is greater than the risk threshold α, the alarm module generates a warning message, and the UPF network element terminates data diversion to the MEC node; when the risk value R is not greater than the risk threshold α, the UPF network element allows data diversion to the MEC node.

[0095] Based on the research on 5G MEC security risks, the present invention designs a MEC node security assessment system, which considers the security risks of MEC hardware, control plane interface, user plane, virtualization, MEC platform, application and management plane, and evaluates the security of MEC, covering a wide and comprehensive range. Combined with the trusted communication agent technology, the security assessment before MEC accesses the network and the periodic security assessment after accessing the network are realized, preventing the trusted MEC from being counterfeited and attacked by malicious nodes after accessing the network, resulting in untrusted MEC.

[0096] The concept, specific structure and technical effects of the present invention will be further described below in conjunction with the accompanying drawings to fully understand the purpose, characteristics and effects of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0097] Figure 1 is a schematic diagram illustrating the structure of a 5G MEC security assessment system according to an exemplary embodiment;

[0098] Figure 2 is a flow chart illustrating a 5G MEC security assessment method according to an exemplary embodiment. DETAILED DESCRIPTION

[0099] The following describes several preferred embodiments of the present invention with reference to the drawings in the specification, so that the technical content is clearer and easier to understand. The present invention can be embodied in many different forms of embodiments, and the protection scope of the present invention is not limited to the embodiments mentioned in the text.

[0100] In the drawings, components with the same structure are indicated by the same numerical reference numerals, and components with similar structures or functions are indicated by similar numerical reference numerals. The size and thickness of each component shown in the drawings are arbitrarily shown, and the present invention does not limit the size and thickness of each component. In order to make the illustration clearer, the thickness of the components is schematically exaggerated in some places in the drawings.

[0101] The inventors used information from the 5G MEC network side to design a MEC security assessment system to conduct a security assessment on MEC, make security decisions, and send them to the SMF network element and the alarm module. The SMF network element then sends the security policy to the UPF, and the UPF terminates or allows data to be diverted to the MEC node. When the risk is too high, the alarm module generates a warning message.

[0102] The inventors designed a 5G MEC security assessment system, such as Figure 1 As shown, including:

[0103] The security assessment module performs security assessment on risk factors from the MEC network and obtains the initial value of risk factors; risk factors include:

[0104] The MEC hardware security risk factor is that MEC is deployed in edge data centers. The central data center is close to users, often unattended, and in a relatively open environment, which is prone to physical damage.

[0105] The risk factor of the control plane interface is that attackers may illegally access the interface between the control plane and the edge UPF, causing threats of signaling forgery and sensitive information leakage;

[0106] The user plane security risk factor is that attackers illegally invade the MEC platform and then illegally access the UPF to steal user communication data;

[0107] The virtualization security risk factor is that MEC is based on virtualized infrastructure, with fuzzy security boundaries and a high risk of unauthorized access to resources. Most MEC applications use a container-based microservice architecture, and the isolation between containers and hosts, and between containers, poses security risks.

[0108] The security risk factors of the MEC platform are that the communication data between the MEC platform and applications may be tampered with, intercepted, and replayed; attackers use third-party applications to launch unauthorized access to the platform, thereby launching a denial of service attack or stealing sensitive data; if the system configuration of the MEC platform is maliciously changed, it will lead to unauthorized access of applications, affecting the operation of other applications and MEC hosts; it may also cause user data to be forwarded to unauthorized third-party applications, bringing security risks of user data leakage;

[0109] Application security risk factors are that the same application runs on the same MEC node, and improper isolation between different applications poses a security threat to other applications; different applications share the virtualized resources provided by the MEC platform. If the resource allocation does not match the application requirements, the normal operation of the application is affected;

[0110] The security risk factor on the management plane is that the communication data between MEC orchestration management and MEC nodes can be stolen, tampered with, intercepted and replayed; if MEC orchestration management is illegally controlled or counterfeited by attackers, attackers can illegally obtain MEC resource control permissions or related management information, and further illegally control MEC node resources, resulting in orchestration management failure; security assessment modules include:

[0111] The hardware security assessment submodule performs security assessment on MEC hardware. The indicators for security assessment on MEC hardware include:

[0112] Physical environment security, including the physical environment of the MEC infrastructure in terms of equipment room location, power supply, anti-theft, fire prevention, water discharge, anti-static, temperature and humidity control, and electromagnetic protection.

[0113] Infrastructure access security, including MEC room entrance and exit control, identification and recording of people entering and leaving, cabinet switch recording and auditing, and whether MEC devices are trusted devices to prevent illegal personnel from stealing sensitive data;

[0114] The control plane security assessment submodule performs security assessment on the control plane interface. The indicators for security assessment on the control plane interface include the control plane security protection capability and whether the control plane interface complies with the 3GPP standard to use IPSec tunnel to protect the integrity and confidentiality of the interface.

[0115] The user plane security assessment submodule performs security assessment on the user plane. The indicators for security assessment on the user plane include:

[0116] User plane attack protection capability: intercept data, forge malicious data, and attack malformed messages on the user plane. Compare the UPF data packet loss rate before and after the attack to verify the MEC node's defense capability against illegal access and attacks on the user plane.

[0117] User plane access security, whether there is resource isolation between UPF and applications, and whether a virtual firewall is deployed to prevent illegal access;

[0118] The virtualization security assessment submodule performs security assessment on the MEC node virtualization infrastructure. The indicators for security assessment of virtualization include:

[0119] The ability to isolate containers from host machines securely, verifying whether there are known virtual machine escape vulnerabilities through vulnerability scanning and intrusion detection;

[0120] The ability to isolate containers securely and verify the isolation and protection between virtual machines on the same MEC platform;

[0121] The platform security assessment submodule conducts a security assessment on the MEC platform's ability to resist internal and external threats. The indicators for the security assessment of the MEC platform include:

[0122] Internal and external attack protection capabilities: Initiate data interception, unauthorized access, denial of service, malicious intrusion and other attacks from the outside to the MEC node, compare the data transmission rate and transmission delay of the MEC platform before and after the attack, and verify the ability of the MEC node to defend against external threats; attack the communication between the MEC node and UPF from the inside, compare the data transmission rate and transmission delay of the MEC platform before and after the attack, and verify the ability of the MEC node to defend against internal threats;

[0123] Daily operation and maintenance monitoring capabilities: Use an account with management privileges to log in to the MEC management platform to perform daily operation and maintenance operations, and verify the monitoring capabilities of MEC nodes for daily operation and maintenance operations through audit logs;

[0124] Security event monitoring capability, using various test cases such as unauthorized access, denial of service, data replay, etc., to verify the MEC node's ability to monitor malicious attacks and abnormal events;

[0125] The application security assessment submodule performs security assessment on applications. The indicators for application security assessment include application security monitoring capabilities. The application life cycle is regularly monitored and recorded to verify the monitoring capabilities of MEC nodes on applications.

[0126] The management plane security assessment submodule conducts security assessment on MEC orchestration management. The indicators for security assessment on the management plane include orchestration management security response capability, using counterfeit orchestration nodes to initiate illegal control access to MEC nodes, and verifying the MEC node's ability to respond to MEC orchestration management security.

[0127] The hardware security assessment submodule, the control plane security assessment submodule, the user plane security assessment submodule, the virtualization security assessment submodule, the platform security assessment submodule, the application security assessment submodule and the management plane security assessment submodule are arranged in parallel and are respectively communicated with the computing storage module;

[0128] The calculation and storage module calculates and stores the risk value R based on the initial value of the risk factor, calculates the risk threshold α based on the historical risk value, and sends the risk value R and the risk threshold α to the access control module;

[0129] The access control module compares the risk value R and the risk threshold α and makes a security decision, which is then sent to the SMF network element and the alarm module;

[0130] The alarm module generates a warning message when the risk value R is greater than the risk threshold α.

[0131] The security assessment module, computing and storage module, access control module and alarm module are connected in sequence. In response to the risk factors of the MEC network, the security assessment module performs a security assessment to obtain the initial value of the risk factor and sends it to the computing and storage module. The security assessment module, computing and storage module, access control module and alarm module are connected in sequence. In response to the risk factors of the MEC network, the security assessment module performs a security assessment to obtain the initial value of the risk factor and sends it to the computing and storage module. The computing and storage module constructs the risk factor set U for the MEC security membership matrix based on fuzzy theory, calculates the weight vector of the risk factor according to the information entropy theory, and combines the risk factor set U with the risk factor set U to obtain the initial value of the risk factor set U. The initial value of the risk factor calculates the risk value R and stores it, calculates the risk threshold α according to the historical risk value, sends the risk value R and the risk threshold α to the access control module, and the access control module compares the risk value R and the risk threshold α, makes a security decision, and sends the security decision to the SMF network element and the alarm module. The SMF network element sends the security decision to the UPF network element, and the UPF network element executes the security decision. The security decision includes: when the risk value R is greater than the risk threshold α, the alarm module generates a warning message, and the UPF network element terminates the data diversion to the MEC node; when the risk value R is not greater than the risk threshold α, the UPF network element allows the data to be diverted to the MEC node.

[0132] Based on the above embodiments, the inventor provides a 5G MEC security assessment method, such as Figure 2 As shown, the following steps are included:

[0133] S100: Perform security assessment. In response to the risk factors of the MEC network, the security assessment module performs security assessment to obtain initial values ​​of risk factors. The risk factors include MEC hardware security risk factors, control plane interface security risk factors, user plane security risk factors, virtualization security risk factors, MEC platform security risk factors, security application risk factors, and management plane security risk factors. Specifically, they include:

[0134] S110, assign initial values ​​to MEC hardware security risk factors. The hardware security assessment submodule assigns values ​​based on the physical environment security and MEC infrastructure access security. A MEC infrastructure with a safe physical environment, stable power supply, and complete protection in all aspects is assigned a lower initial value, otherwise a higher initial value is assigned; the MEC room has access control, identification and recording of in and out personnel, cabinet switch records and audits. MEC devices are trusted devices and are assigned a lower initial value, otherwise a higher initial value is assigned; if a trusted device has a security vulnerability in the device vulnerability library, the initial value is adjusted upward according to the security vulnerability level;

[0135] S120, assigning initial values ​​to control plane security risk factors. The control plane security assessment submodule assigns values ​​according to the control plane security protection capability. The control plane interface follows the 3GPP standard and uses an IPSec tunnel, and is assigned a lower initial value. Otherwise, a higher initial value is assigned.

[0136] S130, assigning initial values ​​to user plane security risk factors. The user plane security assessment submodule assigns values ​​based on the user plane attack protection capability and user plane access security. If the difference in UPF data packet loss rate before and after the attack on the user plane of the MEC node is small, there is resource isolation between UPF and the application, and a virtual firewall is deployed, a lower initial value is assigned, otherwise a higher initial value is assigned;

[0137] S140, assigning initial values ​​to virtualization security risk factors. The virtualization security assessment submodule assigns values ​​based on the security isolation capabilities between the container and the host and between containers, and in combination with the existing virtual machine escape vulnerabilities and the isolation and protection between virtual machines. A higher initial value is assigned, otherwise a lower initial value is assigned.

[0138] S150, assigning initial values ​​to MEC platform security risk factors. The platform security assessment submodule assigns values ​​based on internal and external attack protection capabilities, daily operation and maintenance monitoring capabilities, and security event monitoring capabilities. If the difference between the data transmission rate and transmission delay of the MEC platform before and after the MEC node is attacked internally and externally is small, and the daily operation and maintenance operations, malicious attack events, and abnormal events are monitored and recorded completely, a lower initial value is assigned, otherwise a higher initial value is assigned;

[0139] S160, assigning initial values ​​to application security risk factors. The security assessment submodule assigns values ​​based on the application security monitoring capability. During the application life cycle, if there is no monitoring and record of illegal creation, deletion, or update, a lower initial value is assigned. Otherwise, a higher initial value is assigned.

[0140] S170: Assign initial values ​​to the security risk factors of the management plane. The management plane security assessment submodule assigns values ​​according to the orchestration management security response capability. The MEC node can identify counterfeit orchestration nodes and assign a lower initial value, otherwise assign a higher initial value.

[0141] S180. Obtain the initial value of risk factor K = {k1, k2, k3, k4, k5, k6, k7}, where k1, k2, k3, k4, k5, k6, k7 represent the initial values ​​of MEC hardware security risk factor, control plane interface security risk factor, user plane security risk factor, virtualization security risk factor, MEC platform security risk factor, application security risk factor and management plane security risk factor respectively; S110-S170 are in no particular order;

[0142] S200, calculating the risk value R, the calculation storage module calculates the risk value R according to the initial value of the risk factor, and calculates the risk threshold α according to the historical risk value, and sends the risk value R and the risk threshold α to the access control module; specifically including:

[0143] S210. Construct a risk factor set U, where U = {u1, u2, u3, u4, u5, u6, u7}, where u1, u2, u3, u4, u5, u6, u7 represent MEC hardware security risk factors, control plane interface security risk factors, user plane security risk factors, virtualization security risk factors, MEC platform security risk factors, application security risk factors, and management plane security risk factors, respectively;

[0144] S220, construct a judgment set of security indicators, construct a judgment set C of the risk factor set U for the MEC security indicators = {C1, C2, C3, C4, C5}, where C1 to C5 represent the impact of the risk factors on the MEC security indicators as low, relatively low, medium, relatively high, and high, respectively;

[0145] S230, establish fuzzy mapping function f, f:u i →f(u i )=(u i1 ,u i2 ,u i3 ,u i4 ,u i5 ),u i1 ,u i2 ,u i3 ,u i4 ,u i5 ∈[0,1], 1≤i≤7, represents the i-th risk factor, 1≤j≤5, represents the j-th indicator in the evaluation set C, i and j are both integers, where uii represents the support of the i-th risk factor for the j-th indicator in the evaluation set C, for example, f(u1)=(0.2,0.3,0.5,0,0), which means that the MEC hardware risk has a support of 0.2, which has a low impact on MEC security, the MEC hardware risk has a support of 0.3, which has a low impact on MEC security, the MEC hardware risk has a support of 0.5, which has a medium impact on MEC security, and the MEC hardware risk has a support of 0 and 0, which has a high and high support for MEC security. Considering MEC hardware security risk factors, control plane interface security risk factors, user plane security risk factors, virtualization security risk factors, MEC platform security risk factors, application security risk factors and management plane security risk factors, the integrity membership matrix M is obtained. 7×5 =(u ij ) 7×5 ;

[0146] S240, calculating the weight vector of security, and using the method of seeking information entropy to obtain the weights of MEC hardware security risk factors, control plane interface security risk factors, user plane security risk factors, virtualization security risk factors, MEC platform security risk factors, application security risk factors, and management plane security risk factors on MEC security; specifically including:

[0147] S241. Using information entropy H i Measure the relative weight of the i-th risk factor:

[0148] S242, H i Normalize it,

[0149] S243, in order to intuitively reflect the impact of risk factors on MEC security, normalize again, w i represents the weight of the i-th risk factor on MEC security, where The weight vector W of all risk factors is obtained as (w1, w2, w3, w4, w5, w6, w7), where w1, w2, w3, w4, w5, w6, w7 represent the weight of MEC hardware risk, the weight of control plane interface risk, the weight of user plane risk, the weight of virtualization risk, the weight of MEC platform risk, the weight of application risk, and the weight of management plane risk respectively;

[0150] S244, use Calculate the risk value R of the MEC node;

[0151] S300: Make a security decision. The access control module compares the risk value R with the risk threshold α and makes a security decision after analysis. Specifically, it includes:

[0152] S310, the access control module compares the risk value R with the risk threshold α, makes a security decision, and sends the security decision to the SMF network element and the alarm module;

[0153] S320, SMF network element sends security decision to UPF network element;

[0154] S400: Execute security decisions and conduct periodic security assessments, repeating S100-S400, specifically including:

[0155] S410: When the risk value R is greater than the risk threshold α, the UPF network element terminates data diversion

[0156] To the MEC node, the alarm module generates warning information;

[0157] S420, when the risk value R is not greater than the risk threshold α, the UPF network element allows data to be divided

[0158] Flow to MEC node;

[0159] S430: Periodic safety assessment, repeating S100-S400.

[0160] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.

Claims

1. A 5G MEC security assessment system, characterized in that: include: The security assessment module performs security assessment on risk factors from the MEC network and obtains the initial value of the risk factors; A calculation storage module calculates the risk value based on the initial value of the risk factor R And store, calculate the risk threshold α according to the historical risk value, and convert the risk value R and the risk threshold α to the access control module; Methods for calculating risk value R include: S210, construct risk factor set U , ;in They represent MEC hardware security risk factors, control plane interface security risk factors, user plane security risk factors, virtualization security risk factors, MEC platform security risk factors, application security risk factors, and management plane security risk factors respectively; S220, construct the evaluation set of safety indicators and the risk factor set Evaluation set of MEC security indicators , C1 to C5 represent the impact of risk factors on MEC safety indicators, respectively, low, lower, medium, higher, and high; S230, establish fuzzy mapping function , ; ,in, represents the support of the i-th risk factor for the j-th indicator of the judgment set C, taking into account the MEC hardware security risk factor, the control plane interface security risk factor, the user plane security risk factor, the virtualization security risk factor, the MEC platform security risk factor, the application security risk factor and the management plane security risk factor, and obtaining the integrity membership matrix ; S240, calculating a security weight vector, and using an information entropy method to obtain the weights of the MEC hardware security risk factor, the control plane interface security risk factor, the user plane security risk factor, the virtualization security risk factor, the MEC platform security risk factor, the application security risk factor, and the management plane security risk factor on MEC security; Access control module, compares the risk value R and the risk threshold α and make a security decision, and send the security decision to the SMF network element and the alarm module; Alarm module, when the risk value R When the risk is greater than the risk threshold α, a warning message is generated; The security assessment module, the computing and storage module, the access control module and the alarm module are sequentially connected in communication. In response to the risk factors of the MEC network, the security assessment module performs a security assessment to obtain an initial value of the risk factor and sends it to the computing and storage module. The computing and storage module calculates the risk value in combination with the initial value of the risk factor. R And store it, calculate the risk threshold α according to the historical risk value, and convert the risk value R and the risk threshold α to the access control module, and the access control module compares the risk value R and the risk threshold α, make a security decision, and send the security decision to the SMF network element and the alarm module, the SMF network element sends the security decision to the UPF network element, and the UPF network element executes the security decision.

2. The 5G MEC security assessment system according to claim 1, characterized in that: The safety assessment module includes: Hardware security assessment submodule, which performs security assessment on MEC hardware; The control plane security assessment submodule performs security assessment on the control plane interface; The user plane security assessment submodule performs security assessment on the user plane; The virtualization security assessment submodule performs security assessment on the virtualization infrastructure of MEC nodes; The platform security assessment submodule conducts a security assessment on the MEC platform’s ability to resist internal and external threats; Application security assessment submodule, which performs security assessment on applications; The management plane security assessment submodule performs security assessment on MEC orchestration management; The hardware security assessment submodule, the control plane security assessment submodule, the user plane security assessment submodule, the virtualization security assessment submodule, the platform security assessment submodule, the application security assessment submodule and the management plane security assessment submodule are arranged in parallel and are respectively communicatively connected with the computing storage module.

3. The 5G MEC security assessment system according to claim 2, characterized in that: The safety decision includes: when the risk value R When the risk value is greater than the risk threshold α, the alarm module generates a warning message, and the UPF network element stops the data diversion to the MEC node; when the risk value is greater than the risk threshold α, the alarm module generates a warning message, and the UPF network element stops the data diversion to the MEC node; R When it is not greater than the risk threshold α, the UPF network element allows data to be diverted to the MEC node.

4. A 5G MEC security assessment method, using the 5G MEC security assessment system as described in any one of claims 2-3, characterized in that: The steps include: S100, performing security assessment. In response to the risk factors of the MEC network, the security assessment module performs security assessment to obtain initial values ​​of the risk factors. S200, Calculate Risk Value R The calculation storage module calculates the risk value according to the initial value of the risk factor R , and calculate the risk threshold α based on the historical risk value, and convert the risk value R and the risk threshold α to the access control module; S300: Make a security decision. The access control module compares the risk values. R With the risk threshold α, a safety decision is made after analysis; S400: Execute the security decision and perform periodic security assessment, and repeat S100-S400.

5. The 5G MEC security assessment method according to claim 4, characterized in that: Risk factors include MEC hardware security risk factors, control plane interface security risk factors, user plane security risk factors, virtualization security risk factors, MEC platform security risk factors, application security risk factors and management plane security risk factors.

6. The 5G MEC security assessment method according to claim 5, characterized in that: The step S100 includes: S110, assigning initial values ​​to MEC hardware security risk factors. The hardware security assessment submodule assigns values ​​according to the physical environment security and MEC infrastructure access security. A MEC infrastructure with a safe physical environment, stable power supply, and complete protection in all aspects is assigned a lower initial value, otherwise a higher initial value is assigned; the MEC room has access control, identification and recording of in and out personnel, cabinet switch records and audits, and the MEC device is a trusted device, and a lower initial value is assigned, otherwise a higher initial value is assigned; if the trusted device has a security vulnerability in the device vulnerability library, the initial value is adjusted upward according to the level of the security vulnerability; S120, assigning initial values ​​to security risk factors of the control plane interface, wherein the control plane security assessment submodule assigns values ​​according to the control plane security protection capability, and the control plane interface follows the 3GPP standard to use the IPSec tunnel and is assigned a lower initial value, otherwise it is assigned a higher initial value; S130, assigning initial values ​​to user plane security risk factors. The user plane security assessment submodule assigns values ​​according to the user plane attack protection capability and the user plane access security. If the difference in UPF data packet loss rate before and after the attack on the user plane of the MEC node is small, there is resource isolation between UPF and the application, and a virtual firewall is deployed, a lower initial value is assigned, otherwise a higher initial value is assigned; S140, assigning initial values ​​to virtualization security risk factors. The virtualization security assessment submodule assigns values ​​according to the security isolation capability between the container and the host machine and the security isolation capability between the containers, and assigns a higher initial value based on the existing virtual machine escape vulnerability and the isolation and protection between the virtual machines. Otherwise, a lower initial value is assigned. S150, assigning initial values ​​to MEC platform security risk factors. The platform security assessment submodule assigns values ​​according to internal and external attack protection capabilities, daily operation and maintenance monitoring capabilities, and security event monitoring capabilities. If the difference between the data transmission rate and transmission delay of the MEC platform before and after the MEC node is attacked internally and externally is small, and the daily operation and maintenance operations, malicious attack events, and abnormal events are monitored and recorded completely, a lower initial value is assigned, otherwise a higher initial value is assigned; S160, assigning initial values ​​to application security risk factors. The application security assessment submodule assigns values ​​according to the application security monitoring capability. If no illegal creation, deletion, or update is monitored and recorded during the application life cycle, a lower initial value is assigned. Otherwise, a higher initial value is assigned. S170, assigning initial values ​​to management plane security risk factors. The management plane security assessment submodule assigns values ​​according to the orchestration management security response capability. The MEC node can identify counterfeit orchestration nodes and assign a lower initial value, otherwise assign a higher initial value. S180, obtaining the initial value of the risk factor ;in They represent the initial values ​​of MEC hardware security risk factors, control plane interface security risk factors, user plane security risk factors, virtualization security risk factors, MEC platform security risk factors, application security risk factors, and management plane security risk factors, respectively; There is no sequence for S110 to S170.

7. The 5G MEC security assessment method according to claim 6, characterized in that: The step S300 includes: S310: The access control module compares the risk value R and the risk threshold α, making the security decision, and sending the security decision to the SMF network element and the alarm module; S320. The SMF network element sends the security decision to the UPF network element.

8. The 5G MEC security assessment method according to claim 7, characterized in that: The step S400 includes: S410, when the risk value R When it is greater than the risk threshold α, the UPF network element stops the data diversion to the MEC node, and the alarm module generates a warning message; S420, when the risk value R When the risk value is not greater than the risk threshold α, the UPF network element allows the data to be diverted to the MEC node; S430: Periodic safety assessment, repeating S100-S400.