


Étudies grâce aux nombreuses ressources disponibles sur Docsity
Gagnz des points en aidant d'autres étudiants ou achete-les avec un plan Premium
Cette page n'est pas visible dans l'aperçu
Ne manques pas les parties importantes!



This module covers the basic "anatomy" of a computer.
1. Core Components (The "Mechanism") Think of a computer as a kitchen. - CPU (Central Processing Unit): This is the chef. It performs all the calculations and executes instructions (the "thinking"). - RAM (Random Access Memory): This is the countertop. It's a temporary, super-fast workspace where the chef (CPU) holds the ingredients (data) for the current recipe (program) they are working on. - Storage (Hard Drive / SSD): This is the pantry/fridge. It's long-term storage for all recipes and ingredients (your OS, files, applications), even when the power is off. - Motherboard: This is the kitchen itself. It's the circuit board that connects everything (CPU, RAM, Storage) and allows them to communicate. - I/O (Input/Output): This is the order window and delivery door. It's how the system interacts with the outside world (e.g., keyboard, mouse, monitor, and network card ). 2. The Language of Computers Computers do not understand English, Python, or any human language. - Binary: At the lowest level, the CPU only understands one thing: electricity ON or OFF. We represent this as a 1 (on) or a 0 (off). This is called a bit. - Abstraction: We use programming languages (like Python or C++) that are "translated" (compiled or interpreted) down into "machine code," which is just long strings of $1$s and $0$s that the CPU can execute. 3. Core Concepts - Speed: Primarily measured by the CPU's clock speed (in Gigahertz, GHz). This is how many instructions it can execute per second. - Memory vs. Storage: This is the most critical concept. o Memory (RAM) is volatile (data disappears when the power is off) and fast. o Storage (Disk) is non-volatile (data stays when the power is off) and slower. - Multitasking: The OS and CPU work together to rapidly switch between tasks (processes). It happens so fast (millions of times per second) that it appears the computer is doing many things at once. Cybersecurity Context - Forensics: When a system is compromised, investigators must capture the RAM (memory) before shutting the system down. Why? Because malware often runs only in memory to
avoid being detected on the storage (disk). This volatile data is a goldmine (passwords, encryption keys, running processes).
This module covers the "manager" of the computer.
1. What is an Operating System? The Operating System (OS) (like Windows, Linux, or macOS) is a master program that acts as the "manager" or "government" of the computer. Its two main jobs are: 1. Hardware Manager: It manages all the hardware (CPU, RAM, Storage) and lets programs use them. It's the traffic cop. 2. Platform: It gives applications (like Chrome or Word) a platform to run on and provides common services (like how to open a file or draw a window). 2. Key OS Functions - Process Management: Manages which programs (processes) get to use the CPU (this is "multitasking"). - Memory Management: Decides how much RAM each process gets and keeps them from reading each other's memory. - File System: Organizes files and folders on the storage disk (e.g., NTFS on Windows). - User Interface: Provides a way for you to interact, either a GUI (Graphical User Interface - what you click) or a CLI (Command-Line Interface - what you type). 3. Navigating Windows (for Cyber) - Control Panel / Settings: Where system-wide configurations are stored (firewall rules, user accounts, network settings). - Task Manager: (Ctrl+Shift+Esc) Shows all running processes and services. Your first stop when a computer "acts weird." - File Explorer: Understand file paths (e.g., C:\Users\Student\Documents). Knowing where critical files live is key. - Windows Registry (regedit): The central database for everything in Windows. It stores settings, configurations, and what programs should run on startup. Cybersecurity Context - Vulnerabilities & Patching: Flaws in the OS code are the #1 way attackers get in. Patching (updating) the OS is the #1 most important defensive action.
Knowing the command line is essential. Many server tools and hacking tools have no GUI. Basic Commands (What to Teach) Command What It Does Cybersecurity Context (Why it's useful) ipconfig Shows your IP address, subnet mask, and default gateway. Reconnaissance: The first thing an attacker (or defender) does. "Where am I on the network?" ping [ip/domain] (e.g., ping 8.8.8.8) Tests connectivity to another device. Reconnaissance: "Is the target server online?" "Can I reach the internet?" tracert [ip/domain] Traces the full network path (all the "hops") to a destination. Network Mapping: "What firewalls or routers are between me and the target?" netstat - ano (Critical) Shows all active network connections, what ports are listening, and which Process ID (PID) is responsible. Incident Response: "Is this computer infected?" Run netstat and look for strange connections (e.g., to Russia). Find the PID and see what process it is! dir Lists files and directories. Navigation: "What files are on this system?" cd [directory] (Change Directory) Moves you to a different folder. Navigation: Used to move around the file system. whoami Displays the user you are currently logged in as. Privilege Check: "Am I a normal user or did I successfully become Administrator?" tasklist Lists all running processes (like Task Manager). Incident Response: "What programs are running right now ?" (Used with netstat). taskkill /PID [number] Kills a running process by its Process ID (PID). Response: "I found the malware process (from netstat and tasklist)! Now I can kill it." Cybersecurity Context (The "Why")