06:00 UTC Charta Aetatis Cyberpunk

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

AI made a Malware Viewer in Minecraft

Transcript 4042 words · auto-generated captions

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

If you've been following along with this AIdriven Minecraft mod development series, you know we've got a primitive but basically functioning cyber security research capability in Minecraft. We can

list and see files from open directories on the internet that might host malware, exploit secrets, or any of the weird, wild, and wacky stuff that's out there. But there's got to be a better way to represent all of this in the game. seeing the file contents. Do we use books, maps, something else that our robot comes up with? In this video, we're figuring that out and we're starting to scheme up how to get this malware out of Minecraft and into a lab for more research and analysis. I think you're trying to actually display content right now. This is legit log file. It's just white text. You can barely see it. It did it. Codex is taking screenshots. He probably sees that you can't read a damn thing.

>> [laughter] >> I hope he sees it. Okay, so that conceptually kind of worked. Obviously, we can't read it, but it did happen. White text does not look good like this, but I think we need to really get the custom UI in place because the books were funny and Codex thinks he's good. So, that's clearly not correct. How do we make the book in dark mode, Nord? Is that possible? Maria, you wanted me to send a run a command. You want me to execute your payload on my computer? You wanted me to detonate malware inside of my Minecraft game. Let me go do that for you super quick. Stand by. Hang on. Oh, I need a freaking command block. This is kind of annoying. I am learning though.

[laughter]

Thanks. Thank you, Maria. [laughter] Oh. Oh, wait a second. Oh,

I don't know. It's just because I again I don't want it to like interrupt the sanctity of, you know, walking around the environment. What does a map look like? This is I know this sounds like a stupid as hell idea. Forgive me. Could you just give me a map? Like this would be cool. Also, that's hysterical. This would be cool if like this could be displaying the file contents and like I could scroll through that, but I know I can't. I know I can't. Hey, super quick, let me tell you about this video sponsor, material security. When your company grows, your attack surface grows with it. Every new inbox, fileshare, ooth connection, or AI tool creates another place that sensitive data can slip through. Material security goes further than just email. They protect your whole workspace. So, if someone clicks a fishing link, grants access to a risky application, or shares a file too broadly, material can detect it, and contain the problem without needing your security team to babysit a dashboard.

Your security scales with you. With Material, you get coverage from day one. So, while your business is still growing, you aren't finding gaps in your security stack just before the next funding round, enterprise deal, or security audit. You get protection around the full attack path that bad actors actually take and material automatically remediates. Revoke an ooth grant, lock down exposed data, quarantine a compromised account, and so much more security in a single solution. Do more with less and get started with Material Security with my link below in the video description. jh.live/material-security.

Huge thanks to Material Security for sponsoring this video. So, we had the working proof of concept of our file contents. We couldn't read any of it because it was white. We now need the ability to display it in a real true genuine custom UI. Okay, CEX, here's the thing. We're ready to try to make a slice of this using a genuine custom UI. We have gotten some of the working capability of our being able to retrieve file contents inside of the mod by right-clicking in some of the mobs in a

enclave chamber. But I think we now need to move on into a custom UI and real

genuine better readout that I could scroll through and actually have proven capability. Could you please give me a prompt? Something that I can copy and paste into our other codec session for it to be able to make a plan for it to be able to build and create and do this client packet UI based off of our brainstorming already and with its now success so far getting the real contents available to us. Give me the prompt. I'm reading the prompt that it just crapped out. Let me go back into Minecraft and I want to test this. Oh god. This is always going to be here from now on apparently [laughter] until we reset. Did we add a command for that? No. [laughter] Cool. We'll just have Maria's computer in our in our sandbox environment now.

Hunt.io. Please just crap out some good places and then just give me a portal to a new world to look at malware. Thank you.

Whoa, look at all these guys. Baju Zezy. Okay, so this is the same one that we were looking at earlier.

I don't know what these files are, but we should be able to find out now once we let Codex run. I'm going to close this Minecraft rendition. Let this thing go.

Oh my goodness. [laughter] That's pretty cool. All right, we need to find a We need a plain text file. We need a plain text file. Rewet log file. Here you go. Here go. You're a log file. You're a log file. Random chicken. [laughter] This is amazing. We did it. Codeex did it. Robot did it.

I'm pretty happy about that. Oh, that's in a different folder, too. From that host with the file size,

guys. Team, it's kind of happening right now. I want to make Minecraft smaller so you can see codeex still going. Yeah. [laughter] Can I go to a different world? Let me go to a different uh portal. What do you got cooking over here? See, that's the thing. I just need to leave. What is our exploit to Java? Oh, I'm so sto so I'm so stoked. I'm so stoked.

We're exploring the internet in Minecraft. [laughter] That doesn't look bad. Doesn't look bad. codeex. You even got the syntax highlighting sort of. Not really. A little bit. brute multiply.py. Oh, I want that. [laughter] Look at that. It's starting to feel like Oh, a little bit of interest. A little bit of a little bit of research. Do do we dare call it? It took It took us long enough. It took us what where we at now? 9 and a half hours total from yesterday. How much longer am I allowed to spin on this? See, I would really like if this wasn't entirely full screen, I would like it to like hover like over on the right hand side or something. And I want to still be able to like have control of the game. I guess I wouldn't be able to scroll at that point though.

That's That's cool though. Someone's running like a brute forcer, a log for shell brute forcer. This is sick. Yeah, maybe we could like change the transparency. Like this is functional though. Codex's pretty happy with himself as he should be. We kind of have at least the beginnings now. Let me read Codex's crap. Implemented and validated the custom hunt file viewer UI. What changed? We now have a client bound preview payload network segment. What does that mean? Network registration. Refactor the file mob rightclick flow to send bounded previews first with written books only as a fallback. Ah, we could probably nyx the file fallback for written books. Change the font to be uh

cleaner monospace display. Oh, use a map item for displaying images. Can we do that? Can we do that? That'd be so cool. Can we use a map in Minecraft to display or

render the images that we see from the

open directory host files? So the the split that we have right now, if we go back to our game plan, do we want to continue perfecting this display of the text and like the file contents? Should we move on to changing the mob shape

representation? No. So like no longer a chicken or a pig or a horse. We could have a couple others. You feel like the text is in a great place. It's good enough and it's easy to read. All right, game time pivot. Kind of call an audible. Uh could we validate please? just pretty pretty pleased we can get this into a GitHub repository for myself, you know. I don't know. Just like stage it into my git private repository right now. We don't need the world to be chipping away at this quite yet, but slap that into a GitHub repo so that we don't lose track of any of our progress. And let's do a quick documentation pass. Let's do a real big run of like everything that we've been uh working on. Do the documentation first, then make sure we get this inside of a Git repository and pushed. Pretty please. All right, Chad, I want to hang out with you for a little bit. Add a key logger to the mod. No. [laughter] No, it I promise it is not. It is not going to be malware for now. I don't know if we're going to go explore that avenue in the future. We're already at least exploring malware via the mod.

Current directions. Well, the current direction is working on in-game file

contents viewer, right? And I'm not going to send these. These are not real prompts. These are notes. Should we change the font? Should we not have it full screen and make it just display over the right side? If we do that, how do we scroll? Should we add support for

images, image rendering? We could add support for metadata carving like zip

file names, PE info, you know, like LNK parsing. Like there's a lot of the potential metadata tooling things that we could do, but I feel like that needs to come from us getting the file and pulling it down first so that we have things inside of the sandbox or our own world kind of thing. Other directions. Do we start to download the

files? We need a sandbox. Can Windows Sandbox be available? Oh god, Alex, what are you sending me? Thank you for the GitHub repository that we could use for reference. Oo, I actually kind of like that. Oh, I actually really like that. My goodness gracious. Alex sent this dream displays

presumable mod, I assume, that creates

an in-game screen to stream your favorite videos. Uh, so that way we could have video playback. Would we be able to have uh p like image display

too? They're watching a Mr. Beast video in the read me of this. All right, Jimmy. Would be cool if you could spin up a private anyun session. Oh my god, Chase. Chaos zero. Genius idea. We could just hook up API keys for any run. So we could keep keep on shipping away our in-game file contents viewer or we could go back to making custom mobs to make those like a little bit more representative like what's a Python file, what's a GitHub file. So capture files and mobs would be realistically what we want to download the files or we

make custom mobs. Continue the more chamber enclave registry that can be the

um like cave space station

aquarium etc etc. I feel like the next unlock is going to be downloading the files or capturing them, but we need a smart way to like handle that because now we're getting out of the oh haha he he these are just Minecraft tendencies that we're exploring into like I need legitimate genuine security research infrastructure. Sandbox brainstorming. Tada. Our options are local,

remote. We run into crossplatform

issues. Windows sandbox on Windows,

HyperV, Linux, Mac. The remote option is kind of

interesting because we could use any run

dynamic environment, but then we don't get to keep it. But that will save us from like genuinely detonating, executing, running, doing the dynamic analysis to see and understand what something might be. I feel like we should have support for any run virus total that I mean it was just going to do static analysis, but it's not going to be a place that we could like keep it. What I'm really scheming up is like what if we just baked out built up their own

host in the cloud? The benefit of these

is like, okay, we just slap in an API key and then like blind trust we let them happen. It it it would naturally automatically work for players without relying on all of these needing to figure out what we're doing for Windows Sandbox, Windows, Linux, uh, and we could just cut that one out of the list, honestly. [laughter] I'm sorry. I'm sorry. I'm sorry. All these Mac lovers, why not spin up a very basic container for the player to process the files? That would be the most scalable. I agree with the container approach, but Docker on Windows is a joke. Sorry.

Minecraft isn't going to be running extremely well on Linux. Uh, and it would require just so much more stuff. I'm really kind of liking Let's just let you build a box. Let's

talk to the robot. How about that? Hey, Codeex. I think we're at another crazy

turning point in our experimentation

here for this security research Minecraft mod. We now have the ability to see real genuine open source or open

directories out on the open internet and explore them in a world where we could walk around and and now we could even see their file contents. It's pretty likely that some files will

want to be able to do further analysis. And we're starting to wonder, how do we keep this safe? How do we keep this secure? How do we make that honestly a sandbox that our Minecraft mod can be smart enough to work with? We're envisioning all the different parts and pieces that we have here for a Minecraft mod that could eventually be something that, you know, more people than just me would be able to play with or interact with. That's a pie in the sky ideal, but it would be something that would be cool. Not everyone is going to end up having a either beefy uh analysis sandbox server

virtual machine environment and the crossplatform thing that we would need to try and bake that in if we wanted to have something in Windows is too variable with HyperV and Docker containers aren't going to work and then we wouldn't have real security because they should be in the VM themselves and Linux would have KVM and Mac OS I don't even know. So like that would open up an entire can of worms if we were to try and implement some local only thing. That sounds like a bad idea. So if we're thinking about okay, how could we make something that is remote? Do we let folks kick stuff off to any run for the online dynamic cloud sandbox? Do we let folks just it into Virus Total? Do we let folks just bring their own digital ocean API key or Volter or some

other cloud hosting provider so that that way it could stage a box and provision and work with that as its own analysis environment that will be fully separate from their host. So there's no real risks of yeah actual genuine security concerns of the malware exploits and the things that we'll find on the open internet from this experimentation effort. So, I'm really trying to ideulate and brainstorm and think through with chat and both you of like how do we make this now safe so that we could truly download the files

without any fear, without any worries, without any concerns. That makes this easy. Could the benefit of some of the remote options was that we just bring your own API key and then we just could spin the thing up and do whatever we want. That could be pretty easy provisioning for like, okay, the maybe people that would play this mod in the future if if that were the case. Um, but are there other options? Are there other thoughts? Are there all ways that we could rely on VMware? That's crossplatform enough, I guess. Let me uh see your thoughts, robot, if you have any other ideas or any other options or any other alternatives for what we've been scheming up for true real genuine security research now with the capability that we've built into our Minecraft mod. Oh, chat.

chat. W robot take. The Minecraft mod

should never become the sandbox.

Agreed. Roger that. The mod should be

the cockpit. The dangerous work should happen in a separate analysis broker that talks to remote providers or disposable infrastructure. We could do hashookup, file metadata, mime, magic detection, known reputation, blah blah blah. No download to the player's machine. No automatic upload to public services. Great step is a virus will hash report lookup before upload. Optin cloud sandbox adapters. Uh this could all happen I think for later research. Minecraft UI says submit the sample to provider X with explicit warnings returns in game as analysis rooms. Oo that's kind of cute. See that would be neat. Bring your own remote lab. Digital ocean can provision VMs through APIs but I would treat that as expert mode. What are you talking about? Well, that sounds like the best option. provider abuse reports, malware callbacks from your cloud IP. I feel like we need a remote box though because we can't trust or we wouldn't be able to let like everybody have oh hit this up to your local VM.

Wait, wait, wait, wait. Realistically,

we should make this so that you have options because if I were to give this to someone, say we did succeed enough in

this that it's cool and we make it a thing. If you want to bring your own box

with Digital Ocean or whatever, sure you can do that. But if you want it to drive

your VMware install, that could happen too. But for me, I use VMware Workstation obviously. Correct. Right. We all aware and we see that and we know that. So why not

why not why not build with the current working environment that I know I have

and do local first for VMware. And

hopefully soon pie in the sky future we could let you like bring your own remote lab, Digital Ocean, Volter, whatever. Uh, I guess Virtual Box is a better option too because that is a lot more accessible, open source. Yo, imagine we get this thing like streaming the desktop of the VM and then like you could get into however many boxes that you wanted to [laughter] like different samples running and whatever and like it it's using I don't know whatever Maria was suggesting for like Wayland or like the browser and display in the game. That would be so sick to uh have literally the entire Windows desktop screen in Minecraft.

So, the architecture I'd build is client server mod analysis gateway broker retriever quarantine provider adapters blah blah blah. Oh, I didn't even think about it as maybe if the remote client

capability changes the dimension a little bit because like not everything needs to be on your client itself. I feel like we got to go VMware. I mean, I guess that's just the easiest thing that I could drive locally to keep us continuing onwards and making progress here. All right, let me ask robot. I'm thinking this through and if we try to keep it to like look just what's feasible for me right now, I think we could do the VMware Workstation direction and we could take advantage of

VM Run.exe because I've done that already. We've experimented with that for many things that we've done personally previously, not on stream yet, but that would be I guess the fastest way to having a safe, reliable sandbox kind of thing. The question is, should it be a Linux host? Probably. Other options are Windows when the time comes. But would a VMware workstation analysis environment

be fine enough? I think so. I think it would be. I just need the validation from you, robot. I'm cool with this.

That also basically means there will now need to be a bridge back and forth between this VM that we create for us to be able to quite literally use tools like binwok

foremost strings I spy whatever in Minecraft to control the virtual machine for real genuine analysis. That'd be sick. I think we'll get there. I think we're kind of at that point to a certain extent. We just need to build the bridge into the VM and the analysis sandbox now, right? And then we could just have all of our occupations and careers transformed into video games. [laughter] All right, Codex, I think we are going to have to wind down for the great work that we accomplished today. Could you please codify everything that we've done? document, go through, do your big broad analysis, clean sweep, general uh comprehensive review of everything that we actually build and accomplished for today's endeavor on the live stream. But

wow, what a win. Can we start to prepare the handoff for everything that we did create, we did accomplish, we did get done. And you know what? Let me copy and paste some of the uh scrappy notes that

we had in our VMware just so we could still be able to like capture and collect all of those in the codeex prompt and then we will start to call

tonight. I think we need to button this up and make sure that you'll commit and push to GitHub. Hello VMware, you are

not giving me hope after choosing VMware as the sandbox driver.

Let's call it a night. Codeex, please write another handoff document for the plan as to how we could now tackle a

true genuine download sandbox with the VMware Workstation Endeavor. And that is where we could continue onwards for the future while knowing that we could continue in other directions like making custom mob designs for the creatures inside the operator or the uh enclave chambers. We could fall down the rabbit hole on improving the foul viewer presentation. We could make more like cave styles, different variations of the generate types of the enclave chambers, etc. There there's so much more that we could do, but I think we should keep on driving onwards and make the most prolific priority now or the most important one the the download sandbox for us. So, button this all up. Let's

call it a day. I'm pretty stoked. The mod was coming together. We literally got into true genuine portals into different new worlds that look much more creative than a black like flat box. We had creatures running around. We were able to actually explore those open files across open directories on the internet. That was pretty sick. So, we did it. We're looking at real file contents and next we'll finally download them for the rest of the research. But since it's malware, we kind of got to keep it safe. So, while we're in a good place to pause for now, we'll have to come back and build some kind of sandbox to keep me protected from running malware. We'll tackle that in the next part of the video series, and I'll see you then.

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 538 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks