Method and device for automatically identifying shadow assets, electronic equipment and storage medium

By collecting and analyzing enterprise office network export traffic, identifying network asset characteristics and comparing exposure accounts, the problem of shadow asset identification caused by rapid changes in corporate business is solved, real-time and dynamic exposure asset management is achieved, and security and safety are improved. Compliance.

CN118646550AInactive Publication Date: 2024-09-13CHINA TELECOM CORP LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410186028.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-19
Publication Date
2024-09-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technology is difficult to identify and manage shadow assets in Internet-exposed assets caused by rapid changes in enterprise business in real time and dynamically, resulting in security management blind spots and compliance issues.

Method used

By collecting the export traffic of the enterprise's office network, the target traffic data is obtained, asset mapping and image recognition are performed, the characteristics of the network assets are determined, and compared with the enterprise's exposure account, it is automatically identified and judged as to whether it is a shadow asset, and automatic discovery and management are realized.

Benefits of technology

It realizes the immediate automatic identification and management of shadow assets in the enterprise network, improves the identification accuracy, narrows the detection scope, and reduces security risks and compliance issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118646550A
    Figure CN118646550A
Patent Text Reader

Abstract

The embodiment of the invention provides a method and device for automatically identifying shadow assets, electronic equipment and a storage medium. The method comprises the following steps: collecting enterprise office network exit traffic, and obtaining target traffic data; performing asset surveying and mapping on the target traffic data, and determining asset characteristics and asset images of each network asset corresponding to the target traffic data; performing image recognition on each asset image, and determining a target asset from the network assets; and searching an enterprise exposed surface standing book based on the asset characteristics of the target assets, and determining that the target assets are shadow assets of the enterprises if the asset characteristics cannot be searched. According to the embodiment of the invention, asset surveying and mapping are carried out on the target flow data, enterprise exposed surface assets are automatically found, shadow assets are screened out according to the identification result of the asset image, the situation of newly added exposed surface shadow assets is automatically found, and the accuracy of shadow asset identification 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 technology, and in particular to a method for automatically identifying shadow assets, a device for automatically identifying shadow assets, an electronic device and a storage medium. Background Art

[0002] With the rapid development of digitalization, more and more companies are incorporating production activities into information systems for management and control. Due to the need to provide external services, Internet-exposed assets are inevitable. Known exposed assets can be protected through security equipment protection, baseline reinforcement, access control, etc. to reduce the risk of hacker intrusion, but due to the rapid pace of business development and change of medium and large enterprises, shadow assets may be generated.

[0003] In order to discover shadow assets in Internet exposed assets, in the existing technical solutions, the administrator issues tasks at regular intervals, the security officer verifies and reports, and then updates the exposed surface ledger. However, due to the rapid changes and development of digital business, the traditional waiting method to update the exposed surface ledger can no longer meet the current situation, and there are the following pain points:

[0004] (1) The traditional exposure asset ledger is updated relatively slowly, making it difficult to accurately reflect newly emerged shadow assets in a timely manner, resulting in blind spots for security managers in their comprehensive management of exposure assets;

[0005] (2) The failure to update the exposed asset ledger in a timely manner may lead to the existence of unauthorized shadow assets, which not only increases security risks, but may also cause compliance issues due to some unknown assets, putting the company in a compliance dilemma.

[0006] Therefore, it is necessary to explore more real-time and dynamic exposure asset management methods in response to the rapid changes in digital business, so as to adapt to the current complex and changing security needs. Summary of the invention

[0007] In view of the defects in the prior art, embodiments of the present invention provide a method for automatically identifying shadow assets, a device for automatically identifying shadow assets, an electronic device and a storage medium.

[0008] In a first aspect, an embodiment of the present invention provides a method for automatically identifying shadow assets, comprising:

[0009] Collect the egress traffic of the enterprise office network and obtain the target traffic data;

[0010] Performing asset mapping on the target traffic data to determine asset characteristics and asset images of each network asset corresponding to the target traffic data;

[0011] Performing image recognition on each asset image to determine a target asset from the network assets;

[0012] The enterprise exposure ledger is searched based on the asset characteristics of the target asset. If the asset characteristics cannot be found, the target asset is determined to be a shadow asset of the enterprise.

[0013] As in the above method, optionally, collecting the enterprise office network egress traffic and obtaining target traffic data includes:

[0014] Obtain original traffic from the enterprise office network egress through traffic mirroring and splitting;

[0015] Based on deep data packet inspection technology, the original traffic is aggregated to obtain bidirectional traffic;

[0016] Filtering the first flow from the bidirectional flow according to the asset whitelist;

[0017] De-duplicating and merging the first traffic to determine target traffic;

[0018] Obtain the destination address, domain name information and port information corresponding to the target traffic.

[0019] As in the above method, optionally, performing asset mapping on the target traffic data to determine the asset characteristics and asset image of each network asset corresponding to the target traffic data includes:

[0020] Perform passive domain name system monitoring according to the domain name information corresponding to the target traffic to obtain the second traffic;

[0021] Filtering the third flow from the second flow according to the asset whitelist;

[0022] Performing asset mapping detection on the destination address, domain name and port information corresponding to the third traffic;

[0023] If the third traffic is a network asset, the asset features of the network asset are extracted, and an asset image of the network asset is acquired.

[0024] As in the above method, optionally, performing image recognition on each asset image to determine the target asset from the network assets includes:

[0025] Performing similarity matching between the asset image and enterprise-related images;

[0026] If the similarity is higher than a preset threshold, determining that the network asset corresponding to the asset image is the first asset;

[0027] According to the asset whitelist, a target asset is screened out from the first assets.

[0028] As in the above method, optionally, searching the enterprise exposure ledger based on the asset characteristics of the target asset includes:

[0029] Read the asset characteristics of each asset in the enterprise exposure ledger;

[0030] The asset characteristics of each asset are traversed to determine whether the asset characteristics of the target asset already exist in the enterprise exposure ledger.

[0031] As in the above method, optionally, the step of searching the enterprise exposure ledger based on the asset features of the target asset, and if the asset features cannot be found, then after determining that the target asset is a shadow asset of the enterprise, further comprises:

[0032] If the asset characteristics of the target asset are found in the enterprise exposure ledger, the asset status value is returned and the asset whitelist is updated.

[0033] As in the above method, optionally, the step of searching the enterprise exposure ledger based on the asset features of the target asset, and if the asset features cannot be found, then after determining that the target asset is a shadow asset of the enterprise, further comprises:

[0034] Add the shadow asset to the enterprise exposure ledger, and set the asset status value of the shadow asset to a preset value;

[0035] Generate asset alarms so that administrators can archive assets according to the preset values.

[0036] As the above method, optionally, it also includes:

[0037] If it is determined that the shadow asset has been archived, the asset status value of the shadow asset is updated in the enterprise exposure ledger, and the asset whitelist is updated.

[0038] In a second aspect, an embodiment of the present invention provides a device for automatically identifying shadow assets, including:

[0039] Traffic collection module, used to collect enterprise office network export traffic and obtain target traffic data;

[0040] An asset analysis module, used to perform asset mapping on the target traffic data, and determine the asset characteristics and asset image of each network asset corresponding to the target traffic data;

[0041] An image recognition module, used to perform image recognition on each asset image and determine a target asset from the network assets;

[0042] A processing module is used to search the enterprise exposure ledger based on the asset characteristics of the target asset. If the asset characteristics cannot be found, it is determined that the target asset is a shadow asset of the enterprise.

[0043] In a third aspect, an embodiment of the present invention provides an electronic device, including:

[0044] A memory and a processor, wherein the processor and the memory communicate with each other via a bus; the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the method for automatically identifying shadow assets as described in any one of the first aspects above.

[0045] In a fourth aspect, an embodiment of the present invention provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for automatically identifying shadow assets as described in any one of the first aspects above.

[0046] The method for automatically identifying shadow assets provided by the embodiment of the present invention collects the egress traffic of the enterprise office network to obtain target traffic data; performs asset mapping on the target traffic data to determine the asset characteristics and asset images of each network asset corresponding to the target traffic data; performs image recognition on each asset image to determine the target asset from the network assets; searches the enterprise exposure ledger based on the asset characteristics of the target asset, and if the asset characteristics cannot be found, determines that the target asset is the shadow asset of the enterprise. The method for automatically identifying shadow assets provided by the embodiment of the present invention obtains full traffic data through processing in the enterprise office network, reduces the scope of the Internet required to detect shadow assets, automatically discovers enterprise exposure assets by performing asset mapping on the target traffic data, and then screens out suspected shadow assets according to the recognition results of the asset images, and finally determines whether it is a shadow asset by whether it is in the enterprise exposure ledger, thereby realizing the automatic discovery of new exposure situations. No matter who uses the enterprise's network and when to build shadow assets related to the enterprise's business, it can be automatically identified and discovered at the first time, and the accuracy of identifying shadow assets is improved through asset image recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 is a flowchart of the steps of an embodiment of a method for automatically identifying shadow assets of the present invention;

[0048] Figure 2 It is a flow chart of the flow collection steps in an embodiment of a method for automatically identifying shadow assets of the present invention;

[0049] Figure 3 It is a flow chart of asset mapping steps in an embodiment of a method for automatically identifying shadow assets of the present invention;

[0050] Figure 4 It is a flow chart of image recognition steps in an embodiment of a method for automatically identifying shadow assets of the present invention;

[0051] Figure 5 It is a schematic diagram of the data structure corresponding to the assets in an embodiment of a method for automatically identifying shadow assets of the present invention;

[0052] Figure 6 It is a flow chart of shadow asset identification and archiving steps in an embodiment of a method for automatically identifying shadow assets of the present invention;

[0053] Figure 7 It is a structural block diagram of an embodiment of a device for automatically identifying shadow assets of the present invention;

[0054] Figure 8 is a structural block diagram of another embodiment of a device for automatically identifying shadow assets of the present invention;

[0055] Fig. 9 It is a structural block diagram of an electronic device embodiment of the present invention. DETAILED DESCRIPTION

[0056] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0057] Reference Figure 1 , shows a flowchart of a method for automatically identifying shadow assets according to an embodiment of the present invention, which may specifically include the following steps:

[0058] Step S110: Collect the enterprise office network egress traffic and obtain target traffic data;

[0059] Specifically, shadow assets refer to Internet technology (IT) assets or resources in an enterprise that are not authorized or approved by the management department. These assets may be purchased or deployed by the business department itself, and are not included in the official IT management and security control of the enterprise. For enterprises, shadow assets may bring a series of security risks and management challenges, because these assets usually lack standardized security measures, and also increase the complexity of overall IT management. Effective management and identification of shadow assets are crucial to the security and compliance management of enterprises.

[0060] In order to realize automatic discovery of new exposure surfaces and thus automatically identify shadow assets, we first collect traffic at the corporate office network exit, deploy traffic collection equipment at the corporate office network exit, and collect corporate public network exit traffic in real time. Since the corporate business system must be operated and maintained by corporate personnel, the office network exit is monitored. This step can narrow the scope of asset mapping and detection, and avoid the needle-in-a-haystack approach of finding shadow assets on the Internet. In addition, through real-time traffic collection, the company's exposed assets can be discovered in a timely manner.

[0061] After collecting traffic, you can obtain full traffic data, filter the full traffic data, and get the target traffic data, that is, the traffic data required for asset mapping in the next step. Among them, full traffic refers to all data traffic transmitted through the network within a specified time period, regardless of its type, source, destination or protocol. Full traffic includes data sent from all devices (such as computers, servers, network devices, etc.), data for these devices, and all data transmitted within the network. Analyzing full traffic can help identify potential security threats, performance issues or other network-related situations. The results of automated discovery are highly correlated with the completeness and quality of traffic collection.

[0062] Step S120: performing asset mapping on the target traffic data to determine the asset characteristics and asset image of each network asset corresponding to the target traffic data;

[0063] Specifically, asset mapping refers to the comprehensive and systematic investigation and recording of all assets of an enterprise, including various types of assets such as real estate, equipment, intellectual property, human resources, etc. The purpose of asset mapping is to accurately understand the various assets owned by the enterprise, including their location, status, value and other information, so as to provide important data support for the management, planning and decision-making of the enterprise. Asset mapping usually involves the use of various survey techniques and tools, such as geographic information systems (GIS), database records, field surveys, etc., to establish a comprehensive asset inventory and information base.

[0064] Perform asset mapping on the target traffic to detect whether the relevant Internet assets are network assets. If so, extract the asset features of the network assets, such as the Uniform Resource Locator (URL) value of the network assets, and obtain asset images of the network assets, such as web page screenshots, web page logos, etc.

[0065] Step S130: performing image recognition on each asset image, and determining a target asset from the network assets;

[0066] Specifically, Computer Vision (CV) technology is a subfield of artificial intelligence that focuses on enabling machines to "understand" images or videos and extract useful information from them. Computer vision technology is widely used in face recognition, image recognition, medical image analysis and other fields. Using CV technology, each asset image is recognized. Specifically, the machine learning model is trained and trained. Through the machine learning model, the output of the asset image is whether it is a target asset related to the enterprise, that is, whether it is a suspected shadow asset exposed by the enterprise.

[0067] Step S140: searching the enterprise exposure ledger based on the asset characteristics of the target asset. If the asset characteristics cannot be found, determining that the target asset is a shadow asset of the enterprise.

[0068] Specifically, the enterprise exposure ledger records the archived enterprise network assets. The asset characteristics of each network asset can be added to the enterprise exposure ledger, and then the enterprise exposure ledger can be searched according to the asset characteristics of the target asset to check whether the asset characteristics of the target asset exist in the enterprise exposure ledger. If not, it indicates that the target asset is a shadow asset and the management personnel need to be notified to manage the shadow asset.

[0069] The method for automatically identifying shadow assets provided by the embodiment of the present invention collects the egress traffic of the enterprise office network to obtain target traffic data; performs asset mapping on the target traffic data to determine the asset characteristics and asset images of each network asset corresponding to the target traffic data; performs image recognition on each asset image to determine the target asset from the network assets; searches the enterprise exposure ledger based on the asset characteristics of the target asset, and if the asset characteristics cannot be found, determines that the target asset is the shadow asset of the enterprise. The method for automatically identifying shadow assets provided by the embodiment of the present invention obtains full traffic data through processing in the enterprise office network, reduces the scope of the Internet required to detect shadow assets, automatically discovers enterprise exposure assets by performing asset mapping on the target traffic data, and then screens out suspected shadow assets according to the recognition results of the asset images, and finally determines whether it is a shadow asset by whether it is in the enterprise exposure ledger, thereby realizing the automatic discovery of new exposure situations. No matter who uses the enterprise's network and when to build shadow assets related to the enterprise's business, it can be automatically identified and discovered at the first time, and the accuracy of identifying shadow assets is improved through asset image recognition.

[0070] On the basis of the above embodiment, further, collecting the enterprise network egress traffic and obtaining target traffic data includes:

[0071] Obtain original traffic from the enterprise office network egress through traffic mirroring and splitting;

[0072] Based on deep data packet inspection technology, the original traffic is aggregated to obtain bidirectional traffic;

[0073] Filtering the first flow from the bidirectional flow according to the asset whitelist;

[0074] De-duplicating and merging the first traffic to determine target traffic;

[0075] Obtain the destination address, domain name information and port information corresponding to the target traffic.

[0076] Specifically, combined with full-flow technology, the office network browsing data at the enterprise Internet exit is monitored and collected. After excluding the domain names of major commonly used Internet software, the destination domain name, Internet Protocol address (Internet Protocol, IP), and port are retained to achieve full monitoring of the access address.

[0077] Traffic collection can be done in a variety of ways, such as mirroring and splitting, and combined with deep packet inspection technology (DPI) to converge the traffic in both directions to obtain bidirectional traffic, which is used to define the scope of the next step of mapping. This step is crucial. The results of automated discovery are highly correlated with the completeness and quality of traffic collection. Then, based on the asset whitelist, filter out the traffic that is not in the traffic whitelist corresponding to the asset whitelist. After deduplicating and merging these traffic, get the target traffic. Finally, get the destination address, domain name information and port information corresponding to the target traffic as the mapping object for asset mapping.

[0078] Figure 2 This is a flow chart of the flow collection steps in an embodiment of a method for automatically identifying shadow assets of the present invention, such as Figure 2 As shown, the following steps are included:

[0079] Step S111: Obtain original traffic from the egress of the enterprise office network by means of traffic mirroring and splitting;

[0080] Step S112: Aggregate the original traffic based on deep data packet inspection technology to obtain bidirectional traffic;

[0081] Specifically, by using DPI technology to aggregate the original traffic data, bidirectional traffic backtracking can be achieved to find out all bidirectional traffic associated with the original traffic.

[0082] Step S113: Filter out the first flow from the bidirectional flow according to the asset whitelist;

[0083] Specifically, according to the asset whitelist, the traffic address whitelist is determined, and according to the traffic address whitelist, the first traffic is filtered out from the two-way traffic. By removing the whitelist address, the performance consumption can be greatly reduced. Among them, the asset whitelist refers to the non-shadow assets that have been determined, and the filtering rules can be manually configured or automatically configured to obtain the asset whitelist.

[0084] Step S114: De-duplicate and merge the first traffic to determine the target traffic;

[0085] Step S115: Obtain the destination address, domain name information and port information corresponding to the target traffic.

[0086] Specifically, the duplicate flows in the first flow are merged to obtain the target flow, and finally the destination IP address, domain name information and port information corresponding to the target flow are used as the target of the next asset mapping.

[0087] The embodiment of the present invention deploys traffic collection equipment at the exit of the enterprise office network, filters out target traffic through an asset whitelist, and uses the destination IP, domain name, and port of the target traffic as the target of asset mapping, thereby realizing automatic supplementation of shadow assets and making full use of the development characteristics of the Internet and the characteristics of office access points for operation and maintenance personnel.

[0088] On the basis of the above embodiments, further, performing asset mapping on the target traffic data to determine the asset characteristics and asset image of each network asset corresponding to the target traffic data includes:

[0089] Perform passive domain name system monitoring according to the domain name information corresponding to the target traffic to obtain the second traffic;

[0090] Filtering the third flow from the second flow according to the asset whitelist;

[0091] Performing asset mapping detection on the destination address, domain name and port information corresponding to the third traffic;

[0092] If the third traffic is a network asset, the asset features of the network asset are extracted, and an asset image of the network asset is acquired.

[0093] Specifically, Figure 3 : is a flowchart of asset mapping steps in an embodiment of a method for automatically identifying shadow assets of the present invention, such as Figure 3 As shown, the steps of asset mapping include:

[0094] Step S121: Perform passive domain name system monitoring according to the domain name information corresponding to the target traffic to obtain the second traffic;

[0095] Specifically, passive DNS monitoring refers to the continuous monitoring of domain name resolution activities by recording Domain Name System (DNS) query and response packets. This technology does not require modification of the existing DNS protocol or infrastructure, but passively monitors and records DNS exchange information, and the monitoring device is not aware of it. According to the domain name information corresponding to the target traffic, passive DNS monitoring can obtain all traffic related to the domain name information, which is recorded as the second traffic.

[0096] Step S122: Filter out a third flow from the second flow according to the asset whitelist;

[0097] Specifically, according to the asset whitelist, the flow address whitelist is determined, the second flow is filtered according to the flow address whitelist, the flow in the flow address whitelist is filtered out, and the third flow is screened out. It should be noted that since the asset whitelist can be updated in real time, filtering the flow through the asset whitelist again can reduce unnecessary asset mapping processes and improve asset mapping efficiency.

[0098] Step S123: performing asset mapping detection on the destination address, domain name and port information corresponding to the third flow;

[0099] Specifically, the destination address, domain name and port information corresponding to the third traffic are scanned to detect whether the relevant Internet assets are information system assets. Various investigation techniques and tools, such as geographic information system (GIS), database records, on-site inspections, etc., are used to establish a comprehensive asset list and information base.

[0100] Step S124: If the third traffic is a network asset, extract the asset features of the network asset and obtain the asset image of the network asset.

[0101] Specifically, if the third flow is determined to be a network asset, it is determined to be an enterprise exposed surface asset, and the asset features of the network asset are extracted, such as the website URL value, website title, etc. Then, the asset image of the network asset is obtained, such as the website LOGO image, webpage screenshot, and the asset features are associated with the asset image to generate a JS key-value pair data (JavaScript Object Notation, JSON) format file. The exposed surface assets are deduplicated using the JSON function.

[0102] In the embodiment of the present invention, the collected domain name data is monitored using passive domain name system monitoring technology, and automatic discovery of shadow assets is achieved by passively obtaining access information and actively mapping assets.

[0103] On the basis of the above embodiments, further, performing image recognition on each asset image to determine the target asset from the network assets includes:

[0104] Performing similarity matching between the asset image and enterprise-related images;

[0105] If the similarity is higher than a preset threshold, determining that the network asset corresponding to the asset image is the first asset;

[0106] According to the asset whitelist, a target asset is screened out from the first assets.

[0107] Specifically, the asset image and the enterprise-related image are fitted, and the LOGO similarity, text description relevance, and business similarity are cultivated to enable it to accurately determine whether it is an exposed surface asset related to the enterprise.

[0108] Figure 4 FIG. 1 is a flow chart of image recognition steps in an embodiment of a method for automatically identifying shadow assets of the present invention. Figure 4 As shown, the image recognition step includes:

[0109] Step S131, performing similarity matching between the asset image and the enterprise-related image;

[0110] Specifically, asset images are loaded according to asset features, including URL values, website titles, LOGO images, web page screenshots, etc., and recognized through CV, and judged based on keyword matching, LOGO similarity matching, web page recognition content, etc.

[0111] Step S132: if the similarity is higher than a preset threshold, determining that the network asset corresponding to the asset image is the first asset;

[0112] Specifically, if the similarity is higher than a preset threshold, it indicates that the asset image is similar to the enterprise-related image and may be an exposed asset of the enterprise, and the network asset corresponding to the asset image is taken as the first asset.

[0113] Step S133: Filter out target assets from the first assets according to the asset whitelist.

[0114] Specifically, according to the asset whitelist, the first asset is filtered, the network assets in the asset whitelist are filtered out, and the target asset is screened out.

[0115] The embodiment of the present invention combines passive traffic detection technology with active asset detection technology, and then uses computer vision technology for assistance, thereby significantly reducing the false alarm rate.

[0116] On the basis of the above embodiments, further, searching the enterprise exposure ledger based on the asset characteristics of the target asset includes:

[0117] Read the asset characteristics of each asset in the enterprise exposure ledger;

[0118] The asset characteristics of each asset are traversed to determine whether the asset characteristics of the target asset already exist in the enterprise exposure ledger.

[0119] Specifically, Figure 5 : is a schematic diagram of the data structure corresponding to the assets in an embodiment of a method for automatically identifying shadow assets of the present invention, such as Figure 5 As shown, features are extracted for each asset data, including Name asset title, URL asset location address, Department asset department, State asset filing status, etc.

[0120] Concatenate the extracted feature values, convert them into a string, and apply the JSON function to the string to generate a JSON list. Get the JSON list of different asset data through the message queue.

[0121] The asset characteristic value URL of each asset in the enterprise exposure ledger is read through the JSON list, and the characteristic value URL is compared with the URL value in the existing exposure ledger. If the characteristic value already exists in the exposure ledger, it means that the asset data is duplicated and does not need to be added to the exposure ledger. If the characteristic value does not exist in the exposure ledger, the data is new and the asset is an enterprise shadow asset.

[0122] In the embodiment of the present invention, asset mapping, full flow, and CV technology are combined to integrate and deduplicate the access information of the enterprise office network export, map and retain the shadow asset information, and use CV technology to verify accuracy. Since the enterprise business system must be operated and maintained by enterprise personnel, the office network export is monitored. Through this step, the asset mapping detection range is narrowed to avoid the needle-in-a-haystack approach of finding shadow assets on the Internet. At the same time, CV technology is added to check the accuracy again. The three technologies complement each other and complement each other. By extracting the characteristic value of the asset and using the JSON function to deduplicate the exposed surface data, the efficiency of shadow asset identification is improved.

[0123] On the basis of the above embodiments, further, searching the enterprise exposure ledger based on the asset characteristics of the target asset, if the asset characteristics cannot be found, then determining that the target asset is a shadow asset of the enterprise, further includes:

[0124] If the asset characteristics of the target asset are found in the enterprise exposure ledger, the asset status value is returned and the asset whitelist is updated.

[0125] Specifically, the asset characteristic value URL of each asset in the enterprise exposure ledger is read through the JSON list, and the characteristic value URL is compared with the URL value already in the exposure ledger. If the characteristic value already exists in the exposure ledger, it means that the asset data is duplicated and does not need to be added to the exposure ledger. The asset status value is returned and the asset whitelist is updated. The image under the URL characteristic value is no longer recognized. At the same time, the message is passed back to the asset mapping and full-flow process, and the asset whitelist is updated to further reduce invalid performance consumption.

[0126] On the basis of the above embodiments, further, searching the enterprise exposure ledger based on the asset characteristics of the target asset, if the asset characteristics cannot be found, then determining that the target asset is a shadow asset of the enterprise, further includes:

[0127] Add the shadow asset to the enterprise exposure ledger, and set the asset status value of the shadow asset to a preset value;

[0128] Generate asset alarms so that administrators can archive assets according to the preset values.

[0129] Specifically, the URL information of the exposure ledger data is read from the database and stored as a map object. By traversing the mapURL key value, it is determined whether the target asset is already in the exposure ledger. If it is, the status code is returned and it is automatically added to the asset whitelist. If the target asset is not in the exposure ledger, it is a shadow asset. Since the feature value of the newly added asset is not in the exposure ledger, it needs to be added to the exposure ledger, and its feature value is passed to the exposure ledger. At the same time, the archiving state State value is saved in the exposure ledger as a preset value. For example, State is 1, which means the shadow asset is archived. An alarm is issued to the administrator so that the administrator can determine that the asset has not been archived according to the preset value of State value. The archiving status of the shadow asset data is represented by the state value in the exposure ledger.

[0130] In the embodiment of the present invention, the URL value corresponding to the shadow asset is provided, and the exposure surface ledger after deduplication is used to timely grasp the latest exposure surface data, so that the automatically discovered shadow assets can be conveniently added to the exposure surface ledger.

[0131] On the basis of the above embodiments, further comprising:

[0132] If it is determined that the shadow asset has been archived, the asset status value of the shadow asset is updated in the enterprise exposure ledger, and the asset whitelist is updated.

[0133] Specifically, the suspected shadow assets that are finally confirmed are added to the exposure ledger to realize real-time automatic update of alarm notifications to security management personnel, and their status is marked as unclaimed assets. After manual confirmation by the administrator, the internal enterprise’s affiliated department is determined, and a task order is issued for delivery confirmation. If a department claims it, it is automatically marked as owned, the state value is updated, and the asset whitelist is updated.

[0134] Figure 6 : is a flowchart of shadow asset identification and archiving steps in an embodiment of a method for automatically identifying shadow assets of the present invention, such as Figure 6 As shown, the following steps are included:

[0135] Step S141, obtaining the asset characteristic value of the target asset;

[0136] Step S142: determine whether the target asset is a known asset;

[0137] Specifically, the characteristic value URL information of the target asset is compared with the known assets, the exposure ledger data URL information is read from the database and stored as a map object, and the map URL key value is traversed to determine whether the asset is already in the exposure ledger. If it is, the status code is returned. If the asset is not in the exposure ledger, it is a shadow asset.

[0138] Step S143: generate an alarm for the shadow asset and notify the administrator;

[0139] Specifically, since the newly added asset characteristic value is not in the exposure ledger, it needs to be added to the exposure ledger and the archiving status State is marked as 1. The administrator needs to identify and judge it and send it to each sub-department for confirmation and archiving.

[0140] Step S144: After confirming the archive, update the status and asset whitelist.

[0141] Specifically, after the assets are archived, the archive status code State is automatically updated and the corresponding assets are stored in the database, the asset whitelist is updated, the iText library is provided to export the latest exposed surface data, and a PDF report is generated.

[0142] The embodiment of the present invention combines asset mapping, full flow, and CV technology to discover shadow assets by passively acquiring access information and actively mapping assets, and manages shadow asset information in an interface, automatically generates reports, and supplements the enterprise's Internet asset ledger.

[0143] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0144] Reference Figure 7 , shows a structural block diagram of an embodiment of a device for automatically identifying shadow assets of the present invention, which may specifically include the following modules:

[0145] The traffic collection module 710 is used to collect the egress traffic of the enterprise office network and obtain target traffic data;

[0146] The asset analysis module 720 is used to perform asset mapping on the target traffic data to determine the asset characteristics and asset image of each network asset corresponding to the target traffic data;

[0147] An image recognition module 730 is used to perform image recognition on each asset image and determine a target asset from the network assets;

[0148] The processing module 740 is used to search the enterprise exposure ledger based on the asset characteristics of the target asset. If the asset characteristics cannot be found, it is determined that the target asset is a shadow asset of the enterprise.

[0149] As in the above device, optionally, the flow collection module 710 is specifically used for:

[0150] Obtain original traffic from the enterprise office network egress through traffic mirroring and splitting;

[0151] Based on deep data packet inspection technology, the original traffic is aggregated to obtain bidirectional traffic;

[0152] Filtering the first flow from the bidirectional flow according to the asset whitelist;

[0153] De-duplicating and merging the first traffic to determine target traffic;

[0154] Obtain the destination address, domain name information and port information corresponding to the target traffic.

[0155] As in the above device, optionally, the asset analysis module 720 is specifically used for:

[0156] Perform passive domain name system monitoring according to the domain name information corresponding to the target traffic to obtain the second traffic;

[0157] Filtering the third flow from the second flow according to the asset whitelist;

[0158] Performing asset mapping detection on the destination address, domain name and port information corresponding to the third traffic;

[0159] If the third traffic is a network asset, the asset features of the network asset are extracted, and an asset image of the network asset is acquired.

[0160] As in the above device, optionally, the image recognition module 730 is specifically used for:

[0161] Performing similarity matching between the asset image and enterprise-related images;

[0162] If the similarity is higher than a preset threshold, determining that the network asset corresponding to the asset image is the first asset;

[0163] According to the asset whitelist, a target asset is screened out from the first assets.

[0164] As in the above device, optionally, the processing module 740 is specifically used for:

[0165] Read the asset characteristics of each asset in the enterprise exposure ledger;

[0166] The asset characteristics of each asset are traversed to determine whether the asset characteristics of the target asset already exist in the enterprise exposure ledger.

[0167] As in the above device, optionally, the processing module 740 is further used for:

[0168] If the asset characteristics of the target asset are found in the enterprise exposure ledger, the asset status value is returned and the asset whitelist is updated.

[0169] As in the above device, optionally, the processing module 740 is further used for:

[0170] Add the shadow asset to the enterprise exposure ledger, and set the asset status value of the shadow asset to a preset value;

[0171] Generate asset alarms so that administrators can archive assets according to the preset values.

[0172] As in the above device, optionally, the processing module 740 is further used for:

[0173] If it is determined that the shadow asset has been archived, the asset status value of the shadow asset is updated in the enterprise exposure ledger, and the asset whitelist is updated.

[0174] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment, which will not be repeated here.

[0175] Reference Figure 8 , showing a structural block diagram of another embodiment of the device for automatically identifying shadow assets of the present invention, which may specifically include the following modules: a full-flow module 810, an asset mapping module 820, a computer vision module 830 and a management module 840.

[0176] Specifically, the full traffic module 810 includes: a whitelist configuration submodule, a traffic collection submodule, a deduplication merging submodule, and a collection result display submodule. The full traffic module 810 is used to: adopt multiple methods such as mirroring and splitting, combined with DPI to perform bidirectional convergence of traffic, which is used to define the next step of mapping scope. This step is crucial. The results of automated discovery are highly correlated with the completeness and quality of traffic collection. It pushes the destination address and domain name that are not in the whitelist to the asset mapping module 820 for detection.

[0177] The asset mapping module 820 includes: a task configuration submodule, a passive DNS monitoring submodule, a deduplication merging submodule, and a scanning and display submodule. The asset mapping module 820 is used to scan assets by inputting the destination IP, domain name, and port obtained by the full traffic module 810 as the data required by the task configuration submodule, and detecting whether the relevant Internet assets are information system assets. At the same time, the information is transmitted to the computer vision module 830 for accuracy verification.

[0178] The computer vision module 830 includes: an image recognition and classification submodule, a machine learning submodule, a deduplication and merging submodule and a message queue processing submodule. The computer vision module 830 is used to receive the pictures fed by the asset mapping module 820 for fitting, and cultivate the LOGO similarity, text description relevance, and business similarity so that it can accurately determine whether it is an exposed surface asset related to the enterprise. When the address of the asset is not in the whitelist, the asset information is added to the exposed surface ledger through the message queue, submitted to the management module 840, and marked as an unclaimed asset.

[0179] The management module 840 is used to provide services such as rule configuration, asset deduplication, asset export, and report generation. The rule configuration provides rule management for the three independent modules of the full flow module 810, the asset mapping module 820, and the computer data module 830, such as whitelist management. The rule configuration is based on OpenAPi for interface docking to improve the usability. The three modules run independently, and the platform is built in a lightly coupled manner, which is easier to maintain later. The suspected shadow assets that are finally confirmed are added to the exposure ledger to realize real-time automatic update of alarms, notify security management personnel, and mark them as unclaimed assets. After manual confirmation by the administrator, the internal enterprise belonging department is determined, and a task order is issued for transmission confirmation. If a department claims it, it is automatically marked as belonging.

[0180] The device for automatically identifying shadow assets provided by the embodiment of the present invention combines asset mapping, full flow, and computer vision technology to integrate and deduplicate enterprise office network export access information, map and retain shadow asset information, and verify accuracy using computer vision technology. Since the enterprise business system must be operated and maintained by enterprise personnel, the office network export is monitored. This step reduces the scope of asset mapping detection and avoids the needle-in-a-haystack approach of finding shadow assets on the Internet. At the same time, computer vision technology is added to check accuracy again. The three technologies complement each other and complement each other. Through standardized modules or components, automatically discovered shadow assets can be easily added to the enterprise exposure ledger.

[0181] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment, which will not be repeated here.

[0182] Reference Fig. 9 , shows a structural block diagram of an electronic device embodiment of the present invention, the device includes: a processor (processor) 910, a memory (memory) 920 and a bus 930;

[0183] The processor 910 and the memory 920 communicate with each other via the bus 930;

[0184] The processor 910 is used to call the program instructions in the memory 920 to execute the methods provided by the above-mentioned method embodiments, for example, including: collecting the enterprise office network export traffic to obtain target traffic data; performing asset mapping on the target traffic data to determine the asset characteristics and asset images of each network asset corresponding to the target traffic data; performing image recognition on each asset image to determine the target asset from the network assets; searching the enterprise exposure ledger based on the asset characteristics of the target asset, and if the asset characteristics cannot be found, determining that the target asset is the shadow asset of the enterprise.

[0185] An embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: collecting the enterprise office network export traffic to obtain target traffic data; performing asset mapping on the target traffic data to determine the asset characteristics and asset images of each network asset corresponding to the target traffic data; performing image recognition on each asset image to determine the target asset from the network assets; searching the enterprise exposure ledger based on the asset characteristics of the target asset, and if the asset characteristics cannot be found, determining that the target asset is the shadow asset of the enterprise.

[0186] An embodiment of the present invention provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions enable the computer to execute the methods provided by the above-mentioned method embodiments, for example, including: collecting the enterprise office network export traffic to obtain target traffic data; performing asset mapping on the target traffic data to determine the asset characteristics and asset images of each network asset corresponding to the target traffic data; performing image recognition on each asset image to determine the target asset from the network assets; searching the enterprise exposure ledger based on the asset characteristics of the target asset, and if the asset characteristics cannot be found, determining that the target asset is the shadow asset of the enterprise.

[0187] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0188] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0189] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0190] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0191] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable terminal device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0192] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0193] Finally, it should be noted that, in this article, 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 "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal 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 terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0194] The method for automatically identifying shadow assets, the device for automatically identifying shadow assets, the electronic device and the storage medium provided by the present invention are introduced in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for automatically identifying shadow assets, characterized in that: include: Collect the egress traffic of the enterprise office network and obtain the target traffic data; Performing asset mapping on the target traffic data to determine asset characteristics and asset images of each network asset corresponding to the target traffic data; Performing image recognition on each asset image to determine a target asset from the network assets; The enterprise exposure ledger is searched based on the asset characteristics of the target asset. If the asset characteristics cannot be found, the target asset is determined to be a shadow asset of the enterprise.

2. The method according to claim 1, characterized in that The collecting of the enterprise office network egress traffic and obtaining target traffic data includes: Obtain original traffic from the enterprise office network egress through traffic mirroring and splitting; Based on deep data packet inspection technology, the original traffic is aggregated to obtain bidirectional traffic; Filtering the first flow from the bidirectional flow according to the asset whitelist; De-duplicating and merging the first traffic to determine target traffic; Obtain the destination address, domain name information and port information corresponding to the target traffic.

3. The method according to claim 2, characterized in that The performing asset mapping on the target traffic data to determine the asset characteristics and asset image of each network asset corresponding to the target traffic data includes: Perform passive domain name system monitoring according to the domain name information corresponding to the target traffic to obtain the second traffic; Filtering the third flow from the second flow according to the asset whitelist; Performing asset mapping detection on the destination address, domain name and port information corresponding to the third traffic; If the third traffic is a network asset, the asset features of the network asset are extracted, and an asset image of the network asset is acquired.

4. The method according to claim 3, characterized in that The performing image recognition on each asset image to determine a target asset from the network assets includes: Performing similarity matching between the asset image and enterprise-related images; If the similarity is higher than a preset threshold, determining that the network asset corresponding to the asset image is the first asset; According to the asset whitelist, a target asset is screened out from the first assets.

5. The method according to claim 4, characterized in that The searching of the enterprise exposure ledger based on the asset characteristics of the target asset includes: Read the asset characteristics of each asset in the enterprise exposure ledger; The asset characteristics of each asset are traversed to determine whether the asset characteristics of the target asset already exist in the enterprise exposure ledger.

6. The method according to claim 5, characterized in that The step of searching the enterprise exposure ledger based on the asset feature of the target asset, and if the asset feature cannot be found, determining that the target asset is a shadow asset of the enterprise, further includes: If the asset characteristics of the target asset are found in the enterprise exposure ledger, the asset status value is returned and the asset whitelist is updated.

7. The method according to claim 6, characterized in that The step of searching the enterprise exposure ledger based on the asset feature of the target asset, and if the asset feature cannot be found, determining that the target asset is a shadow asset of the enterprise, further includes: Add the shadow asset to the enterprise exposure ledger, and set the asset status value of the shadow asset to a preset value; Generate asset alarms so that administrators can archive assets according to the preset values.

8. The method according to claim 7, characterized in that Also includes: If it is determined that the shadow asset has been archived, the asset status value of the shadow asset is updated in the enterprise exposure ledger, and the asset whitelist is updated.

9. A device for automatically identifying shadow assets, characterized in that: include: Traffic collection module, used to collect enterprise office network export traffic and obtain target traffic data; An asset analysis module, used to perform asset mapping on the target traffic data, and determine the asset characteristics and asset image of each network asset corresponding to the target traffic data; An image recognition module, used to perform image recognition on each asset image and determine a target asset from the network assets; A processing module is used to search the enterprise exposure ledger based on the asset characteristics of the target asset. If the asset characteristics cannot be found, it is determined that the target asset is a shadow asset of the enterprise.

10. An electronic device, characterized in that: include: A memory and a processor, wherein the processor and the memory communicate with each other via a bus; The memory stores program instructions executable by the processor, and the processor can execute the method according to any one of claims 1 to 8 by calling the program instructions.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Network asset continuous security monitoring method, system, device and storage medium

    CN108449345A

  • Asset property recognition method and device based on network flow mirror image

    CN113923024A

  • Method and device for monitoring security of network assets, electronic equipment and storage medium

    CN116208403A

  • Asset surveying and mapping method of network equipment, equipment and storage medium

    CN117499267A

  • Network asset surveying and mapping method and device, storage medium and electronic equipment

    CN117557801A