We're going to be having some fun hopefully today. I'm trying to make the Fourth and Fifth Amendment entertaining, which is not an easy job, but we're gonna try. We're gonna try. Does anyone know SkyDog? Okay, we got some people. SkyDog is a goon here. He also goons at ShmooCon. We will be making fun of him the entire time. The sub subtitle of this is Poon the Goon. So, but don't try this out in the hall. He's a big man and he will hurt you. But he's a good sport, so a round of applause please. So let's get started, finally. Quick disclaimer here, all attorneys are required to do this. You guys can probably read this, I'm pretty sure y'all can read, but it's vitally important for you to understand that while I am an attorney, I'm not your attorney. In no way, shape, or form is this incentive to provide legal advice. Before relying or acting upon any information learned from this presentation, you should consult the licensed attorney in your state. Just, yeah. So introduction. Wait, who? Drink. Drink, oh, ooh. I don't have one. If someone wants to give me one, I will. I am an attorney, come on. Nope. Neighbor. That's Sean from Dual Core, by the way. Actually, I'm going to keep that. But, yeah, thank you. So an overview of what we're going to cover. We're going to talk about the Constitution. We're going to talk about the Fourth and Fifth Amendments. Suspicion standards, which are very, very important to understanding these things. The exceptions. Then we're going to go into some hypotheticals. If anybody else went to law school here, you'll understand these. They're trying to make the law fun. And modern case overviews, just a quick overview of some different stuff that's going on in the Fourth and Fifth Amendment realm. And then a question and answer period. I think we're in room 106 afterwards. I will take questions during the talk, but you'll have to scream really loud and stand up and probably dance. But if not, we'll get to them afterwards after that. And I guess I skipped an introduction. I am an attorney. I'm also a software engineer and a CTO for a software company. I've hacked since I was really, really little. Product you might know that I wrote was Azurus, the BitTorrent client. So I do know what I'm talking about. I didn't write Vooz, though. Vooz is the terrible one that's out now. Not mine. But the Constitution. Little quiz. How many articles does the Constitution contain? Twenty-three. Twenty-three. That is not right. It's actually seven of preamble and signatures. Those are the articles. There's amendments, though. How many amendments are there? Twenty-seven. Twenty-seven. There are twenty-seven. Who said it? You're cool. The First Amendment's, everybody better get this right or I will throw you out. He said the Bill of Rights. This side? The Bill of Rights. Yay. Okay. Which article applied to the Bill of Rights of the states? Ten. No. Fourteenth. Wait. Fourteenth. Fourteenth, this knows the incorporation clause. Before that, does everybody understand this? The Federal Constitution did not apply to the states. You did not have a Bill of Rights until the Fourteenth Amendment, which was added when? After the Civil War. After the Civil War. After the Civil War. That's correct. 1940, same as the moon landing. But which article or amendment contains the section on privacy? None. None. What is it? It's a judicial fiction. It is case law. The Supreme Court decided we had a right to privacy. But there is none. If we want to add one, what do we have to do? Sounds about right. Yeah. Drag it out over committees. No. Amend the Constitution is obviously going to be the quickest way. Okay. This is the fun part. When was the Constitution last, when was the amendment last ratified? No. The 90s. The 90s. 1992. And does anybody know when that amendment was proposed and by who? That's the bonus question is by who. But does anyone know when it was actually proposed? 1789. 1789. The government works really, really fast. Okay. And does anybody know who proposed it? James Madison. James Madison. So we work really, really quickly here. And here's a good one. President Barack Obama was a professor of what? Constitutional law. Yes. We have a president who has read the Constitution. That will hopefully be the last political joke, but maybe not. So let's get back to the point and making fun of him. Introduction to the Fourth Amendment. So this is the Fourth Amendment. Can everybody read that? All right. We'll read it. The right of the peoples to be secure in their persons, houses, papers, and effects against unreasonable searches and seizures shall not be violated, and no warrants shall be issued but upon probable cause, supported by oath or affirmation, in particular describing the place to be searched and the person or things to be seized. Does anybody like that? I do. It's a nice thing to have, I think. But that's our Fourth Amendment. Now the part is, it's separated into two clauses. Okay. When you read it, if you ever read a case on this, anybody ever write a Fourth Amendment case? Okay. If you read this, a lot of times they'll break it down into the reasonableness clause and the warrant clause. Now the reasonableness part is the right to be persons. It has to be a reasonable search and the warrant clause. No warrants shall issue. If that brings it, it's a very fine point. Cases always hinge on this. Like if it was unreasonable, you're going to get one result. If it's a warrant, it's another result. Okay? Just keep that in mind for when we're moving on here. So examples of a person being seized and a person being searched. So a person can be seized and searched. A car is pulled over and a driver is frisked. Okay. Has anybody been pulled over and frisked? You guys are awesome. Was it fun? No. I didn't think so. It's never fun. A person seized but not searched. Okay. That's like a traffic citation. You've all got one of those, right? Everybody? Yeah. Not fun either. But a person searched and not seized. It's a little less common. It happens at the border. But a thermal scan or an x-ray, brain scans in the future maybe. Interesting point there is the Kylo case. Is anybody familiar with it? The heat sensors. They basically said that it wasn't allowed because the technology wasn't in common application. So we've got some neural networks or neural scanning stuff coming out soon. If that becomes commonplace, will that be an allowed search? Don't know. Under the court case now, it might be. It's kind of weird. So search and seizure defined. A search. You have to have an expectation of privacy. It requires something that you reasonably have some belief that it's private to you. If you have something just left out in your yard, no expectation of privacy. It's not a search if they look at it. And there has to be a seizure. So a seizure is different for an individual or a property. When a person believes he's not free to ignore the government's presence. Have you ever been stopped by the police and they said you're not leaving here? You were seized. If they just stopped you and asked you a question, you were not seized. You were free to leave. You consented to asking or answering it if you did. Now if they say no, you can't go anywhere. Has anyone ever seen the video where the guy says, am I under arrest? And the police officer says no. And he says, am I being detained? And he says no, but you need to answer my questions. Probably a seizure. It's on YouTube. It's pretty entertaining. For a property, it requires a difference. It's a different thing. There has to be a meaningful interference with an individual's possessory interest. That means they have to have taken something from you. Anybody had their laptop seized at the border? Yeah, if they took it from you, it's a seizure obviously. They took it away from you, you couldn't use it. So that's different levels for individuals and properties. So mere suspicion standards. Now these, if you read a Fourth Amendment case, this will be discussed. These are very, very important. They set the pace on what's required and they set the pace on what can be done. So mere suspicion. A hunch or a feeling. Now there's been cases where basically the officer is like, well, he looks skeezy. Doesn't work. You can't just say a guy looks sketchy. That's not enough. Reasonable suspicion. That means there's articulable facts and circumstances. Someone can't stop you without reasonable suspicion. Modern cases are this. A lot of states, it was a not a lot of case actually, they stopped a man and they asked him for his ID. And the state had a law that said you have to provide ID when asked under reasonable suspicion. So he had to have some reason to stop the person. And he was convicted under it. The Supreme Court said that's okay. He had reasonable suspicion. The law required it. They stopped him. He didn't produce an ID. He was guilty. Okay. So reasonable suspicion. But he had to have some reason. He thought the guy was committing a crime. Okay. Probable cause. Now this is what was required to not violate your Fourth Amendment rights. They have to have probable cause. So a search is a reasonable. It's separate for a search and an arrest. So for a search. A reasonable belief that evidence or contraband will be found. If they're searching your property, that's what they have to believe. And there has to be probable cause. It has to be probable. They have to think they're going to find something. An arrest. It's facts and circumstances indicate that a person had committed or was committing a crime. So a search is a reasonable belief that evidence or contraband will be found. If they see you pull a gun and you're about to shoot someone, what's that going to be? It's going to be probable cause. Okay. They can stop you and arrest you. So exceptions. Obviously, any of your constitutional rights, the exceptions usually eat the rule. We've got the border exception, which we'll definitely be talking about. Plain view. If that's left out in your yard, for example. There's a lot to deal with curtilage. We're not going to talk about that. Open field, same thing with curtilage. Exigent circumstances. There's a great case on this. Where there. A police officer was in hot pursuit with chasing a suspect. He tracked down the suspect. The guy runs through someone's house, through an apartment building, I believe. They run through. The tenants of the apartment building were sitting sifting marijuana on their desk, separating it out. The police officer says, screw this guy with the TV, stops, arrests the two people at the table. And it's completely fine. It wasn't a violation of their rights because he was in hot pursuit. He was in a legitimate duty. So don't sort drugs on a table unless you lock the door. Okay. Um. Sky dog. Are you paying attention? Okay. Good. So search incident to arrest. Um. Who's been arrested? You don't have to raise your hands. No. Oh. Well. You guys want to party later? I got some. Something. No. But um. Search incident to arrest is basically when you're arrested, they search you. They can. There's a couple different variations. Hey, that's mine. Now there's a Terry stops. There's a different stuff. And we aren't going to really talk about that too much. There's also what's known as inventory searches, and that's what a civil search is. So when you're arrested, you know, they check your car to make sure you didn't have a PECOPI. Um. Or if you did that, you can't say they stole it. Um. So they'll, they'll patch you down. They'll strip search you, et cetera, to make sure you can't say that, well, they took my watch or something. So you get an inventory search. And that's, that's got a different set of rules, which we'll talk about briefly. A motor vehicle. Um. Basically the rules of motor vehicles. We're not really going to talk about it, but if you get pulled over, they can pretty much search you. I mean, that's just the general rule to keep in mind. Public schools. It's a reduced standard. Um. It's basically save the kids. Since they're protecting children, they don't have to have the same level. It has to be reasonable suspicion. If they think there's something there. And then consent. If you say yes, come search my apartment. What are they going to do? They're going to search your apartment. So if you say yes, come on in. It counts. But we'll talk a little bit. There's a, there's a scoped consent. And that's, that's actually an important case. Or an important thing in a lot of cases. So let's move on to the Fifth Amendment. The Fifth Amendment. I'll read this to you guys. Since somebody in the back can't read, I heard. But, um. Is it decode? No. No. Where's decode? Nor shall be. Okay. The Fifth Amendment. The part that's important for us. Nor shall be compelled in any criminal case to be a witness against himself, nor be deprived of life, liberty, or property without due process of law. Anybody else like that? I like the fourth. I like this one, too. This is a good one for us. Uh, computer people, at least. So when does it apply? So the Fifth Amendment to apply, there has to be a statement or an act. It has to be compelled. You can't just say, oh, I shot that guy. It's not a violation of your rights. Okay. It has to be compelled from you. It has to be testimonial. It has to say something or not say something. It has to give them something they can work with in a case. Um. It has to, uh, for example, authentication of evidence is a very, very important one. And that's, that's what we're going to focus on here. Everybody's familiar with the Boucher case, or I'm sure you've heard about it. And that's, that's what we'll be talking about. And it has to be incriminating. It has to subject you to some kind of criminal responsibility. Some liability has to be available from it. So contents of a search. Now this, this part gets really kind of tricky, and I'll have to ask you to bear with me. The examples will, it'll bring it out. But the, although the contents of a document may not be privileged, the acts of producing the document may be. These are the, uh, the Doe cases. There's Doe 1 and Doe 2. But the, the, the interesting part of that is it's a separate thing. Okay? So the contents of a document may not be protected. They may not be incriminating. But the fact that you had the document and you produced it to the government may be incriminating. If that makes sense. Um. Bear with me on that one. I know it gets tricky. So again, as I said, you know, there's always exceptions to the rule. And this is, there's lots of exceptions to the Fifth Amendment. So physical evidence is not testamentary. A piece of physical evidence is a piece of physical evidence. It is not a subject. It is a statement from you. Okay? So fingerprints, blood sample, hair, DNA, voice samples, that's why they can force people into a lineup without a violation of the Fifth Amendment rights. It's a physical piece of evidence. And foregone conclusions. It basically says if they know where it is and they know what it is, you need to produce it. You don't get a Fifth Amendment right. Okay? Now there's, there's one slight. It requires a grant of immunity. And that's, we're going to talk about that and it gets, it gets a little weird. But we're going to try here. Now this is, has anybody heard of this? The lock versus safe debate. It was actually talked about earlier this week. Or on Friday. There was a small talk about this in track four. But so this, this is a Supreme Court decision that basically established there's the lock versus debate. So on the Fifth Amendment, a lock. If you have a key to a lock, that is a piece of physical evidence. That is producible. If you have a safe with a combination, that combination is in your mind as long as you haven't written it down, that is protected. It is a statement at that point. What do you want to have in your house? A safe. A safe. At least a safe. You might have a safe. A safe with a key too. Why not? But so you guys can read the slide. That's good. We'll move on. So this is, this is where it gets really, really weird. Use and derivative use immunity. If the government knows what you've produced and what you have, they can require you to produce it, but they can't use that against you in a court. Okay? So if they say, I know that you've got this safe and I want to know what's in it, but I won't use it. You gave me the combination to get into it. You're okay. I mean, they're okay to force you through it through your Fifth Amendment rights because it's not a violation anymore. Your testimony that you gave them can't be used against you. And anything that's a product of that can't be also. Does that make sense? It's a little tricky, but we'll get to it and we'll cover it in the Boucher case coming up. So that's how they get around that. This is actually a statute defined by the Congress, obviously, at the USC 6002. This is the codification of that. It basically says they can force you to produce something, but they have to give you a derivative use immunity. Okay? Okay. Here we go. They took my laptop. We're going to try to make this fun. Thank you, Skydog. So here's the rules. All scenarios are warrantless. There are no warrants issued in these cases. If they have a warrant, you are what? I will accept all answers above. And it's the current date. It's the current date and dime and the current case law. Okay? Everybody cool with the rules? If not, get the fuck out. Hypotheticals. This is Skydog. He is really old. He's also the head of the hacker consortium in Nashville. He's prisoner number 42. And it's not real Skydog actions. At least I hope so. We're just going to use his name. And he's a really good sport about it. And I love that photo. Is that SchmooCon? Anybody go to SchmooCon? Woo! Bruce and Heidi are awesome, by the way, if you see them. Go to SchmooCon if you can't. Not that DEF CON is not great, but they're all good. Communications. Okay. Let's start with this. Skydog has just attended Outer Zone 09 and decides to tell his friends, all two of them, how amazing it was. He calls, writes a letter to, and emails his friend Wrench in Nashville and Bush in Iraq. So we've got one person in this country, one person out. A very important distinction. And we've got three communications. An email, a letter, and a phone call. Okay? To each one? To each one. So it's six communications total. Two people, three communications each. This is what they would look like. We've got the Wrench stand-in and Bush. Bush isn't here, but we have Prez Mike, which I couldn't get his photo in because my laptop broke. But C-Blind's up here. He's the one. He's fun. No. So communications. This is what happens. The mail. The Selgin case. A very, very interesting case. It's okay to read foreign letters without suspicion. If it's going across the border, they can read it. Okay? If it's internal, they need a what? A warrant. If it's going across the border, they need what? Nothing. Isn't that weird? But this is, here's where it gets really, really weird. So in 77, reasonable suspicion was required. This is the Ramsey case. It basically said, this is dealt with FedEx, but basically it said that if it's going across the border, it has to be something that they think they can find. They have to have some reasonable suspicion. They have to think, oh, there's a bomb in here, or oh, there's drugs in here. Basically that case, a tube broke open, a bunch of cocaine spilled out, and they were like, oh, we should look inside here. But this 2008 case, the Selgin case, they basically said that since you can send notes across, commercial notes, checks basically, or stock certificates, across the border, and that could be used to supply terrorism, which is a surprise, seems to always be the key anymore. You can search any letter going across the border because you have automatic reasonable suspicion. So that falls under the border exception. So wireless wiretapping, if you're in the country, they need a? Maybe. Oh, it's a little tricky. So the FISA court, you guys probably heard about this. The FISA warrant approvals, everybody hear about that? They basically said it's okay to search, to tap your stuff without warrants. Well, it has to be, one party has to be believed to be outside the US. They don't have to be actually physically shown or known to be outside the US. They have to be believed to be outside the US. So if you make a call and they're like, well, that guy sounds foreign, is that okay? Hasn't been litigated yet, but it might. When the FISA court approved this, they said this was fine. They didn't actually say that the pre-Protect America Act, the PAA, which is the law that Congress passed to say that it's okay to do warrantless wiretapping, they said since that was passed, it's okay now, but they didn't actually say that the ones before weren't. But we all know that no one's going to get sued on that, sadly. And emails. Now, this is where things get tricky, and a lot of this is actually changing right now. There's some attempts to change some of this. If it's on your personal machine, this is in the country, if it's on your personal machine, they require a warrant or exception. If it's on a remote server, think Gmail, Yahoo, it's stored somewhere else, not controlled by you, it's available by subpoena only. They can subpoena it, and they can't stop the production. And if it's account information, if they just want to know who's behind this email account, they can just ask for it. It's a court order. The court just basically says, we want this, and they give it to them. So be very careful with your emails outside of your personal machines. If it's outside your control, they can get it much easier. They don't have to get a Fourth Amendment, a warrant on it. And, you know, if it's foreign, they can just go raid the servers, obviously. So private search. This is a little strange. After Outer Zone 09, Skydog returns to Nashville, only to find he's been evicted and his laptop was stolen by some asshats. One of the asshats turned on the laptop and found all of Skydog's hacker consortium files, freaked out, and called the police. The police have Scott Moulton. Is Scott here? Oh, wait, he's in the green room right now. Anybody know Scott? Yeah, he's giving a talk after this at 2 o'clock. You should check it out if you can. He's a brilliant hardware guy. But the police have Scott Moulton run NCASE. Anybody know what NCASE is? It's basically a program that goes through when they do searches like this. It goes through, you take an image of the hard drive, and it will scan the hard drive looking against a known table of files you're looking for. So they have several databases. They've got one for child pornography. They've got one for protected information, all that kind of stuff, don't they? No. No, I thought they did. But they run it on Skydog's machine to check, okay? And so what's going to happen? What do you guys think is going to happen? Is this allowed? Is this okay? They don't have a warrant, so it's not going to be okay. So you have to go through two cases to understand all this. The Runyon case basically was a divorce case. All of these revolve around child pornography in the real world. That's mostly what the Fourth Amendment litigates against. A wife had a divorce with her husband and was like, well, I'm going to get this guy. Started searching through all his disks, located child pornography on floppies. This was back in 2001. He had some floppies or CDs. I think it was floppies. And found child pornography on them and was like, oh, wow, I'm going to turn this over to the police. Turns it over to the police. And the police go through and scan all the floppies. They look on every one of them. And the court said you only could look at the ones that the wife had looked at. The other ones you needed a warrant, okay? Now we've got the Christ case that came out of that. And the Christ case, anybody read about this? It was on Slashdot. It was on a lot of the news sites. Basically, the story behind it is ridiculous. And I'll talk about it in the room if you want. But the court said that using in case to hash files is not a search. Or is a search, I mean. I'm sorry. They said that the hard drive was taken out. They did an image. And the government obviously said, well, it's not a search. You know, we didn't need a thing. We weren't actually looking at the contents of the file. But to generate that hash, they obviously had to open it up. You guys know how CRCs and MD5s work. Had to open up the file, scan through it, and create a hash. But since it's testamentary, information was gathered from that. They could say with a certainty that the files that had been scanned contained child pornography. In that case, it was a search. And they required a warrant. So basically, a technician got overzealous, plugged it in, was like, well, I'm going to scan this. I'm busy. And no, it wasn't okay. So the files were removed. It was not okay. Okay. So SkyDog, next slide. SkyDog gets back his laptop from the police and boots up Windows Millennium. Awesome OS, by the way. Anybody use it? I mean, it was pretty amazing. I remember a base install of Windows ME that I used that it actually couldn't play an MP3 off a flat install. It would stutter every five seconds. Awesome, awesome OS. Did really well. I know we have some Microsoft people here. Good job. But the machine is hacked into, well, I can't really say anything. My Mac just died. Damn. But the machine is hacked. It was hacked into by a Turkish citizen on the hunt for terrorist hackers. After fighting in SkyDog's hacker consortium documents, the man quickly reports SkyDog to the FBI. You're just getting screwed over, man. But don't use ME. That's all I'm saying. So this is actually a series of cases. These are all based on real cases, by the way. But these are none of the private, the unknown user cases. This is a true guy. He actually was a guy. He was a Turkish citizen. He was out looking for child pornography people. He was posting on Usenet groups. And they would download a Trojan. When he installed the Trojan, they would go through and he would find people who used it. And they would report him to the FBI. Now, this is really interesting in the sense there was two cases. There was one in 2002 and one in 2003. The Siegel case actually went first. And the second one in Virginia was second. But what happened was is the courts basically said that the first time it happened was okay. The guy wasn't a government actor. He wasn't a government agent. He wasn't encouraged by the government. So he was a private person. And a private search is okay. If I go look through your stuff and I find something illegal, I can report it to the police and it's not a violation of your rights. Does anybody know why? Well, the government applies to him. Who? I mean, the Constitution applies to government actors, not to you guys. You guys are working on your own means. Okay? So the private search factors are what count here. If a government encouraged or initiated the search, it was aware or acquiesced to the search, and it's conjunctive, and the private actor intended to help law enforcement. So in the first case, when he went through, he intended to help law enforcement. His entire goal was to report this guy to the police. But the government didn't know anything about it. So it was okay. The second case, he did it again. But the government in that case was like, yeah, could you get his IP address? Could you get his name for us? Could you bring us this information? Could you do some more of this for us? At that point, he was what? He was an agent of the government. And at that point, the Fourth Amendment applied. So it was no good. I really like these two cases specifically because they split it up into two things. Oh, I thought it was more booze. Speaking of that, Lady Merlin, can I have some more booze? Thank you. So the border crossings. You guys have all been across the border. You guys travel internationally. Do you have any foreign citizens here flying in? Anybody mess with you at the border? I hope not. They shouldn't. So Skydog is stressed out and takes a vacation to Mexico and engages in some serious drinking. You might have noticed that last night, too, actually. But while returning, he has a feeling he is going to be searched and not being quite in his right mind. Skydog swallows his cell phone. Could you show us what that looks like? Yeah. He also attempts to hide his laptop but is unable to fit it. Skydog is obviously going to be selected for a search at this point. This is what it might look like, as you saw. So what happened in these cases? The Arnold case. This is when the court basically said that laptops are no different from closed containers which are subject to a search at a border. When you cross a border, you have very, very, very few rights. Because the country, the sovereign, obviously has the right to protect their borders. So if you're coming back in, you don't really have a lot going for you. But they basically said that a laptop was just a container. Like a FedEx box. Which is interesting because on a laptop, you can hold a whole lot of information. Whereas in a box, you might fit a couple of documents. Or maybe, you know, a bowling ball or something. Who knows? But at the border, there's two different types of searches. There's a routine search and there's a non-routine search. Now a routine search is allowed by the fact that you're crossing the border. The suspicion required is provided specifically because you're coming across. The sovereign wants to protect his interests. A non-routine search. That's something above and beyond. It's like a strip shirt. It's a body search. A cavity search. An x-ray. They have to have a suspicion. They have to have some reason to search you. Okay? Keep those in mind for a second. So while searching his laptop, the officers find a drive named My Illegal Files. Good naming, buddy. And proceeds to open a document containing what appears to be a listing of credit card numbers. They confiscate the laptop. But upon turning it back on, they find the drive has been encrypted. You guys heard about this case? The Boucher case? Okay. We're going to talk about this right now. This is 5th Amendment stuff. Not 4. So keep in mind all the stuff from before on the 5th. Okay? Henry Boucher. In 2008. The original case. Encryption keys are products of the mind and are not subject to disclosure of the 5th Amendment. Okay. Now we're going to get into this. This is where it gets really weird. In the 2009 case, it was appealed, obviously. The government didn't like that decision. Wait. Never mind. It was a foregone conclusion. Okay? And this goes back to that lock versus, the key versus the code debate. Basically, what they said was, and the facts of the case are really, really important to this. So the guy crosses the border. He has a Z drive. And the Z drive is open. When he crosses the border, he says, okay, what should I do? And they're like, can we search your laptop? He says, sure. You know, they can't really resist it. So he goes, yeah. Shows them the Z drive. On the Z drive, the officer starts looking at files and notices child pornography. He says, oh. Shuts down the laptop. And they turn it back on. It's encrypted. It's got PGP on it. And it's encrypted. Now, what the court said, the first court, the 2008 case, basically, they said that, no, he doesn't have to give up his password because it's a product of his mind. You can't take it from him. It's a safe code. Okay? The second court says, yes, he has to give it up. But they can't use the production of that password to say that he owned the laptop. They can't say that since you knew the key that this is your laptop. That's the derivative use immunity. So they provided him a derivative use immunity. And what got him on this case specifically was is he showed the officer files on the laptop first. So they could alternatively authenticate it. So in an evidentiary case, you have to authenticate evidence. You can't just go, oh, this is the laptop. It's his. It doesn't work. You have to prove through some facts or means that it was his. And since he showed them the laptop and there was never an argument that that wasn't his laptop, they could say, you need to give us this password. We won't use that password against you. And that's what the case pinged on. So there's been a lot of fighting about this case. But I really think it was actually correctly decided. So what shouldn't you do at the border? Password. Show the border. Yeah. Always a good move. No. Basically, always, we'll go through some suggestions on what to do when you're crossing the border. But, you know, don't show people things if you don't have to. Just smart. You guys are security professionals, right? Someone? Good. But border crossing. Okay. Because of SkyDog's heavy drinking, his eyes are red and his skin is pale. More so than usual. And he has the shakes. What's going to happen at the border? Search. What's he look like he's been doing? Drugs. Non-routine. So it requires something more. Reasonable suspicion. They obviously have it here. He's got all the symptoms of it, right? Usually part of an inventory search so it's not criminal. We talked about that real briefly. So if they've pulled him over and they're going to search him, a strip search is usually an inventory search. It's usually not required. It's usually not protected by the fourth. So recent cases of this. You guys saw this. It was actually just in the news again because the Supreme Court decided on this. The 13-year-old student that was subjected to a strip search for ibuprofen 800 milligrams. The Supreme Court basically said that was unreasonable. But they couldn't sue the school for it because it hadn't been decided it was a gray area of the law. And this one, the second case is really ridiculous. They subjected a female motorist to a strip search after arrest for a misdemeanor marijuana charge. And the court really harped on them for the fact that only females were strip searched in those circumstances. They didn't have the same role for men. And that it was on closed circuit television with the other officers watching. Did not go over well for the police station. Well, I mean, I don't know. At least legally it didn't. During the strip search, the examining officer notices a lump in SkyDog's throat. Hmm. So what are they going to do? Yeah, they're going to pull it out or x-ray him. It's a cavity search. It's a bodily intrusion as they're referred to. A non-routine, a lot of crossover with the other amendments. We can talk about that in the other room if you want. It may require a warrant depending on the urgency. They've got reasonable suspicion. But if they think he's got drugs because his life is in danger, they can search. So it's an excellent search at that point. Let's just say he definitely saw her in the morning. That's for sure. So he gets arrested because he's being a jackass at the border of all the odd behavior. SkyDog's arrested on suspicion of smuggling something. During the booking, his phone rings. Does anybody know what happens? Are they allowed to answer it or not? Yes, they are. Potentially. There's a couple drug user cases. We're not going to really talk about this. I'm going to pass over it. It was a slide that got left in. But basically, if they've got a reason to think they should answer your phone, they can. If they think the evidence will be lost otherwise. It becomes an exigent circumstances exception. So the beat down. This case is ridiculous. Please stop me on 106 afterwards and I'd love to explain the facts on this some more. So after this investigation, SkyDog is released. He returns home to his neighbor being beaten by a masked man who runs through his house. Police arrives at SkyDog's consent to search the house. The police notice a stolen credit cards folder on his desktop and they begin to search through his computer. What do you guys think? What's going to happen? It's okay. It's okay. . Ah. He gave consent. Well, he did. Now, this is right. He gave consent. But we're going to talk about the scope of consent. Plain view. Plain view is the other one. Exactly. So here we go. Even though the consent to the search was given, the consent did not extend beyond the evidence of the assault. The individual evidence, plain view, was seen on there. They let him in. However, it would be available under the plain view exception. Okay? Does that make sense to everybody? So on his desktop, he had a file sitting there. The officers were given the right to come into his house. They were looking around. They just happened to see this folder on his desktop. They started looking through the folder. That's beyond the scope. They were looking for what? Evidence of what? Of the assault. They started looking for evidence of credit card stuff. They went too far. Okay? This would be stopped. This would be not allowed. One sec. Okay. What about elephant in a matchbox? What about elephant in a matchbox? Oh. So, yes. Never put an elephant in a matchbox in my house. Never put an elephant in a matchbox. It's a terrible, terrible for the elephant. They're not happy about it. No. Yes. They have to, if they're looking for evidence of something, it has to be reasonable to the size of what they're looking in. So if they are looking for an elephant, they can't go looking through a matchbox. Okay. Okay. Unless it's a really tiny elephant. I couldn't hear. I'm sorry. No. No. Exactly right. They couldn't have, like, if it would have been something in his closet. If they would have opened the closet and started looking, you know, where it would have been hiding, you know, don't look in Sky Dog's closet. No. No. Then it would have been okay. It would have been something that he, you know, the intruder could have been there. There could have been evidence in there. But, yeah, I doubt the guy went and beat the people, ran through the house, and started playing, you know, solitaire. Who knows? You never know. I mean, people have been there. People have done stupider things. Read the cases. They're amazing. But so we're going to talk about this military invasion stuff. Now, this actually hasn't been litigated, but it's odd. So it turns out that Sky Dog's stolen credit card folder was actually just an Alan Tigger porn. Anybody know Al? The best way to refer to him is yay Al. Al is awesome if you haven't met him. He's not here this time, which is sad. But whoever knows Al, he's great. You'd know him if you know him. Trust me. But so the search there was Alan Tigger porn, all 25 terabytes. So Sky Dog is released again. Unfortunately those emails and letters that Sky Dog sent to Bush look like terrorist documents. The president orders a raid by the military of Sky Dog and Bush's houses. Sky Dog. But this is what Al Tigger porn looks like. If you've never been to Freaknik, this is actually what happens. Yeah. Well played, sir. That's Al, by the way, obviously. But so military invasion. The Bushmen with 2003s. Anybody read this? It's this one line that a lot of people harped on. But it says, our office recently concluded that the Fourth Amendment has no application to domestic military operations. What they were implying was is if we just want to send the military in to raid you, it's cool. Which obviously people who know anything about posse comitatus, really odd thing to write. It's never been litigated. As far as I know, this has never actually been happening. I know there's no court cases on it. Trini tried to think about everything. Yeah. Yeah. Well, they were going after someone up there. I wouldn't doubt it. I'm not too familiar with that part of it. Basically, it was saying that Trini tried to send the military after someone in Buffalo. Does anyone know about that? Yeah. I'll have to check that out because that's just weird. But I always wanted to have a shirt that said, I'm Trini and I'm in your constitution messing things up. But I'm just saying, you guys, it would be a good one, I think. But the second case is 2009. This is in re-terrorist bombings. This is a really, really interesting one. This is a really, really interesting one. It deals with border, going across the border and foreign stuff. The Fourth Amendment's requirements of reasonableness, but not the warrant clause, applies to extraterritorial searches of seizures of US citizens. Basically, there's two guys in Africa. I can never remember the country, so I apologize. But two American citizens in Africa, they were over there. They basically were accused of running a terrorist training camp, something like that. They sent our government in to raid them. Obviously, they got permission to the sovereign country. But the court said it was cool. They didn't have a warrant. They just went and raided their house, took all their stuff, searched and seized the people. And the court said, yeah, that's cool. They don't have to have a warrant for it, but it has to be reasonable. So they couldn't walk in and shoot their dog or something like that. But if they just took everything, it was okay because they're outside the country. Interesting. So if you're outside the country, I mean, if you fly outside the country and they want to search you, they can just do that now. Just keep that in mind. These were American citizens, not foreign citizens. So what can you do about this? Don't kill. Don't keep sensitive data. Memorize and eat everything. Very important. SkyDog can show you later. Only travel with clean equipment. So if you're going to cross a border, format, download the data over a secure channel upon arrival. Now, if you're transferring data over the border, what do they need to get it? Nothing. Nothing. They can just take it. That's right. They can just go in and check your data. So what do you want to do to it? Very good. Now, do you want to write down that password or not? Okay. You guys are good. So encrypt liberally. Never physically store the key. Ideally, use a physical and a non-physical key, something you've memorized, and a, you know, a USB tag, something, a biometric scan, something, a two-part system. Shut down the equipment long before crossing. If it's down and there's a bio password, what can they do? Not much. They can image your drive. They can take your laptop if they want. Don't cross with anything you can't leave behind, okay? Use bios passwords and, like I said, never travel with something you can't afford to lose. They have to give it back to you. It's a taking. If they don't, or if it's contraband, they can keep it, obviously. I don't think that's been litigated yet. I'm sure it will be. Sure. Is it reasonable for the suspicion that they can keep your laptop just because it's encrypted? There's actually been a case where a judge said that encryption was a, was an indication, thank you, was an indication of increased the suspicion standard since it was encrypted that there was probably something on there. That was a very low level. Anybody know how jurisdiction works in courts? It's really messed up, and if you want to talk about it, we'll talk about it in 106, but it was a very, I think it was a circuit case, so it doesn't have a lot of application, but a judge basically said, yeah, it was encrypted, so it was really sketchy, so it kind of provided suspicion. I don't know if it provided enough to actually search it, though. That's like saying if someone locks the door, it's a suspicion. Well, actually, I had a debate with someone not too long ago. Can you repeat the question? Sure. Oh, I'm sorry. He said that it's basically, if someone, it's the same analogy as if someone locked their door, that must be suspicious. They're trying to hide someone. And that's true. I think we all know how encryption works, but a lot of this is education to the courts and people who don't understand this. You hear encryption on the news, it's usually implied in what context? The movie Hackers, which portrayed us so well. No, it was, yeah, basically, it's, you know, you're doing something nefarious is what people think. I mean, we see encryption, we're like, oh, it's encrypted. Cool. I wonder if I can crack that. But, you know, a court sees that, and that's not what they think. And I agree. I've actually had some arguments with people that are, not an argument, a good debate, witty banter. But I was talking to someone the other day, and they said to me that if it was encrypted, they obviously were trying to hide someone, was what their argument was. And no, that's not true. And it really comes down to education. People just don't understand. So if you ever get to talk to a judge, they're actually usually nice people, just, you know, tell them encryption's cool. It's okay. Sometimes you just don't want people like these jokers reading your email. Don't let them read your email. Don't let them read your email, by the way. But, so, yeah, never travel with something you can't afford to lose. Because if you don't want them to open it, what do you do? Well, just leave it. Leave it behind. Walk away and get another laptop when you get across the border. That's why we have corporate expense accounts, right? No. That's the best thing you can do. Right now, we're going to talk about some miscellaneous cases here. This is just modern stuff that's been happening that has applications here. And like I said, please keep in mind, a lot of this deals with jurisdictional levels. So some of these cases are state court, not federal. And they're very, very low level. Don't have a lot of application. But they're just interesting decisions. Sure. They take your laptop. Mm-hmm. Are they obligated to return it at any time? Usually, they'll provide it back within two weeks of imaging it. Most of the time, they'll take it for 30 minutes and give it back to you. They'll image your hard drive, something like in case, drop an image and give it back. I'm not sure. I've read cases where people have had their laptop taken for six months, eight months. I have a friend who's had his equipment gone for, I don't think he's ever going to see it back, honestly. And there are arguments that, you know, if it's encrypted and you left it there, you probably abandoned it. So they could probably keep it at that point. If it's encrypted and they couldn't open it, my guess would be, I don't think it's been litigated yet, that they could say that it could have contained contraband so it could be destroyed. Just as you were trying to come across with something illegal, they can obviously destroy it. But since they can't validate that it is safe and doesn't contain something, I don't know how a court would decide on that one. But otherwise, you know, it has to be reasonable and given back to you at some point. I think it will be litigated soon. I really do think there'll be a case that's on the point with this. Because it's going to become more and more common occurrence, I assume. Oh, and also, cell phones, any equipment. When I said equipment before, they can search cell phones, any equipment that's coming across. So an iPhone, you can dump an iPhone. Everybody knows that, right? Your iPhone can be dumped, so don't keep anything stupid on there you don't want. Drink? Okay. But any other questions real quick? Okay, I'm going to go through these. Could you stand up, please? I can't. . . Okay, what he's asking was, I mentioned Gmail and Yahoo versus if you had a server co-load somewhere, what's your rights there? If you own the server, it's not on a remote machine, it would be yours. And I don't know any cases on point, but my guess would be that they would require a warrant. Because that would be your machine. You have an expectation of privacy. . . . Well, if it's somewhere else. . Like I said, this hasn't been litigated yet, but my guess is if you owned it and put it somewhere else and there was an expectation of privacy, as long as it's a reasonable expectation of privacy, they should require a warrant. Since you own it, yes? . . . . . . . . . . . going to work you through this. If you're sending something, if I'm sending an email, if I was making a phone call, what would they require? It would be a wiretapping. It would be a warrant. So same with an email in transit. If it's in the country, they're going to require a warrant. If it's going over the country, it may not. So an interesting thing, what if it's bouncing through a foreign country just because the routes went that way? If you're controlling it, like, oh, sorry. He said that he was asking if leasing equipment versus owning the equipment made a difference is what the gist of the question is. I honestly am not sure. My guess would be no, as long as you had sole control over the equipment and it was yours for that slotted time. Same as renting a house. If you're renting a hotel room, you have an expectation of privacy. They need a warrant to go into your hotel room, and I think that would be analogous in that case. So I'm going to go over these real quick. We'll take more questions in 106, just so I'm not going to run out of time. Hearing via U.S., exclusionary rule does not apply when police makes mistakes are reasonable or a result of negligence such as that as described here. What happened in this case is a man who was a known criminal in the area came into the police station to pick up his truck that had been impounded. While he was there, an officer decided, well, he usually does a lot of sketchy stuff in this neighborhood. Let's make sure he doesn't have outstanding warrants. So he called the clerk and asked to check for outstanding warrants. There were none in the county. So he called the other clerk in the other county to check to see if he had any warrants. He called the other clerk in the other county to check to see if that county had any outstanding warrants because he knew the guy had frequented those areas. Basically, the other clerk said, yeah, he's got two outstanding warrants for X and Y. The cop pulled him over for the outstanding warrants, arrested him, searched his car, searched into arrest, a car stop, found a gun and marijuana, I believe. He was a felon, so he couldn't have a gun, obviously. So he was into deep shit, to say it lightly. Turns out that the other clerk was wrong. The warrants had been removed. He actually had no outstanding warrants. It was an illegal search. It was an illegal search in procedure. However, it was under the good faith exception, basically. The cop didn't know, and the clerk made a reasonable mistake. So it was okay. I don't like decisions like this, specifically because they're easy to mess with. You can definitely call a clerk and say, hey, are there outstanding warrants? Wink, wink. I mean, this is what we do. We social engineer, right? And that's open. I don't like that at all, for obvious reasons. State v. Stevenson, a defense attorney, defendant excluded by home from court order has no reasonable expectation of privacy. So this is interesting. Obviously, a domestic abuse case here. A man was removed from his home under a court order, so basically, you know, don't go home. And because of that, he had no expectation of privacy. So they could search for his things without a warrant. Kind of interesting. A very odd case. Court can order you out of your house, and then the police can search you. But note it's a Minnesota appellate court case. That's not a good thing. So, you know, it's a good thing. But, you know, it's not federal. Please. Wisconsin v. Swim. Warrantless GPS tracking. Okay, you guys all saw this on Slashdot or one of the news sites. So basically, they said, it's cool. We can track you with a GPS without a warrant. But then New York said, no, no, you can't. Two different jurisdictions, so it's completely fine. But that'll probably get litigated in federal eventually, I assume. So I've got, I don't know how long, but I can do a couple more questions. Yeah, I got five minutes if we want to do some questions here, and then we'll go to 106 for any follow-ups. If they can't crack your password, they can make an image of your hard drive in the system and then try to crack it afterwards. That's completely fine. I'm sorry. He asked, so what do they do if they can't crack your password at the border? Did you have a follow-up? If they can never crack it, they can't crack it, what are they going to do? I mean, they can't force disclosure from you unless you wrote it down. And they'd have to have some reason to force it then. Well, that's, the Boucher case is that, exactly. Forced disclosure of passwords, the Boucher case is actually just that. They can if they have a separate way to authenticate the laptop. Otherwise, it's a Fifth Amendment right. You can plead the Fifth. Something being keylogged, consider being writing it down. If it's a physical generated file that's been made by the government, it's a physical generated file. If it's a physical generated file, then yes, it would be physical evidence. Even though someone else produced that unbeknown to you, it would still, yeah, be physical evidence that could be produced. That would be my guess on that. Did the government have to arrest the Turkish citizen because he hacked on someone's computer? Police can do what? Anybody know? They have described, well, they can't do anything they want. They have discretion to choose who they prosecute. Prosecutors have discretion. Prosecutory discretion. So, no, they didn't. And they weren't going to, I assume. He was helping them out. They never did go after him. Actually, they didn't, weren't even sure who he was. They couldn't force him to testify at trial. So, they didn't even know who he was. Sure. He asked if the data lives on your friend's computer if all the same rules apply. No. That's my guess. Specifically because it's, unless you had an expectation of privacy there, if you're like, here's my stolen credit card files, enjoy, then, you know, if you just gave them to him freely and he was allowed to do anything he wanted with it, but if you'd, like, hidden them on his computer somewhere, maybe that would make a difference, if that made sense. I think it would reduce your rights, at least. I can't hear you. Could you speak up? Well, yes. The friend would have an expectation of privacy in those files. He could assert your rights. No, yeah, you'd given it to someone else, so you've lessened your rights, at least, if not given them all, removed them. But your friend would still have an expectation, yes. He could assert the rights on that. Okay. Who's got a really good one? Here's a question. What about encryption and basically a declaration that you have an expectation of privacy? Sure. It's actually what he asked. Does encryption give you, similar to what he asked, I should say, does encryption give you an expectation of privacy? Yes. If you encrypted something, you can definitely assert that in a court. It's going to be a question of fact to be decided by a jury, but if you encrypted something, you obviously didn't want people looking at it. Sure. Well, he asked if it was placed into a public space, what would that do? If it's encrypted in a public space, it's still a public file, so it's been publicly. They can sit and try to crack away at it all they wanted, and they couldn't stop you. You couldn't assert your Fourth or Fifth Amendments on that. Yes, sir? Are non-linear junction detectors used in searches? I couldn't hear the middle part. Are non-linear junction detectors used in searches? Are non-linear junction detectors used in searches? I'm actually not sure what that is. If I said that's P and F, it's basically L. Is that something from Back to the Future? The question was, is a flux capacitor available? I actually do understand analog electronics, but can we ask it in 106? Because I think I need more information to answer that. What if you don't write down your password, but you have an encrypted password manager? If you don't write down your password, but you have an encrypted, or a password manager, like a KeePass or something. It's physically stored somewhere, so my guess is that they could request the KeePass file, but since that's encrypted, they couldn't force you to disclose the password to open the KeePass file, but if they could crack it, they can crack it. That would be my guess. I don't think that's ever been litigated, though. Man on the floor? Key loggers. Well, that's a whole different area of the law, and if they're key logging, they're what? Wiretapping. What do they need? Unless? You guys are good. See, you guys can work through this. Everybody here is not an attorney. Yes, sir. Okay. Well, that wasn't a case. Basically, what he asked is... Oh, I'm out. Sorry. 106. Thank you.