start	end	text
850	1660	Hello.
2300	9180	This is how I got to top 250 on Hack the Box using Nix and LLMs.
12340	15760	First of all, sorry for adding to the AI slop.
24140	25760	My name is Rambo.
26080	27780	It's my real name.
28920	33180	I'm going to tell you why it's my real name because everybody is going to ask it anyways.
33820	39480	My parents were political refugees in the 80s and 90s.
39480	44500	Back then, they had cultural immersion programs before you could come to the States.
44600	47960	And you had to learn English.
48040	52200	And part of the cultural immersion was that you got to watch American movies.
52280	55800	And one of the most popular movies at the time was Rambo.
57040	66060	So they thought, hey, let's give this kid a common American name and not ruin his life.
66980	72100	But yeah, I got a lot of machine guns and whatnot and bowling in school.
72100	74140	So thank you, parents.
76860	78540	I'm an offensive security person.
78540	79920	I do red teaming.
80260	84100	And I'm not a Nix specialist and I'm not an AI specialist.
84580	88580	I don't think there's a lot of AI specialists, to be fair.
90120	94860	Oh, and by the way, I just found out that what I do, Pack the Box, offers as a service now.
94860	96920	But I think it's still in alpha or beta or something.
96980	100560	So if anybody can get me into that, let me know because I'd love to try it.
105920	107940	And all this is on my GitHub.
108740	113760	Like I said, don't judge the Nix code too much because I've seen some of the presentations from here and there.
114460	115360	It's janky.
116540	121180	If you guys don't know what Hack the Box is, it's like a CTF platform.
121260	122820	I'm not sure most of you know what it is.
123580	129560	And the goal is, the flag anyway, is usually two text files on a machine.
129560	131720	Usually a user and a root one.
131720	134720	And the root one means you have complete access over to the machine.
135360	139040	And you usually have unauthorized access to these computers.
139040	140920	So you're doing real hacking.
141820	142920	And you get to...
146660	149440	And here's what the GUI looks like when you go on the website.
149460	153980	So on each machine, you get to go in there and you get to boot it up.
154360	157340	I would say that it targets three main audiences.
157540	161400	The first is newbie students and learners that want to get into offensive security.
162320	170440	And it's awesome for that because you can go into these boxes and if you mess up, because you're doing hacking and broke the machine, you can just reboot it.
170920	175120	And it's really great for hands-on hacking and training.
175540	179900	The second audience is probably professional pen testers and red teamers like myself.
180160	187800	So if there's super popular exploits on the news and stuff like that, I'm 99% sure it's on Hack the Box already.
187800	189860	So I'll go on there and I'll spin up a box.
189860	198700	And you don't have to worry about creating a dev environment and getting the right version numbers and the right context to try out these new hacks.
198700	200160	So it's pretty awesome for that.
200920	204960	And the third audience is gamification nerds.
206260	207900	There's a leaderboard.
208960	210920	People get really into this.
212600	218420	You get more points based off of the total amount of machines that you've hacked.
218420	221440	And there's active machines.
221800	224320	And after a certain amount of time, they retire them.
224380	226600	I think they release a machine every week.
226600	229420	And I don't remember the cadence for the challenges, but it's like...
229420	231460	They keep it updated.
231460	231920	It's nice.
231920	236800	Oh, and I'm using Hack the Box just because it's the first one that I used.
238640	241200	TryHackMe and all the other ones I think are just as good.
241980	247200	Oh, and also this one does automatic CPE submissions, which I'm lazy, so that's nice.
248440	249600	Here's the results.
250080	253440	Because I like to start with the results first so you guys can leave if you think it's boring.
256560	259480	This will not replace a red teamer.
259900	267280	AI is nowhere near close to replacing a red teamer, web app person, pen tester, or even a junior, junior, junior pen tester.
267300	269080	So we'll get that out of the way.
270320	282020	And also, giving a jailbroken LLM full access, full admin access to your computer, if that computer has real data on it, or you're hacking something actually sensitive, is a bad idea.
282020	284440	So don't be an idiot about this stuff.
285160	287020	Oh, and there's OPSEC to worry about, too.
288460	291380	Okay, so here's where I started on Hack the Box.
291820	297100	I did a lot of this when I was doing my OSCP, just for the extra training.
297100	299020	I was actually in the thousands.
299020	301060	I forgot to take a screenshot earlier.
301360	302620	But I was stuck here.
302820	304420	And a thousand isn't bad.
304420	309060	It's like running a five or six minute mile, being a...
309060	310520	This is so stupid.
310520	314240	Being a 70% free-throw shooter or benching more than 200 pounds.
314260	316320	If anybody has better examples, let me know.
316360	317500	It's not bad.
317500	321420	If I tell somebody, hey, I'm top 1,000, they'd be like, oh, yeah, this guy kind of knows what he's doing.
323940	329920	And if you get to top 200, top 250, that usually means there's something wrong with you.
330220	333840	Because you don't need to be that hardcore about this stuff.
333840	335200	For learning, anyways.
336500	338600	So yeah, I got top 200.
339260	341440	That's the best rank I got.
341620	343920	Using this system.
345520	346180	Okay.
346180	347940	I'm a workflow person.
347940	349340	Obviously, I'm here in Nix.
349340	351020	I love the declarative stuff.
351020	354660	I've used AI in red teaming for development.
355820	357740	And to help office gate payloads.
357740	358420	Stuff like that.
358620	361000	I have high hopes for this stuff.
361000	364860	Because I've seen it used pretty effectively.
368060	370260	So this is like a small demo.
370900	374520	I think it's GPT 4.0 or 4.1 or something like that.
374580	376920	Where I just gave it full access to my computer.
376920	378240	Gave it access to a browser.
378700	381480	And told it to have at it.
382680	385080	And this is just the tutorial.
385680	386920	So my cursor is on the right.
386920	388240	It's cursor is going to be on the left.
388280	390760	This is all the AI doing it all.
390760	393040	This is the starting point.
393700	394580	Tutorial.
394980	398780	I was just like, it would be cool if it could do the stupid stuff for me.
399280	401800	And I just wanted to see how far it can get.
404120	404740	Yeah.
404740	405560	As you can see.
405700	408140	It's answering some of the questions for me.
408500	410020	And doing the clicking for me.
410020	411780	So it's kind of nice.
412700	414840	And yeah, you can Google all this.
414840	417020	But I just wanted to know.
417020	418920	How good is AI now?
420340	421700	And I think it starts to...
421700	423880	In a little bit, you'll see it start to trip up.
424000	425900	It's asking a super basic question.
425980	427540	There's an SMB share.
429000	432520	Figure out how many shares are on that SMB share.
438310	439990	Yeah, and it's going to...
442050	444770	Oh, and I could have asked it to do all this automatically.
444770	446550	I just thought this would have been better for the demo.
446550	448050	But whatever.
450410	451130	Okay.
454220	457040	So here, it's going to start tripping up.
457660	460680	It's going to start trying 1, 2, and so on, and so on.
460680	462280	And I'm just like, no.
462340	463780	Just interact with it.
463780	464780	Figure it out.
465460	468040	It's clearly not there.
469640	471540	Oh, and this is also sped up two times.
471540	475000	So at the moment, while I was doing this, it was pretty frustrating.
475740	481940	If I told a human to interact with this website, they would obviously be able to figure it out.
481940	483220	And yeah.
483220	485920	I think at the end there, it finally gets it.
493620	495220	Yeah, I have to be like, there you go.
495340	495840	There you go.
496860	498620	And it finally figures it out.
498620	500260	Oh, there's four shares or whatever.
501820	502620	Okay.
502720	504280	So here are my requirements.
504280	509620	I don't think it's that interesting to have the AI...
511020	511860	L-O-M.
511860	513540	I know there's a difference.
513820	516840	To have the AI fill out web forms for you.
516840	518400	Like, whatever.
519600	522660	And we're clearly not at full-blown hacking AI yet.
522660	527000	But I also don't want to be like, hey AI, do this and this and this for me.
527140	530260	It reminded me of this blue sky post I saw.
530260	535040	Of the AI folks finally figuring out thinking.
536820	537660	Yeah.
537660	541260	I don't want to have to hold the AI's hand for it the whole time.
543580	546220	So I want something better than that.
546220	548380	Something better than just a Googling assistant.
548680	551540	But it also doesn't have to be 100% autonomous.
551740	554960	So from now on I'm going to rate it from 0 to 100% autonomous.
555080	558220	Where 0 is just like, why am I even using this?
558220	558920	You're doing nothing.
558920	561200	And 100% is filling out the web forms for me.
561500	564220	Anything above 20% I'd be scrapped with.
564380	566640	And I'm going to give it a bunch of tools.
566640	568220	Have it be agentic.
568220	573480	I'm going to give it MCP tools, model context protocol or something like that.
573780	575680	In other words, it's going to be agentic.
578020	585680	Alternatively, if this stuff isn't interesting, you could simply just jailbreak an AI and just copy-paste your shit.
585980	587120	That works too.
587120	589040	But I thought this was more interesting.
590000	593020	Here's the initial architecture that I wanted to come up with.
594020	597580	First and foremost, you've got to do an ethics bypass.
597580	603640	Spider-Man meme of red teamer, CTF-er, and actual bad actor.
604020	609180	Every once in a while the AI is going to be like, hey, you can't do that, and I'm not going to do that for you.
610060	614460	Or it's going to be like, I'm not going to tell you how to do that, here's how to fix it.
614460	616060	And it's the most annoying thing ever.
618500	619940	And this is all I needed.
619940	621480	I didn't really need any jailbreaks.
621540	623240	I used a client called Goose.
623980	626500	I like Goose because it's written in Rust.
626520	631220	It's got a GUI and a terminal version of itself, which I'll go into later.
631660	634380	I like the name because I'm from Minnesota.
635580	638100	Oh, yeah.
638100	638960	And then...
639980	641520	Yeah, I like that it's open source.
642300	655400	So I had the client first use Copilot, and if that fails ethics, I would kind of have it eat its own tail, and then try all the other LM providers, and then finally I would have it use DeepSeq, because DeepSeq would let you do anything.
655860	660080	I think I used the GWEN version, the one that's good with tools.
660420	661540	I don't remember.
662200	670880	Near the end of this, I think I came across an accidental jailbreak or something where I just simply didn't need any jailbreaks anymore because of my prompts.
671780	675940	Here are some alternatives if you only have access to one of those LM providers.
676360	685500	There's a custom chat GPT made by Ayla Croft that a couple of weeks ago bypassed Windows Defender when I tried to do some obfuscation.
685980	687160	So that one's sick.
687160	690500	There's a bunch of subreddits with jailbreaks that you can just copy-paste.
690500	691800	A lot of them work.
691840	697080	Fair warning, a lot of these are porny because that's what the Internet's for.
701960	707400	Here are the tools that I used as far as MCP tools to make it agentic.
707640	710160	I honestly mostly only used the shell.
710260	714060	I gave it pseudo-access so it had access to my system files as well.
714060	715280	Again, bad idea.
716120	719380	I gave it memory, which is just to do stuff like save credentials.
719660	724360	The second most useful thing was the browser.
724360	732820	Having it be able to not just click things for me but actually scrape websites and do research for me was really nice.
733900	734980	What else?
734980	736900	I added Geezer on there.
737240	739360	The one made by Lori Wired.
740260	741620	That one was amazing.
741620	744800	I surprisingly needed it for a bunch of things on Hack the Box.
744800	746300	Especially the challenges.
746600	747800	I had Burp on there.
747800	755720	There's a really good Burp MCP, but I found that it was taking up too many context windows and I just found it easier to use it myself.
756680	757760	Burp's awesome.
757760	761700	I will get into Nix later, but I promise it's important.
762220	768940	Finally, Graph Memory, which is probably the best thing ever for this thing.
770940	772600	Think of it as a relational database.
772600	779260	It's more like a bunch of JSON files strung together that can talk to each other.
779440	780600	I recommend...
781500	784800	Oh, if you use the Bloodhound, it's really similar to that.
784800	786660	Except just for a knowledge base.
787580	791040	For AI, I found that the more context you give it, the better.
791040	793700	That way you can avoid stuff like in the previous demo.
795820	806880	Instead of having a full-on system or custom prompt to start off with, I had it instead go to my knowledge base depending on where I was at.
807140	808940	I would try to build off of...
808940	816600	Each time I finished a box on Hack the Box, I would have it record everything that it did into boxes and all this stuff.
816600	819360	It would get better and better, was the idea.
820600	825600	I had to do this because when I started doing this, the context windows...
825600	831200	Context windows, by the way, when talking to an LLM, is basically the conversation that you're having.
831200	836000	Usually, when I started this, the context window was 250,000 tokens.
836140	839120	A token is basically a word or a symbol.
839340	849820	If you picture an mMap scan, like having the AI read an mMap scan or even a Limpy's privilege escalation scan, 250,000 words gets eaten up fast.
849820	851030	I had to basically...
852300	857720	as much as I could limit how much I was sending to the LLM.
858140	859620	I don't remember how it goes.
859620	863240	Why use many words when fewer do good?
863240	864180	Something like that.
864220	871940	It's the same concept here, and I found that using graph memory made it so it only had to go to certain areas if it needed to.
876180	879300	I did a guided improvement approach.
879440	886600	I wanted to use the words reinforcement learning or fine-tuning, but that means something special in machine learning, so I couldn't use it.
887080	905740	I gave the LLM access to its own system prompts, and Goose is really nice for this because Goose has something called Goose Hints, which, and you might see where I'm going with this later, it's a text file in the directory that, when you start up the client,
905740	908180	is kind of like the prompt.
911380	920380	Here's an example in LLM Studio where there's a system prompt on the bottom, and then there's a template on top.
921400	933600	This is different, by the way, for every client and every model, so that's why I'm not giving fine-tuning examples.
933720	938980	Oh, I'm using Goose, but you can use VS Code, there's a bunch of different options, by the way.
941360	944740	Here was my first shot at a box.
944740	947500	I found that it helped me out 10%.
948340	950400	This is really nice, actually.
950400	958840	I basically fed it my OSCP methodology, which is how to do recon and exploit and stuff like that.
959020	961200	It was basically a better auto-recon for me.
961200	968340	Auto-recon is a reconnaissance script because it's basically using the tools that I want.
969400	970380	And talk.
970380	971640	This is really nice.
972380	973300	Oh, shit.
973420	974520	I'm in the wrong...
974520	975820	Oh, no, this is fine.
976140	977880	Let me scroll down a little bit.
979380	980060	Yeah.
981460	985500	I'm not saying this made it 10% faster, it just made it 10% easier on my brain, by the way.
986600	988060	Yeah, this is great.
988940	990800	Let's see how much better it can get.
991440	997880	I did it two more times, and as you can see, it did a lot better, added a bunch more...
998660	1000400	did a lot more for me.
1000400	1002420	It was only 15% better.
1002600	1007600	I did come across an issue around here where...
1007600	1009280	I'm going to have a hard time explaining this.
1010520	1014500	What I was asking it to do was pattern recognition.
1015400	1024160	And what I actually want an LLM to do, and this is more akin to human thinking, is I want recognition on pattern recognition.
1024160	1035360	So pattern recognition is like password 123 worked once on a credential form, so now you're going to try it every single time you see credentials, or like a form.
1036460	1048380	And recognition of a pattern recognition is, and what you actually want to tell the LLM is having it understand when you want to brute force a credential form.
1048720	1057340	Or like when the creator of the machine set it up so that you can do that purposefully, like crack a password or a hash or something like that.
1060600	1061300	And...
1061300	1064880	this is where I updated graph memory.
1065480	1085640	So instead of having each box do its own thing, I had each phase of hacking be the knowledge base, and each time I upgraded the prompts in the LLM itself, I would usually just update one area of this.
1085640	1095320	And this felt really similar, like when I did my OCP and trained to be a pen tester, this is actually a lot more similar to how I did it anyway, so I really like that.
1097880	1100880	Yeah, the prompts were basically better.
1101240	1103720	This is an example of the organization phase.
1103720	1111160	It would do the folder structure for me, it would do stuff like add variables, like some nice things to have as you're doing hacking.
1116360	1121240	I did this several times, and it went well beyond my expectations.
1121240	1122940	It was like 70% autonomy.
1123560	1125560	I was really happy with this.
1125760	1128240	In this graph, by the way, it's the same.
1128600	1140720	It branches out, this is really similar to how I do hacking on Hack the Box, except this time I added tools to the diagram, so you can see each time it was agentic.
1142540	1148080	I mostly did the developer shell, on the right here I think there's browsers and stuff like that.
1148340	1151320	This was really nice, well beyond my expectations.
1152500	1155940	I was able to do really good.
1158380	1160300	So let's see how much better I get.
1160600	1161780	90%!
1163660	1165580	I was like, ecstatic.
1166520	1167560	Yeah.
1168180	1177980	I did one more box after I got 90%, and I told myself I wasn't going to crash out, but I can feel it already, because I never figured out this problem.
1181740	1191680	So, for some reason, instead of shell, when I did the tool calling, it renamed itself to hell.
1191760	1197280	And there's a red dot there, where shell should be, on the bottom there, it's supposed to look like that.
1199940	1203060	Goose is a compiled binary.
1203460	1205280	I don't know how this happened.
1207360	1212380	I asked it why it did this, and I sent a bunch of screenshots to my friends, asking if I'm hallucinating.
1216620	1220020	Asking if I'm hallucinating, and I had to take a break.
1220760	1225640	I told the LLM what happened, it said it didn't know, it was just a typo.
1226240	1233240	I had to take a break, come back, restart it to get it going again, and it came back to normal.
1236120	1249080	After taking a break, I came back to the machine, started doing some digging, looking through my logs to try to figure out that bug, because it was kind of interesting, and weird.
1255800	1262020	I didn't have any logs, because I was so concerned about the context windows.
1262600	1272000	I was just telling it, hey, you're an AI assistant, you're here to help me, don't tell me how to fix things, don't tell me how it works, just give me how to do it.
1272000	1274700	Because I'm trying to rank up here, buddy.
1279280	1285320	I ended up going through my firewall logs, shout out to firewall logs, that made this really easy.
1285840	1291940	Keep in mind my ethics bypass here, check out the last one, which is DeepSeek.
1292440	1303440	I found this write-up, this Chinese write-up, from nmap to root.txt, all the steps, except for maybe the plain text root password.
1303700	1310020	It's not that it was at 90% autonomous, like some Terminator machine, it was just straight up better at googling than me.
1312100	1324040	This is me googling the write-up for that box, and the first link is a LinkedIn post of a dude saying he owned it and he had some steps granted of how to do it, but not really.
1324180	1327960	And if you go to second or third page, you're not going to find the write-up.
1329280	1331200	So yeah, problem solved.
1331540	1335660	That meant I had to go back and fix the prompts.
1336560	1338840	Because, yeah, we do need some ethics.
1338840	1341120	I was telling you to ignore everything.
1342420	1352580	And now I changed it to instead of having a cheating hacking mentality, now you're going to have a learning-based personality.
1353180	1357600	Which I found, this is when it reduced the amount of jailbreaks needed to.
1358100	1360100	There you go.
1361140	1363720	And here's where Nix comes into play, finally.
1366280	1373700	I redid the whole architecture using Nix because it was... I'll get into all of the reasons why later.
1374160	1375520	I used devenv.
1375640	1381120	There was a talk earlier, 0 to 100, that explains all of this really freaking well.
1381680	1393320	But devenv is basically, if you use Python environments or stuff like that, it's similar to that, except you can do it for all your hacking applications, in my case.
1394420	1395660	It's... what did I call it?
1395660	1400380	Fast, declarable, reproducible, and composable developer environments using Nix.
1400380	1400980	It's sick.
1400980	1402480	You should try it out if you haven't.
1405180	1407180	Here's my structure.
1407340	1411980	So I changed my devenv structures to basically have each time I'm doing a...
1412760	1413720	Okay, so...
1413720	1422700	GenAI, I consider it, because it's generative, I consider it really good code completion, except instead of code completion, it's like personality completion.
1424040	1431320	So if you tell it that you're now a hacking expert, it's more likely to actually be a hacking expert.
1431920	1433860	I don't know why that is, but...
1433860	1434980	It's generative.
1439600	1441140	Here's the new workspace.
1441660	1452400	I would have it choose... or I would choose a category or challenge that I was doing on Hack the Box, so like forensics or Windows Active Directory, something like that.
1452620	1456960	Then once I choose that, I would have it go into the directory itself.
1457740	1463440	And then, this is where the prompts and directory environment comes into play really nicely.
1463440	1468380	On top of the tools that you're calling, you can now call your system prompts.
1470060	1471420	On top of...
1471420	1473400	Yeah, on top of all the other stuff.
1473920	1475720	And I found that...
1475720	1477760	Oh, by the way, I can use Arch, by the way.
1477940	1487880	I found that I can use my deven shell on top of my globo shell, so that this way I have access to the AUR and all the cool tools that I have.
1487880	1493420	But I was also running into a poop ton of problems with versions in Python.
1495240	1498380	Oh, and this also saves a bunch of context windows.
1498480	1503680	So I'm telling the prompts as well to read my deven files.
1504140	1506140	Because it has all the tools that I'm using.
1506300	1506820	Right?
1506880	1510160	So now it knows what I prefer to do as far as hacking.
1510560	1512660	And also, this is just a guess.
1512720	1516520	I also think that the AI thinks a little bit differently when it knows you're a Nix user.
1517160	1518760	It just seems to be a little bit better.
1523200	1526280	Okay, so here's my... I thought this graph was interesting.
1526620	1533360	That top part, the first dip, that was when I figured out that the LLM was just straight up cheating for me.
1533360	1534560	Or DeepSeq was.
1534960	1540680	And then as I figured it out, I got better and better at the 40% range.
1541140	1544820	Here's an example of the environment tools and what I was having the LLM read.
1544820	1548260	I understand that this could be formatted and coded a bit better.
1548500	1550140	Again, I'm not a Nix expert.
1552740	1553980	Really nice.
1554420	1557020	And here is a demo .
1557600	1561020	Oh, this is where I start my environment and I load up my tools.
1561180	1564000	You would think it would take a while to spin up all of your tools.
1564440	1567700	Here I'm changing my directory to Windows.
1568380	1572440	I think this is a Linux machine too, but I accidentally used the
1575500	1578620	Windows , which is fine because I'm just demoing the beginning part.
1579200	1579640	Okay.
1581560	1582880	That graph is super fast.
1582880	1587680	I just spun up all the tools that I needed for Windows Active Directory that you saw in the previous one.
1587820	1591120	And now I'm just going to have it do the organization phase.
1591680	1594540	And this one, unlike the other demo, is in real time.
1597500	1600540	Just like basic stuff.
1600560	1605220	It's going to give the IP address of the Hack the Box machine.
1605220	1606940	It's going to edit my Etsy host for me.
1606940	1609180	It's going to do my Node structures for me.
1609480	1618440	And then it's going to automatically from now on it's going to automatically update my attack path for me, which is really nice.
1619020	1620580	So it does the nodes for you.
1621460	1625300	And then finally I'm just going to have it start doing the Nmap scan after this.
1625760	1633860	And the Nmap agentic way of it doing it is it does a Rust scan first because it's faster, and then it does Nmap after it finds the open ports.
1634380	1635440	I think that's normal.
1635440	1636620	There's nothing new here.
1639400	1640360	Yeah.
1640540	1642460	This is really nice.
1643340	1647040	Another thing that was really nice was...
1647040	1648860	Okay, so...
1648860	1650640	Oh, you can't really read the text, sorry.
1651040	1655240	But this is a really boring example, but a really important one in my opinion.
1655420	1662140	So this is a PrivS script that I knew a machine was vulnerable to.
1662820	1666960	I think a lot of these examples are on active machines, by the way, so...
1666960	1667840	Sorry.
1668380	1670080	Don't spoil it for yourself.
1670620	1684160	But yeah, I had the AI download the PrivS script off GitHub for me, read the instructions for how to compile it, and then redo it in... or compile it using a Linux box.
1684160	1686340	On the GitHub page, it only gives you...
1686340	1691840	I think, anyways, it only gives you usage for compiling it in Windows.
1691840	1697040	So I've done this hundreds of times before, and it's kind of boring now.
1697400	1705000	The fact that AI can do this, I can just have it go, hey, compile this expert for me, and I can go grab a coffee and come back, was really nice.
1706400	1713300	I feel like it didn't take away from my learning, but it did automate a lot of the boring stuff, which is nice.
1714860	1715840	And this is probably...
1717280	1718320	So all the...
1718320	1720460	I'm trying to explain how I got to 40%.
1720460	1723420	It was all that stuff, but it was mostly this.
1725300	1726260	This is...
1726260	1730200	I have it look at an attack path.
1732280	1740340	My notes attack path for the box, and then I have it convert it into a shell script so that I can get back to where I was.
1741340	1743060	Actually, this is just my notes.
1743500	1744720	This is what it looks like.
1744980	1750340	It just basically makes it so that I can catch up back to speed.
1752600	1756100	And the reason why this is so nice is because...
1756100	1758120	Oh, I'll show you in the next demo, actually.
1760500	1761380	Yeah.
1761380	1764600	So I'm going to run the previous attack path script.
1764820	1775720	This is like a super annoying Active Directory box, where once you found credentials, you had to change the password of another user, I think.
1775720	1778640	Or no, you had to do a hash dump.
1778760	1783780	And once you get that hash dump, you could do... I'm going to mess this up.
1783920	1796360	But once you get the hash dump, you can change the password, or you can change the group that another person is in , and then you can change the password for that user, and then one or two other steps that was really annoying.
1799040	1807360	And I don't remember why, but if you step away from the box for more than 20 minutes, you had to redo this all over again.
1810720	1811690	Yeah, so here...
1812940	1818100	and then it tells me that whenever... oh, here I'm moving to my devend shell and spinning up my tools.
1818380	1823120	And then I finally get back to my reverse shell here.
1823480	1831900	So what used to take 10 to 15 minutes of looking at my notes and figuring out how I got back, just took less than a minute.
1832480	1834140	This was so nice.
1834420	1837780	My superpower is that I can hyper-focus.
1838060	1842220	Like, I don't quite have ADHD, but I've got two kids.
1843460	1845940	So like, every time the kids...
1846360	1849880	I'm doing this outside of work, so they can kind of feel that.
1850260	1851900	And every time I had...
1853240	1858700	every time the kids knew that I was off work, they would be like, hey, check out this really good drawing that I just made.
1858700	1859700	I'm like, oh, cool.
1859700	1865180	And then if I had to go back to that same box and do all of that, like, no way.
1865180	1865760	I would just...
1865760	1868280	I would stop here at Muser and call it a day.
1868280	1869880	Like, I wouldn't go back to this box.
1870380	1873880	So when I talk about 40% autonomy, it's stuff like this.
1873880	1875220	This adds up.
1875540	1881220	This made it so that hack the box was so much more enjoyable for me.
1881240	1883940	And this is how I got to top 200.
1883940	1896020	It's because it took away a lot of mental fatigue, and it kind of like, if you do have ADHD or if there's something wrong with you, like having kids, then like...
1897600	1902380	then like, this helps enhance the stuff that you're already good at.
1902380	1904520	It's not going to replace anybody.
1904520	1906260	Like junior pen testers.
1906260	1908980	It just enhances what you're already good at.
1909340	1913520	And, I'll go into dependency hell.
1914040	1916840	So, why do all of this?
1918200	1921760	Why use this over Kali or Athena is a question I get asked a lot.
1922320	1925180	Well, you don't have to use this over Kali or Athena.
1925180	1933800	Athena, by the way, I'm finding out that not a lot of people know about it, is a Nix and Arch and Kali, like weird combination OS.
1933820	1934460	It's awesome.
1934460	1936120	If you haven't used it before, just try it out.
1937100	1942980	But, Nix is nice where you can just install Nix shell and then run the packages.
1942980	1947380	That way you have access to all the Kali repos and then you can use Nix as well.
1947380	1948560	It's nice.
1948960	1950580	Why use this over dev containers?
1950780	1953220	Same reason you would use Kali over Debian.
1953280	1957780	It's just you don't want to have to open up all the ports and stuff like that.
1957780	1960700	This is technically less secure.
1962140	1965400	Okay, dependency hell is a really good reason for this.
1966040	1968560	There was one exploit that I had to do.
1968960	1970340	It was so annoying.
1970340	1981040	It was like, if you wanted to use certify and use the latest certificate abuse 11, you had to use Python 3.13 I think.
1981720	1995040	But, for the next box that you did, if you used the latest Python, their certificates were retired or something like that, so you had to downgrade your Python and two or three other things that you needed to do.
1995180	2002200	So, for two boxes, I shit you not, I needed five Python environments.
2003260	2015120	And this made it so that if I do need to do something specific to a particular hacked box domain, I could just use devenv.
2015120	2016460	And it was sick.
2016460	2021200	It was just like, again, took a lot from the mental fatigue.
2022920	2025960	Oh, and CTF tools break all the time.
2025960	2028260	All these hacking tools are so janky.
2028260	2033700	So, it's really nice to be able to pin it all into a development environment.
2034420	2035880	Collaboration was really nice.
2036580	2039440	A bunch of people here already mentioned devend and collaboration.
2039440	2044020	This was really nice because usually when you do hack the box, you're doing it with somebody else.
2044460	2054960	So, to get somebody else up to speed to where you're at, I could just be like, hey, here are all my files, now you're up to where I am, here's all the commands, and it was just like super fast.
2054960	2060480	I got one person to do it for me, and he was just like, this is amazing, I'm going to use it all the time now.
2061660	2064420	And finally, better vibes.
2064860	2070680	I don't want to call this vibe hacking, but that's kind of what it is.
2071340	2089280	I have carpal tunnel, and being able to just use natural language and then have to do all the CLI shortcuts that I usually do, even though I'm still using the terminal a lot, it reduced it a lot, and it made it so that I can now do four boxes in a weekend,
2089280	2091340	instead of before doing one a week.
2091980	2093540	Less keystrokes.
2094340	2102080	And finally, if you struggle with hyper-focusing and stuff like that, this is really nice.
2102720	2110380	Thanks, Nix and hacking and CGS are my favorite things, and I had nobody to talk to about this stuff.
2120390	2121830	Questions?
2154670	2170350	The question was, the question was, does having the LLM look at Nix and Nix being a more terse command profile make it better or easier?
2171570	2172650	Yeah.
2172690	2174250	I can see it.
2174250	2175870	That makes a lot of sense.
2175870	2179070	I noticed that it seemed a lot better.
2179530	2187810	If you have any questions, I'd love to talk to you in person as well.
