A method for automatic webpage evidence collection
Automatically obtain evidence of illegal website content through mirroring network traffic and identification technology, solving the problem of passive evidence collection in the existing technology, and achieving rapid evidence collection and network monitoring effects on web page criminal evidence that requires login permissions.
Patent Information
- Application Number
- CN202110819971.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-20
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-07-20
AI Technical Summary
The existing technology lacks an automatic web page evidence collection method, which requires the user to actively access the web page to be obtained, and cannot effectively obtain evidence of illegal website content that requires login authorization.
Capture the website traffic to be collected by mirroring network traffic, restore the original information, preset key forensic information, identify and save web page screenshots that match the key information, and use technologies such as regular matching, text recognition, image recognition, and voice recognition to achieve login authorization. Automatic forensics of web content.
It realizes the rapid collection of criminal evidence from web pages that require login permissions, simplifies the evidence collection process, is suitable for searching criminal evidence on the Internet, and improves the effect of network monitoring.
Smart Images

Figure CN113554023B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a method for automatic webpage evidence collection. Background Art
[0002] With the popularization of Internet technology and the diversification of network information, more and more illegal activities are likely to appear in the form of web pages. In order to obtain evidence, it is necessary to extract web page information. However, the current web page evidence collection method requires users to log in to the evidence collection device platform and then the evidence collection user actively visits the web page to be collected to realize evidence collection. There is no automatic web page evidence collection method. Summary of the invention
[0003] In order to overcome the deficiencies of the prior art solutions, the present invention provides a method for automatic webpage evidence collection, which can effectively solve the problems raised by the background technology.
[0004] The technical solution adopted by the present invention to solve its technical problem is:
[0005] A method for automatic webpage evidence collection includes the following steps:
[0006] Step S101, capturing the traffic of the website to be collected for evidence, and restoring the original information of the website to be collected for evidence, wherein the traffic of the website to be collected for evidence is the Internet data traffic, and the website to be collected for evidence is a website containing web pages of information on illegal and criminal facts, and restoring the web page information to be collected for evidence through the mirrored network traffic, and restoring the content information of the illegal website that requires login authorization to access;
[0007] Step S102, preset key information for evidence collection. Different key information needs to be preset according to the characteristics of different types of webpage contents of network crimes;
[0008] Step S103, identifying web pages with preset key information from the original website information, and using different identification methods according to differences in the preset key information;
[0009] Step S104, save all web page screenshots matching the key information, the web page screenshots including web page content related to the illegal activity, and save them in the form of pictures for use as electronic evidence.
[0010] Furthermore, in step S101, the traffic of the website to be collected is captured as traffic on the mirrored Internet, which can be any one of the network traffic of a data center computer room, the network traffic of a metropolitan area network, and the network traffic of a telecommunications operator.
[0011] Furthermore, in step S101, the method of restoring the original information of the website to be collected includes:
[0012] (1) Through network traffic decoding, network session tracking, data reorganization, and in-depth protocol analysis, the original information of the website to be forensically collected can be restored;
[0013] (2) By restoring the web page information to be collected through mirroring network traffic, the website content information that requires login authorization to access can be restored.
[0014] Furthermore, in step S102, the key information for pre-set evidence collection includes information on illegal and criminal facts, illegal user operation information and network information, and the types of key information include page attributes, text, pictures, audio and video.
[0015] Further, in step S103, the method of identifying the webpage with preset key information includes:
[0016] (1) When the preset key information is page attributes, regular matching is used;
[0017] (2) When the preset key information is text content, text recognition is used;
[0018] (3) When the preset key information is a picture, image recognition is used;
[0019] (4) When the key information is preset as audio, voice recognition is used.
[0020] Furthermore, in step S104, before taking a screenshot of the web page, it is necessary to obtain all resources of the website in the traffic, including html (hypertext markup language), pictures, css (cascading style sheets), and js (JavaScript). The screenshot needs to be taken using the web automation tool Selenium to operate the browser to take a screenshot.
[0021] Compared with the prior art, the present invention has the following beneficial effects:
[0022] The present invention solves the problem of passive evidence collection in the prior art through an automatic evidence collection method. At the same time, it can also quickly collect evidence of crimes on some web pages that require login permissions to obtain. The evidence collection method is simple and can be suitable for searching for more crime evidence on the Internet, achieving a good network monitoring effect and being highly practical. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 Schematic diagram of the steps of the automatic evidence collection method of the present invention. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] like Figure 1 As shown, the present invention provides a method for automatic webpage evidence collection, comprising the following steps:
[0026] Step S101, capturing the traffic of the website to be collected, and restoring the original information of the website to be collected.
[0027] In this embodiment, the traffic of the website to be collected is captured through the traffic on the mirrored Internet. The traffic of the website to be collected is Internet data traffic, which can be any one of the network traffic of the data center computer room, the metropolitan area network traffic, and the network traffic of the telecommunications operator. The website to be collected is a website containing web pages with information on illegal and criminal facts. The web page information to be collected is restored through the mirrored network traffic, and the content information of the illegal website that requires login authorization to be accessed is restored, such as the content of the management background web page after the administrator login authentication authorization is successful.
[0028] Specifically, by capturing the network traffic of the mirrored IDC data center room, decoding, network session tracking, data reorganization, and then performing network protocol analysis on the reorganized data, and deeply analyzing the website hypertext transfer protocol http, the original information of the website to be collected is finally restored. The methods for restoring the original information of the website to be collected include:
[0029] (1) Through network traffic decoding, network session tracking, data reorganization, and in-depth protocol analysis, the original information of the website to be forensically collected can be restored;
[0030] (2) By restoring the web page information to be collected through mirroring network traffic, it is possible to restore the website content information that requires login permission to access.
[0031] Step S102, preset key evidence collection information.
[0032] In this embodiment, the information on network crimes is diverse. Different key information needs to be preset according to the characteristics of different types of network crime web page content. The preset key information for evidence collection includes information on crime facts, user operation information, and network information. The types of key information include page attributes, text, pictures, audio, and video.
[0033] Specifically, firstly, by presetting key text information of illegal and criminal facts, screenshots of web pages showing illegal and criminal facts can be obtained; secondly, by presetting key attribute information of user operation pages, such as user recharge operations, a preset form input attribute name of 'create_order' can be used to obtain screenshots of web pages showing users recharging on illegal and criminal platforms; further, by presetting key text of network information such as 'operation log', screenshots of web pages showing relevant network information such as the user's login IP, port and login time can be obtained from the operation log page.
[0034] Step S103, identifying web pages with preset key information from the original website information.
[0035] In this embodiment, web pages with preset key information are identified from original website information, and different identification methods are used according to the difference of preset key information. The methods for identifying web pages with preset key information include:
[0036] (1) When the preset key information is page attributes, regular matching is used;
[0037] (2) When the preset key information is text content, text recognition is used;
[0038] (3) When the preset key information is a picture, image recognition is used;
[0039] (4) When the key information is preset as audio, voice recognition is used.
[0040] Specifically, when key information is to be obtained in S102, the key information is preset as text-type key information of cybercrime facts; when the original web page contains preset key text information of crime facts, a text recognition algorithm such as cherry classification is called to identify the web page of crime facts. Similarly, when the preset key information is text-type network information; when the original web page contains preset network information key text, the web page also contains network information such as the user's login IP, port and login time by calling the text recognition algorithm. The preset key information is user operation information of page attribute type; when the original web page contains preset user operation key page attribute information, the user's operation is matched by regular matching. The preset key information is picture information; when the original web page contains preset illegal picture feature information, image recognition is used to identify illegal and criminal pictures. The preset key information is audio information; when the original web page contains preset illegal audio feature information, voice recognition is used to identify illegal and criminal voice information.
[0041] Step S104, saving all web page screenshots matching the key information.
[0042] In this embodiment, the web page screenshot includes web page content related to illegal activities, and is saved in the form of pictures for use as electronic evidence; before taking a web page screenshot, it is necessary to obtain all the resources of the website in the traffic, including html (hypertext markup language), pictures, css (cascading style sheets), and js (JavaScript), and the screenshot needs to use the web automation tool Selenium to operate the browser to take a screenshot.
[0043] Specifically, the original information of the website to be collected restored in S101 includes all the resources of the website. When the preset key information is matched in the original website to be collected through S103, the web automation tool Selenium is called, and then the properties of the screenshot operation are set through the browser plug-in operation, such as automatic running in the background of the browser, hiding the scroll bar, setting the page size, etc.; finally, the screenshot operation is called to save the captured image as electronic evidence.
[0044] Compared with traditional technology, this technical solution solves the problem of passive evidence collection in the existing technology through the method of automatic evidence collection. At the same time, it can also quickly collect evidence of web crimes that require login permissions to obtain. The evidence collection method is simple and can be suitable for searching for more criminal evidence on the Internet, achieving a good network monitoring effect.
[0045] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
Claims
1. A method for automatic webpage forensics, It is characterized in that The following steps are involved: Step S101, capturing the traffic of the website to be collected for evidence, and restoring the original information of the website to be collected for evidence, wherein the traffic of the website to be collected for evidence is the Internet data traffic, and the website to be collected for evidence is a website containing web pages of information on illegal and criminal facts, and restoring the web page information to be collected for evidence through the mirrored network traffic, and restoring the content information of the illegal website that requires login authorization to access; The website traffic to be captured is the traffic on the mirrored Internet, which can be any of the network traffic of the data center computer room, the metropolitan area network traffic, and the telecommunications operator network traffic; Methods for restoring the original information of the website to be obtained include: (1) decoding network traffic, tracking network sessions, reorganizing data, and then performing in-depth protocol analysis to finally restore the original information of the website to be obtained; (2) restoring the web page information to be obtained by mirroring the network traffic to restore the website content information that requires login authorization to access; Step S102, preset key information for evidence collection. Different key information needs to be preset according to the characteristics of different types of webpage contents of network crimes; The key information for pre-set evidence collection includes information on illegal and criminal facts, illegal user operation information, and network information. The types of key information include page attributes, text, images, audio, and video. Step S103, identifying web pages with preset key information from the original website information, and using different identification methods according to differences in the preset key information; Methods for identifying web pages with preset key information include: (1) when the preset key information is a page attribute, regular matching is used; (2) when the preset key information is text content, text recognition is used; (3) when the preset key information is a picture, image recognition is used; (4) when the preset key information is audio, voice recognition is used; Step S104, saving all webpage screenshots matching key information, the webpage screenshots including webpage content related to illegal activities, and saving them in the form of pictures for use as electronic evidence; Before taking a screenshot of a web page, you need to obtain all the resources of the website in the traffic, including html (hypertext markup language), pictures, css (cascading style sheets), and js (JavaScript). The screenshot needs to be taken using the web automation tool Selenium to operate the browser to take the screenshot.
