Hi, I'm AbleDamond and today's talk is on door sims. I hate traveling for conferences and you will find out why in this talk. First off, who am I? Some of you know me. Quite a few of you know me. This is me. I'm known for making a lot of stickers. I also talk a bit about physical security and stuff in Australia. RFID. Trying to, you know, just trying to be cool and all that. Want to be a cool hacker. And this was what it looked like when I tried to travel to a conference earlier in the year. All of this had to fit in a suitcase. So that's two physical access control systems. Mini doors. More mini doors. More RFID readers. Everything else. And I still had two suitcases and a big box to ship. And I said, this sucks. Simple problem. This is all expensive as fuck. Cost me like 900 bucks to buy an access control system. I don't want to do that. So let's make a new version of it that is less expensive. Easy to make. And, you know, fuck it. We're just going to make this for training and CTFs as well. Just because we can. Now, a quick acknowledgement of previous work. Two people have done really cool stuff with this in the past. And they're big inspirations for this. First off, we got RTA and their RFID door simulator. They mainly use it for, like, training at their courses. They never released it open source. It's really cool. I love it. But that screen is so tiny and I can't read it for the life of me. The other one, Tusk by Team Walrus. Mainly fish. Really cool thing with MaxiProx to try and get longer read ranges. They inspired me because they had this really cool user interface for a web and beautiful, beautiful start. So, with those out of the way, here's our key requirements. I wanted this to be open for everyone. You can have it, you can make it. It's going to be cheap, open source, and hackable. It has to be portable and self-contained. None of this extra box that you need to run it. It has to have a physical display and a web GUI. And it has to have a common RFID interface. WeGand, RS-485, and a modern power source. Because I've had enough of random barrel jacks, random connectors that I don't like. Simple run through. We're going to speed through it. ESP32 as a base. Really cheap, really inexpensive. Comes from the magical land of China. And very easy to program. And it's like $5. And I'm going to be a little bit fun here. Buying the dev board is like $9 cheaper than getting it pick and placed at a PCB assembly. So, me telling you to solder it in is saving you like $9. So, if your time is worth more than $9 for 10 minutes of soldering, your billable rates are better than mine. Now, displays. OLED sucks because it is small and hard to read. No one's made really cheap and inexpensive large OLEDs. Same with LEDs, but character displays. Character displays have been around for fucking ever. So, this is a 2004A. 20 characters, 4 lines, beautiful, readable. They're used in industrial systems for a reason. And they're cheap as hell. Power. We've got a little bit of stuff we have to contend with. We've got a 5V rail, 12V rail. We could make it a 3.3, RFID readers go up to 24. We need a solution, but let's just get the highest voltage out of the way. And we went with USB PD trigger boards. These, coming out of China, are like $1 each. You can plug them in, you can choose the voltage from 5, 12, 18, 24. Easy as anything. Super easy to bolt in. And if you've got a random power supply where you're like, I don't have the barrel jack for this or something, a USB PD solves that problem for you, makes your life easy. As long as you're not drawing, like, 3 amps, you'll be fine. And this is where we get to the fun part. This is called the speedrun any% to get on a no-fly list. This is what my first prototype looked like. It was just a bunch of perf boards, whacking everything together and just going, yeah, it's good enough. You know, I've got a screen, I've got everything looking in there. But here's the thing, it looked okay. And I got the reader to work and, you know, read data off of it. It's enough to say, we got the basics, right? And, you know, when I say it worked, I mean, you could whack a card on there, you'd get the data off of it. And, yeah, as I said, any% to the no-fly list. If you try and take this on a plane, do not do that. But, yeah, it works. And then, you know, do a little bit of 3D printing. We get a nice little thing. And it makes it less likely that you're going to get on a no-fly list because, you know, it has a nice little fitting thing on there. We'll be fine. This is where we get to the part that I suck at. PCB. Now, JBO PCB and EasyADA. Great integration. You can whack them together, send it off to the magical land of China, get it shipped on the longboat back for 45 days, and bam. You now have a PCB in your hand. Plugged in, worked, used an LDO. This will come back later as a fun little surprise for me. And it worked. Fit in a little electronic case. So, you know, it looks better. And this is where I remembered. An LDO does something fun. It takes a high voltage, makes it into a low voltage by converting the energy to thermal energy. Also known as, if you touch it, it is hot. And you will burn yourself very quickly unless you have a good ground plane. I did not have a good ground plane. So, we get to the second PCB revision. Slightly less bad. I started using squeeze terminals because I thought, eh, it looks better. Add a couple more components. And it kind of worked. It looked a little bit better. And now this is the part where I fucked up and called it alpha instead of version 3. Because I fucked my own naming schema. But switching it around, added screw terminals, added multiplexers so I can actually control the lights and the speakers. You know, you want to be cool. You want to have the lights. You want to have the fancy hacking. And, you know, it was good enough. It was fine. But, you know, so many fucking issues as well. This thing caused me a fucking nightmare of debugging and issues. And , oh, you do not want to get into it. But it had a lot of small quirks and I was like, you know, this sounds like a problem for that guy I do not like. Future me. So he can deal with it later. So I went to the fun part of 3D printing. So, instead of having to go down to a hobby shop, purchase like a box and everything, and do all that, I decided 3D print it, make it easy, assemblable, and make it so that you can send this to some manufacturer, get it printed for yourself, and it is done. And, you know, modeling it yourself you can do a few interesting things. Made it all FDM printable so you do not have to use some SLA printer because breathing in resin is not fun. And threaded inserts make it a little bit better than trying to screw into plastic, which is not fun. And pre-slicing the holes because I did not want to have to drill holes into plastic. And, you know, we got a couple of different revisions. So you can whack this on any type of reader that you have got because it will fit all these different generations. As a fun note, I have named them all different things. Good luck figuring out which one is which. All I will say is one of them is called Long Boy for a reason. Now, as a little fun aside, I am just going to add this. Entirely forgot about it. There is a mild slant on here to make the reading angle on the screen slightly better. It is annoying as hell for printing. And it caused me so many issues because I had to add an individual raft to the bottom. And added like an hour and a half of print time to every single print. But it looks slightly better so all of you can suffer with me to have that mild aesthetic. Anyway, now we get to the fun part where I started actually doing PCB properly. And, you know, we got a four layer PCB. That makes all of my vias and everything else way easier to map through. I do not have to worry about horrible trace routing. Four layers is simple. Add some nice silk screens. I had enough of the spring terminals because I kept having to squeeze a screwdriver in there to get something out. And then it would stab me in the hand. And after about 20 of those, I went, screw it, we are just using screw terminals. Because if I am dumb enough to do this, someone else who picks one up is going to do the exact same thing way more times. And one fun part about this revision. This is a cursed revision. Many people do not have this revision for a reason. I am pretty sure the only person I actually gave this revision specifically to was you, Iceman. Get scammed. There is an LDO that I used on it, which worked fine. But I put a diode in there that was not calculated for in the voltage drop. So instead of a 5 volt rail, you get a 4.3. Enjoy that. Your screen will be slightly dimmer. Outside of that, we have the 3.1 and 3.2. The only difference between these two is I added a screw terminal instead of having to hand solder the power in. And just some very tiny things that no one will ever notice. And this is the now public revision. You can go download this. It works great. And if you want to go poke at one, I will be down there later on. Come have a play. Now, we are going to get to fun parts of firmware. Firmware sucks. ChatGPT, thank you. Same with Copilot. You have saved me so many hours. And because I am lazy, I quite literally raw literal-ed a HTML page into this. Because I did not want to have to figure out how to dynamically do that. This is heavily based on TeamWorx's work on Tusk. Just because their implementation of Weagand was better than a lot of others. And their card decoding. And we had a couple of cool features in there. You have the ability to just read the card data instead of on a screen. On a nice little user interface. You can go onto a web access point, click on it, copy data. All of that. Now, as I said, a big part of this is... I made this not just for people who want to do training. But people who want to do CTFs and everything. So there is a built-in CTF mode where you can add authorized cards, unauthorized cards. And you can lock people out. And you can just have this board open and just click that card data. Hide it all away. So that people can see... Oh, I can see on the event logs I am not accessing it. But it is reading this card data. Or maybe you do not want to. Maybe you want your CTF participants to suffer. Either or. Up to you. I am not to judge. And, you know, you get some standard settings. You can modify CTF mode and demo mode on the fly from the web UI. You can make it so the Wi-Fi access point is hidden if you do not want people to try and join your Wi-Fi access point and steal all of the card data running on it. And, yeah, you can make the display go away. But here is the question. Did I actually, after all of this, stick to my goal of making this cheap, accessible, and open source? The answer is yes. The entire cost of this version of the DoorSim, which has no reader and a thing. It has got everything else you need, though. It is $30 USD. I am not selling it. Enjoy trying to get that made by JLBPCB and ordering all of the components yourself off AliExpress. But it is so easy to make. It is a fun little project if you want to just do soldering as well. Now, as a little extra aside, there is future project parts to finish here. Now, there is a sneaky little trick. I left GPIO ports on there. You can add a relay board directly to this. I just have not added it in the software yet. Future hardware revisions will probably have RS-485 and OSDP for communication protocols. So you can do different forms of readers. You can maybe add a whole string of readers if you want. PAX level rate limiting is in my dev branch of it that I have not pushed yet. But it works. And the UI needs to be changed from looking like the 1990s. At some point I will get around to that. Now, I am speed running through this talk at this stage. So I am just going to do the thanks real quick. Fish, fuck yeah. Drunk Rhino for printing all of this stuff. Iceman, because you had to deal with my beta testing and random stuff. And Topi for giving me design ideas. I am going to take any questions people want. Feel free to ask. Otherwise, I am going to be floating around with all of the DAW sims just for people to come play around with. As a note, it is open source. 100% unlicensed. You can do whatever the hell you want with it. If you want to slap your logo on it and say it is mine now, you can do that. It is unlicensed. Cool, cool.