Metadane
W tym dokumencie można stosować następujące metody:
Metadane to informacje, które ułatwiają rozróżnienie typów zagrożeń i pozwalają na wyświetlanie bardziej szczegółowych ostrzeżeń (patrz Sugerowany język ostrzeżeń).
Metadane są częścią obiektu ThreatMatch zwracanego w fullHashes.find odpowiedzi i obejmują:
- Deskryptor listy zagrożeń (kombinacja typów zagrożeń/platformy/zagrożeń): identyfikuje listę Bezpieczne przeglądanie (zagrożenia).
- Zagrożenie: dla
threatMatches
adres URL. W przypadku parametru fullHashes
pełnej długości hasz.
- Metadane: dodatkowe informacje o zagrożeniu.
Metadane są przekazywane w postaci par klucz/wartość (patrz pole ThreatEntryMetadata). W przypadku żądań JSON klucz i wartość są zakodowane w formacie base64. Typ zwracanych metadanych zależy od konkretnej listy Bezpiecznego przeglądania (kombinacji typu zagrożenia, platformy i zagrożenia).
Strony ze złośliwym oprogramowaniem
Metadane są obecnie dostępne w przypadku wszystkich dostępnych list ze ZŁOŚLIWYM OPROGRAMOWANIEM threatType
i adresem URL threatEntryType
. Pary klucz-wartość są opisane tutaj.
klucz |
value |
Opis |
malware_threat_type |
Landing |
Złośliwe oprogramowanie witryny. Takie strony są bramą do złośliwego oprogramowania. Często są to zaatakowane witryny zawierające elementy iframe, skrypty lub przekierowania, które wczytują treści z innych witryn, które przeprowadzają ataki. |
malware_threat_type |
distribution |
Witryna rozpowszechniająca złośliwe oprogramowanie. Te strony przeprowadzają ataki złośliwego oprogramowania. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2023-12-02 UTC.
[null,null,["Ostatnia aktualizacja: 2023-12-02 UTC."],[[["This documentation focuses on metadata within the Safe Browsing Lookup and Update APIs (v4), aiding in threat distinction and providing informative warnings."],["Metadata, found within ThreatMatch objects, includes the threat list descriptor, the threat itself (URL or hash), and additional information about the threat."],["Metadata is presented as key/value string pairs (base64-encoded for JSON) and varies based on the specific Safe Browsing list."],["Currently, metadata is available for all lists with `MALWARE` threatType and `URL` threatEntryType, and distinguishes between malware landing and distribution sites."]]],["The document details metadata within the Lookup and Update APIs (v4), specifically related to `threatListUpdates.fetch` and `fullHashes.find`. Metadata, provided as key/value string pairs, enhances threat differentiation. This is part of the `ThreatMatch` object, that includes threat list descriptor, the threat itself and the associated metadata. For malware, metadata keys like `malware_threat_type` are used, with values such as \"landing\" (gateway sites) or \"distribution\" (attack launching sites). The key and values are base64-encoded in JSON.\n"]]