Computer-related Search Issues

From Criminal Law Notebook
This page was last substantively updated or reviewed August 2024. (Rev. # 96564)

General Principles

See also: Special Search Issues

Search warrants under s. 487 are the most typical manner of authorizing an officer to examine the contents of a computer.[1]

  1. R v Blazevic, 2011 ONSC 7549 (CanLII), 213 AR 285, per PJL Smith J, at para 32, ("the police have the right to search computers with a search warrant under s. 487 of the Criminal Code to assist them in uncovering evidence associated with an offence.")

Warrant Issues

Single Warrant for Multiple Zones of Privacy

A residential search warrant that authorizes the seizure of computer devices for its evidential value can also operate as an judicial authorization for the examination of the device.[1] Due to the enhanced privacy interest, the authorization must “specific[ally]” authorize the seizure of a computer before they can search it. The authorization for the device cannot be by implication.[2]

If a computer is found during a search under a warrant does not authorize the search of a computer, it can be seized until a computer search warrant is obtained.[3]

The initial seizure of the device and the later forensic examination is a separate police activity.[4]

Where a computer device is lawfully seized, the police are permitted to make a forensic copy of the data.[5]

The use of analogies comparing cupboards and computer devices is not appropriate for the analysis of lawfulness of computer searches.[6]

  1. R v Vu, 2013 SCC 60 (CanLII), [2013] 3 SCR 657, per Cromwell J
    see also R v Ballendine, 2011 BCCA 221 (CanLII), 271 CCC (3d) 418, per Frankel JA
    R v Nero, 2016 ONCA 160 (CanLII) (working hyperlinks pending), per Watt JA, at para 164
    R v McNeill, 2020 ONCA 313 (CanLII), OJ No 2282, per Jamal JA, at paras 53 to 59
    cf. R v Jones, 2011 ONCA 632 (CanLII), 278 CCC (3d) 157, per Blair JA
  2. Vu, supra, at para 3 ("...the requirement of specific, prior authorization means that if police intend to search computers found within a place with respect to which they seek a warrant, they must satisfy the authorizing justice that they have reasonable grounds to believe that any computers they discover will contain the things they are looking for.")
    R v Butters, 2014 ONCJ 228 (CanLII), 311 CCC (3d) 516, per Paciocco J, at para 25 aff'd 2015 ONCA 783 (CanLII), per curiam
  3. Vu, supra, at para 49
  4. R v Barwell, [2013] OJ 3743(*no CanLII links) , per Paciocco J, at para 18
  5. R v Eddy, 2016 ABQB 42 (CanLII), 3 CTC 90, per Rooke ACJ, at paras 49 to 50
  6. Vu, supra

Search of Third-Party Devices for Communications

The privacy rights follow and apply to "electronic conversations" whether or not stored on the sender's device. Accordingly, a communication, as it exists on a third-party devices, may be protected under s. 8 of the Charter.[1]

Search of an Electronic Conversation by Consent

There is some suggestion that a conversation may not accessed by the police without warrant on consent of one of the parties to that conversation.[2] There is no need for a consent where the conversation is between strangers as there is no expectation of privacy.[3]

  1. R v Marakah, 2017 SCC 59 (CanLII), [2017] 2 SCR 608, per McLachlin CJ
  2. Marakah, ibid.
    see R v Reeves, 2018 SCC 56 (CanLII), [2018] 3 SCR 531, per Karakatsanis J - relating to a search of the family computer on consent of wife
    R v Lim, 2019 ABPC 87 (CanLII), per Creagh J
    cf. R v Cairns, 2018 ONSC 6411(*no CanLII links) , per Sweeny J - The search of a facebook conversation with consent of one of the parties did not require a warrant
  3. R v Mills, 2019 SCC 22 (CanLII), 433 DLR (4th) 573, per Brown J

A "Locker Warrant"

There is some division in the case law in whether proper means of authorizing the examination a device lawfully seized and stored in an evidence locker.[1] There is a line of cases that suggest that the proper means of examining the device is to ask for a "locker warrant." [2]

  1. R v Townsend, 2017 ONSC 3435 (CanLII), 140 WCB (2d) 240, per Varpio J, at paras 61 to 73
  2. R v Eddy, 2016 ABQB 42 (CanLII), DTC 5032, per Rooke ACJ
    R v Nurse, 2014 ONSC 1779 (CanLII), OJ No 5004, per Coroza J
    R v Barwell, [2013] OJ No 3743 (Ont. C.J.)(*no CanLII links) , per Paciocco J

Timing of Forensic Examination

A computer held under a s. 490 warrant can be examined at any time irrespective of the time specified in the warrant.[1]

  1. R v Nurse, 2014 ONSC 1779 (CanLII), OJ No 5004, per Coroza J at pars 41 to 49
    R v Rafferty, 2012 ONSC 703 (CanLII), OJ No 2132, per Heeney J, at paras 39 to 48
    R v Weir, 2001 ABCA 181 (CanLII), 156 CCC (3d) 188, per curiam, at paras 18 to 19
    R v Ballendine, 2011 BCCA 221 (CanLII), 271 CCC (3d) 418, per Frankel JA, at paras 64 to 70
    R v Yabarow, 2019 ONSC 3669 (CanLII), per Dambrot J, at para 49

Sufficiency of Computer Evidence

It is not necessary that the authorizing justice be satisfied that there is a specific device in the location to be searched, only that if a device is found it will contain evidence.[1]

IP Address and RPG to Search

The connection of an IP address with an ISP account can form reasonable grounds to believe that a computer will be present at the address, but will often need something more.[2]

  1. R v Vu, 2013 SCC 60 (CanLII), [2013] 3 SCR 657, per Cromwell J, at para 48
  2. see R v Weir, 2001 ABCA 181 (CanLII), 156 CCC (3d) 188, per curiam ("While it is possible that the computer may have been at a different location than the billing address, it was not unreasonable to conclude that something as sensitive as child pornography would be kept on a computer in a person’s home.")

Manner of Search

When searching a computer, the manner of the search must be "reasonable" and is subject to implied restrictions.[1]

It is not permissible for police examiners to "scour the devices indiscriminately". They must "adhere to the rule that the manner of the search must be reasonable."[2]

The examiners should not conduct full "data dump" of the entire contents of the device and then simply give the entirety of the materials extracted to the investigator where they have the ability to narrow the scope of their search to better comply with the authorization.[3]

Limitations on search are guided by the type of evidence being sought, not any particular file format or file name.[4] Limitations based on locations within the device are not practical.[5] Examiners are entitled to examine any file or folder, in at least a cursory manner, to determine whether they are likely to contain evidence of the type they are seeking.[6]

Imaging of Device

The process of imaging a lawfully seized device is a form of "seizure" under s. 8 of the Charter.[7] There is no obligation for the police to delete the image once the extraction is done.[8] There is no limitation on the number of times that the examiner can revisit the contents of a mirror-imaged device.[9]

Report to Justice on Extracted Data

There is a line of cases suggesting that it is required under s. 489.1 for the police to file a report to justice in relation to the extracted data.[10]

Search Protocols

There is no need for the computer search warrant to set out a search "protocol" to limit what can be examined in the computer.[11]

Note Taking

The person doing the examination of the device has an obligation to make notes absent unusual or exigent circumstances.[12] Failure to take notes will not necessarily result in a breach of s. 8, particularly where there is sufficient information provided through the expert's report.[13] Failure to take notes but there is no impediment to the accused to "meaningfully challenge" the search.[14]

  1. R v Vu, 2013 SCC 60 (CanLII), [2013] 3 SCR 657, per Cromwell J, at para 61
  2. Vu, ibid., at para 61
    R v Jones, 2011 ONCA 632 (CanLII), 278 CCC (3d) 157, per Blair JA, at para 42
    R v Fearon, 2014 SCC 77 (CanLII), [2014] 3 SCR 621, per Fearon J, at para 20
    R v Nurse and Plummer, 2014 ONSC 5989 (CanLII), 322 CRR (2d) 262, per Coroza J, at paras 24, 34
  3. Nurse, ibid.
  4. Jones, supra, at para 43
    see also R v Rafferty, 2012 ONSC 703 (CanLII), OJ No 2132, per Heeney J
  5. R v Cross, 2007 CanLII 64141 (ON SC), [2007] OJ 5384 (ONSC), per Brennan J
  6. Jones, supra, at para 44
  7. R v JW, 2022 ONSC 4400 (CanLII)
    R v Sinnappillai, 2019 ONSC 5000 (CanLII), per Boswell J, at paras 60 to 72
  8. Sinnappillai, ibid., at paras 73 to 80
  9. Sinnappillai, ibid., at para 80
    Nurse, supra
  10. Sinnappillai, ibid., at paras 93 to 100
    R v Merritt, 2017 ONSC 5245 (CanLII), per Dawson J, at paras 244 to 245
    R v Neill, 2018 ONSC 5323 (CanLII), per Coroza J, at paras 89 to 94
    R v DaCosta, 2021 ONSC 6016 (CanLII), per Leibovich J
    R v Otto, 2019 ONSC 2514 (CanLII), per Di Luca J
    R v Bottomley, 2022 BCSC 2192 (CanLII), per Devlin J
    contra R v Robinson, 2021 ONSC 2446 (CanLII), per Akhtar J
  11. Vu, supra, at para 59 ("...my view is that search protocols are not, as a general rule, constitutionally required for pre-authorization of computer searches.")
  12. Vu, supra, at para 70 (" That said, there are two somewhat disquieting aspects of the search of the computer. First, Sgt. Wilde admitted in his testimony that he intentionally did not take notes during the search so he would not have to testify about the details. This is clearly improper and cannot be condoned. Although I do not decide here that they are a constitutional prerequisite, notes of how a search is conducted should, in my view, be kept, absent unusual or exigent circumstances.")
  13. R v Schulz, 2018 ONCA 598 (CanLII), 142 OR (3d) 128, per Brown JA
  14. R v Villaroman, 2018 ABCA 220 (CanLII) (working hyperlinks pending), per curiam (2:1) , at para 17 ("The forensic examiner testified at length about how he conducted the search. The failure to take detailed notes does not appear to have undermined the appellant’s ability to meaningfully challenge the reasonableness of the search.") appealed on different grounds at 2016 SCC 33.

Discovery of a New Offence

When executing a search warrant in relation to a certain offence and the examiner discovers evidence of another crime, the discovered evidence is admissible, but any further searches for further evidence of the new offence must be done after applying for a new warrant.[1]

Where a new authorization is needed, the proper procedure is to apply for a search warrant and not a general warrant.[2]There is nothing wrong with getting a second search warrant for a device that has already been seized and searched.[3]

  1. R v Jones, 2011 ONCA 632 (CanLII), 278 CCC (3d) 157, per Blair JA
    R v Vu, 2011 BCCA 536 (CanLII), 285 CCC (3d) 160, per Frankel JA appealed to 2013 SCC 60 (CanLII), per Cromwell J
  2. R v KZ, 2014 ABQB 235 (CanLII), 589 AR 21, per Hughes J, at para 32 - Note however that this case considers "computers to be "places" of search rather than the "thing" of search within the meaning of s. 487, which is somewhat contrary to numerous other cases
  3. KZ, ibid., at para 40

Consent Searches for Electronic Communications

Police may examine computer files that a complaint presents to them without engaging section 8 of the Charter. There are no obligations to inquire how the complainant obtained the files.[1]

There is some suggestion that police do not require a warrant before looking at the text messages disclosed to them by a participant in the conversation.[2]

  1. R v King, 2021 ABCA 271 (CanLII), per curiam
    R v Orlandis-Habsburgo, 2017 ONCA 649 (CanLII), 352 CCC (3d) 525, per Doherty JA, at para 34 ("I have considerable difficulty with the submission that s. 8 is engaged if the police look at information in which an accused has a legitimate privacy interest, even if that information is brought to the police by an independent third party acting on its own initiative. On that approach, s. 8 would be engaged if a "whistleblower" took confidential documents belonging to her employer to the police to demonstrate the employer's criminal activity. Must the police refuse to look at the documents to avoid violating the employer's s. 8 rights? As Duarte teaches, it is one thing to say that Canadian values dictate that the state's power to decide when and how it will intrude upon personal privacy must be carefully circumscribed, and quite another to say that an individual's private information is cloaked in the protection of s. 8 no matter how that information comes to the police.")
  2. R v Dick, 2024 SKKB 155 (CanLII), <https://canlii.ca/t/k6xtf> , per Klatt J

Child Pornography

See also: Child Pornography (Offence)

Police are entitled to visually examine the full range of images across all date time-stamps as limiting the range would provide a culprit a "roadmap for concealment."[1]

For details on the issue of dated information regarding the presence of CP on a computer, see Information to Obtain a Search Warrant#Currency of Information.

  1. R v John, 2018 ONCA 702 (CanLII), per Pardu JA, at para 24 ("...a search of all images and videos is appropriate in an investigation like this precisely to determine whether there is more child pornography on the computer. To limit police to searches by hash values, file names and download folders would be to provide a roadmap for concealment of files containing child pornography.") contra R v Sop, 2014 ONSC 4610 (CanLII), per Sloan J

Search for Data Stored Outside of Computer

There is some suggestion that s. 487(2.1) and (2.2) permits a search of a computer to include a search of data stored off-site.[1]

487
[omitted (1) and (2)]

Operation of computer system and copying equipment

(2.1) A person authorized under this section to search a computer system in a building or place for data may

(a) use or cause to be used any computer system at the building or place to search any data contained in or available to the computer system;
(b) reproduce or cause to be reproduced any data in the form of a print-out or other intelligible output;
(c) seize the print-out or other output for examination or copying; and
(d) use or cause to be used any copying equipment at the place to make copies of the data.
Duty of person in possession or control

(2.2) Every person who is in possession or control of any building or place in respect of which a search is carried out under this section shall, on presentation of the warrant, permit the person carrying out the search

(a) to use or cause to be used any computer system at the building or place in order to search any data contained in or available to the computer system for data that the person is authorized by this section to search for;
(b) to obtain a hard copy of the data and to seize it; and
(c) to use or cause to be used any copying equipment at the place to make copies of the data.

[omitted (3) and (4)]
R.S., 1985, c. C-46, s. 487; R.S., 1985, c. 27 (1st Supp.), s. 68; 1994, c. 44, s. 36; 1997, c. 18, s. 41, c. 23, s. 12; 1999, c. 5, s. 16; 2008, c. 18, s. 11; 2019, c. 25, s. 191; 2022, c. 17, s. 16.

CCC (CanLII), (DOJ)


Note up: 487(2.1) and (2.2)

Section 487(2.1) and (2.2) were enacted in 1997 with RSC 1997, c. 18.[2]

One possible problem with the use of s. 487(2.1) to permit off-site searches is that it does not take into account that s. 487 limits its authorization to search of a "place" that is different from the off-site "place" storing the "cloud" data. There is a possibility that the power authorized by s. 487 is limited to searches where the evidence is located within the geographical area of the "place" listed on the warrant.

There is some experience with using a general warrant to get access to a google account.[3]

Computer as "place" or "thing"

There is uncertainty as to where warrants under s. 487 to search for computers are generally framed as searching "places" to locate a computer device that is to be forensically examined once subject to a s. 490 detention order.[4] The extraction of data from computer has been analogized to the analysis of a blood sample, which suggests a "search" occurring at the time of seizure and not on analysis.[5]

Jurisdiction

Generally speaking, where data is stored in a foreign country but is readily accessible through a network within the country, the location of the original data is irrelevant.[6]


  1. R v Vu, 2011 BCCA 536 (CanLII), 285 CCC (3d) 160, per Frankel JA, at para 73 - obiter appealed on other issues to 2013 SCC 60 (CanLII), per Cromwell J
  2. see List of Criminal Code Amendments (1984 to 1999)
  3. R v Strong, 2020 ONSC 7528 (CanLII), per Di Luca J, at paras 93 to 119
  4. examples of computer as "thing":
    R v Nurse, 2014 ONSC 1779 (CanLII), OJ No 5004, per Coroza J, at paras 41 to 49 – upheld on appeal on other grounds
    R v Weir, 2001 ABCA 181 (CanLII), 156 CCC (3d) 188, per curiam, at paras 18 to 19
    R v Ballendine, 2011 BCCA 221 (CanLII), 271 CCC (3d) 418, per Frankel JA, at paras 64 to 70
    R v Yabarow, 2019 ONSC 3669 (CanLII), per Dambrot J, at para 49
    R v Townsend, 2017 ONSC 3435 (CanLII), 140 WCB (2d) 240, per Varpio J, at paras 61 to 73
    R v Eddy, 2016 ABQB 42 (CanLII), 2016 DTC 5032, per Rooke ACJ
    R v Rafferty, 2012 ONSC 703 (CanLII), OJ No 2132, per Heeney J, at paras 39 to 48 – re vehicle
    R v Barwell, [2013] OJ No 3743 (Ont. C.J.)(*no CanLII links) , per Paciocco J
    R v Viscomi, 2016 ONSC 5423 (CanLII), per McCombs J
    examples of computer as "place":
    R v D’Souza, 2016 ONSC 5855 (CanLII), OJ No 4995, per McCarthy J
    R v Salmon, 2018 ONSC 5670 (CanLII), per Conlan J
    R v Marek, 2016 ABQB 18 (CanLII), per Moreau J
    R v KZ, 2014 ABQB 235 (CanLII), 589 AR 21, per Hughes J, at para 32
    R v Tyler Perkins, 2013 ONSC 1807 (CanLII), 279 CRR (2d) 224, per Ferguson J
    R v Little, 2009 CanLII 41212 (ON SC), OJ No 3278, per Fuerst J
  5. R v Weir, 1998 ABQB 56 (CanLII), per PJL Smith J
  6. eBay Canada Ltd v MNR, 2008 FCA 348 (CanLII), [2010] 1 FCR 145, per Evans JA, (the court of appeal stated “The location of the servers was irrelevant because electronically stored information relating to the PowerSellers was readily, lawfully, and instantaneously available in a variety of places to the appellants in Canada.”)

Police Undercover Investigations

See also: Wiretaps

The seizure of historical text messages will not be considered an "interception" requiring a Part VI wiretap warrant.[1]

An undercover peace officer posing as an underage officer does not amount to an intercept.[2]

The fact that the sender was under the mistaken belief as to the identity of the recipient does not amount an "interception."[3]

  1. R v Didechko, 2015 ABQB 642 (CanLII), 27 Alta LR (6th) 290, per Schutz J
    R v Vader, 2016 ABQB 309 (CanLII), per DRG Thomas J
    R v Rideout, 2016 CanLII 24896 (NLSCTD), per Burrage J
    R v Jones, 2017 SCC 60 (CanLII), [2017] 2 SCR 696, per Cote J
    R v Scott, 2015 MBQB 87 (CanLII), 130 WCB (2d) 418, per Edmond J
    R v Mills, 2017 NLCA 12 (CanLII), NJ No 55, per Welsh JA leave to appeal granted 2017 CanLII 84238 (SCC), per McLachlin CJ
    cf. R v Croft, 2015 ABQB 24 (CanLII), per Burrows J
  2. R v Allen, 2017 ONSC 1712 (CanLII)
    R v Graff, 2015 ABQB 415 (CanLII), 337 CRR (2d) 77, per Neilsen J
    R v Ghotra, [2015] OJ No 7253 (ONSC)(*no CanLII links)
  3. Mills, supra

Disclosing Passwords

It remains an open question whether it is possible to use a general warrant to compel a person to disclose their device password.[1]

  1. In Re: Application for a General Warrant and s. 487.02 Assistance Order for Eric Talbo (2017), [1], {{{4}}}

Evidence

Operation of a Computer Device

It should not be necessary to have the investigator to give details on the "basic functions" of computer storage devices. Computer devices are to be treated as appliance and so no need of need of proof is necessary to establish basic functionality.[1]

Extraction Reports

Cell phone extraction reports primarily are classified as "real evidence."[2]

These extraction results do not require independent testing or verification since they simply copy and organize data found on the device without drawing inferences.[3]

Inferring Location From Cellphone Evidence

It is generally accepted that a "call to or from a cell phone will usually register at the tower closest to that cell phone", which is determined by which tower has the strongest signal. This is usually but not always the tower with the closest tower.[4]

Geographic evidence is typically tendered through use of a "propagation map" that "despict[s] the relative coverage areas of cell phone towers located at various places in a geographical area."[5]

There will be times where the closest tower rule will not apply such as where:[6] • the closest tower is at capacity • there is a body of water between the phone and the closest tower • there is a large obstruction between the phone and the closest tower.

Geographic evidence need not be proven by expert testimony.[7]

Given the imperfect and limited strength of geographic evidence, a single text message from a phone may be insufficiently probative to outweigh the prejudicial value of the accused location.[8]

Inferences from Browsing and Search History

Inferences from internet browsing and search history must be considered in the context of all the evidence.[9]

  1. R v Wonitowy, 2010 SKQB 346 (CanLII), 358 Sask R 303, per Dufour J, at para 46
  2. R v Bernard, 2016 NSSC 358 (CanLII), per Gogan J, at para 26 ("I find that the content of both Exhibits 9 and 10 [full extraction reports] are electronic real evidence.")
  3. R v Miro, 2016 ONSC 4982 (CanLII), per Fitzpatrick J, at para 39 ("The software and devices he used copied or removed files out of the seized devices and then organized them so D/C Dunhill, and not the software, could draw conclusions about what was present.")
  4. R v MacGarvie, 2017 ONSC 2834 (CanLII), per Reid J, at para 12
  5. R v Cyr, 2012 ONCA 919 (CanLII), 294 CCC (3d) 421, per Watt JA, at para 86
  6. R v Hamilton, 2011 ONCA 399 (CanLII), 271 CCC (3d) 208, per curiam, at para 239
    MacGarvie, supra, at para 14
  7. Hamilton, supra, at para 277
  8. R v Oland, 2015 NBQB 244 (CanLII), per Walsh J, at paras 77 to 78
  9. R v Howley, 2015 ONSC 7816(*no CanLII links) , at paras 97, 105

Canadian Border Searches

There are two sources of authority for a warrantless search of an electronic device.

Section 99(1)(a) of the Customs Act states in part that:

Examination of goods

99 (1) An officer may

(a) at any time up to the time of release, examine any goods that have been imported and open or cause to be opened any package or container of imported goods and take samples of imported goods in reasonable amounts;


...
R.S., 1985, c. 1 (2nd Supp.), s. 99; 1988, c. 65, s. 79; 2001, c. 25, s. 59; 2017, c. 7, s. 52.

Section 139(1) of the Immigration and Refugee Protection Act states in part that:

Search

139 (1) An officer may search any person seeking to come into Canada and may search their luggage and personal effects and the means of transportation that conveyed the person to Canada if the officer believes on reasonable grounds that the person

(a) has not revealed their identity or has hidden on or about their person documents that are relevant to their admissibility; or
(b) has committed, or possesses documents that may be used in the commission of, an offence referred to in section 117, 118 or 122.


...

IRPA

"Goods" Under Customs Act

The term "goods" is defined in s. 2(1) of the Customs Act as "conveyances, animals and any document in any form." This includes information found on computers and cellphones.[1]

This can include any data that is in "actual possession of or in accompanying baggage of traveller at time they arrive at border and commence dealings with customs officers", but does not include records stored remotely and accessible from the device.[2]

NB: the definition goods under s. 2 as it relates to electronic devices has been declared invalid with a suspension for one year.[3]

Expectation of Privacy

International travelers have a diminished expectation of privacy while crossing international borders.[4]

Warrantless Search of Phones

It has been found that warrantless searches of phones are permitted at borders.[5]

It is not necessary that the border agent first form reasonable grounds before engaging in such a "routine search" of electronic devices.[6]

  1. R v Buss, 2014 BCPC 16 (CanLII), 301 CRR (2d) 309, per Oulton J
    R v Moroz, 2012 ONSC 5642 (CanLII), per Desotti J
    R v Whittaker, 2010 NBPC 32 (CanLII), 946 APR 334, per Jackson J
  2. R v Gibson, 2017 BCPC 237 (CanLII), per Gillespie ACJ
  3. R v Canfield, 2020 ABCA 383 (CanLII), 395 CCC (3d) 483, per curiam
  4. R v Simmons, 1988 CanLII 12 (SCC), [1988] 2 SCR 495, per Dickson CJ
  5. Buss, supra
    Moroz, supra
    Whittaker, supra
    contra Canfield, supra
  6. R v Sekhon, 2009 BCCA 187 (CanLII), 67 CR (6th) 257, per Ryan JA
    R v Leask, 2008 ONCJ 25 (CanLII), 167 CRR (2d) 267, per Nadel J
    See CBSA policy on electronic devices: OB PRG-2015-31

See Also