Welcome back to the USB Security Expert course! In Module One, we learned what USB is, why it was invented, and why USB security matters. We learned that USB stands for Universal Serial Bus. We learned about ports, cables, hosts, and devices. We learned that USB can carry both power and data. And we learned that USB can be helpful or dangerous.
In this module, we are going to go deeper. We are going to learn how USB devices actually talk to computers. How does the computer know that you just plugged in a mouse? How does data travel from a flash drive to your laptop? How does the computer know which device is which? These are the questions we will answer in Module Two.
Think of it this way. In Module One, we learned the names of the people at a party. In Module Two, we are going to learn what they are saying to each other. We are going to learn the language that USB devices and computers use.
Do not worry if some of the words sound big. We will break everything down into very small pieces. We will use stories, examples, and pictures. By the end of this module, you will understand how USB communication works. This is an important step toward becoming a USB Security Expert, because you cannot protect something you do not understand.
Are you ready? Let us dive in.
By the end of this module, you will be able to:
Let me tell you a story about a girl named Amina. Amina lives in Kano, and she is in JSS3. Amina loves computers. She is the best student in her computer class. Her teacher often asks her to help other students.
One Thursday afternoon, Amina was in the computer lab. She was helping her friend Fatima learn how to use a drawing program. Amina plugged a USB mouse into the computer. But nothing happened. The mouse did not work. The cursor did not move.
"What is wrong?" Fatima asked.
Amina checked the mouse. She checked the cable. She checked the port. She unplugged the mouse and plugged it back in. Still nothing.
Then Amina had an idea. She looked at the bottom of the mouse. It said "USB 3.0." She looked at the port on the computer. It was an old port, probably USB 1.1.
"Wait," Amina said. "This computer might not understand this mouse."
Fatima was confused. "What do you mean, understand?"
Amina smiled. "When you plug in a USB device, the computer and the device have a conversation. They introduce themselves. They share information. If the computer cannot understand what the device is saying, the device will not work."
Amina tried a different mouse. This one was older and simpler. She plugged it in. The cursor moved immediately.
"See?" Amina said. "The first mouse was speaking a language the computer did not fully understand. The second mouse spoke a language the computer knew."
Fatima was amazed. "So USB devices actually talk to computers?"
"Yes," Amina said. "And in this module, we are going to learn exactly how that conversation works."
Are you ready to learn the language of USB? Let us begin.
Definition: USB communication is a back-and-forth conversation between a host (the computer) and a device (like a mouse or flash drive).
Why it is important: If you understand that USB is a conversation, you can understand how devices work and how they can be attacked.
Simple explanation: Think of two people meeting for the first time. One says, "Hello, my name is Amina." The other says, "Hello, my name is Fatima." They shake hands. They share information. USB works the same way. The computer says, "Who are you?" The device says, "I am a mouse." They agree on how to talk. Then they work together.
Real-life example: When you plug a keyboard into a computer, the computer asks the keyboard, "What are you?" The keyboard replies, "I am a keyboard." The computer then knows how to use it.
School example: When a new student joins your class, the teacher asks, "What is your name? Where are you from? What class are you in?" The student answers. Then everyone knows how to interact with the new student.
Home example: When a visitor comes to your house, your parents ask, "Who are you? What do you want?" The visitor answers. Then your parents decide how to help.
Nigerian example: Think of a new trader entering a market. The other traders ask, "What do you sell? Where is your shop?" The new trader answers. Then everyone knows how to do business together.
Illustration:
COMPUTER (Host) DEVICE (Mouse)
"Who are you?" --------->
<--------- "I am a mouse."
"What can you do?" --------->
<--------- "I can move and click."
"Okay, let us work together."
[CONVERSATION COMPLETE]
Mini summary: USB is a conversation between a computer and a device. They introduce themselves and agree on how to work together.
Definition: In USB, the host is the computer that controls all communication. The device only speaks when the host asks it to speak.
Why it is important: Understanding who is in charge helps us understand how USB works and where security problems can happen.
Simple explanation: Think of a classroom. The teacher is the host. The students are the devices. Students do not just shout out whenever they want. They raise their hands. The teacher calls on them. Then they speak. USB works the same way.
Real-life example: When you move your mouse, the mouse does not just send data whenever it wants. The computer asks, "Do you have anything to say?" The mouse says, "Yes, the user moved me." The computer says, "Okay, tell me."
School example: In class, students raise their hands. The teacher says, "Yes, Amina?" Amina speaks. Then the teacher says, "Yes, Tunde?" Tunde speaks. The teacher controls who speaks and when.
Home example: At dinner, children do not just talk over each other. They wait for their turn. The parents control the conversation.
Nigerian example: Think of a traditional meeting in a village. The chief is the host. People raise their hands. The chief says, "You may speak." Then the person speaks. The chief controls the meeting.
Illustration:
HOST CONTROLS EVERYTHING
+-------------------+
| HOST (Computer) |
| "Device 1, |
| speak now." |
+---------+---------+
|
V
+-------------------+
| DEVICE 1 |
| "Here is my |
| data." |
+-------------------+
Devices never speak unless asked.
Mini summary: The host is always in charge. Devices only speak when the host asks them to.
Definition: Enumeration is the process that happens when you first plug in a USB device. The computer and the device introduce themselves and agree on how to work together.
Why it is important: Enumeration is the most important moment in USB communication. It is when the computer learns what the device is and how to use it.
Simple explanation: Think of the first day of school. You walk into a new class. The teacher asks your name. You tell her. She writes it in a book. She tells you where to sit. She gives you a timetable. That is enumeration. It is the first conversation.
Real-life example: When you plug in a new printer, the computer says, "Who are you?" The printer says, "I am a printer. I can print. Here is how to talk to me." The computer says, "Okay, I will install a driver for you."
School example: A new student arrives. The teacher asks for her name, her age, and her class. The student answers. The teacher writes it down. Then the student is given a desk and a timetable.
Home example: A visitor arrives. Your parents ask who they are and what they want. The visitor answers. Your parents decide where the visitor should sit and how long they can stay.
Nigerian example: Think of a new worker at a company. On the first day, the manager asks for her name, her qualifications, and her role. The worker answers. The manager gives her an office and a schedule.
Illustration:
ENUMERATION PROCESS
Step 1: Device plugged in
|
V
Step 2: Host says "Hello, who are you?"
|
V
Step 3: Device sends its descriptors
|
V
Step 4: Host reads the descriptors
|
V
Step 5: Host assigns an address
|
V
Step 6: Host loads a driver
|
V
Step 7: Device is ready to use
Mini summary: Enumeration is the first conversation between a computer and a USB device. The computer learns what the device is and how to use it.
Definition: A descriptor is a small package of information that tells the computer what a USB device is and how it works.
Why it is important: Descriptors are how the computer knows if a device is a mouse, a keyboard, a printer, or a flash drive.
Simple explanation: A descriptor is like an identity card. When you go to a bank, you show your ID card. It tells the bank your name, your age, and your picture. A USB descriptor tells the computer the device's name, its type, and how to talk to it.
Real-life example: When you plug in a flash drive, the flash drive sends a descriptor that says, "I am a storage device. I can hold files. Here is how to read and write to me."
School example: Your school ID card shows your name, your class, and your photo. It tells everyone who you are. A USB descriptor does the same for a device.
Home example: A visitor's passport shows their name, their country, and their photo. It tells your parents who the visitor is. A descriptor is like a passport for a USB device.
Nigerian example: Think of a national ID card or a voter's card. It shows your name, your photo, and your details. A USB descriptor is the device's own ID card.
Illustration:
USB DESCRIPTOR (simplified) +-----------------------------------+ | DEVICE DESCRIPTOR | | ----------------------------- | | Name: "USB Mouse" | | Type: HID (Human Interface) | | Speed: Full Speed | | Vendor: ABC Company | | Product ID: 1234 | +-----------------------------------+ This is what the computer reads first.
Mini summary: A descriptor is a package of information that tells the computer what a device is and how to use it.
Definition: There are several types of descriptors. Each one gives the computer different information.
Why it is important: Knowing the different descriptors helps us understand how a device is organized.
Simple explanation: Think of a school. You have a school ID card, a class timetable, a library card, and a sports card. Each card gives different information. USB descriptors are the same.
Real-life example: A printer sends a device descriptor, a configuration descriptor, an interface descriptor, and an endpoint descriptor. Each one tells the computer something different.
School example: Your school ID card shows your name. Your timetable shows your classes. Your library card shows the books you can borrow. Each card serves a different purpose.
Home example: Your house has a front door, a bedroom door, and a kitchen door. Each door leads to a different room. Each descriptor leads to a different part of the device.
Nigerian example: Think of a market. There is a gate, a main road, and different stalls. Each part tells you something about the market. Each descriptor tells you something about the device.
Illustration:
TYPES OF DESCRIPTORS +-----------------------+ | Device Descriptor | Basic info about the device +-----------------------+ | Configuration Descr. | Power and settings +-----------------------+ | Interface Descriptor | What the device can do +-----------------------+ | Endpoint Descriptor | How data is sent +-----------------------+ | String Descriptor | Names and text +-----------------------+
Mini summary: There are several types of descriptors. Each one gives the computer different information about the device.
Definition: An endpoint is a place where data enters or leaves a USB device.
Why it is important: Endpoints are how data moves between the host and the device.
Simple explanation: Think of a house with several doors. One door is for visitors. One door is for deliveries. One door is for the kitchen. Each door has a purpose. Endpoints are the doors of a USB device.
Real-life example: A USB mouse has one endpoint for sending movement data. A USB flash drive has endpoints for reading and writing data.
School example: Your classroom has a front door, a back door, and a window. Each one is used for a different purpose. Endpoints are the doors and windows of a USB device.
Home example: Your house has a front door for guests and a back door for deliveries. Each door is used for a different purpose.
Nigerian example: Think of a bank with a customer entrance, a staff entrance, and a VIP entrance. Each entrance has a purpose. Endpoints are the entrances of a USB device.
Illustration:
USB DEVICE WITH ENDPOINTS +-------------------------------+ | USB DEVICE | | | | EP0 --> Control (setup) | | EP1 --> Data IN | | EP2 --> Data OUT | | EP3 --> Interrupt IN | +-------------------------------+ Each endpoint is like a door.
Mini summary: Endpoints are the doors through which data enters and leaves a USB device.
Definition: A pipe is a connection between the host and an endpoint on a device.
Why it is important: Pipes are how data actually travels. Without pipes, endpoints would have no way to communicate.
Simple explanation: Think of a road that connects your house to the market. The road is the pipe. Your house gate is the endpoint. The market gate is the host endpoint. Goods travel on the road.
Real-life example: When you move your mouse, data travels through a pipe from the mouse endpoint to the computer.
School example: The path from your classroom to the library is like a pipe. Students walk along it to borrow books.
Home example: The path from your room to the kitchen is like a pipe. You walk along it to get food.
Nigerian example: Think of the road from your house to the market. Goods travel along that road. A pipe is the road between the host and the device.
Illustration:
HOST ENDPOINT PIPE DEVICE ENDPOINT +-----------+ +--------+ +-----------+ | Host | ===> | Pipe | ===> | Device | | Memory | <=== | Pipe | <=== | Endpoint | +-----------+ +--------+ +-----------+ Data travels in both directions.
Mini summary: A pipe is a connection between the host and an endpoint. Data travels through pipes.
Definition: USB has four types of transfers: control, bulk, interrupt, and isochronous. Each type is used for a different purpose.
Why it is important: Different devices need different types of transfers. Understanding them helps us understand how devices work.
Simple explanation: Think of a school. Some messages are urgent (fire drill). Some are large (a long essay). Some are small but regular (attendance). Some need to be on time (bell ringing). USB transfers work the same way.
Real-life example: A keyboard uses interrupt transfers because it needs to send small amounts of data quickly. A flash drive uses bulk transfers because it sends large amounts of data.
School example: A fire alarm is urgent. A long essay is large. Attendance is small but regular. The school bell is time-based. Each type of message is handled differently.
Home example: A phone call is urgent. A letter is large. A daily greeting is small and regular. A TV schedule is time-based. Each has its own way of being delivered.
Nigerian example: Think of a market. A customer buying one item is like an interrupt transfer. A truck delivering goods is like a bulk transfer. A trader's daily greeting is like an interrupt transfer. A bus following a timetable is like an isochronous transfer.
Illustration:
FOUR TYPES OF USB TRANSFERS +----------------+---------------------------+ | Control | Setup and configuration | +----------------+---------------------------+ | Bulk | Large data, not urgent | +----------------+---------------------------+ | Interrupt | Small data, quick, regular| +----------------+---------------------------+ | Isochronous | Time-sensitive, streaming | +----------------+---------------------------+
Mini summary: USB has four types of transfers. Each one is used for a different purpose.
Definition: Control transfers are used to set up a device and send important commands.
Why it is important: Control transfers happen during enumeration and whenever the host needs to give the device a command.
Simple explanation: Think of a new student arriving in class. The teacher gives instructions: "Sit here. Open your book. Write your name." These are control instructions. Control transfers are the teacher's instructions.
Real-life example: When you plug in a printer, the computer uses control transfers to ask the printer questions and give it commands.
School example: The principal gives instructions to new students: "Go to your class. Meet your teacher. Collect your timetable." These are control instructions.
Home example: Your parents give you instructions: "Do your homework. Wash your plate. Go to bed." These are control instructions.
Nigerian example: Think of a new worker. The manager gives instructions: "Come at 8 AM. Wear this uniform. Report to this office." These are control instructions.
Illustration:
CONTROL TRANSFER EXAMPLE Host: "What is your name?" Device: "I am a printer." Host: "What can you do?" Device: "I can print." Host: "Here is your address." Device: "Okay, I will use it." [Control transfer complete]
Mini summary: Control transfers are used to set up a device and give it commands.
Definition: Bulk transfers are used to send large amounts of data that do not need to arrive instantly.
Why it is important: Flash drives and printers use bulk transfers to move files and documents.
Simple explanation: Think of a truck carrying goods from Lagos to Kano. The goods do not need to arrive in one second. They can take their time. Bulk transfers are like trucks. They carry a lot of data, but they can wait.
Real-life example: Copying a movie from your computer to a flash drive uses bulk transfers.
School example: Sending a large project file to the teacher's computer uses bulk transfers.
Home example: Moving all your photos from your phone to your laptop uses bulk transfers.
Nigerian example: Think of a trailer carrying bags of rice from the north to the south. The rice does not need to arrive in one second. It can take its time. Bulk transfers are like that trailer.
Illustration:
BULK TRANSFER EXAMPLE [Computer] ===== large file =====> [Flash Drive] File: video.mp4 Size: 500 MB Time: 2 minutes Not urgent. Can wait.
Mini summary: Bulk transfers are used to send large amounts of data that do not need to arrive instantly.
Definition: Interrupt transfers are used for small amounts of data that need to be sent quickly and regularly.
Why it is important: Keyboards and mice use interrupt transfers to send your movements and clicks quickly.
Simple explanation: Think of a student raising her hand to ask a question. The question is small. But it needs to be answered quickly. Interrupt transfers are like that raised hand. Small message. Quick response.
Real-life example: When you press a key on your keyboard, the keyboard uses an interrupt transfer to tell the computer.
School example: When you raise your hand in class, the teacher responds quickly. Interrupt transfers work the same way.
Home example: When you call your mother's name, she answers quickly. Interrupt transfers are like a quick call.
Nigerian example: Think of a customer calling a trader from across the market. The message is short. But the trader responds quickly. Interrupt transfers work the same way.
Illustration:
INTERRUPT TRANSFER EXAMPLE [Keyboard] -- key press --> [Computer] Small message. Quick delivery. Press "A" --> Computer shows "A" Press "B" --> Computer shows "B"
Mini summary: Interrupt transfers are used for small amounts of data that need to be sent quickly and regularly.
Definition: Isochronous transfers are used for data that must arrive on time, such as audio and video.
Why it is important: Webcams, speakers, and microphones use isochronous transfers to send real-time data.
Simple explanation: Think of a live football match on television. The picture and sound must arrive at the same time. If the sound is delayed, the match is spoiled. Isochronous transfers are like live television. They must be on time.
Real-life example: A USB webcam uses isochronous transfers to send video to your computer in real time.
School example: During a school assembly, the microphone must work in real time. If the sound is delayed, the assembly is spoiled. Isochronous transfers are like that microphone.
Home example: When you watch a video on your computer, the sound and picture must match. Isochronous transfers make that happen.
Nigerian example: Think of a live radio broadcast. The presenter's voice must arrive at the same time as the music. If the voice is delayed, the broadcast is spoiled. Isochronous transfers are like that broadcast.
Illustration:
ISOCHRONOUS TRANSFER EXAMPLE [Webcam] -- video frames --> [Computer] Frame 1: 0.033 seconds Frame 2: 0.033 seconds Frame 3: 0.033 seconds Must arrive on time. No delays allowed.
Mini summary: Isochronous transfers are used for data that must arrive on time, such as audio and video.
Definition: A USB class is a group of devices that work in a similar way. The computer can use one driver for all devices in the same class.
Why it is important: Classes make it easier for computers to work with many different devices.
Simple explanation: Think of animals. All birds have feathers and lay eggs. All fish have scales and swim. Scientists group animals by their features. USB classes group devices by their features.
Real-life example: All USB keyboards belong to the HID class. All USB flash drives belong to the Mass Storage class.
School example: All JSS1 students are in one class. All JSS2 students are in another class. Each class has its own teacher. USB classes are like school classes.
Home example: All your shirts are in one drawer. All your trousers are in another drawer. Each drawer holds similar items. USB classes are like drawers.
Nigerian example: Think of a market. All the vegetable sellers are in one section. All the meat sellers are in another section. USB classes are like market sections.
Illustration:
COMMON USB CLASSES +------------------+---------------------------+ | HID | Keyboards, mice, gamepads | +------------------+---------------------------+ | Mass Storage | Flash drives, hard disks | +------------------+---------------------------+ | Audio | Speakers, microphones | +------------------+---------------------------+ | Video | Webcams, cameras | +------------------+---------------------------+ | Printer | Printers, scanners | +------------------+---------------------------+ | CDC | Modems, network adapters | +------------------+---------------------------+
Mini summary: A USB class is a group of devices that work in a similar way. Classes make it easier for computers to work with many devices.
Definition: USB speed is how fast data can travel between the host and the device.
Why it is important: Faster speeds mean less waiting time. But not all devices need high speed.
Simple explanation: Think of different vehicles. A bicycle is slow. A car is faster. A jet is very fast. Each vehicle is useful for different things. USB speeds are like vehicles.
Real-life example: A keyboard does not need high speed. A external hard drive needs high speed.
School example: A student walking to school is like low speed. A student on a bus is like high speed. Each is useful for different situations.
Home example: Walking to the kitchen is like low speed. Running to answer the door is like high speed. Each has its purpose.
Nigerian example: Think of traveling from Lagos to Abuja. A bicycle is slow. A car is faster. A plane is fastest. Each has its purpose.
Illustration:
USB SPEEDS Low Speed 1.5 Mbps Keyboards, mice Full Speed 12 Mbps Keyboards, mice High Speed 480 Mbps Flash drives, cameras SuperSpeed 5 Gbps External drives SuperSpeed+ 10 Gbps Fast storage USB4 40 Gbps High-speed everything
Mini summary: USB speed is how fast data travels. Not all devices need high speed.
Definition: An error is a mistake in data transmission. USB has ways to detect and fix errors.
Why it is important: Errors can happen. USB must be able to detect them and recover.
Simple explanation: Think of sending a letter. Sometimes the letter gets lost. Sometimes it arrives damaged. USB has ways to check if data arrived correctly.
Real-life example: If you unplug a USB drive while it is copying a file, an error occurs. The computer may show a warning.
School example: If you write a test and your pen runs out of ink, that is an error. You must find another pen and continue. USB does the same.
Home example: If you are cooking and the gas finishes, that is an error. You must find another way to cook. USB does the same.
Nigerian example: Think of a bus that breaks down on the way to Abuja. The passengers must find another bus. USB has ways to recover from errors.
Illustration:
ERROR HANDLING Data sent ---> [Error detected] ---> Resend data If error repeats ---> Host tries again If too many errors ---> Host gives up USB has ways to detect and fix errors.
Mini summary: USB has ways to detect and fix errors. This makes USB communication reliable.
| Word | Simple Meaning |
|---|---|
| Enumeration | The first conversation between a computer and a USB device. |
| Descriptor | A package of information that tells the computer about a device. |
| Endpoint | A place where data enters or leaves a USB device. |
| Pipe | A connection between the host and an endpoint. |
| Control Transfer | Used to set up a device and send commands. |
| Bulk Transfer | Used to send large amounts of data that can wait. |
| Interrupt Transfer | Used for small amounts of data that need to be sent quickly. |
| Isochronous Transfer | Used for data that must arrive on time. |
| Class | A group of devices that work in a similar way. |
| HID | Human Interface Device. Keyboards, mice, gamepads. |
| Driver | Software that helps the computer talk to a device. |
| Address | A number the host gives to a device during enumeration. |
| Error | A mistake in data transmission. |
| Speed | How fast data travels through USB. |
| Host | The computer that controls USB communication. |
USB ENUMERATION FLOWCHART
[Device Plugged In]
|
V
[Host Detects Device]
|
V
[Host Sends Reset]
|
V
[Host Asks for Descriptors]
|
V
[Device Sends Descriptors]
|
V
[Host Reads Descriptors]
|
V
[Host Assigns Address]
|
V
[Host Loads Driver]
|
V
[Device Ready to Use]
| Place | USB Use | Transfer Type |
|---|---|---|
| Home | Charging phones, watching movies | Bulk, Interrupt |
| School | Computer labs, printing | Bulk, Control |
| Office | Printers, scanners, keyboards | Bulk, Interrupt |
| Cybercafe | USB drives, scanning documents | Bulk, Control |
| Church | Playing music, projecting lyrics | Isochronous, Bulk |
| Hospital | Medical devices, patient data | Bulk, Interrupt |
| Bank | Card readers, secure USB tokens | Control, Bulk |
| Car | Playing music, charging phones | Bulk, Isochronous |
| Transfer Type | Purpose | Example Device | Speed |
|---|---|---|---|
| Control | Setup and commands | Any device during enumeration | Varies |
| Bulk | Large data | Flash drive, printer | High |
| Interrupt | Small, quick data | Keyboard, mouse | Low to Medium |
| Isochronous | Time-sensitive data | Webcam, speaker | Guaranteed |
| Descriptor | Information Provided |
|---|---|
| Device | Basic info: vendor, product, version |
| Configuration | Power requirements, number of interfaces |
| Interface | What the device can do |
| Endpoint | How data is sent |
| String | Names and text descriptions |
USB is a conversation between a computer and a device.
The host is always in charge. Devices only speak when asked.
Enumeration is the first conversation between host and device.
Descriptors tell the computer what a device is and how to use it.
There are several types of descriptors, each with a different purpose.
Endpoints are doors through which data enters and leaves a device.
Pipes are connections between the host and endpoints.
There are four types of USB transfers: control, bulk, interrupt, and isochronous.
Control transfers are used to set up devices and send commands.
Bulk transfers are used for large amounts of data.
Interrupt transfers are used for small, quick messages.
Isochronous transfers are used for time-sensitive data like audio and video.
USB classes group similar devices together.
USB speeds vary by device and version.
USB has ways to detect and fix errors.
In this module, we learned how USB devices talk to computers. We learned that USB is a conversation between a host and a device. The host is always in charge. The device only speaks when the host asks it to speak.
We learned about enumeration, which is the first conversation. During enumeration, the device sends descriptors to the host. Descriptors tell the host what the device is and how to use it. We learned about endpoints and pipes. Endpoints are doors for data. Pipes are roads between endpoints.
We learned about the four types of USB transfers: control, bulk, interrupt, and isochronous. Each type is used for a different purpose. We learned about USB classes, which group similar devices together. We learned about USB speeds and how they vary. We learned that USB has ways to detect and fix errors.
Most importantly, we learned that understanding USB communication is the first step toward USB security. If you understand how USB devices talk, you can understand how they can be attacked and how to protect against those attacks. In Module Three, we will study real USB attacks and how to defend against them.
| Column A | Column B |
|---|---|
| 1. Enumeration | A. A place where data enters or leaves a device |
| 2. Descriptor | B. The first conversation between host and device |
| 3. Endpoint | C. A connection between the host and an endpoint |
| 4. Pipe | D. A package of information about a device |
| 5. Control Transfer | E. Used for time-sensitive data |
| 6. Bulk Transfer | F. Used to set up a device |
| 7. Interrupt Transfer | G. Used for large amounts of data |
| 8. Isochronous Transfer | H. Used for small, quick messages |
Answers: 1-B, 2-D, 3-A, 4-C, 5-F, 6-G, 7-H, 8-E
Title: USB Conversation Role Play
In groups of four, act out the USB enumeration process. One person plays the host. One person plays the device. One person plays the descriptor. One person plays the driver. Walk through the steps of enumeration.
Present your role play to the class. Explain each step.
Title: My USB Communication Diagram
Draw a diagram showing how data travels from a USB mouse to a computer. Label the host, the device, the endpoint, the pipe, and the transfer type.
Title: Build a USB Communication Guide
Create a small booklet or one-page guide titled "How USB Devices Talk to Computers." Include:
Share your guide with your family or class.
Title: USB Detective โ Part 2
With the help of an adult, plug in a USB device. Watch what happens. Write down:
Present your findings to the class.
In Module Three, we will study real USB attacks and how to defend against them. We will learn about:
Before the next class, think about this question: If a USB device can lie about what it is, how can we protect ourselves?
Bring your curiosity. Bring your questions. See you in Module Three!
You have completed Module Two. You now understand how USB devices talk to computers. You know about enumeration, descriptors, endpoints, pipes, transfers, classes, and speeds. You know that USB is a conversation and that the host is always in charge.
In Module Three, we will put this knowledge to use. We will study real USB attacks. We will learn how attackers can trick computers by sending fake descriptors or hiding malicious code in firmware. We will learn how to detect these attacks and how to protect ourselves.
Congratulations on finishing Module Two. You are now one step closer to becoming a USB Security Expert.