Method and device for identifying APP downloading link in fraud-related website and medium
Using artificial intelligence to simulate access device types and feature extraction technology, we can identify APP download links in fraudulent websites, solving the problem of difficulty in identifying fraudulent APP download links in the existing technology, achieving efficient batch discovery and analysis of fraudulent APPs, and reducing user costs. risk.
Patent Information
- Application Number
- CN202410753701.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-20
AI Technical Summary
It is difficult to effectively identify and batch discover APP download links in fraudulent websites with existing technology. In particular, there is a lack of comprehensive consideration in jump links and download button triggering events, which makes it easy for users to mistakenly touch fraudulent APP download links, leading to leakage of personal information or being deceived. .
Use artificial intelligence technology to simulate the type of access device, combine natural language processing, computer vision and web page analysis technology to extract the characteristics of APP download links in fraudulent websites, and identify the APPs in the URLs to be identified through batch analysis and group processing of the fraudulent website blacklist library Download link.
It realizes intelligent detection and analysis of APP download links in fraudulent websites, improves the crawling success rate, can automatically identify and extract fraudulent APP download links, and reduces the risk of users triggering fraudulent APPs.
Smart Images

Figure CN118677664A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device and medium for identifying APP download links in fraudulent websites. Background Art
[0002] In the era of rapid development of information, the progress of science and technology has brought convenience to mankind, but also led to many illegal and criminal activities using network technology. For example, there are some hidden fraud websites on the Internet. Generally, the fraud websites include many download links of fraud APPs corresponding to different operating systems. When users surf the Internet, it is easy to download fraud APPs by clicking on links or scanning QR codes. Fraud websites usually use multiple pages to guide users to jump to the URL, so that users accidentally touch the APP download link, resulting in personal information leakage or being deceived. Nowadays, from minors to the elderly, they cannot do without using terminal devices to access the Internet to complete a series of daily activities. Even the widespread popularization of network security knowledge is difficult to take into account audiences of all ages. Moreover, network information is complicated and fraud methods are hard to prevent. Even adults can hardly fall into the trap of fraud websites and induce users to trigger fraud APP download links. Summary of the invention
[0003] The present invention provides a method, a device and a medium for identifying an APP download link in a fraudulent website.
[0004] According to a first aspect of the present invention, a method for identifying an APP download link in a fraudulent website is provided, the method comprising:
[0005] Extract target features about APP download links based on website information in the fraud website blacklist library;
[0006] Simulate access to corresponding device types according to different operating systems;
[0007] The grouped to-be-identified web addresses are batch analyzed according to the device type and the target feature to determine the APP download links existing in the to-be-identified web addresses.
[0008] According to a second aspect of the present invention, there is provided an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor implements a method for identifying APP download links in fraudulent websites as described in any embodiment of the present invention.
[0009] According to a third aspect of the present invention, a computer-readable storage medium is provided, wherein the computer instructions are used to cause the computer to execute the method for identifying APP download links in fraudulent websites as described in any embodiment of the present invention.
[0010] In order to make the features and advantages of the present application more obvious and understandable, some embodiments are given below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solutions of the present application. It should be understood that the following drawings only illustrate certain embodiments of the present application and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.
[0012] Figure 1 This is an application scenario diagram of a method for identifying APP download links in fraudulent websites provided in an embodiment of the present application;
[0013] Figure 2 It is a flowchart of a method for identifying APP download links in fraudulent websites provided in an embodiment of the present application;
[0014] Figure 3 It is a block diagram of an electronic device used to implement the method for identifying APP download links in fraudulent websites in an embodiment of the present application. DETAILED DESCRIPTION
[0015] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0016] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.
[0017] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0018] According to research, analysts download and analyze APP download links presented on fraudulent websites in order to obtain relevant information about fraudsters or implement preventive measures such as early blocking to reduce the losses of Internet users. However, there is no batch discovery and download method specifically for fraudulent APPs in the existing technical solutions. If only ordinary links are crawled, most of them are judged based on the URL (href) of the specified hyperlink target in the source code, without comprehensively considering the jump link and the triggering event of the download button. The value of the href attribute can be a relative or absolute URL of any valid document, including fragment identifiers and JavaScript code segments.
[0019] Based on the above research, this application discloses a method, device and medium for identifying APP download links in fraudulent websites, using artificial intelligence technology to simulate manual analysis and extraction operations on links, buttons, jump buttons, and access device types in fraudulent websites, obtain the URL of the APP download link, and download it for subsequent analysis and processing by analysts. Using this method, it is possible to automatically crawl APP download links in fraudulent websites in batches according to website domain names, and optimize the crawling success rate based on feature expansion.
[0020] The defects existing in the above solutions are the results obtained by the applicant after practice and careful research. Therefore, the process of discovering the above problems and the solutions proposed by this application for the above problems below should be the contributions made by the applicant to this application during the application process.
[0021] According to the embodiment of the present application, Figure 1 A schematic diagram 100 of an application scenario of a method for identifying APP download links in fraudulent websites is provided. Figure 1 As shown, in Figure 1In the application scenario, first, the computing device 101 obtains the APP links existing in the website through batch analysis according to the fraudulent website blacklist library. Then, the download text keyword features of the APP download links existing in the collected fraudulent websites are extracted, and at the same time, the APP download related tag keyword features are extracted from the web page. Secondly, invalid websites containing invalid keyword features of web pages are filtered out. Finally, AI access device simulation is performed to group the URLs to be analyzed, and a fixed number of URLs are specified in each group for batch analysis, and the APP download links are started to be crawled.
[0022] It should be noted that the computing device 101 can be hardware or software. When the computing device 101 is hardware, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device. When the computing device 101 is software, it can be installed in the hardware devices listed above. It can be implemented as multiple software or software modules for providing distributed services, or as a single software or software module. No specific limitation is made here. It should be understood that Figure 1 The number of computing devices in the embodiment is only illustrative. Any number of computing devices may be provided according to implementation requirements.
[0023] Those skilled in the art will appreciate that the above Figure 1 What is shown is only an example based on the application scenario of the present application and is not limiting.
[0024] Embodiment 1
[0025] According to an embodiment of the present application, a method for identifying APP download links in fraudulent websites is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than that shown here. Figure 2 As shown, the method for identifying the APP download link in the fraudulent website includes the following steps: S210, S220 and S230.
[0026] S210. Extract target features about APP download links based on website information in the fraud website blacklist library.
[0027] The fraudulent website list library is used for batch analysis to obtain APP links existing in the website. Among them, the target features include direct features and indirect features. The target features about APP download links are extracted based on the website information in the fraudulent website blacklist library, including: reading the website information to determine the webpage content of the fraudulent website; extracting the direct features of download keywords in the webpage content based on natural language processing technology; detecting the download button features in the webpage based on computer vision technology, extracting the pop-up window close button features based on the natural language processing technology analysis of the pop-up window text in the webpage, and extracting the jump button features based on the webpage parsing technology to identify the jump function label; the indirect features include the download button features, the pop-up window close button features and the jump button features.
[0028] It should be noted that natural language processing (NLP) technology is a field in which computer science, artificial intelligence, and linguistics focus on the interaction between computers and human (natural) languages. That is, natural language processing technology is a general term for all technologies related to computer processing of natural languages. Its purpose is to enable computers to understand and accept instructions input by humans in natural language and complete the translation function from one language to another. The research on natural language processing technology can enrich the research content of computer knowledge processing and promote the development of artificial intelligence technology. Through natural language processing technology, the Natural Language Processing Toolkit (NLTK) is used to extract download keyword features from the APP download links in the fraudulent websites corresponding to the fraudulent websites, obtain direct features and create a keyword library for the APP download links. Among them, NLTK provides a wealth of text processing functions, including word segmentation, part-of-speech tagging, and keyword extraction. Exemplary, direct feature extraction of keywords includes but is not limited to "click to download Android version", "download now", "APP download", "download and install", "download client", "mobile lottery" and the like. According to the NLTK library, the text is segmented, the part-of-speech tagging and the keyword extraction are realized, the keyword information is automatically obtained, and a keyword library containing the direct features is constructed according to the statistical analysis results, so as to improve the accuracy and efficiency of keyword extraction.
[0029] As an optional implementation, in addition to downloading through a link, users can also download APPs in web pages by clicking on a triggering download button, or by closing a pop-up window to load the web page content and present a link to download APPs. Therefore, artificial intelligence (AI) technology is used to extract features of relevant tag attributes commonly found in web pages about APP downloads to obtain the indirect features. Specifically, the download button feature extraction includes: detecting and analyzing the download button in the web page by using computer vision technology combined with an image recognition algorithm. A deep learning model is trained to identify and locate the download button using a convolutional neural network (CNN). For download buttons of different styles, specific visual features such as the color, shape, size, etc. of the button are extracted to identify the button features with a download function. The pop-up window closing button feature extraction includes: using text processing technology, such as natural language processing (NLP) technology to analyze the pop-up window text in the web page; by constructing a semantic model of the pop-up window text, a button containing a pop-up window closing function is identified. At the same time, a text classification algorithm is used to use a naive Bayes classifier to identify the text content related to closing the pop-up window in the web page, thereby extracting the attribute features of the pop-up window closing button. The jump button feature extraction includes: using an HTML parser to extract and analyze the jump tags in the web page using web page parsing technology; using the document object model (DOM) to traverse the tags of the web page and identify the tags containing the jump function; by analyzing the attributes of the tag, such as class name, ID, etc., and the text content related to the jump, to extract the attribute features of the jump tag. The embodiment of the present application uses computer vision technology, natural language processing technology and web page parsing technology to automatically extract the indirect features of the tag attributes related to APP download in the web page. Through the extraction of the direct features and the extraction of the indirect features, the download button, the close pop-up button and the jump button in the web page, as well as the text containing the download keywords, can be effectively identified, realizing the intelligent detection and analysis of APP download behavior.
[0030] Furthermore, after extracting target features about APP download links based on website information in the fraudulent website blacklist library, the method further includes: extracting invalid keyword features of web pages in the web pages using the natural language processing technology to determine invalid websites; and filtering the invalid websites.
[0031] For example, if there are some fraudulent websites with return code 200 but invalid content, they will be filtered out to improve recognition efficiency. The invalid webpage keyword features include but are not limited to "404 page", "page does not exist", "site has expired", "this domain name is not yet enabled", "site not found", "domain name is illegal", "404Forbidden" displayed in the webpage.
[0032] S220 , simulating access to corresponding device types according to different operating systems.
[0033] Since fraudulent websites often have corresponding fraudulent APP download links for different operating systems, the corresponding Android device is accessed according to the Android operating system, and the corresponding Apple device is accessed according to the Mac operating system. The APP downloads in some web pages will return different APP installation packages depending on the different mobile phone systems being accessed. First, we use the Playwright automated testing tool to programmatically control the browser and simulate user behavior. Create a browser instance through Playwright, and then simulate the environment of Android and Apple systems in its context. Secondly, we use artificial intelligence technology to parse and process user agent strings. It is worth noting that Playwright is a Web UI automation testing tool developed by Microsoft, supporting Node.js, Python, C# and Java languages. Playwright is an out-of-process automation driver that is not limited by the execution scope of JavaScript in the page and can automatically control multiple pages. Playwright has the following characteristics: support for all mainstream browsers; fast and reliable execution capabilities; powerful automation capabilities.
[0034] Optionally, simulating access to corresponding device types according to different operating systems includes: using an automated testing tool to create a browser instance, and simulating different operating system environments in the browser context; determining the device type and operating system for accessing the web page by parsing the user agent string, and selecting corresponding simulation parameters to control the browser to simulate user behavior, wherein the user agent string is information including the browser and operating system sent by the browser to the server.
[0035] The user agent string (UA) is a string of specific characters that a browser sends to a website server when accessing a website. It contains a wealth of information, such as operating system and version, CPU type, browser and version, browser rendering engine, browser language, and browser plug-in. This information helps the website server roughly determine the software and hardware environment used by the user, and then adopt different content strategies. In other words, when a user uses a PC and a mobile phone to access the same website, due to different devices, the website may display different page layouts or content according to different UAs to adapt to the display and interaction requirements of different devices. By analyzing the user agent string, the device type and operating system for accessing the web page are determined, so as to select appropriate simulation parameters. Exemplarily, when it is necessary to simulate the Android system, the user agent string is set to "Mozilla / 5.0 (Linux; Android 6.0; Nexus 5Build / MRA58N) AppleWebKit / 537.36 (KHTML, like Gecko) Chrome / 113.0.0.0 Mobile Safari / 537.36Edg / 113.0.1774.50", so that the server will think that the request comes from an Android device. However, when you need to simulate the Apple system, set the user agent string to "Mozilla / 5.0(iPhone; CPU iPhone OS13_2_3like Mac OS X)AppleWebKit / 605.1.15(KHTML,likeGecko)Version / 13.0.3Mobile / 15E148 Safari / 604.1Edg / 114.0.0.0", and the server will identify the request as coming from an Apple device.
[0036] S230: performing batch analysis on the grouped to-be-identified URLs according to the device type and the target feature, and determining APP download links existing in the to-be-identified URLs.
[0037] As an optional implementation method, first, the URLs to be analyzed are grouped into 30 URLs in each group; then the browser is opened, and the user agent string is set for Android system phones and Apple system phones respectively; the 30 URLs in each group are loaded, a browser context is started for each URL, and a download listener is implemented for the browser context; at the same time, the web page is started in the browser context for concurrent access. Secondly, invalid web pages are filtered out according to the invalid keyword features of the web page, and the browser rendering is waited for. The page source code of the web page is obtained, and the download link features of the Android APP and Apple APP in the source code are matched according to the target features, and the matching results are stored in the result list. Further, the href attribute value of the same tag in the page is obtained, and the attribute value is determined according to the target feature whether it is an APP download link. If so, the result is stored in the result list. Finally, the target feature recognition is performed on the response in the simulated access process, and if there is an APP download link, the result is stored in the result list. According to the direct features and indirect features in the target features, the APP download link is detected and identified one by one, and the results are stored in the result list until the URL traversal is completed and the recognition process is ended.
[0038] Optionally, the grouped URLs to be identified are batch analyzed according to the device type and the target feature to determine the APP download links existing in the URLs to be identified, including: starting the browser and setting the user agent string based on different operating systems; loading a fixed number of URLs in each group for different device types respectively; monitoring the URLs according to the browser context and simulating access to web pages; filtering invalid web pages according to invalid keyword features until the browser rendering is completed; setting the browser's download monitoring event and response request acquisition event.
[0039] Furthermore, the method also includes: obtaining the web page source code and the response; matching the web page source code according to the target feature, and storing the successful matching results in the recognition result list; identifying the target features included in the response, and storing the results of the existence of the APP download link in the recognition result list.
[0040] Optionally, matching the web page source code according to the target feature and storing the successful matching results in the recognition result list include: adding the APP download link detected in the web page source code to the recognition result list; simulating a click on the pop-up close button when a pop-up close button feature is detected; simulating a click on the jump button and the download button in the web page triggered by the pop-up close button, and storing the URL that triggers the download event in the recognition result list.
[0041] It can be understood that the pop-up window is closed by simulating a click on the pop-up window close button in the detected page; the page jump button and the download button are simulated to be clicked, and the new window triggered by the click behavior is monitored. If the window is a newly opened web page, the source code of the newly opened web page is obtained, and the download link features of the Android APP and the Apple APP are matched according to the target feature, and the matching results are stored in the result list. In addition, the href attribute values of all the same tags in the newly opened web page are obtained, and it is determined whether the attribute is the APP download link corresponding to the target feature. If so, the result is stored in the result list. Therefore, in the above-mentioned simulation of clicking the pop-up window close button, the page jump button and the download button, if a download event is triggered, the URL corresponding to the download web page is stored in the result list.
[0042] Furthermore, the method also includes: when the webpage source code matches the target feature and no APP download link is detected, or the response does not include the target feature and there is no APP download link, re-detect the pop-up window close button feature in the webpage and simulate a click; if it is a new webpage, close the subpage and store it in the subpage URL list; query the jump button and download button in the new webpage, and simulate a click; if a download event is triggered, store the download page URL in the recognition result list. Finally, identify the APP download link by traversing the subpage URL list until all the URLs are traversed.
[0043] The embodiment of the present application discloses a method for identifying APP download links in fraudulent websites. The method includes: extracting target features about APP download links based on website information in a fraudulent website blacklist library; simulating access to corresponding device types according to different operating systems; batch analyzing the URLs to be identified after grouping according to the device types and the target features, and determining the APP download links present in the URLs to be identified. Using the embodiment of the present application, based on the method of artificial intelligence simulating manual acquisition of APP download links, the download links, buttons, jump buttons, and access device types present in the fraudulent website are extracted and analyzed to identify the URL of the APP download link. The present application takes into account the triggering event of the APP download button, which is conducive to comprehensive and accurate batch discovery of fraudulent APPs. It can not only automatically crawl APP download links according to the domain name of the fraudulent website, but also expand the target features, thereby improving the crawling success rate.
[0044] Embodiment 2
[0045] Reference below Figure 3, which shows a block diagram of an electronic device 300 suitable for implementing an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0046] like Figure 3 As shown, the electronic device 300 may include a processing device 310, which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 320 or a program loaded from a storage device 380 into a random access memory (RAM) 330. The processing device 310 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processing device 310 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processing device 310 performs the various methods and processes described above.
[0047] In the RAM 330, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 310, the ROM 320, and the RAM 330 are connected to each other through a bus 340. An input / output (I / O) interface 350 is also connected to the bus 340.
[0048] Typically, the following devices may be connected to the I / O interface 350: an input device 360 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 370 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 380 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 390. The communication device 390 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0049] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a non-transient computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device 390, or installed from a storage device 380, or installed from a ROM 320. When the computer program is executed by the processing device 310, the above functions defined in the method of the embodiment of the present application are executed. Alternatively, in other embodiments, the processing device 310 can be configured to execute the method in any other appropriate manner (for example, by means of firmware): according to the website information in the fraud website blacklist library, the target feature of the APP download link is extracted; according to different operating systems, the corresponding device type is accessed in simulation; according to the device type and the target feature, the URL to be identified after grouping is batch analyzed to determine the APP download link present in the URL to be identified.
[0050] Embodiment 3
[0051] The computer-readable medium mentioned above in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0052] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0053] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0054] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: extracts target features about APP download links based on website information in a fraudulent website blacklist library; simulates access to corresponding device types according to different operating systems; and performs batch analysis on the grouped to-be-identified URLs based on the device types and the target features to determine the APP download links existing in the to-be-identified URLs.
[0055] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0056] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0057] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of a module does not, in some cases, constitute a limitation on the module itself.
[0058] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip systems (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof, etc.
[0059] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0060] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0061] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0062] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0063] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services. The server may also be a server of a distributed system, or a server combined with a blockchain.
[0064] Artificial intelligence is a discipline that studies how to use computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.). It includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, machine learning / deep learning technology, big data processing technology, knowledge graph technology, and other major directions.
[0065] Cloud computing refers to a technology system that uses network access to elastically scalable shared physical or virtual resource pools. Resources can include servers, operating systems, networks, software, applications, and storage devices, and can be deployed and managed on demand and in a self-service manner. Cloud computing technology can provide efficient and powerful data processing capabilities for technical applications such as artificial intelligence and blockchain, as well as model training.
[0066] The embodiments described above are part of the embodiments of the present application, but not all of them. Based on the embodiments in the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present application.
[0067] In the description of the embodiments of the present application, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or are the positions or positional relationships in which the product of the application is usually placed when in use. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the electric vehicle or component referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0068] In the description of the embodiments of the present application, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0069] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for identifying APP download links in fraudulent websites, characterized in that: The method comprises: Extract target features about APP download links based on website information in the fraud website blacklist library; Simulate access to corresponding device types according to different operating systems; The grouped to-be-identified web addresses are batch analyzed according to the device type and the target feature to determine the APP download links existing in the to-be-identified web addresses.
2. The method according to claim 1, characterized in that The target features include direct features and indirect features. The target features of the APP download link are extracted based on the website information in the fraud website blacklist library, including: Read the website information to determine the webpage content of the fraudulent website; Extracting direct features of download keywords in the webpage content according to natural language processing technology; The download button features in the web page are detected according to computer vision technology, the pop-up text in the web page is analyzed according to the natural language processing technology to extract the pop-up close button features, and the jump button features are extracted according to the web page parsing technology to identify the jump function label; the indirect features include the download button features, the pop-up close button features and the jump button features.
3. The method according to claim 2, characterized in that After extracting the target features about the APP download link according to the website information in the fraud website blacklist library, the method further includes: Extracting the invalid webpage keyword features in the webpage using the natural language processing technology to determine invalid websites; The invalid websites are filtered.
4. The method according to claim 1, characterized in that: The simulated access to the corresponding device type according to different operating systems includes: Use automated testing tools to create browser instances and simulate different operating system environments in the browser context; The type of device and operating system accessing the web page are determined by parsing the user agent string, and the corresponding simulation parameters are selected to control the browser to simulate user behavior. The user agent string is information including the browser and the operating system sent by the browser to the server.
5. The method according to claim 1, characterized in that The step of batch analyzing the grouped to-be-identified web addresses according to the device type and the target feature to determine the APP download links existing in the to-be-identified web addresses includes: Launch the browser and set the user agent string based on the operating system; Load a fixed number of URLs for each device type separately; Monitoring the URL according to the browser context and simulating access to the web page; Filter invalid web pages according to invalid keyword features until the browser rendering is completed; Set the browser's download monitoring event and response request acquisition event.
6. The method according to claim 5, characterized in that The method further comprises: Get web page source code and response; Match the webpage source code according to the target feature, and store the successful matching results in a recognition result list; Identify the target features included in the response, and store the results of the existence of the APP download link in the identification result list.
7. The method according to claim 6, characterized in that The step of matching the webpage source code according to the target feature and storing the successfully matched result in a recognition result list includes: Adding the APP download link detected in the webpage source code to the recognition result list; When a pop-up window close button feature is detected, simulate clicking the pop-up window close button; The jump button and the download button in the web page triggered by the pop-up window close button are simulated clicked, and the website address that triggers the download event is stored in the recognition result list.
8. The method according to claim 6, characterized in that The method further comprises: When the webpage source code matches the target feature and no APP download link is detected, or the response does not include the target feature and no APP download link exists, re-detect the pop-up window close button feature in the webpage and simulate a click; If it is a new web page, the subpage is closed and stored in the subpage URL list; Query the jump button and download button existing in the new webpage, and simulate clicking them; If a download event is triggered, the URL of the download page is stored in the recognition result list.
9. An electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor implements the method as described in any one of claims 1-8.
10. A computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.
Citation Information
Patent Citations
HTML5 webpage automatic function testing method and system and electronic equipment
CN109828921A
Intelligent verification analysis method for fraud-related websites
CN117411678A
Black product application acquisition system based on propagation channel
CN117792667A
Short link fraud-related website identification method and device, equipment and storage medium
CN117978422A
Cited By
Fraud APP multi-dimensional feature recognition and batch acquisition method and device, and medium
CN121051289A
