1 00:00:00,000 --> 00:00:03,060 Welcome to Introduction to Tamper-Evident Devices. 2 00:00:03,160 --> 00:00:05,160 I'm Datagram, and you're probably going, 3 00:00:05,320 --> 00:00:06,180 who's this asshole? 4 00:00:07,320 --> 00:00:09,720 So, I have a pretty solid background 5 00:00:09,720 --> 00:00:10,960 in tamper-evident technologies. 6 00:00:11,440 --> 00:00:14,400 I just gave a two-day class earlier this week 7 00:00:14,400 --> 00:00:16,100 at Black Hat on this very subject. 8 00:00:16,540 --> 00:00:19,200 I also do a lot of non-destructive entry stuff, 9 00:00:19,320 --> 00:00:21,040 so I think lock-picking, safe-cracking, 10 00:00:22,100 --> 00:00:25,020 making friends with guards, and so on and so forth. 11 00:00:25,900 --> 00:00:29,280 I also do forensics, particularly forensic locksmithing, 12 00:00:29,280 --> 00:00:31,360 so determining if locks have been picked or bumped 13 00:00:31,360 --> 00:00:33,400 or opened with things other than a key. 14 00:00:34,140 --> 00:00:36,920 And like many of you, I also do computer security, 15 00:00:37,240 --> 00:00:40,340 and like many of you, it's also a bullshit term that I use, 16 00:00:40,420 --> 00:00:41,720 so we don't have to talk about it so much. 17 00:00:43,320 --> 00:00:46,700 I run a couple websites, such as LockWiki, 18 00:00:46,900 --> 00:00:49,200 Lock-Picking Forensics, and eventually TamperWiki 19 00:00:49,200 --> 00:00:51,480 will have something more than a cool splash page 20 00:00:51,480 --> 00:00:52,440 that I got bored and made. 21 00:00:53,520 --> 00:00:56,240 I'm also the leader, am I the leader? 22 00:00:56,420 --> 00:00:57,320 I'm the leader. 23 00:00:57,320 --> 00:00:58,020 I'm the leader. 24 00:00:58,560 --> 00:00:59,240 I'm the leader. 25 00:00:59,280 --> 00:01:01,620 I have a Tamper team called the Motherfucking Professionals. 26 00:01:03,940 --> 00:01:06,560 And for the record, if anybody's wondering why we picked that name, 27 00:01:06,680 --> 00:01:09,400 it's because John used to ask me, like, can we do this? 28 00:01:09,520 --> 00:01:11,100 And I'm like, John, please, I'm a fucking professional. 29 00:01:12,940 --> 00:01:13,860 So that's that. 30 00:01:13,980 --> 00:01:16,280 We won the Tamper contest last year, 31 00:01:16,340 --> 00:01:19,740 which was the first ever Tamper Evident contest ran by DT, 32 00:01:19,940 --> 00:01:23,340 and I'm proud to say that this year we've won all four levels. 33 00:01:23,680 --> 00:01:23,800 Yeah! 34 00:01:31,100 --> 00:01:32,060 All right. 35 00:01:32,320 --> 00:01:35,820 So, what the hell are Tamper Evident? 36 00:01:35,920 --> 00:01:37,200 There's a cord here, and I'm not... 37 00:01:37,200 --> 00:01:37,820 Jesus. 38 00:01:39,340 --> 00:01:41,260 I thought this was a professional conference. 39 00:01:43,960 --> 00:01:45,300 Okay, so what's the difference? 40 00:01:45,440 --> 00:01:46,240 We have terms. 41 00:01:46,360 --> 00:01:47,640 We all work in security. 42 00:01:47,840 --> 00:01:50,440 We all have retarded things that we wonder, 43 00:01:50,580 --> 00:01:51,780 why do people say that? 44 00:01:51,940 --> 00:01:53,780 Why is that on every box? 45 00:01:53,800 --> 00:01:55,540 Why is that on every box I buy for security products? 46 00:01:55,960 --> 00:01:59,140 So, these three terms, Tamper Resistant, Tamper Proof, 47 00:01:59,160 --> 00:02:00,100 and Tamper Evident, 48 00:02:00,180 --> 00:02:03,160 as a fourth kind of pseudo-term is Anti-Tampering. 49 00:02:03,360 --> 00:02:04,300 So, what do those mean? 50 00:02:04,780 --> 00:02:06,720 So, a product that's Tamper Resistant 51 00:02:06,720 --> 00:02:11,280 is actively made to deter tampering. 52 00:02:11,420 --> 00:02:13,920 Now, what tampering is may vary depending on the product, 53 00:02:14,080 --> 00:02:16,160 but generally it's anything other than normal use. 54 00:02:16,420 --> 00:02:19,180 So, for our water bottle, if we take off... 55 00:02:19,180 --> 00:02:21,660 Thanks, I didn't realize I needed this prop, but thanks. 56 00:02:22,820 --> 00:02:23,560 What the fuck? 57 00:02:26,760 --> 00:02:29,180 So, the water bottle has this little seal. 58 00:02:29,320 --> 00:02:31,360 So, if we take the seal off and put something in the water, 59 00:02:31,420 --> 00:02:33,440 that'd be tampering, as long as we put it back and it looks right. 60 00:02:33,800 --> 00:02:37,700 Something that's tamper-proof doesn't exist, 61 00:02:38,320 --> 00:02:42,900 but a lot of companies use the term to denote... 62 00:02:42,900 --> 00:02:43,820 Oh, my God. 63 00:02:44,320 --> 00:02:47,340 To denote something that cannot be tampered with. 64 00:02:47,560 --> 00:02:50,420 And that, by definition, means every definition 65 00:02:50,420 --> 00:02:53,400 that you can think of for tampering would be protected against. 66 00:02:53,800 --> 00:02:55,720 So, it's the same like saying, you know, 67 00:02:55,800 --> 00:02:58,100 this computer's hack-proof or whatever. 68 00:02:58,400 --> 00:03:01,600 So, we all think that's retarded, and that's retarded. 69 00:03:02,480 --> 00:03:04,660 And then, our last term is Tamper Evidence. 70 00:03:04,680 --> 00:03:07,140 So, that's something that doesn't necessarily resist tampering, 71 00:03:07,700 --> 00:03:08,900 much like our water bottle, 72 00:03:09,940 --> 00:03:12,980 but it is determined to leave evidence 73 00:03:12,980 --> 00:03:16,900 of whatever methods of tampering that you did to the product. 74 00:03:18,840 --> 00:03:21,820 So, Tamper Evidence itself, anything that leaves evidence, 75 00:03:22,020 --> 00:03:23,780 usually, in a general sense, it leaves evidence of what you did to the product. 76 00:03:23,780 --> 00:03:26,100 In a general sense, we say tampering is unauthorized access, 77 00:03:26,580 --> 00:03:27,720 alteration, or replacement. 78 00:03:28,140 --> 00:03:30,520 You can also use counterfeiting and so on and so forth. 79 00:03:32,380 --> 00:03:33,800 So, why don't we just use locks, 80 00:03:33,900 --> 00:03:35,700 where we would use these tamper-evident products? 81 00:03:36,000 --> 00:03:37,860 Because, you know, locks actively prevent entry. 82 00:03:38,000 --> 00:03:38,600 That's their goal. 83 00:03:39,080 --> 00:03:40,580 Some locks are tamper-evident. 84 00:03:40,700 --> 00:03:44,020 They're, you know, meant to show that the lock 85 00:03:44,020 --> 00:03:45,840 has been opened with something other than the key, 86 00:03:45,980 --> 00:03:47,500 but that's not always the case. 87 00:03:47,920 --> 00:03:51,360 So, the main thing is, is it better to prevent an attack 88 00:03:51,360 --> 00:03:53,360 or detect an attack, right? 89 00:03:53,780 --> 00:03:54,340 So, think about that. 90 00:03:54,380 --> 00:03:56,300 Think about shipment of nuclear materials. 91 00:03:56,400 --> 00:03:58,580 Is it better to prevent someone messing with it, 92 00:03:58,640 --> 00:04:01,340 or better to detect when someone has messed with it? 93 00:04:01,560 --> 00:04:02,780 Because by attempting to prevent, 94 00:04:03,000 --> 00:04:05,920 we assume that we'll be able to detect all of these methods, 95 00:04:06,040 --> 00:04:08,480 you know, by default, or that they would not happen. 96 00:04:10,400 --> 00:04:12,540 Tamper devices, you know, by their very nature, 97 00:04:13,360 --> 00:04:14,580 that's the Jäger kicking in, 98 00:04:15,780 --> 00:04:17,780 they enforce you to inspect them. 99 00:04:17,900 --> 00:04:19,020 Because, again, they're not locks. 100 00:04:19,140 --> 00:04:21,640 They're not resistant to tampering or physical abuse. 101 00:04:23,780 --> 00:04:25,420 Locks are pretty expensive by comparison. 102 00:04:25,960 --> 00:04:27,640 You know, these tamper seals are just little metal 103 00:04:27,640 --> 00:04:30,740 or plastic things that look a lot like locks. 104 00:04:30,900 --> 00:04:32,020 They're essentially one-way locks, 105 00:04:32,740 --> 00:04:34,000 but they cost a lot less. 106 00:04:34,620 --> 00:04:37,120 And think of also the cost of maintaining, you know, 107 00:04:37,140 --> 00:04:39,800 key maintenance and key control and distributing keys 108 00:04:39,800 --> 00:04:42,180 and disposing of keys and all that kind of stuff. 109 00:04:42,940 --> 00:04:44,760 And then you also have to consider, you know, 110 00:04:44,780 --> 00:04:45,700 environmental considerations. 111 00:04:45,720 --> 00:04:48,320 You know, will a lock function in this environment? 112 00:04:48,620 --> 00:04:49,700 Will it get jammed up? 113 00:04:49,820 --> 00:04:50,880 Will I have to replace the keys? 114 00:04:50,960 --> 00:04:51,940 Will I have to re-pin the lock? 115 00:04:52,060 --> 00:04:52,640 So on and so forth. 116 00:04:54,160 --> 00:04:56,580 So who uses tamper-evident devices? 117 00:04:56,740 --> 00:04:57,860 The answer is all of us. 118 00:04:58,020 --> 00:04:59,680 We just may not think of them as such. 119 00:05:00,480 --> 00:05:01,740 So food and drug packaging. 120 00:05:01,840 --> 00:05:02,880 Again, our friend, the water bottle. 121 00:05:03,340 --> 00:05:06,420 At Black Cat, I took the fire extinguisher from the room 122 00:05:06,420 --> 00:05:08,220 and I put it on stage and they got really mad about it. 123 00:05:08,380 --> 00:05:10,740 But those all have tamper seals on them to, you know, 124 00:05:10,760 --> 00:05:12,580 they inspect them or do whatever they do 125 00:05:12,580 --> 00:05:13,540 for the U.S. Fire Marshal. 126 00:05:14,400 --> 00:05:16,200 And then they reseal them to show, you know, 127 00:05:16,260 --> 00:05:19,420 that it's been inspected and so on and so forth. 128 00:05:20,440 --> 00:05:23,400 A lot of drugs, pharmaceuticals, you know, Tylenol, 129 00:05:23,400 --> 00:05:24,800 everything, that kind of stuff, 130 00:05:24,940 --> 00:05:26,380 all have little tamper seals on them 131 00:05:26,380 --> 00:05:27,880 so that, you know, when you buy the bottle, 132 00:05:28,020 --> 00:05:30,580 you open the box, you take off the shrink wrap, 133 00:05:30,720 --> 00:05:31,980 you open the bottle, all that kind of stuff. 134 00:05:32,780 --> 00:05:35,200 All are, you know, little tamper-indicating devices 135 00:05:35,200 --> 00:05:37,320 so we can tell if our pills have been screwed with. 136 00:05:38,380 --> 00:05:39,220 Pretty much everything. 137 00:05:39,400 --> 00:05:40,160 You know, warranty protection, 138 00:05:40,460 --> 00:05:42,860 all of our DVD players and electronics like that 139 00:05:42,860 --> 00:05:44,120 usually have a little tamper sticker 140 00:05:44,520 --> 00:05:46,000 to determine when we've opened the case. 141 00:05:47,540 --> 00:05:49,580 The Customs, Border Patrol use these a lot 142 00:05:49,960 --> 00:05:52,120 to secure cargo shipments and all that kind of stuff. 143 00:05:52,520 --> 00:05:53,380 And then, also, thank you. 144 00:05:53,380 --> 00:05:55,160 Let's think about confidentiality. 145 00:05:55,580 --> 00:05:57,400 So how do you determine, you know, 146 00:05:57,440 --> 00:05:59,100 if I send a letter to you, 147 00:05:59,260 --> 00:06:01,600 how do you know I sent it or it wasn't modified en route? 148 00:06:01,960 --> 00:06:04,040 You know, it's easy with, like, digital stuff, easier, 149 00:06:04,680 --> 00:06:06,760 but it's a lot harder with physical things, right? 150 00:06:06,880 --> 00:06:08,200 Because, you know, we have to inspect them 151 00:06:08,200 --> 00:06:10,580 and then how far are you willing to go to inspect them 152 00:06:10,580 --> 00:06:12,320 to ensure that that's the real deal? 153 00:06:13,480 --> 00:06:15,940 We also use them a lot for international stuff 154 00:06:15,940 --> 00:06:18,840 and government-level, three-letter agency-level 155 00:06:18,840 --> 00:06:19,320 kind of stuff. 156 00:06:19,520 --> 00:06:21,540 So, for example, nuclear safeguards. 157 00:06:21,580 --> 00:06:22,300 When we transport 158 00:06:23,680 --> 00:06:26,520 or I actually don't know what we do with nuclear materials, 159 00:06:26,620 --> 00:06:28,460 but whatever we do with them, we seal them, 160 00:06:28,480 --> 00:06:30,300 all these little containers that have the plutonium 161 00:06:30,300 --> 00:06:30,620 or whatever. 162 00:06:31,720 --> 00:06:33,200 And we also use these heavily 163 00:06:33,200 --> 00:06:35,060 for treaty enforcement between countries. 164 00:06:36,020 --> 00:06:39,420 So agencies like the IAEA and United Nations, 165 00:06:39,600 --> 00:06:41,380 they'll say, hey, you know, country A, 166 00:06:42,120 --> 00:06:43,760 you know, we're not gonna make bombs, 167 00:06:43,840 --> 00:06:44,520 and country B agrees. 168 00:06:44,720 --> 00:06:46,900 So how do you enforce, you know, this idea 169 00:06:46,900 --> 00:06:48,260 of two countries agreeing to something 170 00:06:48,660 --> 00:06:50,600 when, you know, you can't just have representatives 171 00:06:50,600 --> 00:06:52,340 of each government, you know, 172 00:06:52,340 --> 00:06:53,720 watching everything they do? 173 00:06:54,660 --> 00:06:57,580 So think in terms of, like, Pakistan and India 174 00:06:57,580 --> 00:07:00,540 and North Korea, China, you know, 175 00:07:00,580 --> 00:07:03,880 all these nuclear arms treaties we have to say, 176 00:07:03,960 --> 00:07:04,960 okay, we're not gonna make bombs. 177 00:07:05,160 --> 00:07:06,180 How do we enforce that? 178 00:07:06,480 --> 00:07:08,340 A lot of that comes back to tamper seals. 179 00:07:08,500 --> 00:07:10,080 We seal them and then determine 180 00:07:10,080 --> 00:07:11,640 if they've been tampered with, you know, 181 00:07:11,680 --> 00:07:15,380 when the inspectors come, however routinely it is. 182 00:07:16,360 --> 00:07:17,760 So we're gonna go over a little history, 183 00:07:17,860 --> 00:07:21,020 and then we're gonna talk about two basic types of seals. 184 00:07:22,340 --> 00:07:23,580 So this will just give you a brief overview 185 00:07:23,580 --> 00:07:25,900 of all the kind of stuff they use in modern day. 186 00:07:26,360 --> 00:07:29,340 So the original idea was that we used a lot of clay or mud, 187 00:07:29,520 --> 00:07:31,140 and we'd dry it over something. 188 00:07:31,320 --> 00:07:32,080 So think of a box. 189 00:07:32,140 --> 00:07:33,740 We're gonna cover it in clay and then put this pattern. 190 00:07:33,980 --> 00:07:35,500 So for you to gain access to the box, 191 00:07:35,560 --> 00:07:36,940 you have to figure out how to remove that clay 192 00:07:36,940 --> 00:07:38,360 and then put it back when you're done. 193 00:07:38,580 --> 00:07:39,920 So that may or may not be difficult, 194 00:07:40,080 --> 00:07:42,860 especially when it's, you know, 1800 BC, 195 00:07:43,220 --> 00:07:44,520 you don't know what the fuck you're doing. 196 00:07:48,560 --> 00:07:51,720 This is another example from, you know, long, long ago. 197 00:07:52,340 --> 00:07:54,980 So we would, let's say we have our box again. 198 00:07:55,040 --> 00:07:56,340 We tie rope around it, right? 199 00:07:56,680 --> 00:07:58,860 So this is called a bullay, 200 00:07:58,940 --> 00:08:01,680 and it's a little piece of clay that fits over the rope, 201 00:08:01,780 --> 00:08:02,940 and then you stamp it in, 202 00:08:02,980 --> 00:08:04,280 and it squishes into the rope and dries. 203 00:08:04,700 --> 00:08:06,960 So again, like our box covered in clay, 204 00:08:07,060 --> 00:08:09,100 you'd have to remove that to access the rope 205 00:08:09,100 --> 00:08:09,800 to open the box. 206 00:08:12,220 --> 00:08:16,480 The pope is awesome, and he has a ring, 207 00:08:16,580 --> 00:08:18,720 which he's kind of baller in that sense, right? 208 00:08:18,740 --> 00:08:19,180 He has a ring. 209 00:08:19,460 --> 00:08:21,380 So there's a guy, there's two guys. 210 00:08:21,820 --> 00:08:22,560 There's two guys. 211 00:08:22,860 --> 00:08:26,400 One guy, when the new pope, well, when the old pope exits, 212 00:08:26,520 --> 00:08:27,840 he has to melt his ring, right? 213 00:08:28,000 --> 00:08:29,200 When the new guy comes in, 214 00:08:29,340 --> 00:08:30,880 some other guy makes him a new ring, 215 00:08:30,980 --> 00:08:34,000 and then they use that for stamping papal insignia. 216 00:08:34,460 --> 00:08:36,280 And so you can see, here's a real old version. 217 00:08:36,600 --> 00:08:38,940 But tradition still continues to this day, 218 00:08:39,380 --> 00:08:41,220 and usually they do wax nowadays. 219 00:08:42,960 --> 00:08:46,140 In mid-1800s, we started combining locks with seals, 220 00:08:46,320 --> 00:08:49,600 and it's pretty cool because, you know, again, 221 00:08:49,640 --> 00:08:51,360 we think, why not use locks? 222 00:08:51,360 --> 00:08:52,340 Why use seals? 223 00:08:52,520 --> 00:08:53,280 Why not use both? 224 00:08:53,540 --> 00:08:54,800 Have the best of both worlds. 225 00:08:55,800 --> 00:08:58,000 So this is an example of a real old padlock. 226 00:08:58,220 --> 00:08:59,720 And you can see on the right here, 227 00:08:59,820 --> 00:09:01,800 there's this little piece that kind of swings open, 228 00:09:01,880 --> 00:09:03,420 and that allows you access to the keyway. 229 00:09:03,700 --> 00:09:05,700 So they figured, well, why don't we just put the stamp 230 00:09:05,700 --> 00:09:07,380 over that, and then close that up, 231 00:09:07,520 --> 00:09:09,220 and then to get access to the keyway, 232 00:09:09,260 --> 00:09:10,900 you'd have to remove the stamp, right? 233 00:09:11,680 --> 00:09:13,580 Now we'll ignore any, you know, well, 234 00:09:13,640 --> 00:09:15,940 what if you don't need to use the keyway to open the lock? 235 00:09:16,480 --> 00:09:18,200 There's also a lot of locks from this time period 236 00:09:18,200 --> 00:09:19,280 that have little glass plates. 237 00:09:19,340 --> 00:09:21,340 So when you lock it, a little glass plate slides around it, 238 00:09:21,340 --> 00:09:22,660 over the keyway, and you'd have to shatter that 239 00:09:22,660 --> 00:09:23,840 to get access to it. 240 00:09:26,360 --> 00:09:28,220 During World War I, World War II, 241 00:09:28,380 --> 00:09:30,320 we started doing mail censorship, 242 00:09:30,620 --> 00:09:31,940 and probably before that. 243 00:09:32,580 --> 00:09:35,480 So essentially what it is, is you send some piece of mail. 244 00:09:35,740 --> 00:09:38,660 Somewhere along the way, the censor says, OK, flag that. 245 00:09:38,860 --> 00:09:40,180 So they cut it open, right? 246 00:09:41,200 --> 00:09:42,800 And they see, they read what it is, 247 00:09:42,880 --> 00:09:44,180 they determine if it's OK to go through. 248 00:09:44,720 --> 00:09:46,940 They tape it back up, and then they put a stamp over it. 249 00:09:46,960 --> 00:09:48,240 And you can see over in the top left here, 250 00:09:48,300 --> 00:09:50,460 they even write what language the letter was in. 251 00:09:51,340 --> 00:09:53,240 And then, again, we also use this kind of similar 252 00:09:53,240 --> 00:09:55,800 stamping stuff to make sure that our mail has gone 253 00:09:55,800 --> 00:09:56,920 through the mail system properly. 254 00:09:59,540 --> 00:10:02,920 A very cool story is beginnings of the Cold War, 255 00:10:02,980 --> 00:10:05,840 beginnings of the CIA, they had a lot of difficulty 256 00:10:05,840 --> 00:10:08,480 with communicating back and forth, excuse me, 257 00:10:08,480 --> 00:10:10,760 the CIA had a lot of difficulty communicating 258 00:10:10,760 --> 00:10:12,000 with agents in Moscow. 259 00:10:12,480 --> 00:10:15,640 So what they did was they did this elaborate program 260 00:10:15,640 --> 00:10:18,840 where they bought, you know, thousands of different postcards, 261 00:10:18,900 --> 00:10:20,740 and they sent them to and from different addresses 262 00:10:21,340 --> 00:10:24,300 and different recipients, and they put different things 263 00:10:24,300 --> 00:10:27,460 on them, like, you know, in Moscow, from Russia with love, 264 00:10:27,640 --> 00:10:28,480 so on and so forth. 265 00:10:29,160 --> 00:10:31,260 And then when they reached their destination, 266 00:10:31,480 --> 00:10:33,000 the CIA would go back and look at them, 267 00:10:33,120 --> 00:10:35,800 determine which ones had been tampered with by the Russians, 268 00:10:36,500 --> 00:10:39,520 and then determine which methods they used to try 269 00:10:39,520 --> 00:10:43,640 and detect tampering, and then which postcards weren't, 270 00:10:44,740 --> 00:10:48,000 didn't qualify for whatever censorship or tampering 271 00:10:48,000 --> 00:10:49,060 that the Russians did. 272 00:10:49,200 --> 00:10:51,160 So through all this, they look at the patterns, 273 00:10:51,340 --> 00:10:53,440 say, well, if we send it to, you know, Ohio, 274 00:10:53,660 --> 00:10:57,040 and it's in this rural area, maybe it doesn't get flagged, 275 00:10:57,060 --> 00:10:57,720 and so on and so forth. 276 00:10:59,140 --> 00:11:02,640 So it's a very, very cool project, and I think it's, 277 00:11:02,640 --> 00:11:05,380 a lot of it's in Family Jewels, if you want to look that up 278 00:11:05,380 --> 00:11:06,240 to read more about it. 279 00:11:06,380 --> 00:11:07,680 I don't remember the name of the project, 280 00:11:07,800 --> 00:11:10,240 but it's also documented a lot in the book Spycraft. 281 00:11:11,100 --> 00:11:13,040 I just think it's a really cool thing that, you know, 282 00:11:13,560 --> 00:11:15,360 70 years ago, we were thinking, well, 283 00:11:15,400 --> 00:11:18,700 how do we detect mail tampering, and how can we prevent it? 284 00:11:18,720 --> 00:11:20,460 How can we get around people doing it? 285 00:11:20,460 --> 00:11:23,320 Because obviously, you can't, you can't tamper everything 286 00:11:23,320 --> 00:11:24,320 that goes through the mail system. 287 00:11:24,440 --> 00:11:26,280 It's just not logistically possible. 288 00:11:26,700 --> 00:11:27,820 So you've got to pick and choose. 289 00:11:29,780 --> 00:11:32,860 In the 1980s, in Chicago, there was a lot of scares 290 00:11:32,860 --> 00:11:35,440 where Tylenol pills were replaced with cyanide pills. 291 00:11:35,780 --> 00:11:37,780 And so you can see on the left is Tylenol, 292 00:11:37,780 --> 00:11:39,900 and the right is cyanide Tylenol. 293 00:11:40,020 --> 00:11:41,440 So people started dying from this. 294 00:11:41,560 --> 00:11:42,520 And there was this huge scare 295 00:11:42,520 --> 00:11:44,940 where Tylenol was rushed off the shelves. 296 00:11:45,180 --> 00:11:48,500 And Johnson & Johnson, owner of Tylenol, said, 297 00:11:48,600 --> 00:11:50,440 we can't detect tampering at the mail. 298 00:11:50,460 --> 00:11:52,440 It's factory level, so it must be further down the chain. 299 00:11:52,720 --> 00:11:54,940 And to this day, it hasn't been determined how this happened. 300 00:11:55,180 --> 00:11:57,360 There were a lot of copycat kind of things, 301 00:11:57,480 --> 00:12:01,160 like a woman fed her husband a cyanide Tylenol, 302 00:12:01,240 --> 00:12:02,680 and then went to her local store 303 00:12:02,680 --> 00:12:06,020 and put like a dozen cyanide boxes mixed up in there 304 00:12:06,020 --> 00:12:07,960 so that other people would die, and they'd think it's just 305 00:12:07,960 --> 00:12:10,760 another freak occurrence, you know, 306 00:12:10,760 --> 00:12:12,900 all those boxes have been tampered with kind of thing. 307 00:12:13,580 --> 00:12:15,000 Obviously, it didn't kill Tylenol, 308 00:12:15,080 --> 00:12:17,900 but similar incidents killed a number of other aspirin 309 00:12:17,900 --> 00:12:20,440 or pain medication type, you know, 310 00:12:20,460 --> 00:12:20,760 companies. 311 00:12:22,080 --> 00:12:24,540 So now we get to more modern day seals. 312 00:12:24,960 --> 00:12:26,940 After the whole fiasco in Chicago, 313 00:12:30,060 --> 00:12:32,340 we instituted the Federal Anti-Tampering Act. 314 00:12:32,760 --> 00:12:35,440 And so all pharmaceuticals now have 315 00:12:35,440 --> 00:12:37,120 to have, you know, these different layers of protection. 316 00:12:37,340 --> 00:12:39,100 So think of it just like computer security, 317 00:12:39,200 --> 00:12:40,640 where we have defense in depth, you know. 318 00:12:40,660 --> 00:12:43,200 We don't just have a firewall or a, 319 00:12:43,720 --> 00:12:45,800 what the hell do we use in computer security these days? 320 00:12:47,440 --> 00:12:50,040 We don't have an IDS or all that kind of crap. 321 00:12:50,500 --> 00:12:51,920 So now you have to open the box. 322 00:12:52,020 --> 00:12:53,920 And inside the box, you take your little shrink wrap off. 323 00:12:54,060 --> 00:12:57,660 You attempt to take the childproof container off 324 00:12:57,660 --> 00:12:59,520 and then despair, usually. 325 00:13:00,260 --> 00:13:02,960 And then there's this little wax adhesive combination seal 326 00:13:02,960 --> 00:13:05,200 that's over the actual pills themselves. 327 00:13:07,320 --> 00:13:10,120 On a lot of electronics, we use these little warranty stickers, 328 00:13:10,320 --> 00:13:10,480 right? 329 00:13:10,560 --> 00:13:14,360 So this is the first generation of this particular Xbox tamper 330 00:13:14,360 --> 00:13:14,540 seal. 331 00:13:14,720 --> 00:13:16,860 And it's just this little silver seal that says Microsoft. 332 00:13:17,100 --> 00:13:19,200 If you try and pull it up, it leaves a little residue 333 00:13:19,200 --> 00:13:20,360 that says void or open. 334 00:13:20,460 --> 00:13:21,300 Or whatever it is. 335 00:13:22,220 --> 00:13:25,980 And so there started to be videos of people taking these 336 00:13:25,980 --> 00:13:26,540 off on YouTube. 337 00:13:26,880 --> 00:13:30,400 And Microsoft, I believe their official response is that, well, 338 00:13:30,480 --> 00:13:31,300 that's cool. 339 00:13:31,480 --> 00:13:33,460 And we're always looking to make our product better. 340 00:13:33,600 --> 00:13:35,500 So they instituted a new seal. 341 00:13:35,640 --> 00:13:37,580 And now there's videos of this being removed 342 00:13:37,580 --> 00:13:39,300 with a hair dryer on YouTube. 343 00:13:40,140 --> 00:13:41,480 It's essentially a sticker. 344 00:13:42,060 --> 00:13:44,200 So I think you're all comfortable removing stickers 345 00:13:44,200 --> 00:13:45,060 at one point or another. 346 00:13:47,320 --> 00:13:48,460 We use these a lot. 347 00:13:48,620 --> 00:13:50,260 One thing I found out recently was 348 00:13:50,260 --> 00:13:51,940 that the duty-free bags at airports, 349 00:13:52,120 --> 00:13:54,140 you could actually take different kinds of chemicals 350 00:13:54,140 --> 00:13:55,720 on board planes, as long as they're 351 00:13:55,720 --> 00:13:57,300 sealed in the duty-free bag. 352 00:13:57,840 --> 00:14:00,100 Now, depending on where, yeah, right? 353 00:14:00,180 --> 00:14:00,760 Holy shit. 354 00:14:03,800 --> 00:14:05,760 And it's funny for me, because I actually, 355 00:14:05,880 --> 00:14:07,540 it's not legal for me to fly, because I 356 00:14:07,540 --> 00:14:08,580 have all these dangerous chemicals 357 00:14:08,580 --> 00:14:09,600 that I use for the tamper stuff. 358 00:14:09,920 --> 00:14:12,940 And I can't be like, hey, can I bring this gallon of acetone 359 00:14:12,940 --> 00:14:13,280 on board? 360 00:14:16,080 --> 00:14:17,480 I paint my nails a lot. 361 00:14:20,620 --> 00:14:24,660 So I found out that you can actually take these on, 362 00:14:24,720 --> 00:14:27,440 you know, with certain size, certain chemicals, 363 00:14:28,000 --> 00:14:28,880 as long as they're sealed. 364 00:14:28,960 --> 00:14:30,880 Now, depending on your airport, depending on where you're going, 365 00:14:30,920 --> 00:14:31,780 you know, domestic, international, 366 00:14:32,140 --> 00:14:35,120 you can, you may be stopped, and they may remove these 367 00:14:35,120 --> 00:14:36,720 from your purses before you get to the terminal. 368 00:14:36,840 --> 00:14:39,300 And you can only buy them after you check in, and crap like that. 369 00:14:39,540 --> 00:14:41,640 But I think it's very interesting that we rely on these. 370 00:14:42,000 --> 00:14:46,800 On the right is a check and deposit bag that is used by a lot of banks. 371 00:14:46,880 --> 00:14:49,160 The one in the picture is actually a Bank of America bag. 372 00:14:50,060 --> 00:14:50,240 And it's a very interesting bag. 373 00:14:50,260 --> 00:14:53,240 But there's a lot that are almost extremely similar. 374 00:14:54,140 --> 00:14:56,400 And you just throw your cash in, then seal it up. 375 00:14:56,680 --> 00:14:58,800 And then, obviously, if someone wants to steal it, 376 00:14:58,880 --> 00:15:00,080 they're just going to steal the whole damn thing, 377 00:15:00,160 --> 00:15:01,080 and it's not going to matter. 378 00:15:01,300 --> 00:15:03,240 But if somebody tries to take, you know, a portion of it, 379 00:15:03,300 --> 00:15:04,440 they have to figure out how to get that out, 380 00:15:04,480 --> 00:15:06,080 and then reseal it without leaving evidence. 381 00:15:06,920 --> 00:15:09,500 Now, obviously, the missing cash may be evidence. 382 00:15:09,620 --> 00:15:10,560 But think of, you know, if we want 383 00:15:10,560 --> 00:15:12,960 to transport sensitive documents, or company secrets, 384 00:15:13,120 --> 00:15:14,180 and so on and so forth in these. 385 00:15:14,840 --> 00:15:16,480 I got to stop saying so on and so forth, don't I? 386 00:15:17,820 --> 00:15:20,040 We also use these to seal evidence bags. 387 00:15:20,260 --> 00:15:23,120 Similar to the plastic bag here on the right, 388 00:15:23,260 --> 00:15:24,980 there's a lot of evidence bags that look the same. 389 00:15:25,060 --> 00:15:26,740 This is just a manila folder with some evidence 390 00:15:26,740 --> 00:15:27,540 tape over the edges. 391 00:15:28,060 --> 00:15:30,940 But we use these pretty heavily for this kind of stuff. 392 00:15:32,040 --> 00:15:35,520 We started using these not too long ago in electronics. 393 00:15:35,920 --> 00:15:40,380 So all these sites like Hackaday that, you know, 394 00:15:40,400 --> 00:15:43,940 people are like, oh my god, I got the latest new iPhone 395 00:15:43,940 --> 00:15:45,300 awesome version. 396 00:15:45,760 --> 00:15:46,520 Holy shit. 397 00:15:46,840 --> 00:15:49,700 And I took it all apart. 398 00:15:49,700 --> 00:15:52,680 And then I reprogrammed it so that, like, titties appear 399 00:15:52,680 --> 00:15:53,720 when I boot up, or whatever. 400 00:15:56,660 --> 00:16:00,440 And so companies are actively trying to stop that, you know. 401 00:16:00,480 --> 00:16:01,940 Stop reverse engineering of their products. 402 00:16:02,080 --> 00:16:03,020 Stop modification. 403 00:16:03,660 --> 00:16:05,640 Again, we could go back to, like, Xboxes and stuff, 404 00:16:05,720 --> 00:16:07,340 where they don't want you to mod it or do anything 405 00:16:07,880 --> 00:16:09,500 against what they want you to do with it. 406 00:16:10,380 --> 00:16:13,680 So they started making both tamper-evident and tamper- 407 00:16:13,680 --> 00:16:14,660 resistant electronics. 408 00:16:14,660 --> 00:16:16,840 So in the photo is just this little chip. 409 00:16:16,920 --> 00:16:19,180 And all the leads are coated in a thin layer of epoxy. 410 00:16:19,700 --> 00:16:21,840 So if you wanted to remove this chip or get access 411 00:16:21,840 --> 00:16:25,000 to the leads, you'd have to remove that and then figure out 412 00:16:25,000 --> 00:16:25,660 how to repair it. 413 00:16:26,760 --> 00:16:28,960 You could go hardcore and become the government, 414 00:16:29,440 --> 00:16:31,880 where you just coat the whole damn thing in epoxy, 415 00:16:32,200 --> 00:16:33,260 the entire PCB. 416 00:16:33,760 --> 00:16:37,280 So it's essentially just a little black box at that point, 417 00:16:37,360 --> 00:16:38,840 where you don't really know what it does, 418 00:16:39,500 --> 00:16:40,860 but it just plugs in somewhere. 419 00:16:41,580 --> 00:16:42,940 And then hopefully it works. 420 00:16:43,180 --> 00:16:45,580 It was used a lot on little DRM chips, too, 421 00:16:45,720 --> 00:16:48,180 and military crypto electronics. 422 00:16:48,180 --> 00:16:53,220 electronics. A lot of these are also tamper-resistant, where they destroy themselves if they detect 423 00:16:53,220 --> 00:16:58,800 tampering and so on. How many of you have a Blackberry or an iPhone? If you take off 424 00:16:58,800 --> 00:17:02,640 the back right now, you can see a little white seals, and some of them are water sensors, 425 00:17:03,020 --> 00:17:06,220 and some of them are little covers for the screws so that, you know, if you wanted to 426 00:17:06,220 --> 00:17:09,880 take your device apart, you'd have to remove all those little stickers or break them when 427 00:17:09,880 --> 00:17:15,280 you put the screwdriver in. So all these are little warranty protection type things. 428 00:17:15,280 --> 00:17:21,620 The water sensors don't really evidence tampering so much, since the only thing they do is detect 429 00:17:21,620 --> 00:17:27,480 water, right, or other types of liquids, but for the most part, just water. So a lot of 430 00:17:27,480 --> 00:17:31,880 people ask me, well, what about, like, tilt sensors on packaging? Like, you send a crate 431 00:17:31,880 --> 00:17:35,080 and you put a tilt sensor in it. That's kind of a tamper-evident device, but that's more 432 00:17:35,080 --> 00:17:38,680 of a cover-your-ass device. So, you know, if something happens in transit, then you 433 00:17:38,680 --> 00:17:43,080 could say, well, the tilt sensor went off, so this must have happened. How many of you 434 00:17:43,080 --> 00:17:44,560 have to take a piss test for work? 435 00:17:45,280 --> 00:17:50,320 A funny story, in the contest this year, there was a medicine bottle that looked pretty 436 00:17:50,320 --> 00:17:54,520 similar, and I filled it with apple juice, and there's a picture of me drinking it like 437 00:17:54,520 --> 00:18:03,020 that. Yeah. And another team used Jack and Water that looked a lot like pee, too. I don't 438 00:18:03,020 --> 00:18:09,100 know what's with us and pee, but let's stop talking about pee. Anyways, we use these 439 00:18:09,100 --> 00:18:14,680 for a lot of medical type stuff, so specimen containers, and you can see the blood vials 440 00:18:14,680 --> 00:18:15,140 in the center. 441 00:18:15,280 --> 00:18:19,680 And then even some, you know, more expensive medicine bottles will actually have a tamper-evident 442 00:18:19,680 --> 00:18:23,240 seal so that you have to physically break it. And it's not like the normal seals, like 443 00:18:23,240 --> 00:18:28,260 the one on the left here, or the normal kind of water bottle seal. It's meant to not be 444 00:18:28,260 --> 00:18:29,420 able to go back to the way it was. 445 00:18:31,260 --> 00:18:35,240 You all have gas, water, and power. All of your little meters have little tamper seals 446 00:18:35,240 --> 00:18:39,000 on them, and they're just these little tiny plastic things. And again, tamper-evident 447 00:18:39,000 --> 00:18:43,320 things don't resist force. You can just snap these off with your fingers. It's just a little 448 00:18:43,320 --> 00:18:43,940 piece of plastic. 449 00:18:43,940 --> 00:18:47,840 But if it's gone, the next time the guy comes to check your meter, you know, he files a 450 00:18:47,840 --> 00:18:51,220 report saying something may have been tampered with, and then they choose to investigate 451 00:18:51,220 --> 00:18:51,560 or not. 452 00:18:52,740 --> 00:18:58,080 For cargo transportation, we use more heavy-duty seals for the most part. We'll talk about 453 00:18:58,080 --> 00:19:01,720 different types of seals in a bit, but these are called bolt seals, and they're essentially 454 00:19:01,720 --> 00:19:04,360 just a one-way lock that snaps through the haspid of a truck. 455 00:19:07,680 --> 00:19:13,140 The IAEA does treaty monitoring for North Korea, and this is an example of a cup seal 456 00:19:13,140 --> 00:19:17,960 that they use. And so this half of the cup seal is actually not unique. So you could 457 00:19:17,960 --> 00:19:21,720 technically replace it with one of the same size and the same hole diameter and the same 458 00:19:21,720 --> 00:19:26,960 hole position. But what they do is they take a little knife and they scratch it up in here, 459 00:19:27,080 --> 00:19:31,040 and they add little dabs of solder, and then they take a picture of it. They seal it up. 460 00:19:31,160 --> 00:19:34,960 The next time they come, they inspect the outside. When they're ready to remove the 461 00:19:34,960 --> 00:19:38,340 seal, they cut it open and look at this and compare it with the picture to determine if 462 00:19:38,340 --> 00:19:39,060 it's been tampered with. 463 00:19:40,920 --> 00:19:43,120 This is a photo of Marines sealing a canister. This is a photo of a Marine sealing a canister. 464 00:19:43,140 --> 00:19:45,460 This was a can of nuclear material with just a little tamper seal. 465 00:19:45,680 --> 00:19:49,660 And if you remember back to our evidence slide, this is essentially that same 466 00:19:49,660 --> 00:19:52,520 little red adhesive being applied to the nuclear container. 467 00:19:53,760 --> 00:19:57,020 So as with most security products, there's a lot of bullshit. 468 00:20:00,580 --> 00:20:01,080 Ah. 469 00:20:02,040 --> 00:20:06,600 And so one thing I found really funny is that everyone who sells zip ties hmm markets them 470 00:20:06,600 --> 00:20:08,720 as tamper-proof and I thought that was pretty funny. 471 00:20:09,940 --> 00:20:13,120 Now, how many of you are uncomfortable? 472 00:20:13,140 --> 00:20:23,220 uncomfortable opening a zip tie? Did not think so. What if it's a pulled tight zip tie? A little 473 00:20:23,220 --> 00:20:29,200 more tricky, huh? Step it up. There's also dedicated tamper companies, and most of them 474 00:20:29,960 --> 00:20:33,240 represent their products as being more secure than they really are. And that was one of the 475 00:20:33,240 --> 00:20:37,860 motivations for DT starting the contest last year and continuing it on this year and next year. 476 00:20:38,660 --> 00:20:43,180 So, you'll see, it's just a little sticker, similar to our Microsoft warranty sticker. When 477 00:20:43,180 --> 00:20:47,600 you pull it up, it just says void. And the wording to the right says impossible to reseal or reuse. 478 00:20:48,920 --> 00:20:52,900 Another one is these little metal padlock security seals, which sounds very intimidating. 479 00:20:53,440 --> 00:20:59,420 It's essentially just this little frangible, is that a word? We'll find out later. It's just this 480 00:20:59,420 --> 00:21:03,940 little shackle that fits through the body and it snaps into place. And it says positively tamper 481 00:21:03,940 --> 00:21:06,720 proof. We'll get back to him later. So, 482 00:21:08,580 --> 00:21:12,880 what makes something tamper evident, right? Is a water bottle tamper evident? Is an envelope 483 00:21:12,880 --> 00:21:18,660 tamper evident? You know, all these things. Yeah, but are they designed to be such? So, 484 00:21:18,680 --> 00:21:22,460 something that's tamper evident should be durable to everything. I'm going to try walking around. 485 00:21:22,560 --> 00:21:27,280 We'll see how it works. Something that's tamper evident should be durable, but it should be weak. 486 00:21:27,400 --> 00:21:32,700 It should not resist physical attacks, right? It should be a one-way lock mechanism. There's 487 00:21:32,700 --> 00:21:37,740 extremely few seals that are actually resealable. Because, you know, think, if it's resealable, 488 00:21:37,860 --> 00:21:42,160 it's essentially a lock that you can lock and unlock at will, given the right tools and skill 489 00:21:42,160 --> 00:21:47,700 and all that sort of stuff. Tamper seals usually have unique identifiers to prevent you from just 490 00:21:47,700 --> 00:21:52,240 swapping one out and counterfeiting it. And they're sensitive to basically everything other 491 00:21:52,240 --> 00:21:58,820 than a tug test. And so, what a tug test is, is where you seal your seal. And we'll talk about 492 00:21:58,820 --> 00:22:03,440 this particular seal in a second. You seal it up and then you just pull it, right? So, we know 493 00:22:03,440 --> 00:22:07,260 it's locked. So, what if I pulled it and it snapped, right? If I'm just pulling lightly, 494 00:22:07,860 --> 00:22:13,580 then that may evidence tampering, right? And they're also, should be very weak to things 495 00:22:13,580 --> 00:22:18,500 like temperature or different chemicals and so on and so forth. So, how do we inspect 496 00:22:18,500 --> 00:22:21,960 tamper seals? And this is a talk all on its own, but we can think, we just look at them 497 00:22:21,960 --> 00:22:26,240 casually. I go, oh, do-do-do-do-do. And then you can look at them closely and see 498 00:22:26,240 --> 00:22:30,600 if there's any little scratches or missing pieces. You can also disassemble them if they 499 00:22:30,600 --> 00:22:34,200 are disassemblable. And then you can get to serious science where, you know, you're 500 00:22:34,200 --> 00:22:37,840 saying, what trace evidence is in on the seal? Are there fingerprints there? And then you 501 00:22:37,860 --> 00:22:40,780 can look at their, their hair and fiber, that kind of stuff. And then there's also 502 00:22:40,780 --> 00:22:47,040 seals that have traps or alarms. So, think of an example of a trap would be, what the 503 00:22:48,020 --> 00:22:55,640 fuck was that? An example of a trap would be like the, the little ink things when you 504 00:22:55,640 --> 00:22:58,460 go to the department store and all the clothes you want to buy are the ink things. So, if 505 00:22:58,460 --> 00:23:02,520 you try and remove that, it sprays ink everywhere. And so, that's considered a trap. An alarm 506 00:23:02,520 --> 00:23:06,000 is more like when you're in the same department store and you just try to walk out and the 507 00:23:06,000 --> 00:23:06,960 siren goes off. 508 00:23:08,500 --> 00:23:14,080 So, what does defeating a seal mean? So, this is kind of ambiguous. Defeating a seal 509 00:23:14,080 --> 00:23:16,940 doesn't mean just pulling it apart, because it's pretty easy just to pull most of these 510 00:23:16,940 --> 00:23:22,340 apart. So, by defeating it, we mean that we open it and we reseal it, which sometimes 511 00:23:22,340 --> 00:23:27,160 is the harder part, and we leave little to no evidence of tampering, as little as possible. 512 00:23:29,400 --> 00:23:33,200 So, there's vulnerabilities kind of everywhere. So, we can think of, there's problems with 513 00:23:33,200 --> 00:23:37,840 the design, something that the end user just can't fix. There's problems with procuring 514 00:23:37,860 --> 00:23:43,240 seals. So, what if I start a malicious tamper seal company that sells flawed seals, right, 515 00:23:43,300 --> 00:23:48,760 and you buy seals from me? What about storage of your seals? If somebody has access to your 516 00:23:48,760 --> 00:23:52,920 seals before you install them, can they be tampered with and then made vulnerable to 517 00:23:52,920 --> 00:23:57,340 different attacks? What about installation? You can definitely install all of these wrong 518 00:23:57,340 --> 00:24:02,160 to reduce the security they offer. And then, of course, the, the biggest thing is the human 519 00:24:02,160 --> 00:24:06,440 element. You know, to, to identify tampering, you need to have somebody actually look at 520 00:24:06,440 --> 00:24:07,840 it. There's no good automated way to do that. So, what if I start a malicious tamper seal 521 00:24:07,860 --> 00:24:08,100 company that sells flawed seals? What about installation and installation of sealed seals? 522 00:24:08,100 --> 00:24:10,320 There's no good automated way to do it. Now, you can say, of course, we have electronic 523 00:24:10,960 --> 00:24:14,660 tamper seals that will alarm and do that kind of stuff, but that kind of stuff tends 524 00:24:14,660 --> 00:24:18,060 to make us lazy. And so, we, we just need to say, you know, when the guy pushes the 525 00:24:18,060 --> 00:24:20,940 button to see if it's been tampered with, it tells him no. And there's a lot of ways 526 00:24:20,940 --> 00:24:26,100 we can fake that. And then think about, also, how you remove or dispose of the, the old 527 00:24:26,100 --> 00:24:29,320 seals when you pull them off the container when they get to their destination. If you 528 00:24:29,320 --> 00:24:32,500 just kind of throw them in the dumpster out back, can somebody go through them and 529 00:24:32,500 --> 00:24:37,500 get parts or, or get materials from that that would allow them to better tamper the seals 530 00:24:37,860 --> 00:24:42,320 using still. So the first thing we're going to talk about is called mechanical seals, and these 531 00:24:42,320 --> 00:24:48,440 are a little plastic and metal type seals that physically prevent you from doing what you want. 532 00:24:48,580 --> 00:24:52,840 So think of it like a little hasp on a door, and we have this little tiny tamper seal around it. 533 00:24:52,940 --> 00:24:58,540 To open the door, you need to break this seal, in theory. So zip ties, seriously, zip ties. 534 00:24:59,020 --> 00:25:03,900 We're not joking when I say zip ties are a basic tamper-evident seal. Again, show of hands, 535 00:25:03,900 --> 00:25:08,920 how many people are worried about a zip tie? Fully sealed zip tie? Those are tricky. 536 00:25:11,720 --> 00:25:15,300 Okay, so the first thing we're going to talk about is the beaded cable seal, and I have one here. 537 00:25:15,860 --> 00:25:18,180 You want to pass it around? Wow, that was off. 538 00:25:22,860 --> 00:25:26,300 I'll seal it for you. And, you know, just pull on it lightly, see how it feels. 539 00:25:26,740 --> 00:25:32,560 Don't tighten it too much, but play with them, see how they feel. And essentially, 540 00:25:32,900 --> 00:25:33,760 it's just this little 541 00:25:33,760 --> 00:25:38,280 little cable that fits through the body, and once you push it through enough, it locks into place. 542 00:25:38,600 --> 00:25:43,320 So it's basically a fancy zip tie. How confident are you that you could beat this now? 543 00:25:45,540 --> 00:25:50,720 One guy? Jeez. I thought you guys were pros. You had, like, the whole fully locked zip tie thing down. 544 00:25:52,300 --> 00:25:57,540 So I tried to do this earlier when I was drunk, and I ripped the shim, but you can essentially just put a little 545 00:25:57,540 --> 00:26:02,640 Coke can through there and get it around the cable, and you push in, and then once you get it through, 546 00:26:02,720 --> 00:26:03,740 you're essentially doing the same thing. 547 00:26:03,740 --> 00:26:07,820 With a zip tie, where you're separating the teeth from the cable, then you can just pull it back out. 548 00:26:09,240 --> 00:26:13,600 And there's a lot of these seals, and they look different now and then, but they're essentially 549 00:26:13,600 --> 00:26:17,680 the same thing, right? They're just these little plastic or metal pieces, and you snap them 550 00:26:17,680 --> 00:26:22,760 together, and they're glorified zip ties. Some are two-sided, some are four-sided, some have two 551 00:26:22,760 --> 00:26:27,180 rows with a divider in the middle, so you've got to shim both of them. And again, shimming's not the 552 00:26:27,180 --> 00:26:31,220 only defeat. Think of, you know, a lot of these don't have serial numbers. Can we just swap in 553 00:26:31,220 --> 00:26:33,720 another one of the same color, of the same model? And then you've got a lot of these, and you've got to 554 00:26:33,740 --> 00:26:38,020 swap in another one of the same model. Lots and lots of different defeats. So again, go back to, you 555 00:26:38,020 --> 00:26:41,540 know, our list of different places we can attack them, and just think of all the different things we 556 00:26:41,540 --> 00:26:45,900 could do to these basic little seals. Next type of seal we're going to talk about is called the 557 00:26:45,900 --> 00:26:50,260 plunger seal. Now, one thing I should mention is that all the companies that sell these have really 558 00:26:50,680 --> 00:26:54,980 tarted names for them, so they all call them truck seal. So it makes it really hard to talk to 559 00:26:54,980 --> 00:26:58,560 somebody and say, hey, you know that truck seal? And they're like, oh, which of the 5,000 are we 560 00:26:58,560 --> 00:27:03,380 talking about? So I call them just kind of how they interlock, because it's easier for me. And 561 00:27:03,380 --> 00:27:06,240 hopefully I'll just give enough talks that everybody else starts using the terminology. 562 00:27:09,120 --> 00:27:13,360 But it's essentially just this little piece that snaps in. So it's similar to our little cable 563 00:27:13,360 --> 00:27:18,760 seal, but it covers the piece that we would want to manipulate. And you can see that the 564 00:27:18,760 --> 00:27:22,520 little flanges here kind of prevent you from sticking something in and pushing those little 565 00:27:22,520 --> 00:27:27,820 legs back. But on most of these, they're capped. So the way that they seal this is that they form 566 00:27:27,820 --> 00:27:33,120 the body, they put the little white piece in, the detainer, and then they cap it, right? And then 567 00:27:33,120 --> 00:27:33,360 when they seal it, they put the little white piece in, the detainer, and then they cap it, right? And then when 568 00:27:33,380 --> 00:27:38,860 whenever you're ready, you just snap it into place. So I don't know why that slides there, but 569 00:27:38,860 --> 00:27:43,640 okay. So you can actually take caps from other ones, and you could just pull the caps from 570 00:27:43,640 --> 00:27:48,660 existing ones just using a little screw. You just screw it in there and pull it out. Sometimes 571 00:27:48,660 --> 00:27:53,540 you could use heat or boiling water to make it easier, but you could just pop that out and then 572 00:27:53,540 --> 00:27:57,340 put a new one in there. And no one's the wiser. And once you have the cap out, you have, you know, 573 00:27:57,340 --> 00:28:03,280 full access to the internals. So it becomes a zip tie again. And so you can see here, 574 00:28:03,280 --> 00:28:08,400 in the photo, the, you know, for our team, we have a big box of different little caps 575 00:28:08,400 --> 00:28:12,960 ready to go. So it saves us time when we want to do defeats. We just pop the existing one 576 00:28:12,960 --> 00:28:16,600 out and then pick the right color. And, you know, if we damage the white part in any 577 00:28:16,600 --> 00:28:20,340 way, it's hard to see if it's right here. If we damage that, we just pop a new one in, 578 00:28:20,400 --> 00:28:23,540 because they're all the same, too. And none of these little pieces are serialized or unique. 579 00:28:25,600 --> 00:28:29,860 So there's other little plunger seals that are pretty common as well. Again, these are 580 00:28:29,860 --> 00:28:33,180 used a lot by the utility companies. 581 00:28:33,180 --> 00:28:37,160 And they're essentially just the same thing. They're just a different little format. And 582 00:28:37,160 --> 00:28:40,480 you can see the one on the left doesn't even have a serial number. So if we find the same 583 00:28:40,480 --> 00:28:44,720 type of seal with, you know, with a serial number, think, can we print a new one on 584 00:28:44,720 --> 00:28:51,140 it because we have blank ones? Sure. Why not? The padlock seals are called so because 585 00:28:51,140 --> 00:28:55,460 they resemble padlocks. And they're kind of nifty. The one on the left just uses little 586 00:28:55,460 --> 00:28:59,440 spring-loaded detainers that shoot out when you push the shackle in. So you can think, 587 00:28:59,500 --> 00:29:02,020 can I shim that? Can I just put a little piece of wire and get around that? 588 00:29:03,180 --> 00:29:06,940 You can actually just remove the shackle. You can cut it and take the pieces out and 589 00:29:06,940 --> 00:29:10,120 then put a new one in if you have it. And, you know, all these other kinds of defeats 590 00:29:10,120 --> 00:29:12,960 we talk about. The one on the right is funny because it sucks. 591 00:29:14,940 --> 00:29:20,080 So this is our tamper-proof seal, right? And so it's just this little piece that clips 592 00:29:20,080 --> 00:29:23,540 in, similar to our plunger seal. So we have it here. And you try and pull it. It doesn't 593 00:29:23,540 --> 00:29:27,460 work. So you can, of course, just go in there with a lockpick and push those little legs 594 00:29:27,460 --> 00:29:30,980 back and pull it out. But what I thought was a really funny attack is you could take another 595 00:29:30,980 --> 00:29:32,380 shackle, which is funny. 596 00:29:32,380 --> 00:29:35,560 Because, you see, they have these little tabs. So it's supposed to be where you can put a 597 00:29:35,560 --> 00:29:39,440 serial number so you can't just replace the shackle. So we'll assume that they're serialized. 598 00:29:39,560 --> 00:29:43,500 But you just take another one and you kind of fit it down in. You see, somebody knows 599 00:29:43,500 --> 00:29:49,120 where I'm going with this. Oh, wait for it. And you take them out. 600 00:29:56,860 --> 00:30:02,360 And it reseals. Super. You guys want to play with this? Should I pass it around? Don't 601 00:30:02,380 --> 00:30:06,020 fuck it up for all the people in the back. Come here. I'm not throwing it. 602 00:30:09,000 --> 00:30:13,900 So have fun with that. At the tamper-evident contest, if they're still set up after the talk, 603 00:30:14,000 --> 00:30:18,000 they have some practice seals if you want to just take one home to play with. I unfortunately 604 00:30:18,000 --> 00:30:22,540 don't have, well, I do have a million seals, but I didn't bring them. But I'll have a couple 605 00:30:22,540 --> 00:30:26,800 extras up here afterwards. The next seal we're going to talk about is also called a padlock seal, 606 00:30:26,960 --> 00:30:31,640 but for different reasons. So you see they have different designs, different places they put the 607 00:30:31,640 --> 00:30:32,360 serial, different lids. So you can see that they have different designs, different places they put the 608 00:30:32,380 --> 00:30:32,540 serial, different places they put the serial. So you can see that they have different designs, 609 00:30:32,540 --> 00:30:36,180 little shapes up here and different shapes of the clip. But essentially, they're all the same 610 00:30:36,180 --> 00:30:41,600 thing. It starts open, right? And then you affix it to whatever you want to put it on, 611 00:30:41,660 --> 00:30:47,180 and you snap it closed. And the little legs dig into this middle piece, and the barbs prevent you 612 00:30:47,180 --> 00:30:50,520 from pulling it out. And it's actually a tough little seal. Whoa, I didn't push anything. 613 00:30:51,920 --> 00:30:57,400 We skipped several slides for no reason. Okay. So one cool attack is you could just clip it off, 614 00:30:57,480 --> 00:31:02,120 whatever it's on, and then you dunk it in salt water or anything that's conductive. 615 00:31:03,260 --> 00:31:09,000 And you can use a battery or a power supply, and you attach the leads to each side, and you could 616 00:31:09,000 --> 00:31:15,880 just, essentially, you rust it really fast. And because, you know, the main part of the seal is 617 00:31:15,880 --> 00:31:19,620 plastic, it's not affected. So you just rust these little metal pieces until they're gone. 618 00:31:19,760 --> 00:31:24,200 You pull the old clip out and put a new one in, and it works like a charm. So here's a picture of 619 00:31:24,200 --> 00:31:29,080 it once it's been through the electrolysis process, and now it's ready to take a new clip. 620 00:31:29,820 --> 00:31:31,920 Now, it's a little difficult to do. Sometimes you have to, 621 00:31:32,380 --> 00:31:36,320 you know, scrape out whatever little bits of the old clip might be in there. But it's a really cool 622 00:31:36,320 --> 00:31:40,860 attack, and it only takes about half an hour. And again, this doesn't need to be on the thing 623 00:31:40,860 --> 00:31:45,120 that you're attacking. You just clip it off, and then put it in your solution and go. 624 00:31:46,460 --> 00:31:50,200 The other seal we're going to talk about is called metal cable seals. And this is the first 625 00:31:50,200 --> 00:31:54,680 of three seals, this type of seal, not necessarily the models that we're going to demo. 626 00:31:56,040 --> 00:32:02,140 This is the first of three that's approved by Customs and Border Patrol for their sealing needs, 627 00:32:02,380 --> 00:32:06,060 for all their tamper stuff. So they use the heavier-duty cable seals, but it's essentially 628 00:32:06,060 --> 00:32:12,540 the same idea. And there was one that they used in this year's tamper contest, and I think all 629 00:32:12,540 --> 00:32:17,660 the teams defeated it, or at least the majority of them. So essentially what it is, is you put the 630 00:32:17,660 --> 00:32:22,540 cable through one side. I have another one here. So you put the cable through one side, and then 631 00:32:22,540 --> 00:32:26,980 it should lock into place, just like our little beaded cable seal. And there's a little spring 632 00:32:26,980 --> 00:32:31,000 in there that pushes a little gear. So when you try and pull back, the teeth of the gear and the 633 00:32:31,000 --> 00:32:32,360 braiding of the cable make it lock into place. So you put the cable through one side, and then it 634 00:32:32,380 --> 00:32:38,140 makes it so you can't pull out. So what we could do is just shim it. So I have one prepared. You 635 00:32:38,140 --> 00:32:46,660 can see it passes tug test. You, come here. So just tug on that cable a little bit to make sure 636 00:32:46,660 --> 00:32:52,060 it's locked. Give them a thumbs up if it's locked. All right. People think I'm bullshitting 637 00:32:52,060 --> 00:32:57,100 them sometimes, so we've got audience participation and all that. So I have my shim kind of just 638 00:32:57,100 --> 00:33:01,080 inserted, but you see it's still locked. So what we're going to do is we're going to do the same 639 00:33:01,080 --> 00:33:02,080 we did for the other one. 640 00:33:02,680 --> 00:33:07,660 Well, we just kind of put it through. Oh, but I scrunched it. Oh, I broke it. Oh, I'm 641 00:33:07,660 --> 00:33:27,340 tarted. Okay. It's done. I'm tarted. Shut up. Yeah, this one's locked. Oh, it's tarted. 642 00:33:27,340 --> 00:33:31,660 I ruined it. Sorry. Too much Jaeger. You can thank Dark Tangent for that. 643 00:33:32,940 --> 00:33:38,880 What you can also do is just put a little magnet on it, and it'll pull the gear away, and then you 644 00:33:38,880 --> 00:33:43,100 can pull the cable out. So hard drive magnets work. Obviously, you need a different magnet depending 645 00:33:43,100 --> 00:33:48,080 on the size of the gear, the strength of the spring, and the size of the cable, but definitely 646 00:33:48,080 --> 00:33:52,640 doable. The next seal we're going to talk about is called the metal ball seal, and these are, 647 00:33:52,760 --> 00:33:57,880 every company I could find that sells these sells them as tamper-proof. No tamper-resistant? No, 648 00:33:57,920 --> 00:34:01,400 maybe you can tamper it. Tamper-proof. Every company I can find. 649 00:34:02,380 --> 00:34:07,860 And so what it is, is on the top is unsealed, and so you pull the strap through, and then normally 650 00:34:07,860 --> 00:34:12,140 there's obviously the ball over this section, but there's rings clipped around each side. They don't 651 00:34:12,140 --> 00:34:16,460 go through, right? It's a ring like this, and it snaps together under, you know, the force. 652 00:34:17,360 --> 00:34:21,760 And when you push the strap through, it pushes the rings through, and they snap together 653 00:34:21,760 --> 00:34:26,520 when both sides can fit through the holes, and then you can't pull your strap out. 654 00:34:27,800 --> 00:34:31,480 So let's talk about, well, how can we defeat this? Because this is a pretty complicated lock. 655 00:34:32,380 --> 00:34:37,560 It's simple in design, but how do we defeat it, right? So to defeat it by, you know, so-called 656 00:34:37,560 --> 00:34:42,260 picking, we'd have to rotate the rings back and spread each of them to get the strap out. So that's 657 00:34:42,260 --> 00:34:47,960 pretty hard, and, you know, there's some in the contest area you could look at. It's a very small 658 00:34:47,960 --> 00:34:52,300 little area that you have to work with, and trying to rotate and spread in that area is very 659 00:34:52,300 --> 00:34:56,880 difficult. We could always try, you know, cutting the strap somewhere that they might not look at 660 00:34:56,880 --> 00:35:02,180 and repairing it. It'll probably fail the tug test, but maybe that's a basic 661 00:35:02,380 --> 00:35:06,880 feat you could try. And then what about, can we counterfeit it? Can we change the serial number? 662 00:35:07,000 --> 00:35:11,780 Can we take another one and re-serialize it? Can we make our own strap and then serialize that? 663 00:35:12,720 --> 00:35:16,980 These are all, you know, varying degrees of difficulty, but just think about that. 664 00:35:17,080 --> 00:35:25,460 What else can we do? Anybody? Ideas? Thoughts? Comments? Concerns? You guys are quiet. 665 00:35:27,740 --> 00:35:32,320 I'm sorry? You can manufacture the rings, but how do you get 666 00:35:32,380 --> 00:35:39,740 the rings in there apart? And how do you get new ones on? Because that bolt doesn't, or the ball 667 00:35:39,740 --> 00:35:49,440 doesn't come off even if you cut the rings. Ah. I'm sorry? Vibratory. No, that will not work, 668 00:35:49,460 --> 00:35:54,480 because you need to actually spread the rings. Nice try, though. Okay, so the defeat we came 669 00:35:54,480 --> 00:36:00,620 up with for this year's tamper contest is we made dies to recrim metal balls. So we get our target 670 00:36:00,620 --> 00:36:02,360 metal ball seal. We cut the ball off. We cut the ball off. We cut the ball off. We cut the ball off. 671 00:36:02,380 --> 00:36:07,320 We take two halves from other seals. We put them back on after we separate the rings and take it 672 00:36:07,320 --> 00:36:14,300 apart, put it on wherever it's supposed to go. And then we just recrimp it, right? So can you tell 673 00:36:14,300 --> 00:36:18,920 which of those photos has a tampered seal? Any of them? One, two, three of them? 674 00:36:22,860 --> 00:36:26,560 Well, I didn't tell the people at Black Hat, so I guess I can't tell you, but 675 00:36:27,200 --> 00:36:32,180 there's at least one of them that's been tampered with. It's difficult. And it's kind of a contrived 676 00:36:32,180 --> 00:36:32,360 thing. It's kind of a contrived thing. It's kind of a contrived thing. It's kind of a contrived 677 00:36:32,380 --> 00:36:36,040 thing, obviously, because you only see one view of the seals. But it's very difficult to tell. So 678 00:36:36,040 --> 00:36:42,580 think of this from arm's length. Very difficult to spot. The next seal we're going to talk about 679 00:36:42,580 --> 00:36:46,240 is a bolt seal. And we talked about this a little bit earlier. There's lots of different 680 00:36:46,240 --> 00:36:52,340 varieties. And, you know, do they serialize both the bolt and the body? Is the bolt all metal, 681 00:36:52,400 --> 00:36:57,860 or is it covered in plastic? And then they have various little anti-spin techniques. So here's 682 00:36:57,860 --> 00:37:01,960 what most of the insides look like. And there's two varieties. One uses a little clip, and one 683 00:37:01,960 --> 00:37:06,840 uses a ring. So this is an example of the clip one. It's just, you put your bolt through, and 684 00:37:06,840 --> 00:37:11,040 then the clip snaps around the head of the bolt, and then you can't pull it out. You can also see 685 00:37:11,040 --> 00:37:16,380 on the left, it has these flats to prevent you from twisting the bolt while it's in. You could 686 00:37:16,380 --> 00:37:19,920 twist it if you turn hard enough, but you'll chew up the plastic. And again, that'll leave 687 00:37:19,920 --> 00:37:27,120 evidence of tampering. So let's talk about some basic defeats for these. We could just cut part 688 00:37:27,120 --> 00:37:31,820 of it off, and then try and reseal it, and see how it works. Potentially difficult. It's 689 00:37:31,820 --> 00:37:39,620 easier on the all metal, or all metal bolts, but varying degrees of success. We could also 690 00:37:39,620 --> 00:37:44,960 drill and repair, or replace the bolt. So think, is that hard? It's pretty hard, depending on the 691 00:37:44,960 --> 00:37:48,840 bolt. Some, the ones that actually don't spin, probably a little easier, because you don't have 692 00:37:48,840 --> 00:37:53,420 to worry about the bolt moving around. But you just put a drill at an angle, which is a difficult 693 00:37:53,420 --> 00:37:57,820 thing in the first place, and you just go down there and hit the little ring, or the clip. 694 00:37:59,480 --> 00:38:01,780 Oh, well, I'll tell you about something we did this year. 695 00:38:01,820 --> 00:38:09,520 We had a Tamper O'Day. What we did was we made a custom little drill piece, and it just fit 696 00:38:09,520 --> 00:38:14,640 around the body of the bolt. And we put it on our drill, and it'd spin it. So we'd spin it, 697 00:38:14,680 --> 00:38:19,100 and while spinning it, we'd pull both sides. And doing so causes friction between the little clip 698 00:38:19,100 --> 00:38:25,440 and the bolt. And it slowly chews away the bolt and the clip until it can pop open. And on 699 00:38:26,440 --> 00:38:30,940 tamperevidentwiki.com, after the conference, you guys can see all of our documentation. There's 700 00:38:30,940 --> 00:38:31,800 some videos of us doing that. 701 00:38:31,820 --> 00:38:37,920 I think you just search DEF CON 19 tampering. Yeah, DEF CON 19 tampering, and you can see the 702 00:38:37,920 --> 00:38:43,700 video. And it works really quick, and it's pretty easy. And depending on the design of the bolt, 703 00:38:43,940 --> 00:38:50,260 it will leave no marks or little marks. And it's kind of a beta thing. We need to work on the 704 00:38:50,260 --> 00:38:54,600 design of the tool. But for now, it works really well, even though it leaves some marks on the 705 00:38:54,600 --> 00:38:57,880 body from just having to grab it. But we're working on it. 706 00:38:58,060 --> 00:39:01,520 So the next thing we're going to talk about are called crimps and wraps. So the first 707 00:39:01,820 --> 00:39:05,740 type are crimps that are similar to our mechanical seals. But essentially, they're little pieces of 708 00:39:05,740 --> 00:39:10,640 lead or aluminum that we squish. And usually, we squish them around a wire or something. So it's 709 00:39:10,640 --> 00:39:14,360 just a little frangible wire. And then you squish this piece over it. And then you can't separate 710 00:39:14,360 --> 00:39:20,220 the wire. So in this example, this little flag just gets rolled up over a wire. It's very tight, 711 00:39:20,280 --> 00:39:26,380 and it's hard to pull the wire out. Most of these basic types of crimps aren't serialized. So 712 00:39:26,380 --> 00:39:31,060 they're very easy to counterfeit if you have the same. In this picture, it has a USLC type thing. 713 00:39:32,040 --> 00:39:36,440 They're very easy to defeat if you have the same type of crimp or if you can replicate 714 00:39:36,440 --> 00:39:40,740 that type of effect. And there was a bunch of little crimps in this year's contest that 715 00:39:40,740 --> 00:39:41,360 everybody defeated. 716 00:39:41,820 --> 00:39:45,680 So here's an example of a squeeze crimp. So instead of the roll that just rolls that 717 00:39:45,680 --> 00:39:49,620 little flag up, you physically squeeze a little piece of lead or aluminum. And then you leave 718 00:39:49,620 --> 00:39:55,140 an imprint if your die has a little imprint. And these are kind of cool, because if you 719 00:39:55,140 --> 00:40:00,180 actually take the time to inspect them very thoroughly, then you can get a pretty good 720 00:40:00,180 --> 00:40:01,580 degree of anti-tampering out of them. 721 00:40:01,820 --> 00:40:05,780 So think every time you crimp one of these little pieces, it's going to deform in its own unique way. 722 00:40:06,000 --> 00:40:09,880 So if you take a really high resolution photograph of it, and then you inspect it in that same 723 00:40:10,340 --> 00:40:13,660 manner, then you could potentially detect alterations to it or replacement. 724 00:40:15,000 --> 00:40:19,560 There's a lot of lead seals in the contest this year. They're all defeated. I think we all basically 725 00:40:19,560 --> 00:40:26,160 use the same thing, where we clip the cable, and then we put it back in and crimped over it so that 726 00:40:26,160 --> 00:40:31,180 it's stuck again. But there's lots of different things you could do. And again, so think about how 727 00:40:31,180 --> 00:40:31,800 far you will crimp. 728 00:40:31,820 --> 00:40:35,700 Are you willing to go to detect tampering? Because it's obviously expensive the more you do and the farther 729 00:40:35,700 --> 00:40:41,160 you go. But are you willing to go that far? Think back to our example of Russia and the U.S. with the 730 00:40:41,160 --> 00:40:47,100 postcards. How much mail are you willing to censor or pass through this tampering to detect spies and 731 00:40:47,100 --> 00:40:47,760 all that kind of stuff? 732 00:40:50,080 --> 00:40:55,900 This is a photo of the seal crimping tool. It's just a basic little hand tool. There's these self-crimping 733 00:40:55,900 --> 00:40:59,660 seals that are pretty cool. And essentially they're the same thing. You thread a wire through the 734 00:40:59,660 --> 00:41:01,600 back, but you could just snap them together with your fingers. 735 00:41:02,580 --> 00:41:08,360 They suck pretty hard, actually. The ones that I found, at least. You can see on the right. That one's 736 00:41:08,360 --> 00:41:13,440 actually a fully locked thing. And you could just essentially put a little lockpick in there and push 737 00:41:13,440 --> 00:41:20,120 out the parts that need to be pushed out and reopen it. So this is something that's more familiar to 738 00:41:20,120 --> 00:41:29,700 you guys. And these are just little plastic wraps that fit around a lot of pharmaceuticals or food 739 00:41:29,700 --> 00:41:30,800 packages and that kind of stuff. 740 00:41:31,820 --> 00:41:36,480 They kind of have mixed effectiveness. A lot of people put these on their products just to say, I have a tamper seal on my 741 00:41:36,480 --> 00:41:43,520 product, with no eye to how good it is or how valuable it is to quality assurance and that kind of stuff. But the real 742 00:41:43,520 --> 00:41:51,100 question with this kind of stuff on food and pharmaceuticals is, what's your real goal? So is your goal to prevent 743 00:41:51,100 --> 00:41:56,040 replacement of the pills, replacement of the bottle? Is your goal to prevent people opening it and doing whatever 744 00:41:56,040 --> 00:42:01,540 they're going to do with full access? What if we just take a needle and inject some kind of doping agent onto the 745 00:42:01,540 --> 00:42:01,740 pill? 746 00:42:01,820 --> 00:42:07,800 Would that be detected? Because obviously, for the most part, you can bypass this little seal. Now again, we talk about 747 00:42:07,800 --> 00:42:14,020 defense in depth. For our normal bottles, we have all these layers of things that we have to go through to open it. But think of 748 00:42:14,020 --> 00:42:21,620 these things. Is that the right thing to do? A lot of these that are used aren't very good. And usually it's the design of the 749 00:42:21,620 --> 00:42:29,760 bottle. Like this kind of seal is similar. And if you just put this in boiling water or just very hot water, it'll loosen up the 750 00:42:29,760 --> 00:42:31,380 plastic and you can just go pry it open. 751 00:42:31,820 --> 00:42:58,140 And depending on the container, what's inside of it, you can just get one off full and then just put it back on at your leisure. And the same is somewhat true for these, although these little plastic ones are a bit more, heat affects them a lot more than these bigger plastic seals. But a lot of them, how many of you have ever bought a product where you just kind of wiggled it off and you got it off intact, right? Oh, he was just raising his hand. He didn't have a question. I'm tarted. Sorry. 752 00:42:59,560 --> 00:42:59,920 Okay. 753 00:43:00,720 --> 00:43:01,080 Okay. 754 00:43:01,460 --> 00:43:01,700 Okay. 755 00:43:01,800 --> 00:43:31,420 Think of the ones you couldn't take off. How far do you have to cut up this little seam to get it off? Probably not all the way, right? Usually very little, if any at all. So think how can we cut and repair that? And think, a lot of these are pretty easy to counterfeit because nobody really serializes them. So you could just, if you have another one, you rip this one off, put a new one on, and then heat it back up so it shrinks. So think, again, how far are you willing to go to detect hampering? Are you going to take photos of the exact pattern that your little plastic wrap seals on? 756 00:43:31,560 --> 00:43:31,780 Yeah. 757 00:43:31,800 --> 00:43:42,000 Whatever you're doing. As you get bigger and bigger, you know, think, like, huge companies, they can't afford to do this kind of detection. It's just a, well, we put a tamper seal on it because the law says we have to. 758 00:43:44,140 --> 00:43:59,400 The next and last thing we're going to talk about are adhesives. Adhesives are super popular for sealing a lot of stuff. Almost all the packages we get are sealed with some form of adhesive. And then you can also extend this to think about, you know, envelopes and that sort of stuff and the bank bags we talked about earlier. 759 00:43:59,400 --> 00:44:16,760 But adhesives are kind of, they're not very great. And one funny thing is that there's no standard for high-security tamper adhesives. There's one for mechanical seals, but I thought the funny thing was is that they don't actually test for tampering for this standard until 2012. 760 00:44:17,180 --> 00:44:24,840 So there's all these seals that say, you know, we're compliant, but it doesn't mean anything just yet because they haven't enforced this tamper-evident testing. 761 00:44:25,560 --> 00:44:27,980 So adhesives are kind of bad because they're misunderstood. 762 00:44:28,220 --> 00:44:29,180 A lot of companies think, 763 00:44:29,400 --> 00:44:34,540 you know, we just slap on a sticker, you know, on the back of your Xbox, and then you're great, you know. 764 00:44:35,040 --> 00:44:40,260 You know, all the morons in the world are just going to rip it off and they go, oh, damn, you know, I guess I can't stand it back now. 765 00:44:41,140 --> 00:44:44,080 But, you know, think of a more sophisticated attack, you know. 766 00:44:45,040 --> 00:44:48,940 Can we shim it? Can we just put, like, a piece of Coke can or wax paper and just get it up? 767 00:44:49,320 --> 00:44:52,480 You know, will heat help us get that off? 768 00:44:52,860 --> 00:44:56,580 Water, steam, solvents, temperature, again, both hot and cold. 769 00:44:57,080 --> 00:44:58,760 And then also there's always counterfeiting. 770 00:44:58,760 --> 00:45:07,900 There was a funny situation earlier where they were judging the tamper contest, and they said, you know, when you apply this tape, because, you know, the goal of the contest is to lift the tapes and put them back down. 771 00:45:08,040 --> 00:45:09,920 They said, you know, did you get dust on here? 772 00:45:10,200 --> 00:45:13,220 And I go, no, when you use this roll, that's just how it looks. 773 00:45:13,260 --> 00:45:14,440 And they didn't like that at all. 774 00:45:14,760 --> 00:45:23,180 But we actually have dreams of one day giving back two boxes for our tamper contest because we can counterfeit so much of it that we could just duplicate it. 775 00:45:24,780 --> 00:45:28,060 But I'm told that's bad form, so we haven't done that yet. 776 00:45:31,300 --> 00:45:37,200 So the thing about this is that you can put whatever you want on a piece of tape, but that doesn't make it any better than a piece of tape. 777 00:45:37,500 --> 00:45:41,220 So this is an example called tamper-evident tape, and it's tape. 778 00:45:43,460 --> 00:45:45,800 And it's not very good at being tamper-evident. 779 00:45:45,960 --> 00:45:51,360 Now, the main feature of this is that if you cut it, you know, think again to our targeted example. 780 00:45:51,640 --> 00:45:57,420 If you just take your knife and you slice it open, it's going to be very difficult to realign all these little lines so that they look right. 781 00:45:57,580 --> 00:45:58,460 But again, why? 782 00:45:58,760 --> 00:46:08,200 Why do that when you could just put acetone or isopropyl or any of these things that you could buy in your local drug or hardware store or pharmacy to lift the tape? 783 00:46:09,460 --> 00:46:13,380 So the real questions are, you know, when you look at an adhesive, is it serialized? 784 00:46:13,520 --> 00:46:14,460 What's it applied to? 785 00:46:14,660 --> 00:46:15,460 Is it on wood? 786 00:46:15,580 --> 00:46:16,260 Is it on plastic? 787 00:46:16,320 --> 00:46:16,900 Is it on metal? 788 00:46:17,120 --> 00:46:18,100 Is it on paper? 789 00:46:18,300 --> 00:46:20,340 Because all these things depend how well it's going to adhere. 790 00:46:20,900 --> 00:46:23,880 And then you've got to think, you know, what type of material is the adhesive? 791 00:46:24,000 --> 00:46:24,440 The backing? 792 00:46:24,620 --> 00:46:27,960 You know, tapes are a combination of a backing, so like your little plastic layer. 793 00:46:29,180 --> 00:46:30,000 And then you've got to think, you know, what type of material is the adhesive under it? 794 00:46:30,060 --> 00:46:36,640 So you combine that with whatever you're sticking it to is going to determine how well it sticks and how long you need to leave it before it sticks. 795 00:46:36,820 --> 00:46:38,320 Because think about a big company. 796 00:46:38,440 --> 00:46:39,200 You're a shipping company. 797 00:46:39,420 --> 00:46:40,660 You get an order in. 798 00:46:40,720 --> 00:46:43,520 You want to get that out as fast as possible so that customers are satisfied. 799 00:46:43,860 --> 00:46:46,440 So you slap tape on it, and then you send it out right away. 800 00:46:46,660 --> 00:46:48,280 Well, that tape hasn't had time to cure. 801 00:46:48,500 --> 00:46:50,400 So it's going to be a lot less resistant to attack. 802 00:46:50,600 --> 00:46:55,940 So think about how do you integrate all this kind of information into making a more secure tamper-evident system? 803 00:46:57,000 --> 00:46:58,660 And then you've got to think, well, what type of? 804 00:46:58,760 --> 00:47:00,320 Residue, if any, does the tape leave behind? 805 00:47:00,400 --> 00:47:03,400 How much do you really need to remove to open whatever it is you're working on? 806 00:47:03,720 --> 00:47:06,660 Because the answer is generally never all of it. 807 00:47:06,820 --> 00:47:11,000 Almost very rarely you have to remove the entire piece of tape, right? 808 00:47:12,560 --> 00:47:17,380 So the two things we have, and we'll just talk, we'll go right into them, is full residue tamper tape. 809 00:47:17,500 --> 00:47:22,380 And that's where if you pull the tape up, you know, if you just physically force it up, it'll leave behind a residue. 810 00:47:22,600 --> 00:47:25,320 And that residue will be the full width of the tape. 811 00:47:25,420 --> 00:47:28,340 So you can see here, there's a little residue all the way to the bottom. 812 00:47:28,760 --> 00:47:32,240 And then a partial residue tape will only leave a certain imprint. 813 00:47:32,520 --> 00:47:38,580 There's also what's called no residue tape, where when you pull it up, it doesn't leave anything behind on the substrate, but it voids itself. 814 00:47:38,820 --> 00:47:42,620 So the tape now says void or whatever, in the same way that this leaves behind residue. 815 00:47:44,420 --> 00:47:50,380 So let's talk about solvents, because solvents are probably one of my favorite aspects of adhesives, 816 00:47:50,380 --> 00:47:52,920 even though I never paid attention in chemistry in school. 817 00:47:55,440 --> 00:47:57,360 So let's think about common solvents. 818 00:47:57,800 --> 00:47:58,240 Acetone. 819 00:47:58,240 --> 00:47:58,940 Acetone, isopropyl. 820 00:47:59,800 --> 00:48:02,620 Carbon tetrachloride is funny, because the CIA used to love it. 821 00:48:02,740 --> 00:48:03,620 I don't know if they still do. 822 00:48:03,720 --> 00:48:05,640 I'm actually not with the CIA, if you hadn't noticed. 823 00:48:07,700 --> 00:48:08,780 But, yeah, food. 824 00:48:10,360 --> 00:48:11,960 But it's extremely dangerous. 825 00:48:12,160 --> 00:48:13,960 So we don't really use it for the contests. 826 00:48:14,140 --> 00:48:17,420 And I think it might even be illegal in a lot of the nearby states. 827 00:48:17,660 --> 00:48:20,600 But it's actually extremely effective at lifting a lot of adhesives. 828 00:48:21,160 --> 00:48:25,220 Methyl ethyl ketone is pretty strong, but it could be useful for some stuff. 829 00:48:25,520 --> 00:48:27,580 And then pretty much the sky's the limit. 830 00:48:28,260 --> 00:48:30,360 Any type of solvent will probably work on something. 831 00:48:31,420 --> 00:48:34,900 Again, it depends on your backing, depends on your adhesive, depends on your substrate. 832 00:48:35,420 --> 00:48:36,440 All this kind of stuff. 833 00:48:36,980 --> 00:48:38,940 And so literally the sky's the limit. 834 00:48:39,020 --> 00:48:40,680 There's huge amounts of solvents you could pick from. 835 00:48:41,240 --> 00:48:43,320 I did a black hat teaser talk for the training, 836 00:48:43,500 --> 00:48:46,680 and I didn't want to show a solvent in it, because I wanted it for the contest. 837 00:48:46,780 --> 00:48:47,400 I wanted it to be a secret. 838 00:48:47,560 --> 00:48:49,320 So I replaced it with aromatic bitters. 839 00:48:49,600 --> 00:48:51,020 So my goal was to... 840 00:48:51,020 --> 00:48:52,540 No, no, no, I thought this out. 841 00:48:52,640 --> 00:48:57,880 My goal was to identify all the bad teams by whether or not they added aromatic bitters to their kit. 842 00:49:00,100 --> 00:49:02,280 So think about how do we inspect adhesives? 843 00:49:02,280 --> 00:49:05,000 Because adhesives and envelopes and that kind of stuff, 844 00:49:05,160 --> 00:49:08,760 we generally have more of a drive. 845 00:49:08,920 --> 00:49:11,620 When we see them, we can tell if it's been tampered with or not. 846 00:49:11,820 --> 00:49:16,520 So we look for cuts or tears or wrinkles, any distortion, if it has lettering. 847 00:49:16,940 --> 00:49:19,400 We also want to look at, has it changed place? 848 00:49:19,660 --> 00:49:22,080 Again, how far are you willing to go to look at this kind of stuff? 849 00:49:22,680 --> 00:49:24,120 Is the texture of it different? 850 00:49:24,220 --> 00:49:25,140 Is the gloss different? 851 00:49:25,480 --> 00:49:27,960 When you peel it up, is the adhesive the same strength? 852 00:49:28,240 --> 00:49:30,280 If it's supposed to leave a residue, does it? 853 00:49:30,320 --> 00:49:31,260 Does it leave it properly? 854 00:49:31,540 --> 00:49:32,300 Has it been altered? 855 00:49:33,300 --> 00:49:34,400 So there's lots of stuff. 856 00:49:34,600 --> 00:49:39,180 The bad part about solvents is that if you use the wrong one, you're probably screwed. 857 00:49:39,580 --> 00:49:42,240 So this is just an example of a ruined tape. 858 00:49:42,420 --> 00:49:45,700 And you can see it just basically dissolves and leaves the security pattern behind. 859 00:49:46,180 --> 00:49:49,780 And if we look at this again, you can see it even flared out to the sides here. 860 00:49:49,840 --> 00:49:50,940 So it's all covered in blue ink. 861 00:49:52,520 --> 00:49:56,660 If you use heat, if you use too much heat, it's pretty easy to ruin a lot of adhesives. 862 00:49:57,260 --> 00:49:58,220 So here's an example. 863 00:50:00,080 --> 00:50:05,180 One thing that a lot of solvents do is that they affect the gloss of the tape itself. 864 00:50:05,680 --> 00:50:09,540 Because generally speaking, you don't want to put the adhesive on top of the backing. 865 00:50:10,260 --> 00:50:12,760 You want it between whatever it's stuck to and the adhesive. 866 00:50:13,420 --> 00:50:15,740 Because it doesn't really do you any good to have it on top of it, 867 00:50:15,780 --> 00:50:17,360 because that's not what's holding it there. 868 00:50:17,680 --> 00:50:22,540 So if you get it on top, you might change the actual texture or gloss of the backing itself. 869 00:50:23,440 --> 00:50:26,980 You can also look even as far as you want to get into this. 870 00:50:27,200 --> 00:50:28,100 To look at, you know, 871 00:50:28,240 --> 00:50:29,380 is it actually stuck? 872 00:50:29,500 --> 00:50:30,920 And when you peel it, does it feel the same? 873 00:50:30,980 --> 00:50:31,700 Does it look the same? 874 00:50:34,000 --> 00:50:35,880 So, again, here's another example of heat 875 00:50:36,380 --> 00:50:38,640 with all the letters are all distorted and smeared. 876 00:50:39,580 --> 00:50:40,480 Big bubble marks. 877 00:50:43,560 --> 00:50:44,780 Let's say you use solvent. 878 00:50:44,880 --> 00:50:47,360 And the solvent lifts the tape, but it damages the adhesive. 879 00:50:47,500 --> 00:50:48,620 So the adhesive doesn't work right. 880 00:50:48,800 --> 00:50:50,660 So you've got to add new adhesive, right? 881 00:50:50,740 --> 00:50:51,520 If you want it to look right. 882 00:50:52,140 --> 00:50:53,800 Pretty difficult to do. 883 00:50:54,080 --> 00:50:57,980 And you can see here's a photo of glue being stuck. 884 00:50:58,240 --> 00:51:00,700 And it's kind of around the edges from it being resealed. 885 00:51:01,360 --> 00:51:03,580 Here's an example of an aerosol adhesive. 886 00:51:03,980 --> 00:51:07,200 So when you use aerosol, it's a combination of whatever the sticky stuff is 887 00:51:07,200 --> 00:51:09,440 and the propellant that actually makes it spray out. 888 00:51:10,700 --> 00:51:14,580 And here's a photo of all those little particles on the tape itself. 889 00:51:15,000 --> 00:51:18,240 And so that's obviously not normal, because that's not how normal adhesives come. 890 00:51:20,520 --> 00:51:25,460 So, the things I want you to take away from this talk are that there's lots more seals. 891 00:51:25,560 --> 00:51:27,300 There's hundreds of types of seals out there. 892 00:51:27,300 --> 00:51:30,760 And little design variants that make certain attacks better or worse. 893 00:51:31,760 --> 00:51:34,120 There's always room to improve your methods of defeat. 894 00:51:34,180 --> 00:51:35,120 Everyone's leaving, jeez. 895 00:51:35,820 --> 00:51:38,000 And so how do we improve our defeats? 896 00:51:38,080 --> 00:51:42,260 How do we improve, more importantly, our installation, our storage, our inspection methods? 897 00:51:42,600 --> 00:51:44,840 Because at the end of the day, you don't need to beat the tamper seal. 898 00:51:45,120 --> 00:51:46,660 You need to beat the people looking at them. 899 00:51:46,860 --> 00:51:49,140 And that's generally a much easier thing to do. 900 00:51:50,060 --> 00:51:52,960 And how do you integrate all this into, you know, whatever your business is? 901 00:51:53,080 --> 00:51:56,360 So don't think that you could just slap a sticker on and then it's going to work. 902 00:51:56,800 --> 00:51:57,280 The whole idea is that you're going to have a lot of people looking at you. 903 00:51:57,300 --> 00:52:05,600 And the hard part about it is that unless you're crazy like me, it's hard to evaluate seals, you know, CLA versus CLB and determine which one's better. 904 00:52:05,900 --> 00:52:10,060 And there's no real information on the Internet about how to do this. 905 00:52:10,240 --> 00:52:18,120 So that's one of the goals of the contest that DT's running is starting this year, all the documentation will be a public wiki every year for the contest. 906 00:52:18,380 --> 00:52:23,520 So we do all our defeats, we type it up, and then once DEF CON's over, it all gets published to the Internet. 907 00:52:23,680 --> 00:52:26,240 So you can look up, you know, this seal. 908 00:52:26,240 --> 00:52:27,800 Was this used in the contest? 909 00:52:27,920 --> 00:52:28,840 How did people defeat it? 910 00:52:29,020 --> 00:52:33,160 And what are ways that we can make it better, that we can use it better in our business? 911 00:52:34,940 --> 00:52:36,980 So I want to thank you all for coming. 912 00:52:37,040 --> 00:52:37,680 Are there any questions?