YouTube2Text

ASÍ LOS HACKERS USAN LA IA ( SIN RESTRICCIONES NI BLOQUEOS ) — Transcript

by Gorka El Bochi Morillo · 5,835 words · 871 segments · language en · Watch on YouTube

Full transcript

  1. 0:00If you try to do hacking using
  2. 0:01artificial intelligence, you'll get a
  3. 0:03message like this and you won't be able
  4. 0:05to.
  5. 0:06It doesn't matter which AI you're using
  6. 0:08; as a result of this, you aren't taking
  7. 0:10advantage of 70%of its power.
  8. 0:12In this video, I’m going to teach you
  9. 0:14three things. We’re going to divide it
  10. 0:16into three parts. In the first part,
  11. 0:17I’ll show you how to prevent this
  12. 0:19message from appearing and how I avoid
  13. 0:21it myself.
  14. 0:22In the second point, I’ll show you a few
  15. 0:25very good skills and resources so you
  16. 0:26can use artificial intelligence for
  17. 0:28hacking.
  18. 0:29And in the third point, I’ll teach you
  19. 0:31how to use these resources to hack the
  20. 0:33AI. Literally copy what I’m doing, and
  21. 0:36you’ll get very good results doing
  22. 0:38hacking with AI.
  23. 0:40It’s very important that you stay until
  24. 0:42the end, since it’s useless to have a
  25. 0:43driver's license if you don't know how
  26. 0:45to drive the car.
  27. 0:47Therefore, it’s not only important to
  28. 0:49get this permission approved—which I
  29. 0:50will teach you how to do—but also to
  30. 0:52know how to actually use it for hacking
  31. 0:54afterward.
  32. 0:55In this case, the first thing I’ll show
  33. 0:57you is how I bypass this restriction and
  34. 0:59can actually use it for hacking by going
  35. 1:02over here and deploying a cloud code.
  36. 1:04You can use any artificial intelligence
  37. 1:06, be it Claude, ChatGPT, or whatever.
  38. 1:09It’s exactly the same. And over here I
  39. 1:11have a lab set up, and I’m going to tell
  40. 1:13it to hack it, and you might say, "
  41. 1:14Gorka, you're doing it in a lab, the
  42. 1:16message won't pop up." Believe me, it
  43. 1:17will. Try the prompt I’m going to enter
  44. 1:20now yourself and tell me if it pops up
  45. 1:21or not. Well, I’m going to click here
  46. 1:24and copy the IP address. I’m going to
  47. 1:26tell it to hack this lab and tell it to
  48. 1:29get an RCE. Get an RCE. An RCE is
  49. 1:32probably the most serious vulnerability
  50. 1:34that exists in hacking. I’m going to
  51. 1:37paste the prompt here, and we'll see if
  52. 1:38this same restriction appears for me or
  53. 1:40not. I’m not touching anything; there
  54. 1:42won’t be any cuts now. And let’s see if
  55. 1:43it says anything to me. And it says, "I
  56. 1:45am going to attack the lab at whatever.
  57. 1:46" If you enter this same prompt, I
  58. 1:48assure you that it will appear for you,
  59. 1:49or any other prompt for that matter. And
  60. 1:51well, I have this ready here. Well, I’ll
  61. 1:54leave it running, and we’ll watch how it
  62. 1:55does it. Well, you’ve already seen how
  63. 1:58it’s going to be hacking away over here
  64. 2:00. It’s doing its own little thing. We’ll
  65. 2:02see how it does it as the video
  66. 2:04progresses.
  67. 2:05Anyway, I’m going to show you how to
  68. 2:07avoid triggering this restriction so you
  69. 2:09get the same result as me when you enter
  70. 2:11these kinds of prompts.
  71. 2:12To do this, we’re going to go to a
  72. 2:14browser. I have it open here, but I’ll
  73. 2:16show you how to search for it.
  74. 2:18You need to search for "Anthropic CVP
  75. 2:21program" and look specifically for the
  76. 2:25word "portal."
  77. 2:27When you perform this search, you need
  78. 2:30to click on this link right here. You’re
  79. 2:32going to click it, and it will take you
  80. 2:34to the login page. I’m in incognito mode
  81. 2:37in this tab, which is why it shows I’m
  82. 2:39not logged in, but I’m logged in on this
  83. 2:41other tab and this is what shows up for
  84. 2:43me. It will show you exactly the same
  85. 2:45thing. Cybersecurity program.
  86. 2:47I’m basically going to do this along
  87. 2:49with you. I’m going to show you how you
  88. 2:51need to submit this application, because
  89. 2:53if you do it even slightly wrong,
  90. 2:54they’re going to reject it. So,
  91. 2:56literally do what I’m doing—I mean, copy
  92. 2:58me exactly. So, alright, we’re going to
  93. 3:01go here. You will see this same thing,
  94. 3:02and we’re going to click "Apply" here.
  95. 3:04We’ll click here, and I’ll click up here
  96. 3:07on the right, and a form will appear.
  97. 3:09I’ll make it a bit larger so you can see
  98. 3:10it clearly. And perfect.
  99. 3:13It’s a nine-step form, but it’s super
  100. 3:14important that you copy me and do
  101. 3:16exactly what I do and what I tell you at
  102. 3:17each step, because I have a bunch of
  103. 3:19friends who got rejected.
  104. 3:21Therefore, well, this is what I get here
  105. 3:23. What best describes you? What I put
  106. 3:26here, and what I always select, is the
  107. 3:28first one. Individual Security
  108. 3:30Researcher. With this, we are telling
  109. 3:32them that we, as individuals, without
  110. 3:34working for any company—that is,
  111. 3:36completely independently—dedicate
  112. 3:37ourselves to finding security holes in
  113. 3:39companies.
  114. 3:41Something very important you have to
  115. 3:43understand is that we will use this
  116. 3:44ethically; that is, the capabilities
  117. 3:46they give us will be used in an ethical
  118. 3:48way. That is super important, okay? We
  119. 3:50will not use it to do any harm.
  120. 3:52So, okay, then we indicate our residence
  121. 3:55, which in my case is Spain, and down
  122. 3:57here we basically have to say what we
  123. 4:00are going to do with this.
  124. 4:02In this case, I am going to check this
  125. 4:04one here, which is basically bug bounty
  126. 4:06. I’m going to take a brief 30-second
  127. 4:08detour to explain this to you because
  128. 4:10it’s important that you know it.
  129. 4:12Bug bounty is basically looking for
  130. 4:14vulnerabilities independently from your
  131. 4:17home, wherever you live, and searching
  132. 4:19for vulnerabilities in well-known
  133. 4:21companies like, for example, Hostinger,
  134. 4:24Inditex, uh, X, Shopify.
  135. 4:26All of these are companies that have a
  136. 4:27bug bounty program. So you, from your
  137. 4:29home, look for vulnerabilities in these
  138. 4:31companies, report the flaw to them, and
  139. 4:33they pay you for it. Depending on the
  140. 4:35criticality of the flaw, depending on
  141. 4:36the impact it has, they will pay you
  142. 4:37more or less.
  143. 4:39You can do this from anywhere in the
  144. 4:40world, without a contract, without
  145. 4:42anything, today, right now. Okay? I have
  146. 4:44a ton of videos talking about this topic
  147. 4:45. When you finish this one, watch them,
  148. 4:48but it’s basically just that.
  149. 4:50So we are going to say that we want it
  150. 4:52for that, to search for vulnerabilities
  151. 4:54completely independently in bug bounty
  152. 4:56programs, since in this case we are
  153. 4:57going to explain it here a little bit.
  154. 4:59Just tell ChatGPT to do this for you,
  155. 5:01there's no problem. And in this case, I
  156. 5:03will put a period to enter anything and
  157. 5:05I will click continue over here.
  158. 5:07So, well, let's continue here with the
  159. 5:08next step.
  160. 5:10In this case, it is telling me to verify
  161. 5:12my own identity. What we have to do here
  162. 5:14is the typical process of verifying our
  163. 5:16identity with a national ID, with a
  164. 5:18passport, or whatever, okay? This will
  165. 5:20simply be taking a photo of your ID and
  166. 5:22putting it here and that's it. Nothing
  167. 5:24will happen at all.
  168. 5:26Also, I’m not going to do this step now
  169. 5:28, but as you move forward in the form,
  170. 5:30it will tell you to provide your bug
  171. 5:32bounty profiles.
  172. 5:34So, what are we going to do for these
  173. 5:36same steps?
  174. 5:37We are going to go to a platform like
  175. 5:39HackerOne, and HackerOne is a bug bounty
  176. 5:41platform, which means that HackerOne has
  177. 5:43a ton of companies, as you are seeing
  178. 5:45here: PayPal, Shopify, Snapchat, TikTok
  179. 5:47.
  180. 5:48It has a ton of companies that let you
  181. 5:50hack them and they will pay you for it.
  182. 5:52So, we will have to create an account
  183. 5:53here. In fact, I am going to open a
  184. 5:55regular browser to show you mine. It
  185. 5:57just opened a browser for me here, I'll
  186. 6:00move it up here, and if I log into my
  187. 6:02HackerOne, for example, I have to sign
  188. 6:05in, but I’ll show it to you from my own
  189. 6:07platform.
  190. 6:08This is a platform I recommend you take
  191. 6:11a look at, it's 100%free, where you can
  192. 6:13create a cybersecurity portfolio. I'm
  193. 6:15already logged into HackerOne; you can
  194. 6:17see here I was in incognito, but this is
  195. 6:19my main browser. And well, basically,
  196. 6:21this is HackerOne. Creating an account
  197. 6:23is super easy to do. You log in, enter
  198. 6:25your username and password, and that's
  199. 6:27it. And here, in this case, I'm showing
  200. 6:29you my profile, for example, where it
  201. 6:31shows I've hacked companies like
  202. 6:32Hostinger, Quora, and Inditex, and
  203. 6:34they've paid me for it. Okay, this is
  204. 6:36very cool. I have a ton of videos
  205. 6:37talking about this, I recommend you
  206. 6:39watch them, but it’s very important that
  207. 6:40you at least create an account to
  208. 6:42request this same certificate and this
  209. 6:43same application, okay? For this very
  210. 6:45thing.
  211. 6:46So, well, you're going to provide your
  212. 6:47profile, meaning you'll copy the URL
  213. 6:49here. You're going to go here to the CVP
  214. 6:51, to this form, and you're going to
  215. 6:53paste it in. I imagine it's right here;
  216. 6:55it seems like in this step you'll have
  217. 6:57to attach it, and that's all.
  218. 7:00When I filled out this form, I did it
  219. 7:01exactly by using ChatGPT, meaning I kept
  220. 7:03asking it, "Hey, what should I answer
  221. 7:04here?"
  222. 7:06Always do it from the perspective of
  223. 7:07being sincere, meaning give them your
  224. 7:09actual profile and do everything
  225. 7:10properly, okay?
  226. 7:12So, well, we have these steps here, you
  227. 7:14fill them out, and over the next few
  228. 7:15hours, they will grant you permission.
  229. 7:18You will receive an email telling you if
  230. 7:19they have accepted or denied it.
  231. 7:21So, something very important I want you
  232. 7:23to know is that it's likely they might
  233. 7:24turn you down. It is entirely possible.
  234. 7:27In fact, it has happened to many friends
  235. 7:29of mine that they were turned down, but
  236. 7:30it's no big deal because you can
  237. 7:32resubmit it in a week.
  238. 7:33You have a small waiting period of a
  239. 7:35week, and then you just resubmit it, and
  240. 7:37it's fine. I have friends who had it
  241. 7:38accepted on their third, fourth, or even
  242. 7:40first try. Okay, so don't worry about
  243. 7:42that.
  244. 7:44But well, once we have this, as I told
  245. 7:46you, it’s useless to have this
  246. 7:48certificate, to do it and all, if you
  247. 7:50don't know how to use it correctly.
  248. 7:53And since it’s going to take them days
  249. 7:55to resolve it for you, watch this video
  250. 7:57until the end and just take notes on
  251. 7:58everything.
  252. 8:00And well, we are going to talk about how
  253. 8:01to use this for hacking. I have my
  254. 8:03Claude here, by the way, let’s see how
  255. 8:05it does it. And here it has already
  256. 8:07pulled a few flaws, I think, and it got
  257. 8:08an RCE in the end. I mean, it’s crazy.
  258. 8:11In the end, it has managed to execute
  259. 8:13commands.
  260. 8:14I mean, you can basically freak out here
  261. 8:15. I mean, it hacked the entire lab and
  262. 8:17it’s outrageous. But well, let's get to
  263. 8:20the point.
  264. 8:21Skills for doing hacking with artificial
  265. 8:23intelligence.
  266. 8:25There is one that I really like, that I
  267. 8:27always recommend to you, and it is that
  268. 8:28you have to go to your browser and
  269. 8:30search for Claude Bug Hunter.
  270. 8:32You go here, search, and it’s this one
  271. 8:34here, it seems. I'm going to enter here
  272. 8:36and indeed it is this one here.
  273. 8:38This is a great skill, in this case it’s
  274. 8:41for Claude, but as I said, you can use
  275. 8:43it in ChatGPT, or well, Codex, whichever
  276. 8:45you want.
  277. 8:46But well, what is this here?
  278. 8:48This is a skill that I will now teach
  279. 8:50you how to install and use, which has a
  280. 8:52lot of subskills, you see here, and it
  281. 8:54has bug bounty skills, it has
  282. 8:56reconnaissance skills, specific
  283. 8:57vulnerability skills, absolutely
  284. 8:59everything.
  285. 9:01It’s crazy. Logically, it is highly
  286. 9:03recommended. It is the one I always
  287. 9:04recommend. And well, to the point, how
  288. 9:06do you install this? We are going to
  289. 9:07click here where it says code and we are
  290. 9:09going to copy this URL here. We are
  291. 9:11going to copy this URL. We are going to
  292. 9:12go to our Claude or Codex or whatever.
  293. 9:15In this case, I am going to clear the
  294. 9:17session and I am going to tell it to
  295. 9:20install this hacking skill.
  296. 9:22I'll give it this, I'll paste the
  297. 9:24skill's URL and that's it. I enter this
  298. 9:26. And now as I say, I don't want to make
  299. 9:28cuts because I want you to see what it's
  300. 9:30really like.
  301. 9:32And now what it will be doing is that it
  302. 9:33will be here installing the skill.
  303. 9:36And here it tells me, I'm going to
  304. 9:37install the skill first, clone the repo
  305. 9:38, yadda yadda, yadda yadda, yadda yadda
  306. 9:39. Perfect. So, now it will do it itself
  307. 9:41. You can install it manually. Honestly
  308. 9:44, I'm very lazy, so I always tell Claude
  309. 9:46to install the skills, MCPs, and
  310. 9:48everything, but you can also do it
  311. 9:51manually. In fact, right here, it shows
  312. 9:53you exactly how to do it, okay? I think
  313. 9:55it's easier to install it manually than
  314. 9:57how I did it, but I’m just too lazy. So
  315. 10:00, I just tell it to do it directly.
  316. 10:02So, well, it's already installing the
  317. 10:04skill here, entering different commands
  318. 10:06, and setting things up.
  319. 10:08In this case, I already have it
  320. 10:09installed. I don't know if it will
  321. 10:10detect that.
  322. 10:12Maybe I don't have it installed in this
  323. 10:14project, but hey, once it's installed,
  324. 10:15I'll show you how to use it and how to
  325. 10:17hack an application using this cool
  326. 10:19skill.
  327. 10:21And well, installer, so-and-so,
  328. 10:22so-and-so, so-and-so. Anyway, let's see
  329. 10:24how it goes.
  330. 10:26And I'm also going to show you something
  331. 10:28very interesting: I'll teach you how to
  332. 10:29use the MCPs that I use to hack
  333. 10:30applications.
  334. 10:32This is very important and it's going to
  335. 10:34surprise you a lot.
  336. 10:35I'm going to have my Claude take control
  337. 10:38of my browser so it can directly use
  338. 10:40Google as if it were literally me and
  339. 10:42hack the application.
  340. 10:44I mean, it will click around the page
  341. 10:47itself, log in, input payloads, and do
  342. 10:50absolutely everything.
  343. 10:53And well, it seems like it's finishing
  344. 10:55up now, and perfect, 83 hacking skills
  345. 10:57have been installed.
  346. 10:59In fact, if we type/skills here, we can
  347. 11:01see them right here. If I scroll down,
  348. 11:04we have a ton of hacking skills here.
  349. 11:07These are all the ones we’ve installed.
  350. 11:09There's a whole bunch of them here. And
  351. 11:10well, perfect. How are we going to use
  352. 11:12them now?
  353. 11:13The best way I recommend using these
  354. 11:15skills is to use them alongside an MCP.
  355. 11:18As I mentioned, an MCP is like giving
  356. 11:21Claude arms and eyes.
  357. 11:24For example, the Gmail MCP allows Claude
  358. 11:27to access your Gmail inbox to see emails
  359. 11:29, reply to them, and so on.
  360. 11:32It gives it arms and eyes because it
  361. 11:33provides both actions and visibility. In
  362. 11:36this case, there's one MCP that I really
  363. 11:38like, which is the Chrome MCP.
  364. 11:40The Chrome MCP is basically what will
  365. 11:43allow Claude to open a browser and
  366. 11:45perform actions within that browser. If
  367. 11:48I type slash mcp, you'll be able to see
  368. 11:50that I have a few installed here. I have
  369. 11:52the Gmail one, the World Calendar one,
  370. 11:53and so on. But here, the one I'm
  371. 11:55interested in is this one, Chrome
  372. 11:57DevTools and Chrome in Chrome. They are
  373. 12:00two different ones. And how do you
  374. 12:01install this MCP? Well, just like before
  375. 12:03, we're going to tell it here, install
  376. 12:05the Google Chrome MCP. I mean, you
  377. 12:07literally just tell it this and that's
  378. 12:08it. There are two ways to do it.
  379. 12:10There's the Google Chrome extension,
  380. 12:11which I recommend a bit less, and
  381. 12:13there's another way where you just tell
  382. 12:14it this directly and it will do it for
  383. 12:16you, okay?
  384. 12:17But anyway, we're going to use this to
  385. 12:18hack, okay? Let's get down to business.
  386. 12:21To do this, what are we going to tell it
  387. 12:22? First, we need a victim. In this case
  388. 12:24, the victim will be this lab right here
  389. 12:26. Let's take a look at it. We're going
  390. 12:28to go here to our browser and see what
  391. 12:30this lab has. I'll go in here and we see
  392. 12:33it says B Keim, or whatever. Perfect.
  393. 12:35Let's create an account. Let's see a
  394. 12:37little bit of what this application has
  395. 12:38, right? For example, for company name,
  396. 12:40I'll put Gorcavo.
  397. 12:42For Your name, the same. Work email
  398. 12:44[email protected] and for the password
  399. 12:46, the same.
  400. 12:47Once we create the account—and I'll make
  401. 12:50it a bit bigger so you can see it well—
  402. 12:52different things will appear.
  403. 12:55We see that we have vaults, which
  404. 12:56basically, so you can imagine them, are
  405. 12:58like secret compartments in our account
  406. 12:59.
  407. 13:01For example, imagine a password manager
  408. 13:03where we put our passwords and save them
  409. 13:05there.
  410. 13:06Well, this would be something very
  411. 13:08similar, but for saving all kinds of
  412. 13:10information. So, anyway, let's move
  413. 13:12forward a little. We've seen the website
  414. 13:14, we see it has a web and everything is
  415. 13:15cool. Now we're going to tell it to hack
  416. 13:17it. I've cleared the previous context,
  417. 13:19so it doesn't know it has hacked it. If
  418. 13:21you remember at the beginning of this
  419. 13:22video, we told it, "Hey, hack this
  420. 13:24website."
  421. 13:25And it did it. It found vulnerabilities
  422. 13:27and did things. But let's go a little
  423. 13:29further, shall we?
  424. 13:31The first thing we'll tell it is, use
  425. 13:33the reconnaissance skills.
  426. 13:37Damn, I can't spell reconnaissance, to
  427. 13:42see what functions and things this lab
  428. 13:46has. Let's put this in just like that.
  429. 13:49The first thing, whenever you're going
  430. 13:51to hack an application, I recommend you
  431. 13:52do this exact thing: tell it there are
  432. 13:54three phases to a hack: reconnaissance,
  433. 13:56exploitation, and escalation.
  434. 13:58So, we're going to perform those three
  435. 14:00that this lab has.
  436. 14:03Okay, I'm going to put our victim's IP
  437. 14:05here. In this case, you could provide a
  438. 14:07domain, okay? I'm going to tell it to
  439. 14:09use the reconnaissance tool, whatever,
  440. 14:12and look for bugs. I'm going to tell it
  441. 14:13something very important here.
  442. 14:15I'll tell it to use the Chrome mcp right
  443. 14:19here.
  444. 14:20If I knew how to type, guys, I really
  445. 14:22need to take a typing course urgently.
  446. 14:24Use the Chrome skills to see the web and
  447. 14:27look for the bugs.
  448. 14:30put. Perfect. I'll enter this, put my
  449. 14:33hands up so you see I'm not cutting
  450. 14:34anything or doing anything, and let's
  451. 14:36see what happens here.
  452. 14:38In this case, it uses the reconnaissance
  453. 14:39skill, whatever. As I mentioned, a hack
  454. 14:41consists of three phases. First, we have
  455. 14:44to do reconnaissance, that is, see what
  456. 14:46we're facing and come up with an attack
  457. 14:49plan.
  458. 14:50Then comes the exploitation phase, where
  459. 14:52we have to exploit the vulnerabilities
  460. 14:53we found during this prior
  461. 14:55reconnaissance.
  462. 14:56And then comes the privilege escalation
  463. 14:59part, where we've already gained access
  464. 15:01to the server and we're going to gain
  465. 15:04full access to it, since generally when
  466. 15:06we hack a server, we don't start with
  467. 15:09full privileges.
  468. 15:11But anyway, let's see what it's doing
  469. 15:12here.
  470. 15:13Here it's saying it's a lab, and so on.
  471. 15:16And perfect. Now it's going to do a scan
  472. 15:19here.
  473. 15:20Now it's running NMAP scans and doing a
  474. 15:22few things completely autonomously.
  475. 15:25And I want to take this opportunity to
  476. 15:27say one thing, and that is that
  477. 15:29precisely because of this, because of
  478. 15:30what you're seeing now, it's the best
  479. 15:32incentive for you to learn cybersecurity
  480. 15:34. I don't consider cybersecurity to be
  481. 15:37like coding, where in the end, an AI can
  482. 15:39build a website for you or you can do it
  483. 15:41yourself by learning programming.
  484. 15:44Cybersecurity will always require you to
  485. 15:46tell it exactly what it has to do and
  486. 15:48how it has to do it.
  487. 15:49Therefore, let this complete craziness
  488. 15:52and this autonomy that you are seeing
  489. 15:54now not limit you when it comes to
  490. 15:56wanting to learn hacking, or demotivate
  491. 15:59you from wanting to take this seriously
  492. 16:01.
  493. 16:02So well, here it's doing different
  494. 16:03things. I'm going to give it a direct
  495. 16:05push. I'm going to tell it, "Create an
  496. 16:08account on the web and I want you to
  497. 16:10look for vulnerabilities," and in this
  498. 16:12case, I'll give it a spoiler, meaning
  499. 16:15I'll tell it where things are headed to
  500. 16:17go as fast as possible.
  501. 16:20It has an IDOR, the website, pull an RCE
  502. 16:23.
  503. 16:25In this case, I'm going to give it a
  504. 16:27little push directly and let it get to
  505. 16:29work. Once they accept this permission,
  506. 16:31you will receive an email telling you if
  507. 16:33it has been approved or rejected.
  508. 16:36In this one, once it’s been approved,
  509. 16:38you will go directly to your Claude, in
  510. 16:40this case, to your ChatGPT or whatever
  511. 16:42you're using, and you can start using it
  512. 16:45for hacking.
  513. 16:47So, to use the latest models, because
  514. 16:49we're on 4.8 now, if you look over here
  515. 16:52, but to use the 5.5 s, I think you'll
  516. 16:55have to make another request.
  517. 17:00But anyway, while the scan is running,
  518. 17:02I'll go ahead and explain a few points
  519. 17:03and we'll do a few little things.
  520. 17:06First off, how long does it usually take
  521. 17:07for Anthropic, ChatGPT, or wherever
  522. 17:09you're sending the request to respond?
  523. 17:12It usually takes a few days, or even
  524. 17:14just one day. They were quite fast for
  525. 17:16me, but I have friends who it took maybe
  526. 17:18a week or so, okay? Don't worry about
  527. 17:20that.
  528. 17:21It usually takes a different number of
  529. 17:22days, but this permission, in principle
  530. 17:24, does not expire.
  531. 17:25In principle, it is permanent, and I
  532. 17:27requested it I think at the beginning of
  533. 17:29the year and it still lasts, so I don't
  534. 17:30think it's much of a problem. And look,
  535. 17:32something very curious is that it has
  536. 17:34just started doing this right here. But
  537. 17:35anyway, while this is happening—which,
  538. 17:38by the way, it has opened a Chrome
  539. 17:39window over here and is literally using
  540. 17:41it as if it were me, right here, as you
  541. 17:43can see, it’s already using my browser.
  542. 17:46I'm going to put it over here so you can
  543. 17:47see it well. And the thing is, it has
  544. 17:49gained full control over my browser. I
  545. 17:51am literally not touching anything. That
  546. 17:53mouse isn't mine and this is crazy.
  547. 17:55To do this same thing, what you have to
  548. 17:57do is install this extension here, which
  549. 17:59is the Claude extension from the Google
  550. 18:01Chrome Store itself or whatever it's
  551. 18:02called.
  552. 18:04You can install this extension and the
  553. 18:06Claude code will automatically connect
  554. 18:08and do everything.
  555. 18:09Okay, in this case, I'm going to set it
  556. 18:11up like this so you can see it nicely,
  557. 18:13exactly, and so you can see a little bit
  558. 18:15of what it's doing.
  559. 18:17So it’s just crazy. I mean, for me,
  560. 18:19having done hacking for a lot of years,
  561. 18:21if someone had told me this was possible
  562. 18:23—that is, doing reconnaissance and all
  563. 18:25kinds of things with Claude—I honestly
  564. 18:28wouldn't have believed it.
  565. 18:30But wow, this is outrageous. Over here,
  566. 18:32what it’s doing on the right is drawing
  567. 18:34conclusions, right? It’s saying, "Whoa,
  568. 18:35it has this here, it has that there, it
  569. 18:37has another thing," and so on. And here
  570. 18:39on the left, what it’s doing is testing
  571. 18:41it.
  572. 18:42When I talked to you about giving eyes
  573. 18:43and hands to Claude, I was talking about
  574. 18:45this.
  575. 18:46This is really only 1%of what you can do
  576. 18:49, because there are a lot more things I
  577. 18:51want to delve into in other videos and
  578. 18:54content, but anyway, what it’s doing
  579. 18:56here is identifying different points.
  580. 18:59For example, the JSON Web Token, which
  581. 19:01is how you authenticate on websites, has
  582. 19:03a small flaw: it isn't signed, that JSON
  583. 19:06Web Token isn't encrypted.
  584. 19:08And here, well, it looks like what it's
  585. 19:10going to do now is steal an account or
  586. 19:12do something—it’s going to do something
  587. 19:14pretty critical. Literally, as you can
  588. 19:16see, I am not doing anything. I mean,
  589. 19:19this video isn't about me explaining
  590. 19:21hacking to you; this video is about how
  591. 19:23Claude hacks, literally.
  592. 19:25I mean, it's crazy.
  593. 19:26It just found an IDOR here. An IDOR is
  594. 19:28an Insecure Direct Object Reference
  595. 19:29vulnerability. Let me give you an
  596. 19:31example. When you create an account on a
  597. 19:33website, for instance, you are assigned
  598. 19:35an account identifier right then and
  599. 19:37there—in this case, account 1001, 1002,
  600. 19:401003.
  601. 19:41So, there are certain requests. For
  602. 19:42example, when you change your profile
  603. 19:44picture, what you're doing is telling
  604. 19:46the server, "Hey, I am account 100 and I
  605. 19:48want to change my profile picture."
  606. 19:51So, you send that request to the server
  607. 19:53.
  608. 19:54But what happens if, in that request,
  609. 19:55instead of saying you are account 1002?
  610. 19:57You say you are account 150.
  611. 20:00Well, if the server doesn't have the
  612. 20:02validations done correctly, it will
  613. 20:04allow you to tell the server that you
  614. 20:06are account 1050, it will believe you,
  615. 20:08and it will change the profile picture
  616. 20:10for user 1050.
  617. 20:13In this case, changing a profile picture
  618. 20:15isn't a very critical request, but if,
  619. 20:17for example, we do it for a password
  620. 20:20change, email change, or functions like
  621. 20:22that, it certainly can be.
  622. 20:25I mean, this is outrageous, total IDOR,
  623. 20:26and I don't know what, but it's doing
  624. 20:28things.
  625. 20:29I mean, literally, this video isn't me
  626. 20:30doing the hacking, it's the artificial
  627. 20:32intelligence doing the hacking.
  628. 20:35It’s complete madness what it's doing
  629. 20:37right here.
  630. 20:38In this case, well, we see that the
  631. 20:40algorithm accepted it, critical bypass,
  632. 20:42I don't know, and perfect.
  633. 20:44Something very curious, I'm going to
  634. 20:46explain what it's doing as we go, and
  635. 20:48that is that by abusing this
  636. 20:50vulnerability, it has managed to obtain
  637. 20:52an administrative token.
  638. 20:55Let me break down the attack chain it
  639. 20:57followed for you. It detected an IDOR in
  640. 21:00one of these vaults, which, as we
  641. 21:02mentioned before, a vault is like a
  642. 21:04small secret compartment for each user.
  643. 21:07Well, it accessed another user's secret
  644. 21:09compartment by abusing an IDOR and
  645. 21:11managed to extract a secret.
  646. 21:13The secret was that the tokens were not
  647. 21:16signed. So, when the token isn't signed
  648. 21:19, it has a quite serious problem, which
  649. 21:21is that it allows you, as a normal user
  650. 21:24, to set whatever token you want.
  651. 21:27So, once you set whatever token you want
  652. 21:28, you can set an administrative token.
  653. 21:30And in this case, that's literally what
  654. 21:32it did. It set an administrative token
  655. 21:35and obtained admin access.
  656. 21:37So, this is logically extremely critical
  657. 21:40. But anyway, I'm going to make a quick
  658. 21:42cut and we'll see what it's done. I made
  659. 21:44a cut of literally 2 minutes and look at
  660. 21:46the mess it’s already made here.
  661. 21:48It literally extracted 12 user secrets
  662. 21:51with the IDOR and pulled an RCE, the
  663. 21:53most critical vulnerability you can find
  664. 21:56in cybersecurity.
  665. 21:58Executing commands on the server is just
  666. 22:00outrageous. Right here it's giving us a
  667. 22:03little demo that it actually got it. And
  668. 22:05now we are going to use the AI to keep
  669. 22:08hacking.
  670. 22:09And in this case, look, it seems it even
  671. 22:11closed the browser on me.
  672. 22:13We're going to do some things now;
  673. 22:15precisely here it's telling me that it
  674. 22:17has already managed to execute code on
  675. 22:19the server, and what I'm going to tell
  676. 22:21it is the following.
  677. 22:23Over here what I’m going to say is, "
  678. 22:25Okay, great.
  679. 22:27Well, now I want you to access the
  680. 22:30server.
  681. 22:31If I know how to type, guys. I swear
  682. 22:33that after finishing this video I’m
  683. 22:35heading straight to a typing course.
  684. 22:38Access the server, and I want you to
  685. 22:42perform a privilege escalation and
  686. 22:46become root.
  687. 22:48What is this about becoming root? Well,
  688. 22:50let me explain it on my own computer,
  689. 22:52okay? I have my computer here, in this
  690. 22:54case, it’s a Mac. This is a completely
  691. 22:56normal terminal.
  692. 22:57And if I type" whoami, "in this case, we
  693. 23:00see that I am the user Gorka, but Gorka
  694. 23:02needs critical permissions to perform
  695. 23:04some actions.
  696. 23:06What kind of actions? Well, editing
  697. 23:07sensitive system files. For example,
  698. 23:10it’s like when you log into your Windows
  699. 23:12or whatever you have, you know how when
  700. 23:14you go to open an app, this popup
  701. 23:16appears asking," Do you want to run this
  702. 23:18with administrative permissions? "And it
  703. 23:20gives you a yes or a no. Well, this is
  704. 23:22literally the same thing.
  705. 23:24So in this case, I'm going to give you
  706. 23:25an example. If I type" nano/etc/hosts, "
  707. 23:28which is a critical system file, if I
  708. 23:31make a change and try to save it, for
  709. 23:33example, I type" hello "here, press
  710. 23:36Control X, press Y, and well, press
  711. 23:38enter in this case, it’s going to tell
  712. 23:41me" permission denied, "it says it right
  713. 23:44here. This is because I don’t have
  714. 23:46permissions to edit this file, which is
  715. 23:48critical at the system level.
  716. 23:50So, what do I need to edit critical
  717. 23:52system files? Root privileges.
  718. 23:55I need to gain root access. In this case
  719. 23:58, I am Gorka. And if I type" sudo whoami
  720. 24:00"and enter my computer password, for
  721. 24:02example, it will tell me that I am root
  722. 24:04. What is this" sudo "thing? When we put
  723. 24:07" sudo "before a command, it means we
  724. 24:09want to execute that command as root. In
  725. 24:12this case," sudo whoami "is root, and"
  726. 24:14whoami "by itself is just Gorka. Gorka
  727. 24:17doesn’t have privileges to edit that
  728. 24:19file, but root in this case does.
  729. 24:21If I type this same command and put"
  730. 24:23sudo "before it—wait, I got distracted.
  731. 24:26If I put" sudo "before it here, then it
  732. 24:28will let me edit it. For example, I’m
  733. 24:30going to change this name and put a" P "
  734. 24:32at the end, okay? Instead of an" L, "
  735. 24:34I’ll put a" P "here. I save the file,
  736. 24:37press enter, and it has saved correctly
  737. 24:39.
  738. 24:40In fact, now when I run a CAT—which is a
  739. 24:42command we use to see the content of a
  740. 24:45file—we will see that it now has an AP.
  741. 24:49But anyway, this is basically the same
  742. 24:50thing as when we hack a system.
  743. 24:53When we get into a system, we don't have
  744. 24:55root access; we have low-privilege
  745. 24:56access, and our goal is to become root,
  746. 24:58which is what I've asked the cloud to do
  747. 25:00.
  748. 25:01We've told it," Okay, you've managed to
  749. 25:03execute code on the server, meaning
  750. 25:05commands, but you aren't root; you can
  751. 25:07execute commands, but without much
  752. 25:09privilege. I want you to have full
  753. 25:11privileges. "The thing is, when we get
  754. 25:13full privileges on a server, we can do
  755. 25:16whatever we want.
  756. 25:17I mean, the server is ours in this case
  757. 25:19. Well then, what do we have here?
  758. 25:21Perfect. Now, privilege escalation from
  759. 25:23the RCE foothold. Perfect.
  760. 25:25It's doing a lot of things here. It's
  761. 25:27making quite a mess, as it has detected
  762. 25:30a super interesting vector, which is a
  763. 25:33vector for abusing crons.
  764. 25:36I'm talking to you here, it might sound
  765. 25:38like Greek to you, but I'm going to
  766. 25:39break it all down so you understand.
  767. 25:41What is a crontab? A crontab is a task
  768. 25:44that runs on your computer every so
  769. 25:46often. I'll give you an example, or even
  770. 25:48after a certain action. Why do I do this
  771. 25:50? Because I went for the cheapest Mac
  772. 25:52and it has very little space. So, I have
  773. 25:54a script that every 2 hours cleans up
  774. 25:56all the temporary files, and that's how
  775. 25:58I manage to recover space. Well,
  776. 26:00something very similar can happen on a
  777. 26:02server. In this case, on the server,
  778. 26:04what's happening here is that every
  779. 26:07minute—this means every minute—a backup
  780. 26:10script is being executed. What is a
  781. 26:12backup script? Well, for example, if you
  782. 26:14have sensitive files on your computer,
  783. 26:16you can make a script that sends those
  784. 26:18sensitive files to another server every
  785. 26:21half hour. That way, they stay a bit
  786. 26:23safer. If your computer falls out the
  787. 26:25window, you still have the backup
  788. 26:27somewhere, right?
  789. 26:28So, it's basically this.
  790. 26:30Here, what it's doing is that it already
  791. 26:32detects a vector. What is the vector it
  792. 26:33has detected? The vector it detected is
  793. 26:36that the backup runs as the root user,
  794. 26:39but you, as a low-privilege user, can
  795. 26:41modify the backup script.
  796. 26:44So, bringing it down to earth. How can
  797. 26:46we do this same thing?
  798. 26:47Basically, what's happening here is that
  799. 26:50the action is being executed as an
  800. 26:52administrator, but we can modify that
  801. 26:54action.
  802. 26:55Well, we can make that same script
  803. 26:57that's running as an administrator, we
  804. 26:58can make it do something else.
  805. 27:00For example, we can remove the password
  806. 27:02for the root user and we can access it
  807. 27:04as root. Do you see where I'm going with
  808. 27:06this? This is basically the flow and the
  809. 27:09game of privilege escalation. In this
  810. 27:11case, it detected the vector and root
  811. 27:13was achieved.
  812. 27:16Perfect, it managed to hack it and, in
  813. 27:18this case, it read the file that root
  814. 27:20had in its personal directory, which as
  815. 27:22unprivileged users we couldn't detect or
  816. 27:25read, much less.
  817. 27:27So, it literally did the whole hack on
  818. 27:31its own.
  819. 27:32I mean, I don't know if you realize how
  820. 27:34crazy this is, but as I told you before
  821. 27:36, and I'll say it again, I don't want
  822. 27:38this to discourage you in the slightest
  823. 27:40from learning cybersecurity and going
  824. 27:42for it, not at all.
  825. 27:44I mean, precisely because of this, it's
  826. 27:46the best time and the best reason to do
  827. 27:47it, because you've noticed that at all
  828. 27:49times I've been saying," Okay, so it did
  829. 27:51a JSON Web Token, it did the root, it
  830. 27:52did whatever.
  831. 27:54"Well, this kind of thing is, I mean,
  832. 27:56it's important that you have knowledge
  833. 27:58of cybersecurity and that you get
  834. 28:00trained, since with this, by training in
  835. 28:02cybersecurity, you understand what
  836. 28:04artificial intelligence is doing and you
  837. 28:06can kind of lead the way and tell it,"
  838. 28:08Okay, do this, do that, "because if not
  839. 28:10, you're going to waste your time, your
  840. 28:12tokens, and you won't have a clue what
  841. 28:14it's doing.
  842. 28:16Therefore, the best place to train in
  843. 28:18cybersecurity is this YouTube channel,
  844. 28:20which is completely free, and my Discord
  845. 28:22community, for which you have the link
  846. 28:24in the description.
  847. 28:26There are a ton of hackers learning
  848. 28:28cybersecurity there, and I do a live
  849. 28:30stream every week.
  850. 28:33I do a live stream, for example, on AI
  851. 28:35hacking, a live stream hacking a machine
  852. 28:37, a live stream doing anything, even a
  853. 28:39live stream answering questions, any
  854. 28:41kind of stuff, we do that weekly.
  855. 28:44So, join that community where I do those
  856. 28:45live streams; it's pretty cool. As I
  857. 28:47mentioned, if you've made it this far,
  858. 28:49you're a rockstar, I mean, you deserve
  859. 28:51the best in life.
  860. 28:52And anyway, I hope you do very well and
  861. 28:54that you liked this. I'm just here
  862. 28:56looking at what Claude has done because
  863. 28:57I'm freaking out. This is crazy.
  864. 29:00Like this video, subscribe if you
  865. 29:01enjoyed it, of course, leave me a
  866. 29:02comment and tell me what you think.
  867. 29:04Did you like it? Did you not like it? Do
  868. 29:06you prefer another? Which AI do you use
  869. 29:08? I’ll be reading all of you. And anyway
  870. 29:09, let’s get to it and hope it goes great
  871. 29:11. Yeah.

About this transcript

This page contains the full transcript of ASÍ LOS HACKERS USAN LA IA ( SIN RESTRICCIONES NI BLOQUEOS ) by Gorka El Bochi Morillo, generated from the public captions YouTube serves with the video. The transcript has 5,835 words across 871 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.