Blog de Zscaler
Reciba en su bandeja de entrada las últimas actualizaciones del blog de Zscaler
SuscríbaseSwitch to Google Safe Browsing V2
Google maintains a list of malicious URLs and phishing sites distributed through their Google Safe Browsing API. On December 12, version 1 was deprecated in favor of version 2. The API for version 2 works quite differently from version 1.
Importance of Google Safe Browsing
Google Safe Browsing is part of most popular web browsers including Firefox, Chrome, Safari and Opera. Internet Explorer uses it owns list, Microsoft SmartScreen. This makes Google Safe Browsing lists the most used security filter among all web users.
The Google Safe Browsing lists are also very extensive. There are currently about 460,000 entries in the lists and they are updated every 30 minutes. You can refer to "Google Safe Browsing v2: Implementation Notes" for more detailed numbers.
Coverage
I was curious see the overlap between Google Safe Browsing v2 and a few other security denylists.
Google Safe Browsing v2 libraries
The Google Safe browsing v2 API is fairly complex, at least more so than version 1. There are a number of libraries available, but not all implement the complete API. Here is a list of the libraries available within Google Safe Browsing v2:
Lookup API
If you need to check fewer than 10,000 URLs a day, you can use the much simpler Lookup API. This API allows you to send URLs directly to Google and receive the classification.
I've made a Perl library for the Lookup API, Net::Google::SafeBrowsing2::Lookup and I'm working on Ruby and Python implementations.
Importance of Google Safe Browsing
Google Safe Browsing is part of most popular web browsers including Firefox, Chrome, Safari and Opera. Internet Explorer uses it owns list, Microsoft SmartScreen. This makes Google Safe Browsing lists the most used security filter among all web users.
The Google Safe Browsing lists are also very extensive. There are currently about 460,000 entries in the lists and they are updated every 30 minutes. You can refer to "Google Safe Browsing v2: Implementation Notes" for more detailed numbers.
Coverage
I was curious see the overlap between Google Safe Browsing v2 and a few other security denylists.
- Malware domain list: 18,670 blocked / 71,352 entries (26%)
- Clean-MX Phishing: 540 blocked / 1,820 entries (30%)
- Phishtank: 1,318 blocked / 5,665 entries (24%)
Google Safe Browsing v2 libraries
The Google Safe browsing v2 API is fairly complex, at least more so than version 1. There are a number of libraries available, but not all implement the complete API. Here is a list of the libraries available within Google Safe Browsing v2:
Idioma | Nombre | Missing features | Comment |
---|---|---|---|
Python | google-safe-browsing | Ninguno | Reference implementation from Google |
Perl | Net::Google::SafeBrowsing2 | Ninguno | Several back-ends available for storage: MySQL, Sqlite, DBI, etc. |
PHP | phpgsb | Mac | Helpful statistics for testing |
PHP | gsb4u | Mac | Storage: MySQL, Sqlite; |
C# | google-safebrowse-v2-client-csharp | MAC Back-off mechanism ? Save full hashes, discard them after 45 minutes MAC | Storage: data file |
C# | Google-Safe-Browsing-API-2.0-C-p | Mac | Storage: SQL server |
Java | jGoogleSafeBrowsing | ??? | Not finished? |
Lookup API
If you need to check fewer than 10,000 URLs a day, you can use the much simpler Lookup API. This API allows you to send URLs directly to Google and receive the classification.
I've made a Perl library for the Lookup API, Net::Google::SafeBrowsing2::Lookup and I'm working on Ruby and Python implementations.
Gracias por leer
¿Este post ha sido útil?
![dots pattern](/_next/image?url=%2Fassets%2Fimages%2Fcta_bgpattern.png&w=1920&q=75)
Reciba en su bandeja de entrada las últimas actualizaciones del blog de Zscaler
![](/_next/image?url=%2Fassets%2Fimages%2Floading.webp&w=256&q=75)
Al enviar el formulario, acepta nuestra política de privacidad.