Implementation of covert timing channels based on http cache headers in cloud file storage services
It is shown how covert timing channels based on HTTP cache headers can be implemented in cloud file storage services. Most of the cloud file storages like Google Drive allow users to operate with cache-control headers, particularly with files' ETags. So it is possible to implement covert timing channel based on ETag cache header. Consider two man-in-the-browser attackers, s <sub>1</sub> and s <sub>3</sub>, located on different hosts, and fully trusted web server, accessible via https://drive.google.com/drive/, with some file hosted on it. The only requirement for covert channel is that the file should be accessible for writing to s <sub>1</sub> and for reading to s <sub>3</sub>. The attacker s <sub>1</sub> sends a request to Google Drive API (POST request to https://www.googleapis.com/drive/v2/files/fileId/touch) to modify the file's last access time (and hence ETag). Then the attacker s <sub>3</sub> sends a request to Google Drive API (GET request to https://www.googleapis.com/drive/v2/files/fileId) to get the file's metadata including ETag. If the recieved header value is the same as before, s <sub>3</sub> considers that he get bit 1, otherwise (when file has been changed and header values do not match) s <sub>3</sub> considers that he get bit 0. This method allows to increase channel's throughput (in comparison with some other methods) and provides the anonymity for communications between attackers s <sub>1</sub> and s <sub>3</sub>.