US 12,348,531 B2
Automatic security scanning of advertisements during runtime of software applications
Amnon Sem Siev, Hod Hasharon (IL); Yehuda Sapir, Eli (IL); Ido Peled, Tel Mond (IL); Itamar Mula, Tel Aviv (IL); and Eliyahu Babila, Ramat Gan (IL)
Assigned to FIVE MEDIA MARKETING LIMITED, Nicosia (CY)
Filed by FIVE MEDIA MARKETING LIMITED, Nicosia (CY)
Filed on May 25, 2021, as Appl. No. 17/329,936.
Application 17/329,936 is a continuation of application No. 16/672,479, filed on Nov. 3, 2019, granted, now 11,128,644.
Application 16/672,479 is a continuation in part of application No. 16/357,644, filed on Mar. 19, 2019, granted, now 10,467,408, issued on Nov. 5, 2019.
Prior Publication US 2021/0281589 A1, Sep. 9, 2021
Int. Cl. H04L 9/40 (2022.01); G06F 8/20 (2018.01); G06F 21/57 (2013.01); G06Q 30/0241 (2023.01); G06F 21/56 (2013.01); G06F 21/62 (2013.01)
CPC H04L 63/1416 (2013.01) [G06F 8/20 (2013.01); G06Q 30/0276 (2013.01); H04L 63/101 (2013.01)] 33 Claims
OG exemplary drawing
 
1. A method comprising, in a software application:
(a) automatically intercepting an advertising code received by the software application from a server, wherein the advertising code is configured to display an advertisement within the software application using a WebView-type object of the software application;
(b) automatically wrapping the intercepted advertising code with program code that is configured to:
scan the intercepted advertising code for malicious content, and
perform at least one of the following actions:
(i) allow or prevent the display of the advertisement within the software application based on the scanning, or
(ii) report the malicious content, over a computer network, to a remote database which stores a blacklist of malicious content,
wherein the wrapping comprises one of the following:
positioning portions of the program code before and after the intercepted advertising code,
positioning the program code before the intercepted advertising code, and
interleaving the program code with the intercepted advertising code; and
(c) automatically delivering the wrapped intercepted advertising code to the WebView-type object of the software application, such that, when the wrapped intercepted advertising code is executed by the WebView-type object, the following actions are automatically performed:
the scanning of the advertising code for malicious content, and
at least one of actions (i) or (ii).