CPE prediction using banner similarity
Prediction of matches between CPEs and banners greatly improves computer functioning. Many web services have an unknown common platform enumeration (CPE). When the CPE is unknown, a computer system is unable to obtain cybersecurity flaws and software fixes for a software product or web service. A similarity between the CPE and a service banner, though, accurately predicts a match the CPE and the web service. CPEs, for example, may thus be identified for old, obsolete, and uncomment software products and services.
1 . A method executed by a computer system that matches a common platform enumeration (CPE) to a web service, comprising:
generating, by the computer system, a similarity score representing a similarity between the CPE and a banner associated with the web service; and
predicting, by the computer system, a match between the CPE and the web service based on the similarity score representing the similarity between the CPE and the banner.
2 . The method of claim 1 , further comprising banner grabbing the banner associated with the web service.
3 . The method of claim 1 , wherein in response to the similarity score satisfying the threshold value, then further comprising predicting a true positive match between the CPE and the web service.
4 . The method of claim 1 , wherein in response to the similarity score failing to satisfy the threshold value, then further comprising predicting a false positive match between the CPE and the web service.
5 . The method of claim 1 , further comprising determining a product associated with the CPE based on the similarity score representing the similarity between the CPE and the banner.
6 . The method of claim 1 , further comprising determining a vendor associated with the CPE based on the similarity score representing the similarity between the CPE and the banner.
7 . At least one computer system that matches a common platform enumeration (CPE) to a web service, comprising:
at least one central processing unit; and
at least one memory device storing instructions that, when executed by the at least one central processing unit, perform operations, the operations comprising:
generating banner token embeddings using a banner associated with the web service;
generating CPE token embeddings using the CPE;
generating a similarity score representing a similarity between the CPE and the banner based on the banner token embeddings and the CPE token embeddings; and
predicting a match between the CPE and the web service based on the similarity score representing the similarity between the CPE and the banner.
8 . The at least one computer system of claim 7 , wherein the operations further comprise determining a true positive match between the CPE and the banner.
9 . The at least one computer system of claim 7 , wherein the operations further comprise determining a false positive match between the CPE and the banner.
10 . The at least one computer system of claim 7 , wherein the operations further comprise generating the similarity score using matrices representing the banner token embeddings and the CPE token embeddings.
11 . The at least one computer system of claim 7 , wherein the operations further comprise generating the similarity score using vectors representing the banner token embeddings and the CPE token embeddings.
12 . The at least one computer system of claim 7 , wherein the operations further comprise banner grabbing the banner associated with the web service.
13 . The at least one computer system of claim 7 , wherein the operations further comprise comparing the similarity score to a threshold value.
14 . The at least one computer system of claim 13 , wherein in response to the similarity score satisfying the threshold value, then the operations further comprise predicting a true positive match between the CPE and the web service.
15 . The at least one computer system of claim 13 , wherein in response to the similarity score failing to satisfy the threshold value, then the operations further comprise predicting a false positive match between the CPE and the web service.
16 . The at least one computer system of claim 7 , wherein the operations further comprise determining a product associated with the CPE based on the similarity score representing the similarity between the CPE and the banner.
17 . The at least one computer system of claim 7 , wherein the operations further comprise determining a vendor associated with the CPE based on the similarity score representing the similarity between the CPE and the banner.
18 . A memory device storing instructions that, when executed by at least one central processing unit, perform operations that match a common platform enumeration (CPE) to a web service, the operations comprising:
generating banner token embeddings using a banner associated with the web service;
generating CPE token embeddings using the CPE;
generating a similarity score representing a similarity between the CPE and the banner using matrices that represent the banner token embeddings and the CPE token embeddings; and
predicting a match between the CPE and the web service based on the similarity score representing the similarity between the CPE and the banner.
19 . The memory device of claim 18 , wherein the operations further comprise comparing the similarity score to a threshold value.
20 . The memory device of claim 19 , wherein in response to the similarity score satisfying the threshold value, then the operations further comprise predicting a true positive match between the CPE and the web service.