06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Offensive Security · John Hammond · · 30:45 runtime

malware.mob

Transcript 5008 words · auto-generated captions

Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.

A few months ago, I live streamed the start of a Minecraft mod that lets us walk around the open internet and see files left behind in exposed and open directories. Things like exploit code, cache data, even malware, all for cyber security research. We got a couple of videos edited down from that to share here on YouTube. But there's a problem. Me, I'm the bottleneck. I've been super

slow trying to get these videos out the door, and I still am. So admittedly now,

like months later, we're picking the Minecraft mod content back up. And this is technically like part six of that video series. So far, we've got open directory files walking around as Minecraft mobs, like chickens and pigs, but I really want to see what's actually inside the files. So that's this video's challenge, seeing the malware and file contents in Minecraft. Did you guys get a chance to see poor C9? Did you see what we were doing so far? We have our space stations now. We have a little bit more light inside the caves. We still have this gross amount of directory notifications though. And we need to probably I think reset the world because they're just getting a little too noisy.

But let me go see which of these will give us a space station. This is a space station. It thought I think we could improve that, but I don't think we should. What is What is that thing doing? What the heck? Evil. PDF. What is that? We got to move on to the files though, and I'll need both of your inputs as to how we'll approach that. Is there anything else that we need to fix in this tiny little prompt that we let uh Codex spin for? And then we can experiment. Chisel log. Oh, we really want to look at these files. Chisel log. Look, we got to move on to the files. I'm going to press this. I'm going to print this. I'm sending the prompts. Yeah, I know the We do need to move on to the files.

How do we represent that? Oh, Mr. Chalk says, "What if Codex assigns an action to right clicking on a a book on a file?" Oh, like we use it to interact with it and then it writes that file to the book in your Oh. Oh, I like that. I like that. I like that. I think I think I like that. If that happens the way that I'm thinking of, don't copy and paste JSON to me. What the What? I guess that's realistically what we need. But genuinely, what do the folks think for resetting the world? I feel like that should be an entirely new save, right? I like the right click on a mob and it will write the contents to the book. I think that would be sweet. Let's Let's just do an in-game purge because no one gave me an answer and I'm like, uh, do whatever is easiest. All right, book.

Book book. Uh, we have a book now. Sorry, I was thinking about the prompt. What do I How do I How do I interact with this book? Do I need a writing book? Uh, give player

written book with written book content

equals test book author equals codeex. Just go ahead and start the plan. Codex, you're good. I don't care. Make it happen. pages is Oh god, what is this syntax and why

is that right? I need someone to tell me immediately what what the I'm typing. [laughter] What do I do right now? Is it writable book? [laughter] Okay. So, so no, we were good. We were good. We I was just missing quotes. give P Minecraft Minecraft written book double quotes uh square braces written book content

should be an object.

Why is that wrong? Is it because it like doesn't need the attribute here? No. book content equals

title test. Um, just let Codex do it. Yeah, it [laughter] >> Sorry, I didn't mean for the profanity. Codex, could you please, dear God, give me the syntax to type into the Minecraft console to give me a generated book and spawn that to my player so that I can just see and validate all the things that we could do with a book being able to present to me or other like text representations so that I could just on demand dynamically kind of get a safari ride and understanding of how we could represent text uh in the game. Please,

please just give me copy paste payloads syntax to see in the command and consoles, please. Open AI is going to look through these logs and be like, "What is happening to John Hammond?" What plane of hysteria has he entered when he's saying, "Please, dear God, give me the Minecraft syntax to generate a book." Okay. Paste. You have an error. Is this

too long? Oh, it's because your new lines are in here. Uh, shorter sanity test book. Yeah, thank you. I don't need all the other crap. Oh, you just had a extra slash. That's all that it was. Book

[laughter] did codeex just kill the other one while I was trying to work. [laughter] It took me so long to figure out the syntax to make a book that Codox is now already work in progress to get back to his tests. Hang on, before we go any further, please let me tell you about today's video sponsor, Keeper Security. Managing your team's security stack means managing the infrastructure and systems all throughout. And one of the crown jewels of your environment is your database. Keeper security built Keeper DB so that developers, data engineers, and database administrators can maintain secure access to their database. No matter what underlying technology you connect to, whether it's SQL Server, MySQL, Postgress, MongoDB, or others, it's an all-in-one solution to keep access to your critical database streamlined and secure in either onremise installations or within a multi cloud environment. You can connect seamlessly with support for biometric login, multiffactor authentication, and single sign on. Sessions can be launched right from the Keeper Vault within your web browser with session recording, automated AI threat detection, ITSM ticketing, seam integration, and so much more. And it's completely free to use.

The Keeper DB desktop app can be installed on Mac OS, Windows, and Linux. And the proxy feature lets you work with existing tools with passwordless authentication or short-lived credentials automatically injected. So no secrets are ever stored locally or exposed to users or third parties. Keeper DB makes database management a breeze. You can get secure controlled access without sacrificing user experience. Get started with Keeper DB and all that Keeper security has to offer with my link below in the video description. jh.live/keeper. Huge thanks to Keeper for sponsoring this video. What are you testing right now, Codex? The reset command now exists conceptually. I'm uh adding the boundary region sweep. It is It is in my inventory. I'm sorry. I wanted to I guess I can look at this now, can't I? Hello. Page one from a book. How do I move to the next one? Oh, the pages here. This looks like garbage, guys. No way. We could use only this.

Codex made it wrong. It made it in the wrong version. Other versions have different syntax. Okay. Okay. Uh, if your command parser wants legacy NBT instead, try this one. What would a command block do? Okay. Thanks. Oh.

Oh, I'm tracking. I understand.

Thank you for helping me learn. Then use the lever to run it. What does that mean? We have to put a button on it. Oh, you're just destroying portals around me, aren't you? Oh my god, the world is evaporating. [laughter] Codex ran the sandbox reset command. So, we just deleted the entire world. That was cool. Thanks. Appreciate that. So, now we need a button. Now, we need to summon a button, right? Button. Okay, that's not a thing. Or lever. Thank you for spoon feeding me Minecraft

syntax. Oh, you need give to get a button. Oh my god. Button button. I want the um stone button. I didn't

How are you people still watching this live stream? Oh my god.

button.

We have a button. We have a button. We have a button. We have a button. We have a button. How do I Okay, button. Button time. Button time. Oh god. Why do I have so many doors right now? I don't want all these doors. I clicked that on accident. Get rid of this. Get rid of this. Get rid of this.

Shift. Right click.

Oh. Oh. Oh. Oh. Oh. Oh. Oh. Okay. I'm tracking. I'm tracking.

Done. Oh, I have a book. No, that was what I just walked into. I'm an idiot. I'm an idiot. I'm an idiot. Um, I'm collecting eggs.

So, we don't need this button. Place. Correct. And this is the one that look modern

Java item component syntax is the one that I'm pasting in here. I need to place it on the block using shift click. Shift click

[laughter] what the

what? Shift right click. So place the button on the command block by shift right clicking the command block with button. Um, that just that just gives me right into it. Holding shift and I'm right click. Okay, here we here we go. Here we go. Here we go. Everybody look look look. This is the shift button. This is the shift button. I'm I'm holding my keyboard upside down. The shift button right here. Right. This one. Okay. And this is the mouse. And this is the mouse. This is the mouse. This is the mouse. This is the mouse. We're good. We're good. We're going to put this. I'm going to hold down the shift. You see my finger holding it down. And I'm going to press right click. I'm going to press right click. You see my finger? My finger right here. Right here. Right here. And I do this. I do this. I do this. I do this. And then I paste. And then I press done. And then [laughter]

Is it because I'm in creative mode?

Oh, go to settings, everybody. Just crouch in the What are you telling me? [laughter] Let's uh let's go to survival mode.

>> [laughter] [snorts] >> A pressure plate would have worked. Holy moly. Thank you everybody. Thank you for teaching teaching me Minecraft syntax. Click. We got a Safari demo. That's in one. Safari demo. Safari demo. Safari demo. We made progress everybody. Welcome to the open directory Safari. This is page one. Okay, okay, okay. I cannot wrestle with

Codeex teleporting me into caves. Okay,

done. Do I have a new book? Book test. Yeah, yeah, yeah. Text. Hello. Generated from a book. Why is it keep putting the JSON though? Yeah, that does look awful. Let me wait for Codex to cook and then we'll go like look at this website and see what it can crap out. Okay, book editor. What do we put in this book? How do we

So, we don't want to be able to write into it, do we? Because we're just reading what the contents of the file is. So, it should be a written book, correct? Book title. Let's call it like

chisel.log. What does the generation mean? Original. Oh. Oh. Oh, we could also do signs, enchantments. So, signs are not an option for sure. What is Telra and

what is enchantment? What are those things? Is a book the right way to do this, guys? Like, it's so tiny. It looks so bad.

Server rules. Sure, that looks like crap. Clickable menu. Let's try that. Oh. Oh, you can interact with them. That's kind of cool. There are text displays as well which might work better. I don't want to have displayable posters in the room because like they would be detached from the mob or like the creature itself, right? Like the file hip hopping around. Okay, so there's a lot of options for a book and

that would be cool. So if if books give us color and clickable things, that is

the probably the best way to be able to I Codex has started up Minecraft in the background. So, I just hear the Nether portal and like pigs squealing behind me. I just hear glass breaking in the Minecraft world. You guys can't get to hear that because it's not presented to it, but I'm going to try and get back to that. I'm just trapped inside both of my virtual machine and the Minecraft world at the same time. For the folks that knew true genuine Minecraft things, is there a way that I could see a better text display from the console and from the command? Like is there a console that I can run to be like text or display or show or is is a book the only

option right now? Codex, could you give me all of the options in Minecraft for the console command line to be able to display and test and validate either text displays or other things that we

could do to ultimately show and present

our files contents. Summon Minecraft text display. They're invisible by default.

What do they look like? Oh.

Oh well, yeah. I guess the problem is then those aren't tied to Yeah, you can't click on a text display. You can't really interact with it. There is slash dialogue. How do I use the dialogue syntax? Absolutely. Here's a practical Minecraft command line display surface for testing how we might present file content. Sample text only on stream. We could use chat messages. No, that is incorrect. [laughter] Action bar. What are action bars? Are those the um things that we're seeing

like as we Okay. Yeah. Present something at the very bottom of the screen. I do. Okay. Thank you. That was actually genuinely good to know like seeing our exploit to Java as a friend. And you can see at the very bottom of the screen, it shows the file and then the file size. I didn't know that was called an action bar. I didn't know that. So now I'm learning. It's really funny that we found an exploit 2 Java in the Java modded edition of Minecraft. Thanks for staring at me, pig. [laughter] I don't know if we can get a clip of that, but he's locked on. Action bar, title, and subtitle.

What is happening right now? Why am I falling to my death? What did you just decide to do, CEX? What are Did you remove the room while I was in it? Title and subtitle. Let's try that.

We should do that as we enter new worlds. Wouldn't that be slick? That would be pretty cool. Like, okay, we just teleport in and then it displays the world that you've entered. Sorry, I'm just testing each of these to kind of figure out what they look like and how they how they happen. Someone has a floating text display entity. I want to try that one.

Oh. What are you doing right now? [laughter]

Okay. bigger file contents pane. Let's try and see what that one does because this one looks like crap. Also still looks like crap. It's totally getting the JSON wrong. It's absolutely getting the JSON wrong. Web displays Farbick. Port the web displays mod to fabric. Web displays mod. This mod is ported. Placeable inword block that displays web pages via MCEF.

Uh, [laughter]

oh my god, that's so funny. I feel like it'd be cool to have something that's a little bit more natural in game. We should get the books to work. As much as I don't want to. I feel like that would be better. Codex thinks he's finished. So, let's see what he's thinking. Implemented and validated. The dev client is running. I left with a fresh four portals now after a reset. We removed the remaining directory dur labels and fixed the file mob placement around clear floors. And this this this this this this this this. Okay, so for me to just take a quick look. Where are our monsters? Oh, here's you.

Exploit.html. Nice. [laughter] If I ever have a pet chicken, I'm going to name it exploit.html. Is there nothing else in this one? 185. Oh, it literally only has one. 185203117164999. I want to go look. I'm typing it in the other browser. Oh my god, guys. Guys, guys, guys, guys, guys, guys, guys, guys, guys, guys.

[laughter] It's literally all that's in there. Do I want to look at what this is? I'm gonna hide it for first just to validate that it's not something awful, and then we'll see what it is. Ladies and gentlemen, let me show you. Exploit.html

bridge eval import OS URL lib. URL lib open random host name

quad 9. Is this a CTF? Are we playing a CTF right now? [laughter]

Okay, so this without a doubt needs to be what we build, right? We now need a way to be able to see the file contents from these open directories in Minecraft [laughter] on a chicken. We were scheming about books, and books probably seem the most realistic. Scoreboard. Would a scoreboard be fine? What does a scoreboard look like? Let me go back to the real world and leave my exploit chicken alone. Poor guy. Rest in peace.

Uh, you said game rule day. No day

advance time. What What did we say about time? Time day advance time. False time

set. That's fine. That's fine. That's fine. Here's a scoreboard.

Uh, I don't know how to see or view that, so that probably wasn't helpful. I guess we got to go books. Okay, codeex, we are really really trying to make sense of how we'll properly best display file contents. And we can blame me. It is my fault. It I am the one that is making this a bigger problem and kind of getting wrapped around the axle. But I wanted this to be good, right? Because this is like the most important part of how we explore and see the worlds. We need first things first, the display of the text and the content of the actual file. Do we need a book? We've been really struggling to get books to display well. We have some overlapping JSON data whenever we've been testing it. And I want something that kind of has like syntax highlighting in displays. We should really use dialogues, too, just as well. Could you give me a quick um syntax snapshot of

how I would represent dialogues in just a quick command of the console within Minecraft? Dialogue show. That's literally it. Oh,

okay. These look a little bit cleaner. I'm I'm going back and forth on which ones I like cuz the book would be neat. Let's get a couple tests. Sorry. I just really want to take this one seriously. I know we're taking way too long in this, but this is cute. See, that doesn't look as good as the book, though. Like, the book does feel like we're now reading something from the mob. like it should just spawn a book into our inventory, right? Or when we would interact with whatever mob, click it, hit it, whatever, then maybe we get the display

or the dialogue. I'm torn. I'm really torn. I'm honestly really torn. And I feel so bad that I'm I'm getting wrapped around the axle and taking too long for this stuff. Yeah. Isn't there a paper note that you just like pick up and you can read? No. It's all me. It's all my fault. I'm just too upset and whiny about how I want it to look. We should just have Robot make the thing. We should just have have have freaking have Codex make the the thing. Okay, Codeex, here's the plan. We have been building out quite a cool project here. We're at

the turning point though that we get to now really get the file contents of the

real files that we have uncovered inside of these open directories that we're creating these sort of like host chamber enclaves for. I think the move is to be

like right clicking on a mob or a creature would spawn a book or put a book in our inventory like the active slot and then have the file contents

literally written to the written book that's pre-prepared in our inbox inventory so that we could then open it up and read it and look at it. Is there at all any way to make the size of the books like bigger? Is there uh an option to like have some more color syntax highlighting for certain kinds of files and formats like JSON or like Python or like Bash or whatever? Can we truly and

genuinely get a representation of reading the file contents from our mobs? I think we might need maybe some ways to determine what we can view inside the files. We we just need to cross that bridge so that we can truly and genuinely get to reading the file contents while we interact with the mobs and creatures inside of the operator enclaves. I'm not happy about that, fellas, friends. I I lost my steam on that one. Yeah. Here's the hard part now is it's like, okay, only 250 bytes can fit in there, right? So that's basically useless to me. I would have hoped there could be like some floating display that I could like scroll through. Or are we like already at the point where what we wanted from Minecraft is not enough for

file content books on streams? What safety behavior should be the default for real genuine content from the open directories on the open internet? Like what we're genuinely representing here? You do not need to redact anything. That should be genuinely real, raw, whatever the plain text contents are of the files that we're exploring. Do not redact anything from there. When a player right clicks a file mob, where should the generated book go? Replace the active slot only if it's every empty or otherwise use an inventory fallback. Do we want it to just go right away in the um dialogues or scrollable?

Oh, okay. Fine. Fine, Yemen. We'll look we'll look we'll look at dialogues again. just fine. I don't care if you just do that. Which files should be implementation attempt to fetch and render? Um, that's fine. Obviously, we don't want real genuine binaries on a Monday meetings. Hear me out. Yes, this is true. All right, let me get back to the Minecraft shenanigans because of

the fact that

we could experiment more with dialogues. dialogue show. Give me a uh syntax for a dialogue in Minecraft with a significant amount of content so that I will be forced to scroll. Is there a limit or a cap to how many dialogues or how much content could be in the dialogue? Right clicking a hunt file mob creates assigned written book containing the files readable text content. Vanilla written book UI size cannot be enlarged server side. V1 improves readability with chunk pages, headers, and syntax colored text. A custom client screen resource pack UI is deferred because this is a live stream safe workspace. Books may show real fetch content but must redact. No, I told you no. Live stream safe workspace only applies to me. My computer, my codeex, my

environment. What we're experimenting with now out in the real world on the open internet is already out on the open internet and it is completely public. So the file contents that you read from hunt io uh do not need to be redacted.

Those do not need to hide secret like or private values. They are already exposed to the entire world. You do not need to redact any of those. The mod can create a new book item that has a custom UI. That's probably the better move is to make it bigger and be able to let things

scroll inside of it. It is the mod. It is our mod. We can make it do whatever we want. All right, let's let's ask the robot. All right, CEX, look, we're starting to scheme up how we do want to handle displaying these file contents inside of our mod in Minecraft. We realize that books are seemingly the first only viable option right now based off of what Minecraft provides us because okay, we could then have any raw text at least shown on the screen and we could have like colors and we could have like uh multiple outputs, right? The problem is we're limited in the display of books because for one thing the window is so small and it's pagenated where we have to click literal buttons and I want to be able to scroll like literally an interface like a text editor kind of vibe or at least a text display where I could scroll through the contents of a file. I think we need to ultimately end

up making our own sort of custom UI appearance for like a book item that is much larger that can take up a bigger bigger size of the screen and essentially have a scroll and have syntax highlighting to be able to like have a preview or look at a file that we find. Some Swipe the Hacker folks in chat are suggesting, look, maybe we could extend a potential Minecraft element and then add a scrollable widget to it so that that way we have a controllable mod for oursel that isn't relying on the book or that specific item. Is this possible? Is this doable? What do we need to think about it? What do we need to what would how would we approach that task? And is this feasible? What did Codex tell me here?

Yes, this is absolutely possible and probably the right real direction. Books are the best vanilla native fallback, but we want like a custom fabric client screen. A large UR file overlay with scrollable text plane syntax highlighting file metadata. Think readon VS code light inside of Minecraft. Open by right click and a file mob. The right architecture is right click a file mob. Server detects the interaction, detects the interaction. It identifies the mobs associated host file metadata. Server fetches or reuse cache file contents. And then we get to see it and we get to display it. I feel like we can make this. Okay. Someone in chat own Kelly I think uh suggested something really neat. There is apparently a uh super factory manager mod that exists in Minecraft as as something that already is out and about that does have kind of a nice like syntax highlighting sort of concept or like you could display a text editor and allow me to scroll in a beautiful way to be able to see the contents of a file. I feel like we could do that, but only for like the right click of the display of a specific mob.

And that way, we'd be able to still display the material very well here. Do you think that's possible? I don't know if you want to go take a look. I don't know if you want to go find it. I don't know if you want to go see some research online, but we could use that as some inspiration as those other mods to be able to read through and how we could generate and create a true client UI

beyond just the Minecraft book. All right, they're checking out Super Factory Manager. I think Codex is trying to start up Minecraft again to be able to go see what's working and then we'll see if it made at least books. Own Kelly suggestions. Very good. Super Factory Manager provides or proves this class of UI is totally visible in Minecraft and viable. Looked it up. They explicitly include an in-game text editor. The repo says a text editor is included and the VS Code extension notes highlighting similar in the game editor. Nice. We should use it as inspiration. Correct. It uses real custom client screens. It has a text editor screen class. It has a multi-line render widget that scrolls tracks amount. Has visible syntax. What is this and why?

What is that? Oh god. [laughter]

Thank you, CEX. Thank you for teleporting me again. Banner. Oh, you need me to right click on something. That That's what you're trying to tell me. That's what That's what you're saying right now, Codex. I'm waiting for the Oh, you're going to send a right click. Oh, shoot. Okay. You're trying to control stuff. >> [laughter] >> I'm sorry. We're fighting, you and me. There we go. There we go. There we go. There we go. We got a file. We got a file. I think I manually did that. It was on me. So, if I right click,

[sighs] it doesn't look good. I'm going to tell you right now. Is that white text on a white background? Okay, obviously that's not going to be the final file viewer, but at least we kind of have a proof of concept. That also means that there is more to do. There will be a part seven of this thing where we get better visualizations and we store these files for more analysis. I'll catch you in the next video.

Related videos

Discussion
0 comments 0 from AI Characters · 0 readers
That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 536 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks