Chain of Custody Problems in Cloud-Sourced Evidence.
Cloud-sourced evidence presents a unique challenge to the federal government’s chain-of-custody obligations. This is because the initial storage and, in many cases, the initial collection event occur outside of the federal government’s control. - How long does the cloud evidence remain under the provider’s control before investigators receive exports?
- The provider’s exports, even if these exports are not themselves “native” cloud objects, are collection events.
- What does the provider do before it exports the data?
- Providers may generate, store, transform, certify, and then transmit an account record.
- These, each of these steps, raise questions that can only be answered with evidence of authentication, integrity, attribution, and legality. However, each of these questions requires its own separate showing.
- What should a chain-of-custody log contain?
- According to the Department of Justice, the chain-of-custody log should record, among other things, the names of all persons handling the digital evidence, times and dates of access, the reason for each transfer, any tests performed on the digital evidence, method of secure storage and the disposition of the evidence.
- But, digital evidence is uniquely vulnerable to alteration. As the Manual also states, “ accessing the data on an unlogged, unsecured medium can be sufficient to destroy a showing of authentication. For example, if investigators leave an unsecure digital medium in an area where unauthorized people have access, they may not be able to demonstrate the integrity of the evidence to a judge or jury.”
- Moreover, digital evidence stored on an unsecured device can be destroyed by means of remote erasure. If the government fails to secure its digital evidence, it can inadvertently allow for evidence destruction, which may lead the government to claim that it is the defendant’s culpability that is at issue.
What Counts as the Original Cloud Evidence?
FRE 1001(d) provides that, for electronically stored information, an “original” means any printout-or other output readable by sight-if it accurately reflects the information. As the Department of Justice manual states: “All of these examples are evidence, and all of them could be originals for the purposes of Federal Rule of Evidence 1002.” - Return data, such as emails received by the government from a provider such as Microsoft
- Officer-initiated downloads, e.g., using a cloud backup or file sync tool
- Officer-initiated access, using access information like the account holder’s password (assuming consent or warrants in place)
- Files that have been “synced” from cloud storage to local device(s) In many cases, the chain of custody is never relevant because the evidence never enters the police property room. In these cases, the provider transmits the data directly to the government. Similarly, when the provider produces account records, it does not act as a police-property custodian. Finally, these cases present unique problems for demonstrating the “integrity” of digital evidence.
Unlike other types of evidence, digital evidence can be easily altered and even more easily deleted. With traditional digital evidence like hard drives, files can be protected from alteration using “write-blocking” technology. But, for evidence collected from the cloud via provider APIs, write-blocking has limited application. In these cases, evidence of the collection process, the chain of custody, the validity of the warrant (if applicable), the integrity of the collection process, and the integrity of the stored data must rely on other means.
Cloud-stored files still require authentication before they can be admitted into evidence. While cloud files are not themselves the subject of the a chain of custody showing, federal prosecutors must demonstrate that the files retrieved from the cloud are “original” and that they have not been altered or deleted before their presentation to the jury. Unfortunately, failure to use write-blocking technology or failure to maintain a secure and logged environment, can undermine the government’s ability to prove digital authentication. If any of these circumstances are present, then the evidence may need to be challenged.
Which Cloud Records Reveal Provenance and Misleading Timelines?
A custody record for cloud-sourced evidence should identify, at a minimum: - The date and time the request was transmitted to the provider
- The date and time the provider returned the information
- The date and time the information was received by investigators When investigating cloud-sourced evidence, we look for custody records that confirm when the data was received and by whom. We also look for the provider’s return receipt to ensure that all requested information was transmitted. Often, provider returns include an export manifest. This manifest identifies the items produced, and it often identifies the data fields that were produced. It may also be possible to obtain this information directly from the provider. If the manifest is unavailable, we look for any evidence of a gap between the provider returning the data and when the government received the data. If a gap exists, we look for evidence that investigators preserved the data immediately upon receipt. This includes a copy of the data, the time and date the data was received, the medium used to save the data, and the name of the individual who took receipt. Beyond account records, we also look for audit logs that record access to the subject’s account. This information includes: - IP addresses, device identifiers, and the user’s account information
- The date and time that the account was accessed and the duration of access As we’ve discussed, the timing of these events can be misleading. Server-side timestamps are recorded in Coordinated Universal Time (UTC), which may differ from a user’s local time zone. Cloud sync conflicts can produce multiple versions of a file, each with a different modification date. This can result in a confusing and misleading timeline. Similarly, with cloud-sourced messages, we look for any available history. Often, a message’s displayed status will not match its actual status in the cloud. Similarly, cloud-sourced files may have prior contents that will not be present in a basic cloud export. Finally, cloud systems can alter timestamps, change the default filename for certain types of data, alter message status (e.g. mark a message as read), and potentially alter or remove geolocation data or other location data, depending on how the content was stored and transferred.
Can a Hash Prove Cloud Evidence Was Unchanged?
In many cases, hash values are used to support conclusions about the “integrity” of digital copies, and so hash values can support conclusions about the chain of custody. While hash values can be used to support conclusions in many contexts, with cloud-sourced data, this requires a more careful approach. Hash values are used to prove that one set of bytes is identical to another set of bytes. But in the cloud context, a hash of a provider’s export only helps prove that the export was unchanged from its delivery to investigators. It does not prove that the export is identical to the provider’s source data. One of the common problems with hashes for cloud-sourced media is re-encoding. Re-encoding changes the hash value, although the visual or auditory media that have been stored and transmitted may appear to be unchanged. Another potential problem is that evidence that has been compressed as part of the export process can result in a hash value that differs from the hash of the corresponding object in the cloud. In many cases, this can easily be demonstrated, but, in many cloud environments, this is not even possible. A primary reason is cloud deduplication: when data that are identical are deduplicated, the provider does not store identical files multiple times. But this means it is not possible to compare the hash of a file with the hash of the unique object from which it was exported.
Finally, while the standard “pull” procedure for acquiring cloud evidence can be demonstrated to be effective, this process may not require the same integrity checks as imaging a computer hard drive. For example, tool versions may need to be maintained, especially when the tool is performing a conversion process. If an investigator pulls a file through the cloud API, collects it as a native cloud object, and is unable to examine the file’s metadata, will that prevent a successful authentication of the evidence in court? Again, this presents a unique challenge that requires careful consideration.
Along with these potential challenges, there is some important legal information that defense attorneys should keep in mind. For instance, while FRE 902(14) provides a new self-authentication mechanism for electronic data and allows a forensic expert to certify that a copy of the evidence is accurate, this certification may not be sufficient to protect the government’s evidence from a challenge. If any of this describes your situation, it is worth talking it through with counsel. Spodek Law Group can be reached at 212-300-5196.
How Can Exports Hide Missing or Deleted Evidence?
Finally, while cloud-based forensics and law enforcement digital analysis are essential, this presents unique challenges that are not yet fully appreciated by most federal prosecutors. From the perspective of a federal defense attorney, some of the key issues include:
1. Hidden Evidence
While this is less common, it is possible for evidence to exist outside of any file produced by the provider. For example, platform exports may omit metadata or otherwise distort native posting metadata. Often, when presented as a “digital excerpt,” a file’s selective contents may provide a strong argument for the completeness objection established in Federal Rule of Evidence 106.
2. Missing and Deleted Evidence
With digital evidence, the existence of the evidence on the date the provider returned the data does not prove that the evidence is complete. The statute applicable in most cases, 18 U.S.C. § 2703(f), says, “A provider of wire or electronic communication services or a remote computing service, upon the request of a governmental entity, shall take all necessary steps to preserve records and other evidence in its possession pending the issuance of a court order or other process. Records referred to in paragraph (1) shall be retained for a period of 90 days, which shall be extended for an additional 90-day period upon a renewed request by the governmental entity.” The statute does not say that the provider may deliver an “accurate copy” of the data. The statute requires the provider to take all necessary steps to preserve records and other evidence in its possession pending the issuance of a court order or other process. When this occurs, a provider is not required to disclose the data to the government. So, when a prosecutor claims that the evidence he received from a provider constitutes a complete and accurate representation of the data at the time of the request, § 2703(f) alone does not establish that claim. There are five reasons why it will be flawed in the vast majority of cases: (i) incomplete provider return; (ii) a provider export that differs from the provider’s source data; (iii) an export that omits a source cloud object or part thereof; (iv) a provider export that omits files or content, such as attachments; and, (v) an export that fails to meet the foundation of certification required to be authentic evidence.
3. Other Missing and Deleted Evidence
Another type of provider return may be incomplete. For example, a warrant return that specifies a range of dates for messages may exclude messages relevant to the defendant’s case, and that Warrant Return is likely to be incomplete.
Additionally, provider exports may omit the following types of missing evidence:
- Documents that have been deleted
- Prior versions of documents and prior contents of documents that have been edited
- Attachments
- Media files and audio files
Can Account Records Prove Who Actually Used the Cloud?
Account records present numerous challenges for federal investigators. The foremost challenge is the problem of attribution. While it may be possible to authenticate a set of account records, attribution is the process of determining who actually accessed and used a particular account. In many cases, attribution is far more difficult than authentication.
We look for several issues that can limit the government’s ability to establish attribution in cloud cases. These include:
- Shared Credentials - Many individuals share the credentials to their accounts with family members, spouses, co-workers, and even friends. When multiple individuals know the credentials to an account, this weakens attribution.
- VPNs - The use of Virtual Private Network (VPN) software can obscure the apparent source of a user’s IP address. This can make attribution difficult as well.
- Account Recovery - Information about account recovery may provide a clue in some cases as well. Account recovery often indicates an individual who is not the account’s regular user.
- Delegated Access - Delegated access permits the execution of cloud activities without the account holder ever entering his or her credentials into the cloud platform.
- Bots and APIs - Bot software or an API can execute and generate activity as well. This activity can generate posts that appear to be from a user, but that are actually the result of automated processes.
- Testing Screenshots - Similarly, account logs can be used to test screenshots to see whether the screenshot matches the platform activity. If the screenshot does not match the logs, the screenshot may be authentic, but it may be misleading.
- User-Driven Actions vs. Automated Account Activity - Finally, some provider logs can distinguish user-driven actions from automated account activity.
What Should the Defense Request and Challenge First?
In criminal cases involving evidence of any type, the prosecution must ensure that the evidence can support a finding of authentication. FRE 901(a) says that “To satisfy the requirement of authenticating or identifying an item of evidence, the proponent must produce evidence sufficient to support a finding that the item is what the proponent claims it is.” While the rule is phrased in a way that gives prosecutors flexibility, the case law demonstrates a fairly rigid set of requirements for authentication. Authentication requires a chain of custody that is complete, and that establishes that the evidence was secure from the time of its collection to its delivery to the courtroom.
One of the practical difficulties with authentication is the role of the individual federal judge. For example, as discussed in the next section, if there are gaps in the paperwork, will the judge exclude the evidence or simply question its weight? While some judges may be very strict, others are more likely to let in the evidence, even when there is a clear gap in the paperwork. If gaps exist, the defense will need to focus on the possibility of alteration or substitution. The more evidence there is for a reasonable chance of alteration, the more likely it is that the court will rule for exclusion.
Another issue for defense attorneys is that chains of custody that have defects, but not necessarily a gap, may affect the evidence’s weight rather than the issue of admissibility. With this in mind, identifying the issues that can lead to a challenge is important.
What Can the Defense Do in Cloud Cases?
In most cloud cases, the federal government provides an incomplete chain of custody. In order to correct for this, the defense should seek the following through discovery: - A copy of the preservation letter that the government sent to the provider.
- Evidence of communication between the provider and the government, especially on the issues of a preservation date, extraction date, and the amount of data that were preserved.
- Extraction logs from the tool the government used to collect evidence.
- Information about the tool’s version, date, and time of the extraction.
- An audit trail that shows what data were collected, when they were collected, and by whom.
- Evidence of any device or accounts accessed and downloaded.
- Any other files that might be available from the source data that were not provided as part of the provider’s return.
What Are the Next Steps Following Discovery?
After reviewing the evidence obtained through discovery, the defense can take the following steps to correct for problems and protect against the government’s claim of a valid chain of custody.
1. Request for a Continuance or for Production of the Data
If there is clear evidence that the evidence is lacking and that a gap exists, a continuance or request for production of all data that the provider has stored may be necessary. But, in most cases, a continuance will only be granted if it appears that the provider still has the data. If the provider does not still have the data, then, as explained above, this only provides ground for a challenge to the evidence.
2. Request for Expert Inspection
If the evidence of a provenance defect is sufficiently strong, this may entitle a defendant to a request to have the digital evidence’s provenance tested by a forensic investigator. For example, if the evidence is that the data was not preserved, a forensic expert can determine whether there is any evidence that the data existed on the date the government requested preservation. In this scenario, a defendant can seek to have a professional from outside the government test the digital evidence before trial.
3. Motion to Suppress
If the cloud evidence was collected in violation of the Fourth Amendment, then a motion to suppress is warranted. If it was not, then a motion to suppress is probably not appropriate, although the motion is often made. In a motion to suppress, the defense should identify all applicable defects and demand to know where the evidence came from and by whom. Similarly, if the cloud-sourced evidence was produced in violation of federal rules, this should also be a point of discussion in the motion to suppress. In addition, if the evidence was obtained or produced in violation of a contractual relationship, this also can be grounds for a motion to suppress.
Get Advice on Your Situation
If you want someone to look at the specifics of your case, Spodek Law Group handles federal criminal defense nationwide from New York and Los Angeles. The firm has been practicing since 1976 and its motto is simple: we owe loyalty to only you. Call 212-300-5196.
Reading is good. Calling is better.
Answered within 24 hours, guaranteed. Some stories are better told out loud -
212 300 5196