TryHackMe | Inside a Computer System
This room covers the basic components of a computer system.
Task_01: Introduction
Welcome to the first room of the Computer Fundamentals module! Before we can talk about security, we need to first understand what we are securing. Consider the following analogy:
Before protecting a castle, we need to know the layout of the castle: where the treasure room, the food storage, and the commander’s quarters are. We need to know who enters and how they enter the castle. Also important is who can enter these rooms and take or put treasure or food, for example.
The bottom line is: Trying to defend what you don’t understand is like defending a castle you have never seen.
In this room, we will explore our “castle”. We will cover what a computer is, its building blocks, and how they are connected. After completing this room, you will have a general idea of how the components of a computer system interact with each other to provide services to its users. Don’t worry about too much technical jargon or depth; we’ll take this nice and easy and focus on the fundamentals.
Learning Objectives
- After completing this room, you will be able to recognize and understand the functions of various computing components.
Prerequisites
Motivated to step into the digital world of computing
Answer the questions below:
Read the task above.
Task_02: Inside In Computer System
Nearly every computer system that you can think of includes, in one way or another, the same building blocks. Each part has its own job, and together they make the computer work. Let’s have a look at each of these building blocks.
Throughout this task, we will use a very relatable analogy: the human body. The image above shows the different PC components and its human counterpart. To learn more about each component, open the “Static Site” by clicking on the green “View Site” button below. The static site should open in split-screen view.
CPU
The CPU (Central Processing Unit), often called the processor, is comparable to a part of our brain. Just like our brain continuously executes instructions (add numbers, pour milk in a bowl, and so on), a CPU does the same for a computer. Modern CPUs have multiple cores that handle instructions in parallel. The CPU connects to the motherboard via the CPU socket. The image below shows a typical CPU for a desktop.
Motherboard
What role does the motherboard play in a computer?
- Exactly! The motherboard is like the skeleton and nervous system, connecting everything together.
The motherboard is like our body’s skeleton and nervous system. It holds all the different components in place and connects them. On a typical desktop motherboard, you’ll see different connectors that house all your components — CPU socket, RAM slots, expansion slots, and various ports. Every other component plugs into or connects through the motherboard. The image below shows a typical desktop motherboard.
RAM
How would you describe what RAM does?
- Exactly! RAM is like short-term memory — fast but temporary.
RAM (Random Access Memory) is comparable to our brain’s short-term or working memory. When working on a task, we keep relevant information in mind temporarily. RAM does the same — it holds data that the CPU needs quick access to. RAM is volatile: when power is lost, all contents are gone. Modern RAM modules use technologies like DDR5 or DDR6 for increased speed and performance. The image below shows a RAM module for a desktop.
Storage (SSD/HDD)
What’s the main purpose of storage devices like SSDs and HDDs?
- Right! Storage devices are for long-term data retention.
SSDs and HDDs are storage devices, comparable to our long-term memory. Just like fond memories are remembered permanently, data is saved long-term on storage devices. HDDs use older technology with moving parts, limiting performance. SSDs have no moving parts and use memory chips, allowing much faster speeds. HDDs remain popular for their large capacity at low cost. Storage connects via SATA cables or PCI Express slots. The image below shows an HDD on the left-hand side and an SSD on the right-hand side.
Network Adapter
What does a network adapter enable a computer to do?
- Correct! Network adapters let your computer talk to other systems.
Just like we use our vocal cords to communicate with our environment, a network adapter lets computers communicate with other systems. Network adapters come in wireless and wired variants. Often they’re embedded in the motherboard, but they can also be added as expansion cards. Network cards typically connect via PCI Express ports. The image below shows a plugin network card, typically used in desktops.
Power Supply (PSU)
What is the main function of the Power Supply Unit?
- Exactly! The PSU is like the heart, pumping power to everything.
Every system needs power. Just as our heart pumps blood to our organs, a PSU supplies energy to all system components. The PSU is essential and requires careful consideration — if components need more power than the PSU can provide, the system will fail. The PSU takes power from an outlet and distributes it via various connectors like the main motherboard connector and Molex connectors. The image below shows a PSU used in desktops.
Graphics Card
What does a graphics card primarily handle?
- Right! The graphics card processes visuals for your monitor.
The graphics card is comparable to the visual cortex of our brain. Our eyes pick up information and the visual cortex processes it into images. Similarly, the graphics card receives information from the operating system and programs, then outputs processed visual data to a monitor. Graphics cards connect to PCI Express slots on the motherboard. The image below shows a modern day graphics card used in desktops.
Input/Output
What are input and output devices used for?
- Correct! I/O devices are how we interact with computers.
Just like we have senses to obtain information for our brains to process and then act on, computers have input and output devices. Input devices include keyboards, microphones, mice, and scanners. Output devices include monitors, printers, and speakers. Common connectors for these peripherals include USB, HDMI, and DisplayPort. The image below shows a few of the basic I/O devices
Answer the questions below:
Give in the flag you received after completing the exercise on the static site.
Answer: THM{4llpccomp0n3nts1d3nt1f13d}
Task_03: What Happens When You Press The Strat Button
Now that the core components are installed in the computer system, it is time to boot up the system. We can compare this to how we wake up in the morning and do a quick check to see if everything is working. Only when everything is OK, do we get up and start our day. The image below shows the steps a computer system goes through before it shows you a working interface (in the form of an Operating System).
Step 1: Press the Power Button
When we press the power button on our computer system, a signal is sent to the PSU to allow power to flow. Imagine our body being powered off when we sleep. Once we wake up and receive oxygen, our body starts pumping blood and boots up.
Get Omda404x’s stories in your inbox
Join Medium for free to get updates from this writer.
Step 2: Firmware starts
Continuing our analogy from step 1, once the body has started up, our core components are up and running, but our brain is not yet conscious. Like our bodies, a computer system contains firmware that allows all its components to start up. The central system that manages this is called the Unified Extensible Firmware Interface (UEFI). Note: We will often see the term BIOS mentioned instead of UEFI. BIOS does the same as UEFI, but has mainly been replaced by UEFI
Step 3: Power-On Self Test
Now that our body is up and running, it is time to test if everything is functioning as it should. If something isn’t, there will be some alarm signals. One of the routines that the UEFI loads is the Power-On Self Test, which tests if every required component is present, configured correctly, and functioning.
Step 4: Select Boot Device
Once our body is up and running, configured correctly and fully functional, our system searches for the location of our bootup routine to start our consciousness. In our computer system the UEFI holds an ordered list which prioritizes on which device to look first for the boot up routine for the Operating System.
Step 5: Initiate Bootloader
Now that our system knows the part of our brain where our consciousness is located, it initiates the “load routine” to start it. Our computer systems follow a similar process: On the selected boot device, the bootloader is initiated. This bootloader transfers the Operating System from the selected boot device to the Random Access Memory. Once the OS is transferred, the UEFI gives control over the different components to the OS.
Answer the questions below:
What is the flag that you received after completing the exercise?
Answer: THM{pc5ucce55fully5t4rt3d}
Task_04: Conclusion
We have covered the core components of a computer system and how it boots up. At the moment, you won’t realize this, but further on, when learning cyber security concepts, you will often need to recall the function of each of these core components and how they interact with each other. The boot process is a very important concept later on, as it is sometimes targeted by hackers.
Now that we know the insides of a computer, the next step is to see how the different combinations and specializations of these components lead to diverse types of computer systems. Continue to the next room Computer Types (coming soon) to find out.
Answer the questions below:
Read the task above.
Thank you for reading. Until next time :-)






