YouTube2Text

YouTube transcript (uPbQNFuDGUs) — Transcript

4,625 words · 702 segments · language en · Watch on YouTube

Full transcript

  1. 0:00You clicked this because you want to
  2. 0:01learn how to hack and you're tired of
  3. 0:03videos that promise to teach you then
  4. 0:05spend 20 minutes telling you to go learn
  5. 0:07network or learn Linux first and never
  6. 0:10actually show you anything. This is
  7. 0:12different. In the next few minutes
  8. 0:14you're going to break into a real
  9. 0:15computer with your own hands and you'll
  10. 0:18understand exactly how you did it. I'm
  11. 0:20going to put my hands on the keyboard
  12. 0:21with you. Every command, every click,
  13. 0:23every line that shows up on your screen
  14. 0:25explained. If you have never opened a
  15. 0:27terminal in your life you are exactly
  16. 0:30who I made this for. Here's what you'll
  17. 0:32walk away knowing. The [music] actual
  18. 0:33five-step process every professional
  19. 0:36hacker uses. How to scan a target and
  20. 0:38find its weak points. How to break in
  21. 0:41and what to do once you're inside. Not
  22. 0:43theory, the real skills, the ones
  23. 0:45companies pay six-figures for and we're
  24. 0:47not going to practice on anything
  25. 0:49illegal. There's a free website that
  26. 0:51gives you a real target machine built
  27. 0:53specifically for this. You attack it in
  28. 0:55your browser. Nothing to install,
  29. 0:57completely legal. So open a second tab
  30. 0:59right now because you're not going to
  31. 1:01watch me hack. You're going to hack
  32. 1:03right alongside me. Most people will
  33. 1:04watch this whole thing and never type a
  34. 1:06single command. They'll stay stuck
  35. 1:08forever. Be the one who actually follows
  36. 1:10along because 15 minutes from now you'll
  37. 1:13have done the thing you've been wanting
  38. 1:14to learn for real. Before we touch
  39. 1:17anything, one rule and it matters more
  40. 1:19than anything else in this video. You
  41. 1:21only hack machines you own or machines
  42. 1:24you have written permission to attack.
  43. 1:26The target we're using today is built
  44. 1:27[music] for this. It's legal. It's
  45. 1:29designed to be hacked by beginners
  46. 1:31learning exactly what you're learning.
  47. 1:33That's allowed. What's not allowed?
  48. 1:35Pointing these tools at a website, a
  49. 1:37network or a device you don't own. Even
  50. 1:40just scanning a stranger's system
  51. 1:41without permission [music] is a crime in
  52. 1:43most countries. Here's the first thing
  53. 1:45that's going to change how you see
  54. 1:47hacking forever. Hacking is not random
  55. 1:49typing until you get in. That's a movie.
  56. 1:52Real hacking is a process, a repeatable
  57. 1:54step-by-step process. And once you know
  58. 1:57it, every hack you ever attempt becomes
  59. 1:59the same five steps in the same order.
  60. 2:01Professional pen testers follow it.
  61. 2:03Government red teams follow it. Bug
  62. 2:05bounty hunters follow it. After today,
  63. 2:08you'll follow it, too. Write these down.
  64. 2:09[music]
  65. 2:10Five phases. Phase one, reconnaissance.
  66. 2:12You gather information about your
  67. 2:14target. Who is it? What is it? What's it
  68. 2:17running? Before you ever attack, you
  69. 2:19learn. Phase two, scanning. You map the
  70. 2:21target. You find its open doors, the
  71. 2:24services running behind them. This is
  72. 2:26where you find your way in. Phase three,
  73. 2:28[music]
  74. 2:28exploitation. You take a weakness you
  75. 2:30found and you use it to break in. Phase
  76. 2:33four, access. You're inside. Now you
  77. 2:35take control. You see what you can reach
  78. 2:38and you climb to the highest level of
  79. 2:39power on the machine. Phase [music]
  80. 2:41five, reporting. You document everything
  81. 2:43you found because in the real world,
  82. 2:45this is the part that pays. Companies
  83. 2:47hire you to find the holes, then tell
  84. 2:50them how to fix them. That's the entire
  85. 2:51craft. Recon, scan, exploit, access,
  86. 2:55report. Say it back in your head right
  87. 2:57now. Here's why this matters so much for
  88. 2:58you as a beginner. Most people drown
  89. 3:01because they think they need to memorize
  90. 3:02a thousand tricks.
  91. 3:04>> [music]
  92. 3:04>> They don't. You need to learn one
  93. 3:05process, then you just get better at
  94. 3:07each phase over time. A beginner thinks
  95. 3:09hacking is about secret knowledge. A
  96. 3:11professional knows it's about working
  97. 3:13the process patiently [music]
  98. 3:15every time. And here's the best part.
  99. 3:17We're not going to just talk about these
  100. 3:18five phases. We're going to walk through
  101. 3:20all five on a real machine together
  102. 3:22[music] starting right now. So let's get
  103. 3:24you set up. Okay, hands on keyboard.
  104. 3:26Let's get you set up. Follow along
  105. 3:28exactly. I'll wait for you at every
  106. 3:30step. Open a new tab. Go to
  107. 3:32tryhackme.com. This is the platform
  108. 3:34we're using. It's free to start. It
  109. 3:37gives you real machines to legally hack.
  110. 3:39And the best part, you don't install
  111. 3:41anything. Everything runs in your
  112. 3:43browser. If you're on a laptop you
  113. 3:44bought yesterday or a five-year-old
  114. 3:46machine, it doesn't matter. It all
  115. 3:48happens in the browser. Sign up for a
  116. 3:50free account, email and password. Takes
  117. 3:5330 seconds. I'll wait. Pause the video
  118. 3:55if you need to. Got your account? Good.
  119. 3:57Now, in the search bar at the top, type
  120. 3:59the word blue. Just blue. You're looking
  121. 4:02for a room called blue. A room is just
  122. 4:04TryHackMe's word for a guided hacking
  123. 4:06challenge. Click into the blue room.
  124. 4:08Now, why this machine? I picked blue on
  125. 4:11purpose. It's a Windows computer with a
  126. 4:13famous weakness. The exact kind of
  127. 4:16weakness that took down hospitals and
  128. 4:18companies across the world a few years
  129. 4:19ago. You're going to exploit that same
  130. 4:22weakness today as your very first hack.
  131. 4:25It's dramatic and it works every time.
  132. 4:27Perfect for your first win. Here's your
  133. 4:29first real action. On the room page,
  134. 4:31you'll see a button that says start
  135. 4:33machine. Click it.
  136. 4:35>> [music]
  137. 4:35>> This boots up your target, the actual
  138. 4:37computer you're going to hack. It takes
  139. 4:38about a minute to start. While it boots,
  140. 4:41a box appears, usually at the top of the
  141. 4:43page, and it shows you an IP address,
  142. 4:46something like [music] 10 10 and then
  143. 4:48two more numbers. IP address is your
  144. 4:51target. That's the address of the
  145. 4:52machine you're attacking. Write it down
  146. 4:55or just keep that box visible. You're
  147. 4:57going to need it constantly. Every tool
  148. 4:59you use, you point at that IP. Quick
  149. 5:02explanation, because I don't want you
  150. 5:04just copying. I want you understanding.
  151. 5:06IP address is just a location on a
  152. 5:08network, like a street address for a
  153. 5:10computer. When I say point your tool at
  154. 5:12the target, I mean send it to that IP.
  155. 5:15That's how your attacker machine finds
  156. 5:17the target machine across the network.
  157. 5:19Now, we need to use your attacker
  158. 5:20machine, the computer you attack from.
  159. 5:22On the room page, look for a button that
  160. 5:24says start attack box. Click it. The
  161. 5:27attack box is a ready-made hacking
  162. 5:28computer. It runs in your browser. It
  163. 5:31already has every tool we need
  164. 5:32pre-installed. You don't set up
  165. 5:34anything. It just appears on the right
  166. 5:36side of your screen. Give it a minute to
  167. 5:38load. When it loads, you'll see a
  168. 5:40desktop. It looks like a normal computer
  169. 5:42desktop, because it is one. It's just
  170. 5:44running in your browser and it's loaded
  171. 5:46with hacker tools. Now, [music]
  172. 5:49the part that scares every single
  173. 5:50beginner, the terminal on that attack
  174. 5:52box desktop. Find the icon that looks
  175. 5:55like a little black screen, usually in
  176. 5:57the taskbar. It might be called
  177. 5:59terminal. Click it. A black window opens
  178. 6:01with some text and a blinking cursor.
  179. 6:03Stop. [music] Take a breath. This black
  180. 6:05window is not scary. This is just where
  181. 6:08you type commands instead of clicking
  182. 6:09buttons. That's the only difference
  183. 6:11between this and your normal computer.
  184. 6:13Instead of clicking icons with the
  185. 6:15mouse, you type instructions with words.
  186. 6:17That's [music] it. That's all a terminal
  187. 6:19is. You type a command. You press enter.
  188. 6:22The computer does the thing. Then it
  189. 6:23shows you the result. Type, enter, read.
  190. 6:26[music] That's the entire rhythm of
  191. 6:28everything we're about to do. Let's
  192. 6:30prove it's not scary. In that black
  193. 6:32window, type this exact word,
  194. 6:35press enter. The terminal just told you
  195. 6:37which user you are on the attacker
  196. 6:39machine. You asked the computer a
  197. 6:40question in plain words. It answered.
  198. 6:43That's all a terminal is. A
  199. 6:44conversation. You just had your first
  200. 6:46one. So, let's recap where you are right
  201. 6:48now. You have a target machine running
  202. 6:50with an IP address. You have your
  203. 6:52attacker machine, the attack box, loaded
  204. 6:55with tools, and you have a terminal
  205. 6:57open, ready for commands. That's a
  206. 6:59complete professional hacking setup. You
  207. 7:01built it in under 2 minutes. Now, let's
  208. 7:03start the actual hack. Phase one,
  209. 7:05reconnaissance. Recon means gathering
  210. 7:08information before you attack. In the
  211. 7:09real world, on a paid job, this phase is
  212. 7:12huge. You'd research the company, find
  213. 7:15employee names and emails, map out their
  214. 7:17public websites, look at what technology
  215. 7:19they use. You learn everything you can
  216. 7:22before you touch anything. Why? Because
  217. 7:24you can't attack what you don't
  218. 7:25understand. The more you know about the
  219. 7:27target, the more ways in you'll find.
  220. 7:29Amateurs rush to attack. Professionals
  221. 7:31spend most of their time here, learning.
  222. 7:33But for our target today, recon is
  223. 7:35[music] simple. We already have the one
  224. 7:37thing we need, the target's IP address,
  225. 7:40that box on your screen. So, our recon
  226. 7:42question is short. What is this machine?
  227. 7:44What's running on it? Where are the
  228. 7:46doors? And to answer that, we move into
  229. 7:48the most important skill you will learn
  230. 7:50today, scanning. Phase two, scanning.
  231. 7:53Pay close attention here because this is
  232. 7:55the skill you will use in every single
  233. 7:57hack you ever do. Master this one tool
  234. 8:00and you're already ahead of most
  235. 8:01beginners. The tool is called Nmap.
  236. 8:04Nmap, short for network mapper, it's
  237. 8:06free. It's already installed on your
  238. 8:08attack box and it is the most important
  239. 8:10reconnaissance tool in the world. Every
  240. 8:12professional uses it every single day.
  241. 8:15Here's what Nmap actually does. Remember
  242. 8:16I said the target is like a building.
  243. 8:18Nmap walks around that building and
  244. 8:20checks every single door and window. It
  245. 8:23tells you which ones are open, which are
  246. 8:25locked, and what's [music] behind each
  247. 8:27open one. In computer terms, those doors
  248. 8:29are called ports. A port is just a
  249. 8:32numbered entrance into a computer. Each
  250. 8:34service running on a machine, a website,
  251. 8:36a file share, a remote login, sits
  252. 8:38behind a specific port. Find the open
  253. 8:41ports and you found your possible ways
  254. 8:43in. Let's run your first scan. Go to
  255. 8:45your terminal, the black window, and
  256. 8:47type this exactly, nmap, then a space,
  257. 8:51then your target's IP address. Now you
  258. 8:53wait. Nmap is knocking on every door. It
  259. 8:55takes a few seconds, maybe a minute.
  260. 8:57Don't touch anything. Let it work. And
  261. 8:59there it is. Nmap just gave you a list.
  262. 9:02Look at it. You'll see a column of
  263. 9:04numbers. Each one followed by the word
  264. 9:06open or closed. The open ones are what
  265. 9:09matter. You'll probably see port 135,
  266. 9:11port 139, and the important one, port
  267. 9:13445, all open. Right now you know the
  268. 9:16doors are open, but you don't know
  269. 9:18what's behind them yet. A basic scan
  270. 9:20only shows you the doors, not what's
  271. 9:22inside. So, let's go deeper. This is
  272. 9:24where you learn your first flag. A flag
  273. 9:26is just an option you add to a command.
  274. 9:28It changes what the tool does.
  275. 9:29>> [music]
  276. 9:30>> You add a flag by typing a space, then a
  277. 9:31dash, then a letter. Type this, nmap
  278. 9:34space {dash} capital S capital V space
  279. 9:38your IP. That {dash} capital S capital V
  280. 9:41means version detection. [music] Now,
  281. 9:43Nmap doesn't just tell you a door is
  282. 9:45open. It tells you exactly what service
  283. 9:47is running behind it and which version
  284. 9:49of that service. Press enter. Wait
  285. 9:52again. [music]
  286. 9:52This one takes a little longer. When it
  287. 9:54comes back, look at port 445 next to it.
  288. 9:58We'll now see a service name, something
  289. 10:00about Microsoft and Windows. Nmap is
  290. 10:03telling you this is a Windows machine
  291. 10:05and port 445 is running something called
  292. 10:07SMB, server message block. It's the
  293. 10:10service Windows uses to share files.
  294. 10:12This is the moment that matters. Write
  295. 10:14down what you see, [music] the operating
  296. 10:16system, Windows, the open port, 445, the
  297. 10:19service, SMB, because here's the secret
  298. 10:22at the center of all hacking. Those
  299. 10:24details are your lead, a specific
  300. 10:26service on a specific system. Old
  301. 10:29software has known weaknesses and when
  302. 10:31you know exactly what's running, you can
  303. 10:33go find exactly how to break it. Let's
  304. 10:35do one more scan, the smartest one.
  305. 10:38{dash} capital S capital C runs Nmap's
  306. 10:40built-in scripts. These are little
  307. 10:42automated checks that look for common
  308. 10:44problems. Sometimes, this single command
  309. 10:46finds the weakness for you
  310. 10:48automatically. Press enter, let it run.
  311. 10:51Stop and realize what you just did. You
  312. 10:53scanned a real machine. You found its
  313. 10:55open ports. You identified the operating
  314. 10:58system and you fingerprinted the exact
  315. 11:00service running on the target. That is
  316. 11:02professional reconnaissance. That's the
  317. 11:04first thing I do on every real
  318. 11:05engagement I get paid for. And you just
  319. 11:08did it on your first date. Quick
  320. 11:09question before we break in. Drop a
  321. 11:11comment with how many open ports your
  322. 11:13scan found. I want to see that you're
  323. 11:15actually following along, not just
  324. 11:17watching. Type your number, then keep
  325. 11:18going. Now you have your lead, Windows
  326. 11:20port 445 SMB. In the next phase, we turn
  327. 11:24that lead into a way in. This is where
  328. 11:26you find the weakness. Let's go. Look,
  329. 11:29if this video makes you actually want to
  330. 11:31learn hacking, not just watch it. I
  331. 11:33built a place for that. Welcome to the
  332. 11:35Hacker Academy. Here's some of the
  333. 11:37things you get instant access to. The
  334. 11:39OSINT Field Manual. Learn how to find
  335. 11:41anyone online from a single photo,
  336. 11:43username, or email. A full course on
  337. 11:46hacking websites and Wi-Fi hacking.
  338. 11:48Learn how to build your own AI hacking
  339. 11:50agent that runs on your computer 24/7.
  340. 11:52The full beginner to pro hacking guide.
  341. 11:55And the pro hacking cheat sheets I
  342. 11:56personally use every single day. For 9
  343. 11:58bucks a month, you get lifetime access
  344. 12:00locked at that price point. You can
  345. 12:02check it out via the link in the
  346. 12:03description. Phase three. Now we find
  347. 12:06the weakness. Here is the single most
  348. 12:08valuable skill in all of hacking, and
  349. 12:10almost nobody teaches it to beginners
  350. 12:12directly. So listen closely. Hacking is
  351. 12:14not about inventing attacks from
  352. 12:16scratch. It's about finding weaknesses
  353. 12:18that already exist in software that's
  354. 12:20out of date, and then using attacks that
  355. 12:23already exist, that other people have
  356. 12:25already built. Read that again in your
  357. 12:26head. You are not inventing anything.
  358. 12:29You are finding a known weakness and
  359. 12:31applying a known solution. That's the
  360. 12:33job. That realization alone puts you
  361. 12:35ahead of 90% of beginners who think they
  362. 12:38need to be a genius coder. You [music]
  363. 12:39don't. You need to know how to research.
  364. 12:42So let's research. You have your lead
  365. 12:44from the scan. Windows, [music] port
  366. 12:46445, the SMB service. Here's the
  367. 12:49process. You take that information and
  368. 12:52you go looking for known weaknesses in
  369. 12:54it. The simplest version, you literally
  370. 12:56search the internet. You'd search the
  371. 12:58service, the system, and the word
  372. 13:00vulnerability or exploit. But there's a
  373. 13:02faster way built right into your
  374. 13:04attacker machine. A tool called
  375. 13:06searchsploit. Searchsploit is a giant
  376. 13:08offline database of known working
  377. 13:10exploits, tens of thousands of them.
  378. 13:13Pre-built attacks for known weaknesses.
  379. 13:14It's already on your attack box. In your
  380. 13:16terminal, type searchsploit, then a
  381. 13:19space, then SMB Windows. Now simply
  382. 13:23press the enter key on your keyboard to
  383. 13:24continue. Look at what comes back. A
  384. 13:27list of known attacks against Windows
  385. 13:29SMB. These are real exploits. Each one
  386. 13:32targets a specific weakness. You're
  387. 13:33reading a menu of ways into Windows
  388. 13:35machines. Now, for our specific target,
  389. 13:38[music] there's one weakness that
  390. 13:40matters, and it has a name you need to
  391. 13:42know. It's officially called MS17-010,
  392. 13:46but the world knows it by another name.
  393. 13:48The infamous name you need to know is
  394. 13:50EternalBlue. Let me tell you what you're
  395. 13:51looking at because this is not just any
  396. 13:53vulnerability. EternalBlue was developed
  397. 13:55in secret by the National Security
  398. 13:57Agency, the NSA, as a cyber weapon. It
  399. 14:00was stolen, leaked to the public, and
  400. 14:03then used to launch the largest
  401. 14:04ransomware attack in history. It shut
  402. 14:06down hospitals, banks, [music] shipping
  403. 14:08companies across 150 countries in a
  404. 14:11single weekend. And that exact weakness
  405. 14:14is sitting on the machine in front of
  406. 14:15you right now, waiting for you to use
  407. 14:17it. That's why I picked this machine for
  408. 14:19your first hack. You're not breaking
  409. 14:21into some toy. You're about to run one
  410. 14:23of the most infamous exploits in the
  411. 14:25history of computing on your first day.
  412. 14:27Let me break that down so you're not
  413. 14:28just copying. -p 445 tells Nmap only
  414. 14:32look at port 445. --script tells Nmap to
  415. 14:36run one specific check, and
  416. 14:37smb-vuln-ms17-010
  417. 14:41is [music] the name of the check for
  418. 14:42EternalBlue. Now, press enter again and
  419. 14:45wait for the results to appear. And
  420. 14:46there's your answer. Look for one word
  421. 14:48in the output, vulnerable. If you see
  422. 14:50it, the machine is wide open to
  423. 14:52EternalBlue. You've confirmed your way
  424. 14:54in. Stop and appreciate this for a
  425. 14:56second. You scanned the target. You
  426. 14:58identified what it was [music] running.
  427. 14:59You researched a known weakness, and you
  428. 15:01confirmed that weakness exists. That is
  429. 15:04the complete vulnerability research
  430. 15:06process, the same process a professional
  431. 15:08follows on a real engagement. You just
  432. 15:10did it. Now comes the part you've been
  433. 15:12waiting for since you clicked this
  434. 15:14video. We take this weakness, and we use
  435. 15:16it to break in. Phase four,
  436. 15:18exploitation. Let's get inside. We're
  437. 15:20going to use the most famous hacking
  438. 15:22tool in the world. It's called
  439. 15:24Metasploit. Think of it as a massive
  440. 15:26toolbox of ready-made exploits,
  441. 15:28thousands of them, pre-built. All you do
  442. 15:30is pick the right one, point it at your
  443. 15:32target, and fire. It's already installed
  444. 15:34on your attack box. Let's open it. In
  445. 15:36your terminal, type this one word,
  446. 15:38msfconsole. Now, wait. The first time it
  447. 15:40opens, it takes a moment. You'll see
  448. 15:42some artwork appear, maybe a logo made
  449. 15:44of text. That's normal. That's
  450. 15:46Metasploit starting up. When it's ready,
  451. 15:48your prompt changes. Instead of the
  452. 15:50normal terminal line, you'll now see
  453. 15:53something that starts with msf and then
  454. 15:55a number. [music]
  455. 15:56That's how you know you're inside
  456. 15:57Metasploit now. You're in a different
  457. 15:59environment, a command center. First,
  458. 16:01[music] we find our exploit. In that msf
  459. 16:03prompt, type search space eternalblue.
  460. 16:07Press enter. Metasploit searches its
  461. 16:09database and shows you a list of modules
  462. 16:11related to eternalblue. Look at the
  463. 16:13list. You'll see entries with numbers
  464. 16:15next to them, 0, [music] 1, 2, and so
  465. 16:18on. We want the main exploit. It's the
  466. 16:20one with ms17-010
  467. 16:22in the name and the word eternalblue.
  468. 16:24Here's the easy way to select it. Each
  469. 16:26item has a number on the left. Find the
  470. 16:28one that says exploit and has
  471. 16:30eternalblue and ms17_010
  472. 16:33in the path. Note its number. Usually,
  473. 16:35it's 0. To select it, type use space and
  474. 16:38that number. So, if it's 0, you type use
  475. 16:41space 0, press enter. Watch your prompt
  476. 16:43again. It just changed. It now shows the
  477. 16:45name of the exploit in red. That's
  478. 16:47Metasploit telling you this exploit is
  479. 16:49now loaded and ready. You've picked your
  480. 16:51weapon. Now, we have to tell it two
  481. 16:53things, what to attack and where to send
  482. 16:55the results. First, what to attack, the
  483. 16:57target. In [music] Metasploit, the
  484. 16:59target is called RHOSTS, remote host,
  485. 17:01the machine you're attacking remotely.
  486. 17:03[music] Type set space r h o s t s
  487. 17:07space, and then your target's IP
  488. 17:09address, the one from the top of your
  489. 17:11screen. Second, where to send the
  490. 17:13results. When you break into the target,
  491. 17:14it It to call back to you, to your
  492. 17:16attacker machine. That callback address
  493. 17:18is called L-host, local host, it's you.
  494. 17:21Now, this is the one spot beginners get
  495. 17:23stuck. So, pay attention. You need your
  496. 17:25attack boxes own IP address, not the
  497. 17:28targets, yours. [music]
  498. 17:29On the attack box, your IP is usually
  499. 17:31shown somewhere on screen already. Often
  500. 17:33labeled as your VPN or tun0 address. If
  501. 17:36you can see it, use it. If you're not
  502. 17:38sure, there's a simple way. Open a
  503. 17:40second terminal and [music] type IP
  504. 17:42space A, press enter. Look for the
  505. 17:45address under something called tun0.
  506. 17:47That's your attacker IP. Once you have
  507. 17:49it, [music] back in Metasploit, type set
  508. 17:52space Lhost space and your attack box
  509. 17:55IP, press enter. Now, Metasploit knows
  510. 17:58both things, what to attack and where to
  511. 18:00send the shell when it gets in. Before
  512. 18:02we fire, let's do what professionals do.
  513. 18:04We confirm. Type check, press enter.
  514. 18:07Metasploit reaches out to the target,
  515. 18:09tests it and tells you. If you see the
  516. 18:11words, the target is vulnerable, you're
  517. 18:14about to succeed. That's the green
  518. 18:15light. Now, the moment. Type one word,
  519. 18:18exploit. Press enter. Watch the screen.
  520. 18:21You'll see lines start to appear.
  521. 18:22Metasploit is sending the attack. You'll
  522. 18:24see it sending the exploit, making the
  523. 18:26connection, and then, the line you're
  524. 18:28waiting for.
  525. 18:29>> [music]
  526. 18:29>> Meterpreter session one opened. Stop.
  527. 18:32Read that line. Meterpreter session
  528. 18:34open. That means you are in. You just
  529. 18:36broke into a Windows machine. The attack
  530. 18:38worked. You are now inside the target.
  531. 18:40If you see that line, take a breath
  532. 18:42because you just did the thing. The
  533. 18:43thing you clicked this video to learn.
  534. 18:45You hacked a computer. Now, quick
  535. 18:47reassurance because beginners panic
  536. 18:49here. After [music] it breaks in, your
  537. 18:51prompt changes again. It now says
  538. 18:53meterpreter with an arrow. That is not
  539. 18:56an error. That is the most beautiful
  540. 18:58word in hacking. It means you have a
  541. 18:59live connection into the machine you
  542. 19:01just compromised. You're not looking at
  543. 19:03your computer anymore. You're commanding
  544. 19:05theirs. If the exploit didn't work the
  545. 19:07first time, don't panic. It happens.
  546. 19:09Just type exploit and run it again.
  547. 19:11Sometimes Eternal Blue needs a second
  548. 19:13attempt. Run it twice. It almost always
  549. 19:15lands. So, take stock of what just
  550. 19:17happened. You opened Metasploit. You
  551. 19:19loaded the NSA's leaked exploit. You set
  552. 19:22your [music] target. You confirmed it
  553. 19:24was vulnerable, and you fired. And it
  554. 19:26worked. You have a live shell inside a
  555. 19:28Windows machine. That's not a simulation
  556. 19:30of hacking. That is [music] hacking, the
  557. 19:31real thing, and you're inside. Now,
  558. 19:33let's find out exactly how much power
  559. 19:35you have. Because what you're about to
  560. 19:37see surprises every beginner. Phase four
  561. 19:40continues. What to do once you're in.
  562. 19:42You're inside, but right now you have
  563. 19:44what's called a basic shell, a plain
  564. 19:46command line on the target. It works,
  565. 19:48but it's limited, and it can be
  566. 19:50unstable. It can drop on you. So, the
  567. 19:52first thing a professional does is
  568. 19:54upgrade to something better, a
  569. 19:55meterpreter shell. Meterpreter is a far
  570. 19:58more powerful way to control the
  571. 19:59machine. More commands, more stability,
  572. 20:02more control. So, let's upgrade. First,
  573. 20:05we set this shell aside without closing
  574. 20:07it. In your terminal, press control and
  575. 20:09Z at the same time. It'll ask if you
  576. 20:11want to background the session.
  577. 20:13>> [music]
  578. 20:13>> Type Y and press enter. That just parked
  579. 20:16your shell safely in the background.
  580. 20:17It's still alive. You just stepped away
  581. 20:19from it for a second. Now, we use a
  582. 20:21built-in Metasploit tool that upgrades a
  583. 20:23basic shell into a meterpreter shell.
  584. 20:25Type [music] search space shell
  585. 20:27{underscore} to {underscore} meterpreter
  586. 20:29and press enter. You'll see a module
  587. 20:31appear. Its path is post {slash} multi
  588. 20:33{slash} manage {slash} shell
  589. 20:35{underscore} to {underscore}
  590. 20:36meterpreter. Select [music] it, type use
  591. 20:39space, and the number next to it,
  592. 20:41usually zero, and press enter. Now, this
  593. 20:43tool needs to know which shell to
  594. 20:44upgrade, the one you just parked. Type
  595. 20:47set space session space one, and press
  596. 20:50enter. That points it at your
  597. 20:51backgrounded shell, session one. Now,
  598. 20:54type run and press enter. Metasploit
  599. 20:57takes your basic shell and upgrades it.
  600. 20:59In a few seconds, you'll see a new
  601. 21:00meterpreter session open. You just
  602. 21:02leveled up your access.
  603. 21:04>> [music]
  604. 21:04>> To jump into it, type sessions. Then,
  605. 21:06look at the list, find the one that says
  606. 21:08meterpreter, note its number, then type
  607. 21:11session space and that number. Press
  608. 21:13enter. Now the question every hacker
  609. 21:15asks, who am I? Type getuid and press
  610. 21:19enter. [music]
  611. 21:19Look at what it says, NT Authority
  612. 21:22backslash system. Stop. System is the
  613. 21:25single highest level of power on a
  614. 21:27Windows machine, higher than the
  615. 21:29administrator, higher than the owner.
  616. 21:31System means total control, every file,
  617. 21:34every password, every account, all of
  618. 21:37it, yours. Here's why that's remarkable.
  619. 21:39On most hacks, you break in as some weak
  620. 21:43limited user, and then you have to grind
  621. 21:45through a whole phase called privilege
  622. 21:48escalation, climbing your way up to the
  623. 21:50top. EternalBlue is so powerful it put
  624. 21:53you near the very top immediately. But
  625. 21:55here's a subtle thing the pros know.
  626. 21:57Being system is not the same as your
  627. 21:58process being stable as system. To lock
  628. 22:01in rock solid control, we migrate into a
  629. 22:03process that's already running as
  630. 22:05system. Type PS and press enter. This
  631. 22:08lists every running process on the
  632. 22:09machine. Look down the list, find one
  633. 22:11running as NT Authority system. A common
  634. 22:15reliable one is a process that handles
  635. 22:17Windows internals. Note the process ID,
  636. 22:20>> [music]
  637. 22:20>> then type migrate space and that process
  638. 22:22ID. Press enter. Metasploit moves your
  639. 22:25session into that stable process. Now
  640. 22:27your foothold is solid, it won't drop on
  641. 22:29you. This is exactly the move a real
  642. 22:31operator makes. Now let's collect the
  643. 22:33proof. The room wants you to find flags,
  644. 22:36hidden pieces of text that prove you had
  645. 22:37access. They're scattered in specific
  646. 22:40locations, the system root, a user's
  647. 22:42folder, the administrator's files. The
  648. 22:44fastest professional way to find them,
  649. 22:47drop into a shell on the target. Type
  650. 22:49shell and press enter. You're now in a
  651. 22:52Windows command line on their machine.
  652. 22:54Then you search the entire drive for
  653. 22:55anything named [music] flag. The flags
  654. 22:57are sitting in those key locations. As
  655. 22:59you find each one, you copy the text
  656. 23:02inside.
  657. 23:02>> [music]
  658. 23:02>> Then back on the Blue Room page in your
  659. 23:04browser, you paste each flag into its
  660. 23:06answer box and submit. And when that
  661. 23:08final answer turns green, that's it.
  662. 23:10[music] The room is solved, officially.
  663. 23:12You scanned the target, found its
  664. 23:14weakness, exploited it, upgraded your
  665. 23:17access,
  666. 23:17>> [music]
  667. 23:17>> migrated to a stable system process, and
  668. 23:20you proved your control. You completed a
  669. 23:22full, real-world attack chain. Take a
  670. 23:25real moment with that, because most
  671. 23:27people who say they want to learn
  672. 23:28hacking never get this far. They watch,
  673. 23:31they plan, they tell themselves someday.
  674. 23:34You didn't plan. You did it today. But
  675. 23:37owning the machine is only four of the
  676. 23:39five phases. There's one more, and in
  677. 23:42the real world, it's the phase that
  678. 23:43actually pays your salary. Let me show
  679. 23:45you the part that turns this from a
  680. 23:47hobby into a career. Phase five,
  681. 23:50reporting. And I know what you're
  682. 23:51thinking. Writing a report sounds like
  683. 23:53the most boring part of hacking. So let
  684. 23:56me change your mind in about 60 seconds.
  685. 23:58Here's the truth nobody tells beginners.
  686. 24:00The hacking you just did, the scanning,
  687. 24:03the exploiting, the breaking in, that's
  688. 24:05not what companies pay you for. They pay
  689. 24:07you for the report. Think about it. A
  690. 24:09company hires an ethical hacker, a
  691. 24:12penetration tester, to break into their
  692. 24:14systems on purpose. Why? Because they
  693. 24:17want to know where the holes are before
  694. 24:19a real criminal finds them. The break-in
  695. 24:21proves the hole exists, but the report
  696. 24:24is what let them fix it. The report is
  697. 24:26the product. It's literally the thing
  698. 24:28you deliver. It's the thing they're
  699. 24:30paying for. A hacker who can break in
  700. 24:32but can't write it up doesn't get hired
  701. 24:34twice. A hacker who can break in and
  702. 24:36explain it clearly names their price.

About this transcript

This page contains the full transcript of YouTube transcript (uPbQNFuDGUs) , generated from the public captions YouTube serves with the video. The transcript has 4,625 words across 702 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 translate the transcript into 100+ languages.

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, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.