Contains information about a file that is extracted from the HTTP protocol data.
Syntax
struct KAV_EXTRA_OBJECT_INFO_HTTP
{
KAV_EXTRA_OBJECT_INFO_BASE baseInfo;
char *objectHttpReq;
char *objectHttpRsp;
char *objectUrl;
char reserved;
};
Members
KAV_EXTRA_OBJECT_INFO_HTTP structure members
Member name |
Description |
|---|---|
|
An instance of the Incorporating the structure that stores the size of its parent allows you to dynamically extend the |
|
A pointer to the address with the text of the HTTP request header as extracted from the HTTP transaction message. The text data must be associated with the URL specified in the |
|
A pointer to the address with the text of the HTTP response header as extracted from the HTTP transaction message. The pointer must reference text data with an HTTP response to a request for the URL specified in the Response example:
|
|
A pointer to the requested URL address. |
|
This parameter is ignored in the current KAV SDK version. |
Remarks
The structure contains technical data that is used in following scanning functions:
As an enhancement measure to aid in scanning efficiency, listed scanning functions support scanning methods that use HTTP protocol data. Gathered on the gateway interface, this data extracted from HTTP protocol may facilitate scanning of in-memory objects and file system objects. For example, HTTP protocol data may contain specific information used by attacker to encrypt malicious files intercepted on perimeter network. Built-in scanning methods use this data as provided in parameters of scanning functions to decrypt files or perform any other actions that help analyzing files and detecting malware.
The members of the KAV_EXTRA_OBJECT_INFO_HTTP structure must be initialized using the custom obatained information. This information must be gathered on the gateway network interface for downloaded files prior to be used for scanning in the aforementioned functions.
If no information can be obtained on the gateway interface, or it is not possible to obtain information for a specific parameter, the corresponding member parameter(s) of the KAV_EXTRA_OBJECT_INFO_HTTP structure must be initialized to NULL. For example, if you do not have the data for the HTTP response header, set the objectHttpRsp parameter to NULL.
If you do not want the HTTP protocol data be used in scanning functions, set every member of the KAV_EXTRA_OBJECT_INFO_HTTP structure to NULL. No additional scanning methods will be used against the scanned data; decryption of scanned data based on HTTP data will not be possible.