In the investigation of electronic fraud, the question of who operated an account is rarely answered by what the victim has to hand. The answer lies in records held by third parties: the application in which the act was performed, the connection provider and, sometimes, other systems. That is why, in the criminal complaint and in the police investigation, the order and form of the investigative steps may decide whether the record still exists and whether the response that comes back will be of any use. Art. 6, III, of the CPP (Brazil’s Code of Criminal Procedure) requires the police authority to gather all evidence that serves to clarify the facts. With digital evidence, gathering begins with preventing the evidence from disappearing.
The first technical point is time. Lei 12.965/2014 (Brazil’s Civil Rights Framework for the Internet, the Marco Civil da Internet) requires connection providers to retain connection logs for 1 year (Art. 13) and application providers to retain application access logs for 6 months (Art. 15). These are minimum periods. After them, the log may have been lawfully discarded. The same law provides the remedy: Arts. 13, § 2, and 15, § 2, allow the police or administrative authority or the Ministério Público (Brazil’s Public Prosecution Service) to request, as a precautionary measure, retention for a longer period. Preservation freezes the data. Access to it comes later, and disclosure of the records depends on a court order (Art. 10, § 1, and Art. 22 of the same law).
The second technical point explains why preservation must go to all custodians at the same time. The requests are chained. The application stores the IP address and the source port of each access. The carrier needs both of these elements, plus the exact moment, to identify which subscriber was using that connection. One response informs the next. If preservation follows the same sequential pace, the retention period of the last custodian keeps running while the response from the first is awaited. The chain of requests is unavoidable; the chain of preservations is not.
The third point is the addressee. A formal request addressed to a trade name, to the name of an app or to a generic description of the service tends to come back as “not found”, or simply never comes back. The data is held by an identified legal entity, which is not always the brand the user sees. A service may operate under one name and have its technology, and its records, maintained by another company. The documented ownership of the domain, the terms of use and the privacy policy usually indicate who is responsible for the data.
The fourth point is the form of the request. A hypothetical example helps: an act logged at 14:05 Brasília time corresponds to 17:05 UTC. If the request states only “14:05” and the recipient’s system logs in UTC, the search lands on a different moment. That is why the request should state both times, provide for a window before and after the event — for example, 30 minutes — and ask the recipient to declare the time zone and clock source of its own system. It should also ask for delivery in a machine-readable format, with a description of the fields, and for an express statement where the data does not exist. A declared negative response is information; silence is not. Once received, the response is an item of evidence and deserves the custody record described in Arts. 158-A to 158-F of the CPP. Source port and time zone need to be in the request, not just in the analysis.
The technical opinion supporting the criminal complaint can hand the authority this roadmap ready-made: whom to ask to preserve, whom to request from, in what order, with what parameters. At the judicial stage, Art. 159, §§ 3 to 5, of the CPP governs expert questions and party experts, and the same reasoning serves the defence, which also depends on complete records to contest an attribution to a specific individual. But the roadmap has clear limits. It does not replace the decision of the authority or the court on whether each measure is appropriate and how far it should reach. And it does not identify a perpetrator. It indicates where the records that may identify one are kept, if they still exist.
4 min read Translated from the original in Portuguese. Read the original →