start	end	text
0	5660	Hi, sorry for the setup issues.
7620	15220	This is my talk about psychic paper. It's how to use e-ink displays and also e-paper
15760	27540	displays to fake the front of identification badges and also discussion about the two or three
28220	40080	e-ink systems that are pre-made from suppliers and how they have lax security and unusual sign-up.
40620	45180	My handler is Zitobibi Gong. I'm a frequent of the DEF CON Discord.
48540	55180	A lot more about who I am. I have 11 years of experience in the software industry.
55700	62500	This is a hobby project and this is not related to my employer. I've actually had to add that
63180	68600	to my presentations because people think that they're too advanced to actually not be related
68600	76240	to my hobby. So what is this talk about? This talk is about the application of two
76880	86640	to three-color e-ink displays and also a design prototype of a five-color e-ink display
86640	98300	that would be much more effective in red teaming and or physical red teaming and social engineering.
99360	106220	Anecdotally, I talked to the person at DEF CON and they were able to replicate someone's badge
106860	115380	by looking for a high-resolution picture, copy and pasting it into an image editor,
115380	123660	and then printing it out. This system, while having a lower resolution, could be done in real-time
124220	135160	and also it could be replaced real-time too and combined with RFID knowledge that has been done
135160	143280	in many DEF CON talks, you could basically clone an entire employee ID badge or physical access
143280	155920	badge that uses RFID and or other technologies like MIFID and so forth. So first, we're going
155920	163660	to go through three-color e-ink displays. These can be found on Amazon and Alibaba. They're very
163660	170720	easy to source. They are much durable than the research prototype I have. They are reprogrammable
171300	178920	and they have a weird way that you have to program them. So this is the nice pictures
178920	188800	from Amazon that they put and on the upper right side that's the real thing.
189760	198200	A good idea to understand the difference between e-ink, e-paper, and traditional display technologies
198200	207100	or not really traditional but light emissive versus non-light emissive. So non-light emissive
207100	221120	technologies require power and they require the emission of light, OLED, LCD, and so forth.
222080	230040	By that nature, the obvious emission of light requires thermodynamically, you need a power
230040	237060	source. On e-ink and or e-paper, e-ink is trademarked, so e-ink TM,
238500	244180	it's an electromechanical device. And what does that mean? Electromechanical devices
244180	256300	are devices that literally just move by an electric charge and then stop. Because they stop,
256300	268560	they cannot acquire a power source after programming. I talked with someone
269110	275940	in a previous talk I gave at another conference and they told me that they had
277320	283620	a 12-year-old e-ink or e-paper device with the image
284960	295580	for that long and there was no image degradation. But why I call this three-color is that technically
295580	302200	there are three colors. There is white, red, and black. Now the other difference between e-paper
302200	310920	and other light emissive such as LED and OLED is that because this is electromechanical,
310920	319900	you technically have three colors. And it's not RGB, it's white-ish, black, and red.
319900	326800	You can see this. And also if you had a Kindle, it's pretty obvious that white is not white-ish
326800	334420	also. Even in the picture, you can see what true white is and white. So that's a big thing
334420	363470	to consider. So this is a demo. It was on Amazon about just a two-color. As you can see the housing
363470	379200	too. That will be important in the five-color prototype. So you could basically remake this,
379200	384160	especially if they use only a QR code to authenticate people by just getting the
384160	392620	data off the QR code and then using the e-ink or e-paper programmer and then scanning it.
397820	406260	So some types of the suppliers are the software is made by Hippo Inc. or Hypo Inc. I'm not sure
406260	416200	how to pronounce that. The APK must be downloaded from Hong Kong IP addresses or you have to be
416200	424120	there. There's the active version that is also $100. The non-active version is around $40.
424120	432140	The active version has a button and a USB-C, possibly to reprogram, but it's pretty obvious
432140	439400	that they have to have some kind of battery to do that. But both need phones to connect to.
439960	445740	The higher priced one uses an iOS device, but I'm only going to really show the Android one.
447420	452660	So this is more an expanded on how to reprogram those three colors. You need a Hong Kong IP
452660	461320	address. Use a VPN too. Volvad seems to work. You must silo the APK. You still must be using
462220	469400	Hong Kong IP address to download the APK. Also, they have a link. You must create the login,
469400	475400	still using the VPN. It has this weird setup. You use cross email, you set up a password,
475400	486240	and then you have a pseudo two-factor that's emailed to you. Then you can upload the badge.
489380	499460	The cards have 125 kilohertz NFC on it. The important part is, I believe, like aluminum tape
499460	507380	or just to remove it if you want to use any other RFID technology, so you don't want to
507940	520220	confuse the RFID or NFC sensor. The passive ones also uses NFC to reprogram,
520220	526300	so I suggest putting on the back or just put it in your pocket.
528380	532400	Now I'm going to go into more of the prototype design I made.
532400	540400	So this is the more interesting part. It was not in the talk description, but I mean,
541120	552200	why not? So as you can see on the right, there is a ePaper ESP32 circuit board. It then connects
552200	559200	to the ePaper device. You can see that the fidelity is much better. The white is still
559200	572040	off-white, but it's much more high resolution. Also, the purple part is the bezel. The orange
572040	580760	part is the physical display connector. The middle part is a shim that they do where it
580760	589440	takes one connector and adds it to another. The middle part is part of the programmer.
589800	600580	There is also a Raspberry Pi hat. In the future, if I were to redo it, I would have
601140	604960	done it that way. This programmer has either
610180	617500	unreliable behavior, or when I've unplugged and plugged the orange part, it breaks my programming.
617800	624500	So I have to do more research on that, but you could also do it as a one-and-done engagement
624500	632480	anyways. The person who I talked about doing the physical engagement when he printed it out,
632480	637640	he said he used it for the full engagement and nobody noticed for a month. So this is a more
637640	645000	high fidelity that nobody looks at, but you can also do active programming by going in from one
645760	651980	security, taking a picture about somebody else's picture with higher level clearance,
651980	663980	reprogramming, and so forth. And this is the most important part and most technical part of it.
664260	675110	I had to find a wallet that would cover the bezel. You see this bezel? I did find a wallet.
689880	694390	This is on Amazon. This is not an ad for the wallet,
695070	699990	but you can, I don't know if you can see that this well, but it covers the bezel.
701710	712030	And number two is your friend is also called double-sided tape. And why does that matter?
712370	718670	You want this to generally be in place so that the bezel scene is minimized, because people
718670	725370	might notice the purple part and also you don't want it fall out. I would also recommend
726330	732890	to use that so it doesn't fall out either, although it's pretty tight if you don't cut anything.
734630	744490	But yeah, double-sided tape is really important. Measuring the bezels was annoying
745110	757790	because this is in inches and the display prototype or the display I'm using is in metric,
757790	767790	so millimeters. So the affected display that you have to program makes this 40 by 400.
768130	775110	There are five colors in display which increases the fidelity. This is, since it's more do-it-yourself,
775110	781670	makes it more fragile. The RFID and NFC component can be separate. There are two
781670	786110	ways that you can integrate it. One, cut the back of the display, I mean back of the wallet,
787550	797510	paste an RFID device or anything inside, remove the RFID shielding, because this one is shielding.
797510	803950	I couldn't find one without shielding, and put it inside. Another way would be to take a picture
803950	811270	of the back of the wallet, make a sticker on Sticker Mule, and then use double-sided tape
811270	822730	on the RFID device and then put the sticker on top of that. So this is sort of a basic
823350	835570	summary of the steps to do. You could also make your own lanyard. I actually think if I
835570	844390	wanted to make a less prototype, or more like a release version, would be for me to replicate
846770	857290	this white design and 3D print it, and then add Bluetooth programming or something else.
858010	866470	And maybe also add the NFC holder on the back.
868670	878870	So the brand for the wallet I'm using is Cavaleo. It's a police-style badge.
878870	885830	I don't recommend using the other part because that's very illegal.
887290	895350	You can see the resolution of this e-paper device. It's wave share.
896210	906710	And then the HID card. You can either get these cards from online. You could get it by buying a
906710	915130	Proxmark. You could get one by forgetting to return your hotel badges. Depends. There are
915130	924370	two general frequencies, 125 kilohertz and 415 megahertz. But it really depends on the situation
925520	930930	on what you're doing. And programming is annoying.
931770	941830	ESP32 driver board. You can use a phone for the three-color. The five-color also has the ability
941830	953030	to do programming online. So it's sort of weird. The ESP32 has two ways to do online programming
953030	959530	through a website. One is a Bluetooth one that I couldn't get working. And two is the Wi-Fi one.
959530	967890	And the Wi-Fi one is extremely finicky. I look in console and if you do it, it crashes. It says
967890	973490	post does not work. And you have to do it in a specific order. If you do it in the wrong order,
973490	978670	you could have real problems. And I would like overwrite the driver board.
978670	982110	And this is why I don't want to use this driver board anymore.
983950	990370	And there are many upsides for the Raspberry Pi usage. There was
993630	1003390	a DEF CON talk where they did a real-time badge cloning of RFID. And they used Raspberry Pis,
1003390	1012610	which means that you could combine this into that talk. And then you wouldn't even need this
1012610	1023130	driver board. Waveshare also has a wiki. It's okay, but there are no alternative suppliers to
1024130	1033050	this. This is the best solution I've seen. 4.01 inches is really hard to find.
1033050	1040970	Also, the purpose of these E-Ink, or why they even exist, are for digital signage.
1041630	1055250	If you go to a Kohl's, they have a lot of... or a Best Buy, they have a lot of prices on
1055250	1060610	the walls and they use it to automatically change it and possibly rip you off more.
1063050	1068170	This is more about the driver board. It physically attaches. It connects to the
1068170	1075470	paper and it supports Bluetooth and Wi-Fi. Once you do programming, though, it's not needed.
1076330	1083650	So it could be a one-and-done engagement, really, considering how it is. It's very
1085350	1102110	inexpensive. It's below $40. How I recommend is, a smartphone should be able to write it
1102110	1111070	to the e-paper using the Wi-Fi, but the Wi-Fi setup has to be programmed specifically as a
1111070	1117090	static IP. I thought of doing a demo like that, but it would require too much overhead and also
1117090	1125650	Wi-Fi is spotty and I'd have to bring some kind of Wi-Fi divider. I also possibly, if you're going
1125650	1133010	to do this yourself, to add a metal plate. They're not expensive to do, just to make the wallet more
1133010	1141590	rigid because you can crack this quite easily by dropping it. So the aluminum would at least
1141590	1148230	make it more rigid. And believe the padding in the wallet gives you enough.
1149910	1153810	The badge reprogrammer is like a poxmark. You plug in the serial port. There's a lot
1153810	1159150	of tutorials to do it. You should write the badge, read the badge from one, and then write
1159150	1164290	and then put it. You could put it behind the prototype badge. That's a more advanced thing
1164290	1170490	than emulating, but the top three would be. And by putting in, I mean, putting in behind
1170490	1177390	the prototyping badges, you put in the programmed RFID behind it or keep it on you. It depends on
1177390	1209670	how good you want to make it. So any questions? I believe it's white, red, black...
1215870	1224710	Oh, it's seven. Yeah, you can see it here. White, blue, green, red, black, yellow, orange.
1225890	1244870	It's the spinner. The bill of materials, if you were to redo this, would be
1246830	1257550	the e-paper display is around $30 or $40. The wallet is another $30. The programmer is
1259450	1274670	another $20. So around $200. It depends on how you're doing the RFID reprogramming.
1275030	1284470	You can use a poxmark. On the other hand, if you're doing a physical one,
1284470	1289430	you could just take somebody's and use the double-sided tape and the other sticker I alluded to.
1297370	1306030	I can't hear what you say. Software side of what?
1315300	1318920	It's an Arduino sketch that you get.
1319600	1334490	It's an Arduino sketch that is given to you by Waveshare. Do not use Arduino IDE.
1335170	1344510	Use the previous. The Arduino IDE have had problems. Using a Mac has problems.
1345290	1351130	Using a window machine was the only way I could get it to work. It has this weird...
1354450	1359690	When I program it, even though it'll verify and it shows up in tools...
1359690	1377970	And here's what I was alluding to. You can see how janky this is.
1378870	1386910	You have to program the SSD password. Static IP, gateway, subnet, DNS to connect to Wi-Fi.
1388070	1394930	What I think was cool or funny was they also programmed the whole HTML website here.
1397010	1404830	That's how they get the ESP32 to work. So it's not a server, it's a client.
1405890	1416310	Server.h is this website serving. Server.h means to connect to a server.
1416990	1421890	And then it displays this. I don't know why there's script A, B, C, and D.
1423710	1426930	There's a Bluetooth one too. I couldn't get that one to work.
1447830	1455910	You can see there's... It's probably hard to see, but it says you have to also use the board
1455910	1463650	ESP2 dev module. So that means that you have to be connected to the internet to get the module
1463650	1472110	parameters or setup because Arduino does not come with that by default. And what I meant by
1472110	1480330	the Arduino version, so this is 1.8.29. So Arduino forks themselves
1482090	1488030	by the ID where they have an Arduino IDE and they have the Arduino
1489810	1498530	regular system or programming system, not IDE. When I tried programming with the
1499870	1507510	traditional IDE, I had lots of problems to the point where I just reverted.
1533970	1539950	So this is the three-color dispatch being programmed.
1552290	1555810	This is where there was an issue when I was programming it when...
1556510	1563870	This is me tapping it properly to... You can just... It'll cut. So this is... So you can see
1565230	1574720	sort of the interface. And see, this is my face when you have only three colors.
1575300	1581860	This is the logo I made that is in the tool. I plan on trying to make a tool that's integrated
1581860	1591420	to the point where it will be... Try to do the USB programming directly
1591420	1596460	and or hosted by the Raspberry Pi hat
1597290	1602570	to try to integrate a lot of the difficulties I had with the traditional programmers.
1603370	1605410	It's about time. Time?
1606110	1608910	Thanks, everybody, for coming to this talk.
