I've fielded a few questions recently about what some value buried in a Chrome artifact means. I find myself going to the Hindsight source on GitHub and drilling down into the code because I know I have the values translated there. That seems kind of inefficient, so to make it easier for me (and you!) I'm putting some of the value tables I look up often here on this page.
All the following values describe some aspect of how Chrome downloads files: if the download is dangerous, if the download was interrupted, and the state of the download.
Download Danger Type
The 'value' below appears in 'History' SQLite database → 'downloads' table → 'danger_type' column.
|The download is safe.
|A dangerous file to the system (e.g.: a pdf or extension from places other than gallery).
|SafeBrowsing download service shows this URL leads to malicious file download.
|SafeBrowsing download service shows this file content as being malicious.
|Content May Be Malicious
|The content of this download may be malicious (e.g., extension is exe but SafeBrowsing has not finished checking the content).
|SafeBrowsing download service checked the contents of the download, but didn't have enough data to determine whether it was malicious.
|Dangerous But User Validated
|The download was evaluated to be one of the other types of danger, but the user told us to go ahead anyway.
|SafeBrowsing download service checked the contents of the download and didn't have data on this specific file, but the file was served from a host known to serve mostly malicious content.
|Applications and extensions that modify browser and/or computer settings
|Whitelisted by Policy
|Download URL whitelisted by enterprise policy.
Download Interrupt Reason
The 'value' below appears in 'History' SQLite database → 'downloads' table → 'interrupt_reason' column. Values under 20 are file-related (except 0); the 20s are network-related; the 30s are server-related; 40s are because of user input; and lastly, 50 is a crash.
|Generic file operation failure.
|The file cannot be accessed due to security restrictions.
|There is not enough room on the drive.
|Path Too Long
|The directory or file name is too long.
|File Too Large
|The file is too large for the file system to handle.
|The file contains a virus.
|The file was in use. Too many files are opened at once. We have run out of memory.
|The file was blocked due to local policy.
|Security Check Failed
|An attempt to check the safety of the download failed due to unexpected reasons.
|An attempt was made to seek past the end of a file in opening a file (as part of resuming a previously interrupted download).
|Generic network failure.
|Operation Timed Out
|The network operation timed out.
|The network connection has been lost.
|The server has gone down.
|The server indicates that the operation has failed (generic).
|Range Request Error
|The server does not support range requests.
|Server Precondition Error
|The download request does not meet the specified precondition.
|Unable to get file
|The server does not have the requested data.
|Server didn't authorize access to resource.
|Server Certificate Problem
|Server certificate problem.
|Server Access Forbidden
|Server access forbidden.
|Unexpected server response. This might indicate that the responding server may not be the intended server.
|Content Length Mismatch
|The server sent fewer bytes than the content-length header. It may indicate that the connection was closed prematurely, or the Content-Length header was invalid. The download is only interrupted if strong validators are present. Otherwise, it is treated as finished.
|Cross Origin Redirect
|An unexpected cross-origin redirect happened.
|The user cancelled the download.
|The user shut down the browser.
|The browser crashed.
The 'value' below appears in 'History' SQLite database → 'downloads' table → 'state' column.
|Download is actively progressing.
|Download is completely finished.
|Download has been cancelled.
|'3' was the old "Interrupted" code until a fix, then it was '4', but now it looks like '3' is in use again.
|This state indicates that the download has been interrupted.
These values pertain to URL visits (or just visits for brevity). Both of these sources can add a lot of important context to an investigation: where the visit actually took place, and what (if any) history was cleared.
History Visit Source
Not all visits recorded in Chrome's history happened in that local Chrome browser. This table tracks the source of the visit, which falls into three categories: the visit was synced from another device; the visit was done on the device, but was imported from another web browser or added by an extension, or the visit was in fact done in Chrome, on that device (typically the majority).
The 'value' below appears in 'History' SQLite database → 'visit_source' table → 'source' column.
|Synchronized from somewhere else.
|User browsed. In my experience, this value isn't written; it will be null.
|Added by Extension
|Added by an extension.
History Cleared Time Span
The 'value' below appears inside the 'Preferences' JSON file → 'browser' → 'clear_data' → 'time_period'. The companion key Preferences['browser']['last_clear_browsing_data_time'] has a timestamp that (I believe) can be used in conjunction with the 'time_period', but it is not always present. I talked about how to use this artifact in The Chrome history was cleared! Now what? if you want to learn more.
The values in the above 'Clear browsing data' dialog correspond to the values below (found in the Preferences JSON).
|the past hour
|the past day
|the past week
|the past 4 weeks
|the beginning of time