> For the complete documentation index, see [llms.txt](https://cybersecurity-cloud-and-it-notes.gitbook.io/kyles-cybersecurity-cloud-and-it-gitbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cybersecurity-cloud-and-it-notes.gitbook.io/kyles-cybersecurity-cloud-and-it-gitbook/google-cybersecurity-professional-cert/3.-connect-and-protect-networks-and-network-security/module-2/common-network-protocols.md).

# Common network protocols

#### **📡 Understanding Network Protocols: An ADHD-Friendly Guide**

Hey there! Let’s dive into **network protocols** together. We'll break things down into easy chunks with clear headings, bullet points, and simple explanations. Ready? Let’s go!

***

**🔍 What Are Network Protocols?**

* **Definition:**\
  A **network protocol** is like a set of rules or a common language that devices use to communicate over a network.
* **Purpose:**
  * **Organize Communication:** Determines the order and structure of data.
  * **Instructions in Data Packets:** Tells the receiving device what to do with the data.
  * **Global Communication:** Allows devices worldwide to understand each other.

**Think of it like**: Protocols are the instructions that come with a package, telling the receiver how to handle it.

***

**🛡️ Why Should You Care About Protocols?**

* **Essential for Communication:** Without protocols, devices can't talk to each other.
* **Security Implications:**
  * Some protocols have vulnerabilities.
  * **Example:**
    * **DNS Attacks:** Hackers can redirect traffic from a legit site to a malicious one using the **Domain Name System (DNS)**.

***

**📂 Three Categories of Network Protocols**

1. **Communication Protocols**
2. **Management Protocols**
3. **Security Protocols**

*You don’t need to memorize all protocols, but knowing key ones is important! Let’s explore each category.*

***

#### **1. 💬 Communication Protocols**

**Purpose:**

* Manage how data is exchanged between devices.
* Handle timing and data recovery.

**Key Protocols:**

* **Transmission Control Protocol (TCP)**
  * **What It Does:** Establishes a connection between two devices to stream data.
  * **How It Works:**
    1. **SYN:** Device sends a synchronize request.
    2. **SYN/ACK:** Server acknowledges.
    3. **ACK:** Device confirms. **Connection established!**
  * **Layer:** Transport Layer
* **User Datagram Protocol (UDP)**
  * **What It Does:** Sends data without establishing a connection.
  * **Pros:** Faster transmission.
  * **Cons:** Less reliable.
  * **Use Case:** Sending DNS requests quickly.
  * **Layer:** Transport Layer
* **Hypertext Transfer Protocol (HTTP)**
  * **What It Does:** Enables communication between web browsers and servers.
  * **Port:** 80
  * **Note:** Insecure; being replaced by HTTPS.
  * **Layer:** Application Layer
* **Domain Name System (DNS)**
  * **What It Does:** Translates domain names (like [www.example.com](http://www.example.com)) into IP addresses.
  * **Port:** 53 (uses UDP, switches to TCP if the response is large)
  * **Layer:** Application Layer

***

#### **2. 🛠️ Management Protocols**

**Purpose:**

* Monitor and manage network activity.
* Handle error reporting and performance optimization.

**Key Protocols:**

* **Simple Network Management Protocol (SNMP)**
  * **What It Does:** Monitors and manages network devices.
  * **Functions:**
    * Reset passwords
    * Change device configurations
    * Report bandwidth usage
  * **Layer:** Application Layer
* **Internet Control Message Protocol (ICMP)**
  * **What It Does:** Reports data transmission errors.
  * **Use Case:** Troubleshooting with the “ping” command.
  * **Layer:** Internet Layer

***

#### **3. 🔒 Security Protocols**

**Purpose:**

* Ensure data is sent and received securely.
* Use encryption to protect data in transit.

**Key Protocols:**

* **Hypertext Transfer Protocol Secure (HTTPS)**
  * **What It Does:** Secure communication between browsers and servers.
  * **Uses:** SSL/TLS encryption
  * **Port:** 443
  * **Layer:** Application Layer
* **Secure File Transfer Protocol (SFTP)**
  * **What It Does:** Securely transfers files between devices.
  * **Uses:** SSH encryption
  * **Port:** 22
  * **Layer:** Application Layer
  * **Common Use:** Cloud storage uploads/downloads

**🔑 Important Note:**\
Encryption protocols like HTTPS and SFTP **don't hide** the source or destination IP addresses. Hackers can still see basic info about the network traffic.

***

**📌 Key Takeaways**

* **Essential Knowledge:**
  * Understanding basic network protocols is crucial for cybersecurity analysts.
* **Functionality:**
  * Protocols organize how data is sent and received on a network.
* **Security:**
  * Knowing protocols helps in identifying and mitigating vulnerabilities.
* **Preventing Attacks:**
  * Use your protocol knowledge to safeguard networks against malicious activities.

***

#### **💡 Quick Recap**

* **Network Protocols** = Rules for device communication.
* **Three Categories:**
  1. **Communication:** TCP, UDP, HTTP, DNS
  2. **Management:** SNMP, ICMP
  3. **Security:** HTTPS, SFTP
* **Security Matters:** Be aware of protocol vulnerabilities to protect networks.

***

#### **📝 Final Thought**

Mastering these basic network protocols sets a strong foundation for your role as a cybersecurity analyst. Keep exploring and stay curious!

***

Feel free to **pause**, **review**, and **take breaks** as needed. You’ve got this! 🚀
