WEBVTT

00:00.000 --> 00:05.660
Hi, sorry for the setup issues.

00:07.620 --> 00:10.780
This is my talk about psychic paper.

00:10.780 --> 00:40.080
It's how to use e-ink displays and also e-paper displays to fake the front of identification badges and also discussion about the two or three e-ink systems that are pre-made from suppliers and how they have lax security and unusual sign-up.

00:40.620 --> 00:42.440
My handler is Zitobibi Gong.

00:42.440 --> 00:45.180
I'm a frequent of the DEF CON Discord.

00:48.540 --> 00:51.100
A lot more about who I am.

00:51.100 --> 00:55.180
I have 11 years of experience in the software industry.

00:55.700 --> 01:00.640
This is a hobby project and this is not related to my employer.

01:01.240 --> 01:09.860
I've actually had to add that to my presentations because people think that they're too advanced to actually not be related to my hobby.

01:10.640 --> 01:12.700
So what is this talk about?

01:12.700 --> 01:38.300
This talk is about the application of two to three-color e-ink displays and also a design prototype of a five-color e-ink display that would be much more effective in red teaming and or physical red teaming and social engineering.

01:39.360 --> 01:57.200
Anecdotally, I talked to the person at DEF CON and they were able to replicate someone's badge by looking for a high-resolution picture, copy and pasting it into an image editor, and then printing it out.

01:57.200 --> 02:34.460
This system, while having a lower resolution, could be done in real-time and also it could be replaced real-time too and combined with RFID knowledge that has been done in many DEF CON talks, you could basically clone an entire employee ID badge or physical access badge that uses RFID and or other technologies like MIFID and so forth.

02:34.780 --> 02:38.780
So first, we're going to go through three-color e-ink displays.

02:38.780 --> 02:43.220
These can be found on Amazon and Alibaba.

02:43.220 --> 02:45.580
They're very easy to source.

02:45.580 --> 02:49.420
They are much durable than the research prototype I have.

02:49.420 --> 02:55.500
They are reprogrammable and they have a weird way that you have to program them.

02:56.340 --> 03:08.800
So this is the nice pictures from Amazon that they put and on the upper right side that's the real thing.

03:09.760 --> 03:25.080
A good idea to understand the difference between e-ink, e-paper, and traditional display technologies or not really traditional but light emissive versus non-light emissive.

03:25.080 --> 03:41.120
So non-light emissive technologies require power and they require the emission of light, OLED, LCD, and so forth.

03:42.080 --> 03:51.220
By that nature, the obvious emission of light requires thermodynamically, you need a power source.

03:51.480 --> 04:01.440
On e-ink and or e-paper, e-ink is trademarked, so e-ink TM, it's an electromechanical device.

04:01.440 --> 04:02.320
And what does that mean?

04:02.760 --> 04:13.500
Electromechanical devices are devices that literally just move by an electric charge and then stop.

04:13.500 --> 04:25.140
Because they stop, they cannot acquire a power source after programming.

04:26.060 --> 04:48.500
I talked with someone in a previous talk I gave at another conference and they told me that they had a 12-year-old e-ink or e-paper device with the image for that long and there was no image degradation.

04:51.480 --> 04:57.140
But why I call this three-color is that technically there are three colors.

04:57.140 --> 05:00.040
There is white, red, and black.

05:00.040 --> 05:12.820
Now the other difference between e-paper and other light emissive such as LED and OLED is that because this is electromechanical, you technically have three colors.

05:12.820 --> 05:19.900
And it's not RGB, it's white-ish, black, and red.

05:19.900 --> 05:21.820
You can see this.

05:21.820 --> 05:27.340
And also if you had a Kindle, it's pretty obvious that white is not white-ish also.

05:27.440 --> 05:31.580
Even in the picture, you can see what true white is and white.

05:32.980 --> 05:35.620
So that's a big thing to consider.

05:38.640 --> 05:41.740
So this is a demo.

05:41.900 --> 05:45.720
It was on Amazon about just a two-color.

06:01.390 --> 06:04.550
As you can see the housing too.

06:05.110 --> 06:08.750
That will be important in the five-color prototype.

06:15.360 --> 06:32.620
So you could basically remake this, especially if they use only a QR code to authenticate people by just getting the data off the QR code and then using the e-ink or e-paper programmer and then scanning it.

06:37.820 --> 06:44.920
So some types of the suppliers are the software is made by Hippo Inc.

06:44.920 --> 06:45.840
or Hypo Inc.

06:45.840 --> 06:47.760
I'm not sure how to pronounce that.

06:48.240 --> 06:57.000
The APK must be downloaded from Hong Kong IP addresses or you have to be there.

06:57.200 --> 07:01.260
There's the active version that is also $100.

07:01.380 --> 07:04.120
The non-active version is around $40.

07:04.120 --> 07:14.900
The active version has a button and a USB-C, possibly to reprogram, but it's pretty obvious that they have to have some kind of battery to do that.

07:15.860 --> 07:19.400
But both need phones to connect to.

07:19.960 --> 07:25.740
The higher priced one uses an iOS device, but I'm only going to really show the Android one.

07:27.420 --> 07:31.540
So this is more an expanded on how to reprogram those three colors.

07:31.540 --> 07:33.500
You need a Hong Kong IP address.

07:33.500 --> 07:35.500
Use a VPN too.

07:35.920 --> 07:38.060
Volvad seems to work.

07:38.180 --> 07:39.900
You must silo the APK.

07:39.900 --> 07:45.280
You still must be using Hong Kong IP address to download the APK.

07:45.280 --> 07:47.280
Also, they have a link.

07:47.680 --> 07:51.040
You must create the login, still using the VPN.

07:51.040 --> 07:52.600
It has this weird setup.

07:52.600 --> 08:01.900
You use cross email, you set up a password, and then you have a pseudo two-factor that's emailed to you.

08:03.440 --> 08:06.240
Then you can upload the badge.

08:09.380 --> 08:15.600
The cards have 125 kilohertz NFC on it.

08:15.600 --> 08:34.400
The important part is, I believe, like aluminum tape or just to remove it if you want to use any other RFID technology, so you don't want to confuse the RFID or NFC sensor.

08:35.280 --> 08:46.300
The passive ones also uses NFC to reprogram, so I suggest putting on the back or just put it in your pocket.

08:48.380 --> 08:52.400
Now I'm going to go into more of the prototype design I made.

08:52.400 --> 08:55.160
So this is the more interesting part.

08:55.160 --> 09:02.640
It was not in the talk description, but I mean, why not?

09:03.120 --> 09:11.120
So as you can see on the right, there is a ePaper ESP32 circuit board.

09:11.120 --> 09:14.700
It then connects to the ePaper device.

09:14.820 --> 09:17.500
You can see that the fidelity is much better.

09:17.500 --> 09:24.760
The white is still off-white, but it's much more high resolution.

09:25.440 --> 09:31.420
Also, the purple part is the bezel.

09:31.420 --> 09:36.040
The orange part is the physical display connector.

09:36.040 --> 09:44.040
The middle part is a shim that they do where it takes one connector and adds it to another.

09:45.240 --> 09:49.440
The middle part is part of the programmer.

09:49.800 --> 09:55.980
There is also a Raspberry Pi hat.

09:56.660 --> 10:02.700
In the future, if I were to redo it, I would have done it that way.

10:02.700 --> 10:04.960
This programmer has either

10:10.180 --> 10:17.500
unreliable behavior, or when I've unplugged and plugged the orange part, it breaks my programming.

10:17.800 --> 10:25.600
So I have to do more research on that, but you could also do it as a one-and-done engagement anyways.

10:26.940 --> 10:36.120
The person who I talked about doing the physical engagement when he printed it out, he said he used it for the full engagement and nobody noticed for a month.

10:36.120 --> 10:53.880
So this is a more high fidelity that nobody looks at, but you can also do active programming by going in from one security, taking a picture about somebody else's picture with higher level clearance, reprogramming, and so forth.

10:57.080 --> 11:03.980
And this is the most important part and most technical part of it.

11:04.260 --> 11:09.480
I had to find a wallet that would cover the bezel.

11:10.860 --> 11:12.460
You see this bezel?

11:13.180 --> 11:15.110
I did find a wallet.

11:29.880 --> 11:31.900
This is on Amazon.

11:32.520 --> 11:39.990
This is not an ad for the wallet, but you can, I don't know if you can see that this well, but it covers the bezel.

11:41.710 --> 11:49.270
And number two is your friend is also called double-sided tape.

11:49.410 --> 11:52.030
And why does that matter?

11:52.370 --> 12:03.450
You want this to generally be in place so that the bezel scene is minimized, because people might notice the purple part and also you don't want it fall out.

12:03.450 --> 12:12.890
I would also recommend to use that so it doesn't fall out either, although it's pretty tight if you don't cut anything.

12:14.630 --> 12:21.150
But yeah, double-sided tape is really important.

12:21.770 --> 12:39.370
Measuring the bezels was annoying because this is in inches and the display prototype or the display I'm using is in metric, so millimeters.

12:43.550 --> 12:47.790
So the affected display that you have to program makes this 40 by 400.

12:48.130 --> 12:52.370
There are five colors in display which increases the fidelity.

12:52.430 --> 12:56.570
This is, since it's more do-it-yourself, makes it more fragile.

12:56.650 --> 13:00.670
The RFID and NFC component can be separate.

13:01.150 --> 13:02.990
There are two ways that you can integrate it.

13:02.990 --> 13:17.510
One, cut the back of the display, I mean back of the wallet, paste an RFID device or anything inside, remove the RFID shielding, because this one is shielding.

13:17.510 --> 13:22.030
I couldn't find one without shielding, and put it inside.

13:22.030 --> 13:35.590
Another way would be to take a picture of the back of the wallet, make a sticker on Sticker Mule, and then use double-sided tape on the RFID device and then put the sticker on top of that.

13:39.290 --> 13:45.770
So this is sort of a basic summary of the steps to do.

13:49.930 --> 13:52.750
You could also make your own lanyard.

13:52.750 --> 14:17.290
I actually think if I wanted to make a less prototype, or more like a release version, would be for me to replicate this white design and 3D print it, and then add Bluetooth programming or something else.

14:18.010 --> 14:26.470
And maybe also add the NFC holder on the back.

14:28.670 --> 14:34.970
So the brand for the wallet I'm using is Cavaleo.

14:35.170 --> 14:38.870
It's a police-style badge.

14:38.870 --> 14:45.830
I don't recommend using the other part because that's very illegal.

14:47.290 --> 14:52.910
You can see the resolution of this e-paper device.

14:52.910 --> 14:55.350
It's wave share.

14:56.210 --> 14:58.650
And then the HID card.

14:59.070 --> 15:04.450
You can either get these cards from online.

15:04.450 --> 15:07.470
You could get it by buying a Proxmark .

15:07.650 --> 15:12.170
You could get one by forgetting to return your hotel badges.

15:13.410 --> 15:14.690
Depends.

15:14.690 --> 15:22.630
There are two general frequencies, 125 kilohertz and 415 megahertz.

15:22.630 --> 15:27.710
But it really depends on the situation on what you're doing.

15:28.510 --> 15:30.930
And programming is annoying.

15:31.770 --> 15:33.690
ESP32 driver board.

15:33.690 --> 15:37.630
You can use a phone for the three-color.

15:38.350 --> 15:46.730
The five-color also has the ability to do programming online.

15:46.850 --> 15:49.450
So it's sort of weird.

15:49.570 --> 15:54.930
The ESP32 has two ways to do online programming through a website.

15:54.930 --> 15:57.950
One is a Bluetooth one that I couldn't get working.

15:57.950 --> 15:59.530
And two is the Wi-Fi one.

15:59.530 --> 16:02.190
And the Wi-Fi one is extremely finicky.

16:02.890 --> 16:07.430
I look in console and if you do it, it crashes.

16:07.430 --> 16:09.570
It says post does not work.

16:09.570 --> 16:11.750
And you have to do it in a specific order.

16:11.850 --> 16:15.830
If you do it in the wrong order, you could have real problems.

16:16.070 --> 16:18.670
And I would like overwrite the driver board.

16:18.670 --> 16:22.110
And this is why I don't want to use this driver board anymore.

16:23.950 --> 16:29.490
And there are many upsides for the Raspberry Pi usage.

16:29.790 --> 16:30.370
There was

16:33.630 --> 16:41.670
a DEF CON talk where they did a real-time badge cloning of RFID.

16:41.670 --> 16:50.250
And they used Raspberry Pis, which means that you could combine this into that talk.

16:50.270 --> 16:54.590
And then you wouldn't even need this driver board.

16:55.790 --> 16:58.150
Waveshare also has a wiki.

16:58.150 --> 17:04.750
It's okay, but there are no alternative suppliers to this.

17:04.750 --> 17:09.310
This is the best solution I've seen.

17:09.630 --> 17:13.050
4.01 inches is really hard to find.

17:13.050 --> 17:20.970
Also, the purpose of these E-Ink, or why they even exist, are for digital signage.

17:21.630 --> 17:40.610
If you go to a Kohl's, they have a lot of... or a Best Buy, they have a lot of prices on the walls and they use it to automatically change it and possibly rip you off more.

17:43.050 --> 17:45.710
This is more about the driver board.

17:46.050 --> 17:47.730
It physically attaches.

17:47.730 --> 17:52.090
It connects to the paper and it supports Bluetooth and Wi-Fi.

17:52.090 --> 17:55.470
Once you do programming, though, it's not needed.

17:56.330 --> 18:02.710
So it could be a one-and-done engagement, really, considering how it is.

18:02.710 --> 18:06.470
It's very inexpensive.

18:06.850 --> 18:08.290
It's below $40.

18:15.690 --> 18:32.030
How I recommend is, a smartphone should be able to write it to the e-paper using the Wi-Fi, but the Wi-Fi setup has to be programmed specifically as a static IP.

18:32.610 --> 18:42.330
I thought of doing a demo like that, but it would require too much overhead and also Wi-Fi is spotty and I'd have to bring some kind of Wi-Fi divider.

18:43.070 --> 18:47.810
I also possibly, if you're going to do this yourself, to add a metal plate.

18:47.810 --> 18:59.150
They're not expensive to do, just to make the wallet more rigid because you can crack this quite easily by dropping it.

18:59.490 --> 19:03.510
So the aluminum would at least make it more rigid.

19:04.550 --> 19:08.230
And believe the padding in the wallet gives you enough.

19:09.910 --> 19:12.390
The badge reprogrammer is like a poxmark.

19:12.390 --> 19:13.510
You plug in the serial port.

19:13.510 --> 19:15.330
There's a lot of tutorials to do it.

19:15.330 --> 19:20.250
You should write the badge, read the badge from one, and then write and then put it.

19:20.250 --> 19:22.450
You could put it behind the prototype badge.

19:23.070 --> 19:27.730
That's a more advanced thing than emulating, but the top three would be.

19:27.730 --> 19:36.530
And by putting in, I mean, putting in behind the prototyping badges, you put in the programmed RFID behind it or keep it on you.

19:36.530 --> 19:42.390
It depends on how good you want to make it.

19:44.090 --> 19:46.490
So any questions?

20:03.770 --> 20:09.670
I believe it's white, red, black...

20:15.870 --> 20:17.610
Oh, it's seven.

20:18.570 --> 20:20.210
Yeah, you can see it here.

20:20.210 --> 20:24.710
White, blue, green, red, black, yellow, orange.

20:25.890 --> 20:29.250
It's the spinner.

20:41.030 --> 20:50.470
The bill of materials, if you were to redo this, would be the e-paper display is around $30 or $40.

20:50.470 --> 20:54.850
The wallet is another $30.

20:55.050 --> 21:01.010
The programmer is another $20.

21:06.390 --> 21:08.670
So around $200.

21:10.610 --> 21:14.670
It depends on how you're doing the RFID reprogramming.

21:15.030 --> 21:16.770
You can use a poxmark.

21:17.970 --> 21:29.430
On the other hand, if you're doing a physical one, you could just take somebody's and use the double-sided tape and the other sticker I alluded to.

21:37.370 --> 21:40.630
I can't hear what you say.

21:44.150 --> 21:46.030
Software side of what?

21:55.300 --> 21:58.920
It's an Arduino sketch that you get.

21:59.600 --> 22:05.080
It's an Arduino sketch that is given to you by Waveshare.

22:11.600 --> 22:14.490
Do not use Arduino IDE.

22:15.170 --> 22:18.450
Use the previous.

22:20.250 --> 22:22.690
The Arduino IDE have had problems.

22:22.690 --> 22:24.510
Using a Mac has problems.

22:25.290 --> 22:29.850
Using a window machine was the only way I could get it to work.

22:30.150 --> 22:31.130
It has this weird...

22:34.450 --> 22:39.690
When I program it, even though it'll verify and it shows up in tools...

22:39.690 --> 22:45.800
And here's what I was alluding to.

22:54.350 --> 22:57.970
You can see how janky this is.

22:58.870 --> 23:01.610
You have to program the SSD password.

23:01.610 --> 23:06.910
Static IP, gateway, subnet, DNS to connect to Wi-Fi.

23:08.070 --> 23:14.930
What I think was cool or funny was they also programmed the whole HTML website here.

23:17.010 --> 23:22.150
That's how they get the ESP32 to work.

23:22.630 --> 23:24.830
So it's not a server, it's a client.

23:25.890 --> 23:32.710
Server.h is this website serving.

23:32.710 --> 23:36.310
Server.h means to connect to a server.

23:36.990 --> 23:38.630
And then it displays this.

23:38.770 --> 23:41.890
I don't know why there's script A, B, C, and D.

23:43.710 --> 23:45.350
There's a Bluetooth one too.

23:45.350 --> 23:46.930
I couldn't get that one to work.

24:07.830 --> 24:17.950
You can see there's... It's probably hard to see, but it says you have to also use the board ESP2 dev module.

24:18.090 --> 24:31.330
So that means that you have to be connected to the internet to get the module parameters or setup because Arduino does not come with that by default.

24:31.330 --> 24:38.290
And what I meant by the Arduino version, so this is 1.8.29.

24:38.290 --> 24:56.050
So Arduino forks themselves by the ID where they have an Arduino IDE and they have the Arduino regular system or programming system, not IDE.

24:56.050 --> 25:07.510
When I tried programming with the traditional IDE, I had lots of problems to the point where I just reverted.

25:33.970 --> 25:39.950
So this is the three-color dispatch being programmed.

25:52.290 --> 25:55.810
This is where there was an issue when I was programming it when...

25:56.510 --> 26:01.190
This is me tapping it properly to... You can just... It'll cut.

26:01.190 --> 26:07.130
So this is... So you can see sort of the interface.

26:10.680 --> 26:14.720
And see, this is my face when you have only three colors.

26:15.300 --> 26:19.240
This is the logo I made that is in the tool.

26:19.240 --> 26:42.570
I plan on trying to make a tool that's integrated to the point where it will be... Try to do the USB programming directly and or hosted by the Raspberry Pi hat to try to integrate a lot of the difficulties I had with the traditional programmers.

26:43.370 --> 26:44.650
It's about time.

26:44.650 --> 26:45.410
Time?

26:46.110 --> 26:48.910
Thanks, everybody, for coming to this talk.

