<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://elvis.hcw.ac.at/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=AFries</id>
	<title>Elvis Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://elvis.hcw.ac.at/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=AFries"/>
	<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php/Special:Contributions/AFries"/>
	<updated>2026-09-10T16:20:08Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.5</generator>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=USB_Hacking&amp;diff=16505</id>
		<title>USB Hacking</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=USB_Hacking&amp;diff=16505"/>
		<updated>2024-11-22T14:27:24Z</updated>

		<summary type="html">&lt;p&gt;AFries: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction == &lt;br /&gt;
&lt;br /&gt;
USB attacks have become a significant threat to cyber security. To address this, various tools have been developed to aid in penetration testing and security assessments. The USBNinja cable and OMG cable are two such tools that allow for the execution of payloads when connected to a target device by mimicking a Human Interface Device (HID) such as a keyboard or mouse. These tools can be programmed using the Arduino Integrated Development Environment (IDE) which is user-friendly and straightforward. To prevent USB attacks, a combination of preventive measures such as the Malicious Cable Detector, HID protection approaches through software or hardware, and awareness training is recommended.&lt;br /&gt;
&lt;br /&gt;
== O.MG Cable ==&lt;br /&gt;
&lt;br /&gt;
The O.MG Cable is a hacking tool made by the organisation &amp;quot;Hak.5&amp;quot;. It has the ability to send DuckyScript Payloads to the connected device. These Payloads are sent over a WiFi Connection. Additionally, there is a feature that enables the Payloads to be executed, whenever the cable is plugged into a device. The O.MG Cable simulates keyboard and mouse inputs.&lt;br /&gt;
The O.MG Cable Elite also has the function of keylogging.&lt;br /&gt;
&lt;br /&gt;
[[File:OMG_CABLE.jpg|200px]]&lt;br /&gt;
&lt;br /&gt;
== O.MG Cable Setup ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 ===&lt;br /&gt;
&lt;br /&gt;
You need to flash the cable through the provided Web Flasher, using the OMG Cable Programmer&lt;br /&gt;
&lt;br /&gt;
[[File:OMG_SETUP_1.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 2 ===&lt;br /&gt;
&lt;br /&gt;
With the provided information from the first step, you can connect to the WiFi Signal it sends out. With the name O.MG, and the Password &amp;quot;12345678&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:WIFI_OMG.png|100px]]&lt;br /&gt;
&lt;br /&gt;
=== Step 3 ===&lt;br /&gt;
&lt;br /&gt;
Now you can connect to the DuckyScript interface with the provided address &amp;quot;192.168.4.1&amp;quot;. There you can write the DuckyScript Payloads&lt;br /&gt;
&lt;br /&gt;
[[File:OMG_SETUP_2.png|500px]]&lt;br /&gt;
&lt;br /&gt;
== USBNinja Cable ==&lt;br /&gt;
[[File:USB-Ninja.jpg|650px]]&lt;br /&gt;
&lt;br /&gt;
The USBNinja cable is a information security and penetration testing tool that allows the execution of payloads when the USB cable is connected by pretending to be a HID device such as a keyboard or mouse. Programming the cable is done through the Arduino IDE, making it a simple and user-friendly method for using USB Ninja.&lt;br /&gt;
&lt;br /&gt;
== USBNinja Cable Setup ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 ===&lt;br /&gt;
&lt;br /&gt;
To start with the USB NINJA cable, it is necessary to first access the official website at https://usbninja.com/help/&lt;br /&gt;
&lt;br /&gt;
[[File:USBNinja_1.jpeg|650px]]&lt;br /&gt;
&lt;br /&gt;
=== Step 2 ===&lt;br /&gt;
&lt;br /&gt;
Then, it is essential to strictly follow the steps described on the USBNinja website&lt;br /&gt;
&lt;br /&gt;
[[File:USBNinja_2.jpeg|650px]]&lt;br /&gt;
&lt;br /&gt;
=== Step 3 ===&lt;br /&gt;
&lt;br /&gt;
After downloading the required boot driver and the Arduino IDE, it is imperative to run both as administrator to avoid future conflicts and then proceed with the installation&lt;br /&gt;
&lt;br /&gt;
[[File:USBNinja_3.jpeg|488px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:USBNinja_4.jpeg|325px]]&lt;br /&gt;
&lt;br /&gt;
=== Step 4 ===&lt;br /&gt;
&lt;br /&gt;
Next, in the Arduino IDE, go to &amp;quot;Preferences&amp;quot; and add the required link&lt;br /&gt;
&lt;br /&gt;
[[File:USBNinja_5.jpeg|650px]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 ===&lt;br /&gt;
&lt;br /&gt;
The URL for downloading the required JSON file can be easily found on the USB Ninja website. The link simply specifies the location for the download.&lt;br /&gt;
&lt;br /&gt;
[[File:USBNinja_6.jpeg|650px]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 ===&lt;br /&gt;
&lt;br /&gt;
Next, we will open the Board Manager within the Arduino IDE and download the required board for the NINJA cable&lt;br /&gt;
&lt;br /&gt;
[[File:USBNinja_7.jpeg|325px]]&lt;br /&gt;
&lt;br /&gt;
[[File:USBNinja_8.jpeg|650px]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 ===&lt;br /&gt;
&lt;br /&gt;
Finally, we simply select the previously downloaded board for the NINJA cable&lt;br /&gt;
&lt;br /&gt;
[[File:USBNinja_9.jpeg|650px]]&lt;br /&gt;
&lt;br /&gt;
== Demonstration ==&lt;br /&gt;
&lt;br /&gt;
=== Payload ===&lt;br /&gt;
To successfully deploy a payload. You need to write a DuckyScript or use the provided examples on the website. After writing a correct DuckyScript you can either save it in a slot to load it at another time, save it to &amp;quot;Boot&amp;quot; so it launches whenever it is connected to a device, or run it. &amp;quot;Run&amp;quot; sends the payload over the WiFi signal to the connected device, and executes it.&lt;br /&gt;
The following picture is an example for a DuckyScript Payload that opens &amp;quot;Firefox&amp;quot; and types in &amp;quot;Youtube.com&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Payloadexample.png|650px]]&lt;br /&gt;
&lt;br /&gt;
=== Keylogging ===&lt;br /&gt;
To perform a keylogger attack, the O.MG Cable must be connected between the keyboard and the computer. Then, navigate to the KEYLOG section in the web interface and press Start. Optionally, enable LIVEVIEW to see the output in real-time. The keystrokes will now be recorded and displayed. It is important to note that the O.MG Cable only supports FULL-Speed USB.&lt;br /&gt;
&lt;br /&gt;
[[File:O.MG-Cable_keylogger.png|650px]]&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
&lt;br /&gt;
Imagine a hypothetical scenario: Our USB NINJA cable could pose potential dangers. Suppose someone is at an airport and wants to charge their laptop or smartphone. They find a public charging station with USB ports as well as accessible USB cables that can be connected to their laptop. Without thinking, the person connects the charging cable. As soon as the NINJA cable is connected, a threatening message appears on the screen, manipulating the user and causing them to follow the attacker&#039;s instructions. This is a typical attack through social engineering.&lt;br /&gt;
&lt;br /&gt;
[[File:Threat_message.jpeg|650px]]&lt;br /&gt;
&lt;br /&gt;
== Differences between the 2 cables ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;b&amp;gt;OMG Cable&amp;lt;/b&amp;gt; !! &amp;lt;b&amp;gt;NinjaUSB&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| DuckyScript Payloads || Arduino IDE&lt;br /&gt;
|-&lt;br /&gt;
| Always simulates keyboard and mouse || Simulates either keyboard or mouse&lt;br /&gt;
|-&lt;br /&gt;
| Payloads are sent over a WiFi connection or when connecting the cable || Payloads are sent when connecting the cable, in a loop or with a remote&lt;br /&gt;
|-&lt;br /&gt;
| Does not need to be flashed when the payload changes || Needs to be flashed whenever the payload changes&lt;br /&gt;
|-&lt;br /&gt;
| Has the ability for keylogging whit the Elite version || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Preventive measures ==&lt;br /&gt;
&lt;br /&gt;
Preventive measures against malicious USB cables include the use of a Malicious Cable Detector. This device prevents data transfer through the USB cable while still allowing for charging. The LED on the detector lights up red when data transfer is blocked. There are also two approaches for protecting against HID (Human Interface Device) attacks, a software approach and a hardware approach. The software approach records keyboard activity through software and the hardware approach uses a separate device to record keyboard activity. Awareness training is also an important aspect of protecting against malicious USB cables and HID attacks.&lt;br /&gt;
&lt;br /&gt;
== Quellen ==&lt;br /&gt;
&lt;br /&gt;
* https://usbninja.com/help/&lt;br /&gt;
* https://hackerwarehouse.com/product/usb-ninja-cable/&lt;br /&gt;
* http://192.168.4.1/omg.html.gz#&lt;br /&gt;
* https://o.mg.lol/setup/&lt;br /&gt;
* https://o-mg.github.io/WebFlasher/&lt;br /&gt;
* https://shop.hak5.org/products/omg-cable&lt;br /&gt;
* https://github.com/O-MG/O.MG-Firmware/wiki/Keylogger&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>AFries</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:O.MG-Cable_keylogger.png&amp;diff=16504</id>
		<title>File:O.MG-Cable keylogger.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:O.MG-Cable_keylogger.png&amp;diff=16504"/>
		<updated>2024-11-22T14:19:20Z</updated>

		<summary type="html">&lt;p&gt;AFries: Show the keylogger funktion of the O.MG cable&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Show the keylogger funktion of the O.MG cable&lt;/div&gt;</summary>
		<author><name>AFries</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=USB_Protocol&amp;diff=16503</id>
		<title>USB Protocol</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=USB_Protocol&amp;diff=16503"/>
		<updated>2024-11-22T13:59:17Z</updated>

		<summary type="html">&lt;p&gt;AFries: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction == &lt;br /&gt;
&lt;br /&gt;
The USB protocol is a cornerstone of modern computer communication, offering high flexibility and universal compatibility with a wide range of devices. However, this versatility comes with significant security risks. This document provides an overview of the USB protocol, highlighting its key features, such as composite device support and device enumeration. It also explores the associated security threats, including malware transmission, abuse of HID devices, and vulnerabilities due to unencrypted data transmission. By examining these aspects, the document sheds light on the balance between functionality and security in USB technology.&lt;br /&gt;
&lt;br /&gt;
== Protocol == &lt;br /&gt;
&lt;br /&gt;
The USB protocol is characterized by its high flexibility, particularly in its support for so-called composite devices. Composite devices can contain multiple configurations and interfaces, with each interface functioning as an independent unit. A typical example is a USB headset, which features a configuration that includes four interfaces: a keyboard for volume control, a microphone, and two speakers. This flexibility enables various functions to be combined into a single USB device.&lt;br /&gt;
&lt;br /&gt;
=== General Class Specifications ===&lt;br /&gt;
&lt;br /&gt;
Since the introduction of USB 1.0, the concept of &amp;quot;Common Class Specifications&amp;quot; has been established to standardize various types of peripheral devices. A USB class is a group of one or more interfaces that collectively provide enhanced functionality. One of the most well-known classes is the &amp;quot;Human Interface Device&amp;quot; (HID) class, which allows the USB host controller to communicate with input devices such as keyboards and mice. Another significant class is the USB Mass Storage class, which defines how data is transferred between the host and storage devices.&lt;br /&gt;
&lt;br /&gt;
Composite devices combine multiple classes to provide more comprehensive functionality. For example, a USB headset can utilize both the HID class and the Audio class to support input and output functions. While this design principle has increased the flexibility of the USB protocol, it has also introduced security challenges.&lt;br /&gt;
&lt;br /&gt;
=== USB Device Enumeration ===&lt;br /&gt;
&lt;br /&gt;
When a USB device is connected to a host system, the USB host controller detects the presence of the device and its transfer speed by monitoring voltage changes on the data pins. This triggers the process known as enumeration, which involves identifying and configuring the device. The process begins with the GetDeviceDescriptors command, where the host queries the device for identification information such as the manufacturer, Vendor ID (VID), Product ID (PID), and serial number.&lt;br /&gt;
&lt;br /&gt;
After querying, the host controller resets the device and assigns it an address for future communication. This is followed by a GetConfigDescriptors request to retrieve all available configurations of the device. USB devices can have one or more configurations, but only one configuration can be active at a time. Each configuration may include one or more interfaces, which are identified through the GetInterfaceDescriptors request. These interfaces represent the essential functional units handled by different drivers within the operating system. After completing these steps, the operating system loads the appropriate drivers, and device-specific subprotocols (e.g., HID, Storage) are activated.&lt;br /&gt;
&lt;br /&gt;
[[File:USB_enumeration_procedure.png]]&lt;br /&gt;
&lt;br /&gt;
== Security threads == &lt;br /&gt;
&lt;br /&gt;
USB devices pose a significant security risk because, despite their widespread use, they offer low security. A particular risk with USB devices is USB sticks, which are often used as carriers for malware such as viruses, worms, and Trojans. This malware can spread easily since USB sticks can be quickly exchanged between different computers. A well-known example of a vulnerability is the AutoRun feature in older versions of Windows, especially Windows XP. This feature allowed USB devices to automatically start programs as soon as they were connected to a computer. While this was often used to install drivers, it was also exploited to execute malware unnoticed. In later versions of Windows, this feature was significantly restricted to minimize the risk.&lt;br /&gt;
&lt;br /&gt;
Another serious risk with USB devices is the possibility of abusing HID (Human Interface Device) devices. Since HID devices are considered trustworthy, they can easily be used as an attack vector. For instance, a manipulated USB device can impersonate a keyboard and execute malicious inputs unnoticed to steal data or install malware. Such attacks, like those carried out using the O.MG Cable, exploit the fact that most operating systems trust HID devices and automatically grant them rights for user inputs. These attacks allow adversaries to execute commands undetected and gain access to sensitive data, posing significant security and privacy risks.&lt;br /&gt;
&lt;br /&gt;
Another major problem with USB technology is the lack of encryption for data transmission. The data transferred between USB devices and the host computer is sent in plaintext, making it vulnerable to passive eavesdropping attacks. Attackers can intercept the data traffic on the bus line with relatively simple methods and capture sensitive information. Keyboards are particularly vulnerable since they are often used to input sensitive data, such as passwords.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* Jing Tian, Nolen Scaife, Deepak Kumar, Michael Bailey, Adam Bates, and Kevin Butler. Sok: ”plug pray” today – understanding usb insecurity in versions 1 through c. In 2018 IEEE Symposium on Security and Privacy (SP), pages 1032–1047, 2018.&lt;br /&gt;
* Chengzhi Sun, Jiyu Lu, and Yunqing Liu. Analysis and prevention of information security of usb. In 2021 International Conference on Electronic Information Engineering and Computer Science (EIECS), pages 25–32, 2021&lt;br /&gt;
* Nongmeikapam Thoiba Singh, Aditya Shukla, Ajay Nagar, Kartavya Arya,Ashwani Tiwari, and Yash Varun. Keylogger development: Technical aspects, ethical considerations, and mitigation strategies. In 2023 International Conference on Energy, Materials and Communication Engineering (ICEMCE), pages 1-5, 2023&lt;br /&gt;
* Daniel Noyes, Hong Liu, and Paul Fortier. Security analysis and improvement of usb technology. In 2016 IEEE Symposium on Technologies for Homeland Security (HST), pages 1–3, 2016&lt;br /&gt;
* yungroul Lee, Wansoo Kim, Kwangjin Bae, and Kangbin Yim. A solution to protecting usb keyboard data. In 2010 International Conference on Broadband, Wireless Computing, Communication and Applications, pages 108–111, 2010&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>AFries</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=USB_protocol&amp;diff=16502</id>
		<title>USB protocol</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=USB_protocol&amp;diff=16502"/>
		<updated>2024-11-22T13:53:58Z</updated>

		<summary type="html">&lt;p&gt;AFries: AFries moved page USB protocol to USB Protocol&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[USB Protocol]]&lt;/div&gt;</summary>
		<author><name>AFries</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=USB_Protocol&amp;diff=16501</id>
		<title>USB Protocol</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=USB_Protocol&amp;diff=16501"/>
		<updated>2024-11-22T13:53:58Z</updated>

		<summary type="html">&lt;p&gt;AFries: AFries moved page USB protocol to USB Protocol&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction == &lt;br /&gt;
&lt;br /&gt;
The USB protocol is a cornerstone of modern computer communication, offering high flexibility and universal compatibility with a wide range of devices. However, this versatility comes with significant security risks. This document provides an overview of the USB protocol, highlighting its key features, such as composite device support and device enumeration. It also explores the associated security threats, including malware transmission, abuse of HID devices, and vulnerabilities due to unencrypted data transmission. By examining these aspects, the document sheds light on the balance between functionality and security in USB technology.&lt;br /&gt;
&lt;br /&gt;
== Protocol == &lt;br /&gt;
&lt;br /&gt;
The USB protocol is characterized by its high flexibility, particularly in its support for so-called composite devices. Composite devices can contain multiple configurations and interfaces, with each interface functioning as an independent unit. A typical example is a USB headset, which features a configuration that includes four interfaces: a keyboard for volume control, a microphone, and two speakers. This flexibility enables various functions to be combined into a single USB device.&lt;br /&gt;
&lt;br /&gt;
=== General Class Specifications ===&lt;br /&gt;
&lt;br /&gt;
Since the introduction of USB 1.0, the concept of &amp;quot;Common Class Specifications&amp;quot; has been established to standardize various types of peripheral devices. A USB class is a group of one or more interfaces that collectively provide enhanced functionality. One of the most well-known classes is the &amp;quot;Human Interface Device&amp;quot; (HID) class, which allows the USB host controller to communicate with input devices such as keyboards and mice. Another significant class is the USB Mass Storage class, which defines how data is transferred between the host and storage devices.&lt;br /&gt;
&lt;br /&gt;
Composite devices combine multiple classes to provide more comprehensive functionality. For example, a USB headset can utilize both the HID class and the Audio class to support input and output functions. While this design principle has increased the flexibility of the USB protocol, it has also introduced security challenges.&lt;br /&gt;
&lt;br /&gt;
=== USB Device Enumeration ===&lt;br /&gt;
&lt;br /&gt;
When a USB device is connected to a host system, the USB host controller detects the presence of the device and its transfer speed by monitoring voltage changes on the data pins. This triggers the process known as enumeration, which involves identifying and configuring the device. The process begins with the GetDeviceDescriptors command, where the host queries the device for identification information such as the manufacturer, Vendor ID (VID), Product ID (PID), and serial number.&lt;br /&gt;
&lt;br /&gt;
After querying, the host controller resets the device and assigns it an address for future communication. This is followed by a GetConfigDescriptors request to retrieve all available configurations of the device. USB devices can have one or more configurations, but only one configuration can be active at a time. Each configuration may include one or more interfaces, which are identified through the GetInterfaceDescriptors request. These interfaces represent the essential functional units handled by different drivers within the operating system. After completing these steps, the operating system loads the appropriate drivers, and device-specific subprotocols (e.g., HID, Storage) are activated.&lt;br /&gt;
&lt;br /&gt;
== Security threads == &lt;br /&gt;
&lt;br /&gt;
USB devices pose a significant security risk because, despite their widespread use, they offer low security. A particular risk with USB devices is USB sticks, which are often used as carriers for malware such as viruses, worms, and Trojans. This malware can spread easily since USB sticks can be quickly exchanged between different computers. A well-known example of a vulnerability is the AutoRun feature in older versions of Windows, especially Windows XP. This feature allowed USB devices to automatically start programs as soon as they were connected to a computer. While this was often used to install drivers, it was also exploited to execute malware unnoticed. In later versions of Windows, this feature was significantly restricted to minimize the risk.&lt;br /&gt;
&lt;br /&gt;
Another serious risk with USB devices is the possibility of abusing HID (Human Interface Device) devices. Since HID devices are considered trustworthy, they can easily be used as an attack vector. For instance, a manipulated USB device can impersonate a keyboard and execute malicious inputs unnoticed to steal data or install malware. Such attacks, like those carried out using the O.MG Cable, exploit the fact that most operating systems trust HID devices and automatically grant them rights for user inputs. These attacks allow adversaries to execute commands undetected and gain access to sensitive data, posing significant security and privacy risks.&lt;br /&gt;
&lt;br /&gt;
Another major problem with USB technology is the lack of encryption for data transmission. The data transferred between USB devices and the host computer is sent in plaintext, making it vulnerable to passive eavesdropping attacks. Attackers can intercept the data traffic on the bus line with relatively simple methods and capture sensitive information. Keyboards are particularly vulnerable since they are often used to input sensitive data, such as passwords.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 ===&lt;br /&gt;
&lt;br /&gt;
Enter these commands in the shell&lt;br /&gt;
&lt;br /&gt;
 echo foo&lt;br /&gt;
 echo bar&lt;br /&gt;
&lt;br /&gt;
=== Step 2 ===&lt;br /&gt;
&lt;br /&gt;
Make sure to read&lt;br /&gt;
&lt;br /&gt;
* War and Peace&lt;br /&gt;
* Lord of the Rings&lt;br /&gt;
* The Baroque Cycle&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Device to be used with this documentation]]&lt;br /&gt;
[[Maybe another device to be used with this documentation]]&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
* [[Another one]] (2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://wikipedia.org&lt;br /&gt;
* https://google.com&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>AFries</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:USB_enumeration_procedure.png&amp;diff=16500</id>
		<title>File:USB enumeration procedure.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:USB_enumeration_procedure.png&amp;diff=16500"/>
		<updated>2024-11-22T13:53:00Z</updated>

		<summary type="html">&lt;p&gt;AFries: This file describes the enumeration procedure of a USB connection.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
This file describes the enumeration procedure of a USB connection.&lt;/div&gt;</summary>
		<author><name>AFries</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=USB_Protocol&amp;diff=16499</id>
		<title>USB Protocol</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=USB_Protocol&amp;diff=16499"/>
		<updated>2024-11-22T13:49:28Z</updated>

		<summary type="html">&lt;p&gt;AFries: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction == &lt;br /&gt;
&lt;br /&gt;
The USB protocol is a cornerstone of modern computer communication, offering high flexibility and universal compatibility with a wide range of devices. However, this versatility comes with significant security risks. This document provides an overview of the USB protocol, highlighting its key features, such as composite device support and device enumeration. It also explores the associated security threats, including malware transmission, abuse of HID devices, and vulnerabilities due to unencrypted data transmission. By examining these aspects, the document sheds light on the balance between functionality and security in USB technology.&lt;br /&gt;
&lt;br /&gt;
== Protocol == &lt;br /&gt;
&lt;br /&gt;
The USB protocol is characterized by its high flexibility, particularly in its support for so-called composite devices. Composite devices can contain multiple configurations and interfaces, with each interface functioning as an independent unit. A typical example is a USB headset, which features a configuration that includes four interfaces: a keyboard for volume control, a microphone, and two speakers. This flexibility enables various functions to be combined into a single USB device.&lt;br /&gt;
&lt;br /&gt;
=== General Class Specifications ===&lt;br /&gt;
&lt;br /&gt;
Since the introduction of USB 1.0, the concept of &amp;quot;Common Class Specifications&amp;quot; has been established to standardize various types of peripheral devices. A USB class is a group of one or more interfaces that collectively provide enhanced functionality. One of the most well-known classes is the &amp;quot;Human Interface Device&amp;quot; (HID) class, which allows the USB host controller to communicate with input devices such as keyboards and mice. Another significant class is the USB Mass Storage class, which defines how data is transferred between the host and storage devices.&lt;br /&gt;
&lt;br /&gt;
Composite devices combine multiple classes to provide more comprehensive functionality. For example, a USB headset can utilize both the HID class and the Audio class to support input and output functions. While this design principle has increased the flexibility of the USB protocol, it has also introduced security challenges.&lt;br /&gt;
&lt;br /&gt;
=== USB Device Enumeration ===&lt;br /&gt;
&lt;br /&gt;
When a USB device is connected to a host system, the USB host controller detects the presence of the device and its transfer speed by monitoring voltage changes on the data pins. This triggers the process known as enumeration, which involves identifying and configuring the device. The process begins with the GetDeviceDescriptors command, where the host queries the device for identification information such as the manufacturer, Vendor ID (VID), Product ID (PID), and serial number.&lt;br /&gt;
&lt;br /&gt;
After querying, the host controller resets the device and assigns it an address for future communication. This is followed by a GetConfigDescriptors request to retrieve all available configurations of the device. USB devices can have one or more configurations, but only one configuration can be active at a time. Each configuration may include one or more interfaces, which are identified through the GetInterfaceDescriptors request. These interfaces represent the essential functional units handled by different drivers within the operating system. After completing these steps, the operating system loads the appropriate drivers, and device-specific subprotocols (e.g., HID, Storage) are activated.&lt;br /&gt;
&lt;br /&gt;
== Security threads == &lt;br /&gt;
&lt;br /&gt;
USB devices pose a significant security risk because, despite their widespread use, they offer low security. A particular risk with USB devices is USB sticks, which are often used as carriers for malware such as viruses, worms, and Trojans. This malware can spread easily since USB sticks can be quickly exchanged between different computers. A well-known example of a vulnerability is the AutoRun feature in older versions of Windows, especially Windows XP. This feature allowed USB devices to automatically start programs as soon as they were connected to a computer. While this was often used to install drivers, it was also exploited to execute malware unnoticed. In later versions of Windows, this feature was significantly restricted to minimize the risk.&lt;br /&gt;
&lt;br /&gt;
Another serious risk with USB devices is the possibility of abusing HID (Human Interface Device) devices. Since HID devices are considered trustworthy, they can easily be used as an attack vector. For instance, a manipulated USB device can impersonate a keyboard and execute malicious inputs unnoticed to steal data or install malware. Such attacks, like those carried out using the O.MG Cable, exploit the fact that most operating systems trust HID devices and automatically grant them rights for user inputs. These attacks allow adversaries to execute commands undetected and gain access to sensitive data, posing significant security and privacy risks.&lt;br /&gt;
&lt;br /&gt;
Another major problem with USB technology is the lack of encryption for data transmission. The data transferred between USB devices and the host computer is sent in plaintext, making it vulnerable to passive eavesdropping attacks. Attackers can intercept the data traffic on the bus line with relatively simple methods and capture sensitive information. Keyboards are particularly vulnerable since they are often used to input sensitive data, such as passwords.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 ===&lt;br /&gt;
&lt;br /&gt;
Enter these commands in the shell&lt;br /&gt;
&lt;br /&gt;
 echo foo&lt;br /&gt;
 echo bar&lt;br /&gt;
&lt;br /&gt;
=== Step 2 ===&lt;br /&gt;
&lt;br /&gt;
Make sure to read&lt;br /&gt;
&lt;br /&gt;
* War and Peace&lt;br /&gt;
* Lord of the Rings&lt;br /&gt;
* The Baroque Cycle&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Device to be used with this documentation]]&lt;br /&gt;
[[Maybe another device to be used with this documentation]]&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
* [[Another one]] (2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://wikipedia.org&lt;br /&gt;
* https://google.com&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>AFries</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=USB_Security&amp;diff=16498</id>
		<title>USB Security</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=USB_Security&amp;diff=16498"/>
		<updated>2024-11-22T13:42:29Z</updated>

		<summary type="html">&lt;p&gt;AFries: AFries moved page USB Security to USB protocol&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[USB protocol]]&lt;/div&gt;</summary>
		<author><name>AFries</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=USB_Protocol&amp;diff=16497</id>
		<title>USB Protocol</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=USB_Protocol&amp;diff=16497"/>
		<updated>2024-11-22T13:42:29Z</updated>

		<summary type="html">&lt;p&gt;AFries: AFries moved page USB Security to USB protocol&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction == &lt;br /&gt;
&lt;br /&gt;
Description what this documentation is about.&lt;br /&gt;
&lt;br /&gt;
== Security threads == &lt;br /&gt;
&lt;br /&gt;
USB-Geräte stellen ein großes Sicherheitsrisiko dar, weil sie trotz ihrer weiten Verbreitung eine geringe Sicherheit bieten. Ein besonderes Risiko bei USB-Geräten ist der USB-Stick. Dieser wird häufig als Träger von Schadsoftware wie Viren, Würmern und Trojanern missbraucht. Diese Schadsoftware kann sich leicht verbreiten, da USB-Sticks einfach zwischen verschiedenen Computern ausgetauscht werden können. Ein bekanntes Beispiel für eine Schwachstelle ist die AutoRun-Funktion in älteren Windows-Versionen, insbesondere Windows XP. Diese Funktion ermöglichte es USB-Geräten, Programme automatisch zu starten, sobald sie an einen Computer angeschlossen wurden. Dies wurde häufig genutzt, um Treiber zu installieren, aber auch, um unbemerkt Schadsoftware auszuführen. In späteren Windows-Versionen wurde diese Funktion jedoch stark eingeschränkt, um das Risiko zu minimieren.&lt;br /&gt;
&lt;br /&gt;
Ein weiteres ernsthaftes Risiko bei USB-Geräten besteht in der Möglichkeit, HID-Geräte zu missbrauchen. Da HID-Geräte vertrauenswürdig erscheinen, können sie leicht als Angriffsvektor genutzt werden. Beispielsweise kann ein manipuliertes USB-Gerät als Tastatur auftreten und unbemerkt schädliche Eingaben ausführen, um Daten zu stehlen oder Malware zu installieren. Diese Angriffe, wie etwa das O.MG Cable, nutzen die Tatsache aus, dass die meisten Betriebssysteme HID-Geräten vertrauen und ihnen automatisch Rechte für Benutzereingaben einräumen. Durch solche Angriffe können Angreifer unbemerkt Befehle ausführen und Zugang zu sensiblen Daten erlangen, was erhebliche Sicherheits- und Datenschutzrisiken birgt.&lt;br /&gt;
&lt;br /&gt;
Ein weiteres Hauptproblem bei der USB-Technologie ist zudem die fehlende Verschlüsselung des Datenverkehrs. Die Datenübertragung zwischen USB-Geräten und dem Host-Rechner erfolgt im Klartext, was sie für passive Abhörangriffe anfällig macht. Angreifer können mit relativ einfachen Mitteln den Datenverkehr auf der Busleitung mitschneiden und sensible Informationen abfangen. Dabei stellt die Tastatur die größte Gefährdung dar, weil sie häufig zur Eingabe sensibler Daten, wie etwa Passwörter, verwendet wird.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 ===&lt;br /&gt;
&lt;br /&gt;
Enter these commands in the shell&lt;br /&gt;
&lt;br /&gt;
 echo foo&lt;br /&gt;
 echo bar&lt;br /&gt;
&lt;br /&gt;
=== Step 2 ===&lt;br /&gt;
&lt;br /&gt;
Make sure to read&lt;br /&gt;
&lt;br /&gt;
* War and Peace&lt;br /&gt;
* Lord of the Rings&lt;br /&gt;
* The Baroque Cycle&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Device to be used with this documentation]]&lt;br /&gt;
[[Maybe another device to be used with this documentation]]&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
* [[Another one]] (2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://wikipedia.org&lt;br /&gt;
* https://google.com&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>AFries</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=USB_Protocol&amp;diff=16496</id>
		<title>USB Protocol</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=USB_Protocol&amp;diff=16496"/>
		<updated>2024-11-22T13:41:54Z</updated>

		<summary type="html">&lt;p&gt;AFries: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction == &lt;br /&gt;
&lt;br /&gt;
Description what this documentation is about.&lt;br /&gt;
&lt;br /&gt;
== Security threads == &lt;br /&gt;
&lt;br /&gt;
USB-Geräte stellen ein großes Sicherheitsrisiko dar, weil sie trotz ihrer weiten Verbreitung eine geringe Sicherheit bieten. Ein besonderes Risiko bei USB-Geräten ist der USB-Stick. Dieser wird häufig als Träger von Schadsoftware wie Viren, Würmern und Trojanern missbraucht. Diese Schadsoftware kann sich leicht verbreiten, da USB-Sticks einfach zwischen verschiedenen Computern ausgetauscht werden können. Ein bekanntes Beispiel für eine Schwachstelle ist die AutoRun-Funktion in älteren Windows-Versionen, insbesondere Windows XP. Diese Funktion ermöglichte es USB-Geräten, Programme automatisch zu starten, sobald sie an einen Computer angeschlossen wurden. Dies wurde häufig genutzt, um Treiber zu installieren, aber auch, um unbemerkt Schadsoftware auszuführen. In späteren Windows-Versionen wurde diese Funktion jedoch stark eingeschränkt, um das Risiko zu minimieren.&lt;br /&gt;
&lt;br /&gt;
Ein weiteres ernsthaftes Risiko bei USB-Geräten besteht in der Möglichkeit, HID-Geräte zu missbrauchen. Da HID-Geräte vertrauenswürdig erscheinen, können sie leicht als Angriffsvektor genutzt werden. Beispielsweise kann ein manipuliertes USB-Gerät als Tastatur auftreten und unbemerkt schädliche Eingaben ausführen, um Daten zu stehlen oder Malware zu installieren. Diese Angriffe, wie etwa das O.MG Cable, nutzen die Tatsache aus, dass die meisten Betriebssysteme HID-Geräten vertrauen und ihnen automatisch Rechte für Benutzereingaben einräumen. Durch solche Angriffe können Angreifer unbemerkt Befehle ausführen und Zugang zu sensiblen Daten erlangen, was erhebliche Sicherheits- und Datenschutzrisiken birgt.&lt;br /&gt;
&lt;br /&gt;
Ein weiteres Hauptproblem bei der USB-Technologie ist zudem die fehlende Verschlüsselung des Datenverkehrs. Die Datenübertragung zwischen USB-Geräten und dem Host-Rechner erfolgt im Klartext, was sie für passive Abhörangriffe anfällig macht. Angreifer können mit relativ einfachen Mitteln den Datenverkehr auf der Busleitung mitschneiden und sensible Informationen abfangen. Dabei stellt die Tastatur die größte Gefährdung dar, weil sie häufig zur Eingabe sensibler Daten, wie etwa Passwörter, verwendet wird.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 ===&lt;br /&gt;
&lt;br /&gt;
Enter these commands in the shell&lt;br /&gt;
&lt;br /&gt;
 echo foo&lt;br /&gt;
 echo bar&lt;br /&gt;
&lt;br /&gt;
=== Step 2 ===&lt;br /&gt;
&lt;br /&gt;
Make sure to read&lt;br /&gt;
&lt;br /&gt;
* War and Peace&lt;br /&gt;
* Lord of the Rings&lt;br /&gt;
* The Baroque Cycle&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Device to be used with this documentation]]&lt;br /&gt;
[[Maybe another device to be used with this documentation]]&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
* [[Another one]] (2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://wikipedia.org&lt;br /&gt;
* https://google.com&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>AFries</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=USB_Protocol&amp;diff=16495</id>
		<title>USB Protocol</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=USB_Protocol&amp;diff=16495"/>
		<updated>2024-11-22T13:37:26Z</updated>

		<summary type="html">&lt;p&gt;AFries: Created page with &amp;quot;== Introduction ==   Description what this documentation is about.  == USB protocol ==  Das USB-Protokoll zeichnet sich durch seine hohe Flexibilit¨at aus, die sich insbeson- dere in der Unterst¨utzung sogenannter Kompositger¨ate zeigt. Kompositger¨ate k¨onnen mehrere Konfigurationen und Schnittstellen enthalten, wobei jede Schnittstelle als eigenst¨andige Einheit fungiert. Ein typisches Beispiel ist ein USB-Headset, das eine Konfiguration aufweist, welche wiederum...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction == &lt;br /&gt;
&lt;br /&gt;
Description what this documentation is about.&lt;br /&gt;
&lt;br /&gt;
== USB protocol ==&lt;br /&gt;
&lt;br /&gt;
Das USB-Protokoll zeichnet sich durch seine hohe Flexibilit¨at aus, die sich insbeson-&lt;br /&gt;
dere in der Unterst¨utzung sogenannter Kompositger¨ate zeigt. Kompositger¨ate k¨onnen&lt;br /&gt;
mehrere Konfigurationen und Schnittstellen enthalten, wobei jede Schnittstelle als&lt;br /&gt;
eigenst¨andige Einheit fungiert. Ein typisches Beispiel ist ein USB-Headset, das eine&lt;br /&gt;
Konfiguration aufweist, welche wiederum vier Schnittstellen umfasst: eine Tastatur zur&lt;br /&gt;
Lautst¨arkeregelung, ein Mikrofon und zwei Lautsprecher. Diese Flexibilit¨at erm¨oglicht&lt;br /&gt;
es, verschiedene Funktionen in einem einzigen USB-Ger¨at zu kombinieren. Allgemeine&lt;br /&gt;
Klassenspezifikationen&lt;br /&gt;
Seit der Einf¨uhrung von USB 1.0 wurde das Konzept der ”Common Class Specifi-&lt;br /&gt;
cations” etabliert, um eine Standardisierung verschiedener Arten von Peripherieger¨aten&lt;br /&gt;
zu gew¨ahrleisten. Eine USB-Klasse ist eine Gruppe von einer oder mehreren Schnittstellen,&lt;br /&gt;
die zusammen eine erweiterte Funktionalit¨at bieten. Eine der bekanntesten Klassen ist&lt;br /&gt;
die ”Human Interface Device” (HID) Klasse, die es dem USB-Hostcontroller erm¨oglicht,&lt;br /&gt;
mit Eingabeger¨aten wie Tastaturen und M¨ausen zu kommunizieren. Eine weitere be-&lt;br /&gt;
deutende Klasse ist die USB-Massenspeicherklasse, die definiert, wie Daten zwischen&lt;br /&gt;
dem Host und Speicherger¨aten ¨ubertragen werden.&lt;br /&gt;
4&lt;br /&gt;
Chapter 2. Technischer Hintergrund&lt;br /&gt;
Kompositger¨ate kombinieren mehrere Klassen, um eine umfassendere Funktion-&lt;br /&gt;
alit¨at zu bieten. Beispielsweise kann ein USB-Headset sowohl die HID-Klasse als auch&lt;br /&gt;
die Audioklasse nutzen, um sowohl Eingaben als auch Audioausgaben zu erm¨oglichen.&lt;br /&gt;
Dieses Designprinzip, bei dem USB-Peripherieger¨ate durch die Kombination mehrerer&lt;br /&gt;
Klassen geschaffen werden, hat nicht nur die Flexibilit¨at des USB-Protokolls erh¨oht,&lt;br /&gt;
sondern auch Sicherheitsherausforderungen mit sich gebracht.&lt;br /&gt;
Nach dem Anschluss eines USB-Ger¨ats an ein Hostsystem erkennt der USB-Hostcontroller&lt;br /&gt;
die Anwesenheit des Ger¨ats und dessen ¨Ubertragungsgeschwindigkeit, indem er die&lt;br /&gt;
Spannungs¨anderungen an den Datenpins ¨uberpr¨uft. Daraufhin beginnt die sogenannte&lt;br /&gt;
Enumeration, eine Prozedur zur Identifikation und Konfiguration des Ger¨ats. Dieser&lt;br /&gt;
Prozess startet mit dem Befehl GetDeviceDescriptors, bei dem der Host nach Identi-&lt;br /&gt;
fikationsinformationen des Ger¨ats fragt, wie beispielsweise Hersteller, Vendor ID (VID),&lt;br /&gt;
Produkt ID (PID) und Seriennummer.&lt;br /&gt;
Nach der Abfrage setzt der Hostcontroller das Ger¨at zur¨uck und weist ihm eine&lt;br /&gt;
Adresse f¨ur die zuk¨unftige Kommunikation zu. Anschließend erfolgt eine GetConfigDescriptors-&lt;br /&gt;
Anfrage, um alle verf¨ugbaren Konfigurationen des Ger¨ats abzurufen. USB-Ger¨ate&lt;br /&gt;
k¨onnen eine oder mehrere Konfigurationen haben, wobei jedoch immer nur eine Konfig-&lt;br /&gt;
uration aktiv sein kann. Jede Konfiguration kann eine oder mehrere Schnittstellen en-&lt;br /&gt;
thalten, die ¨uber die GetInterfaceDescriptors-Anfrage ermittelt werden. Diese Schnittstellen&lt;br /&gt;
repr¨asentieren die essenziellen funktionalen Einheiten, die von verschiedenen Treibern&lt;br /&gt;
im Betriebssystem bedient werden. Nach Abschluss dieser Anfrage l¨adt das Betrieb-&lt;br /&gt;
ssystem die entsprechenden Treiber und ger¨atespezifische Subprotokolle (z. B. HID,&lt;br /&gt;
Storage) treten in Betrieb.&lt;br /&gt;
&lt;br /&gt;
== Security threads == &lt;br /&gt;
&lt;br /&gt;
USB-Ger¨ate stellen ein großes Sicherheitsrisiko da, weil sie trotz ihrer weiten verbre-&lt;br /&gt;
itung eine geringe Sicherheit bieten. Ein besonderes Risiko bei USB-Ger¨aten ist der&lt;br /&gt;
USB-Stick. Er wird h¨aufig als Tr¨ager von Schadsoftware wie Viren, W¨urmern und&lt;br /&gt;
5&lt;br /&gt;
Chapter 2. Technischer Hintergrund&lt;br /&gt;
Trojanern misbraucht. Diese Schadsoftware kann sich leicht verbreiten, da USB-Sticks&lt;br /&gt;
einfach zwischen verschiedenen Computern ausgetauscht werden k¨onnen. Ein bekan-&lt;br /&gt;
ntes Beispiel f¨ur eine Schwachstelle ist die AutoRun-Funktion in ¨alteren Windows-&lt;br /&gt;
Versionen, insbesondere Windows XP. Diese Funktion erm¨oglichte es USB-Ger¨aten,&lt;br /&gt;
Programme automatisch zu starten, sobald sie an einen Computer angeschlossen wur-&lt;br /&gt;
den. Dies wurde h¨aufig genutzt, um Treiber zu installieren, aber auch, um unbemerkt&lt;br /&gt;
Schadsoftware auszuf¨uhren. In sp¨ateren Windows-Versionen wurde diese Funktion je-&lt;br /&gt;
doch stark eingeschr¨ankt, um das Risiko zu minimieren. [SLL21] [TSK+18]&lt;br /&gt;
Ein weiteres ernsthaftes Risiko bei USB-Ger¨aten besteht in der M¨oglichkeit, HID-&lt;br /&gt;
Ger¨ate zu missbrauchen. Da HID-Ger¨ate vertrauensw¨urdig erscheinen, k¨onnen sie&lt;br /&gt;
leicht als Angriffsvektor genutzt werden. Beispielsweise kann ein manipuliertes USB-&lt;br /&gt;
Ger¨at als Tastatur auftreten und unbemerkt sch¨adliche Eingaben ausf¨uhren, um Daten&lt;br /&gt;
zu stehlen oder Malware zu installieren. Diese Angriffe, wie etwa das O.MG Cable,&lt;br /&gt;
nutzen die Tatsache aus, dass die meisten Betriebssysteme HID-Ger¨aten vertrauen&lt;br /&gt;
und ihnen automatisch Rechte f¨ur Benutzereingaben einr¨aumen. Durch solche An-&lt;br /&gt;
griffe k¨onnen Angreifer unbemerkt Befehle ausf¨uhren und Zugang zu sensiblen Daten&lt;br /&gt;
erlangen, was erhebliche Sicherheits- und Datenschutzrisiken birgt. [SSN+23]&lt;br /&gt;
Ein weitere Hauptprobleme bei der USB-Technologie ist zudem die fehlende Ver-&lt;br /&gt;
schl¨usselung des Datenverkehrs. Die Daten¨ubertragung zwischen USB-Ger¨aten und&lt;br /&gt;
dem Host-Rechner erfolgt im Klartext, was sie f¨ur passive Abh¨orangriffe anf¨allig macht.&lt;br /&gt;
Angreifer k¨onnen mit relativ einfachen Mitteln den Datenverkehr auf der Busleitung&lt;br /&gt;
mitschneiden und sensible Informationen abfangen.[NLF16] Dabei stellt die Tastertur&lt;br /&gt;
die gr¨oßte gef¨ahrdung da, weil sie als eingabe sensible Daten genutz wird z.B von&lt;br /&gt;
Passw¨orter&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 ===&lt;br /&gt;
&lt;br /&gt;
Enter these commands in the shell&lt;br /&gt;
&lt;br /&gt;
 echo foo&lt;br /&gt;
 echo bar&lt;br /&gt;
&lt;br /&gt;
=== Step 2 ===&lt;br /&gt;
&lt;br /&gt;
Make sure to read&lt;br /&gt;
&lt;br /&gt;
* War and Peace&lt;br /&gt;
* Lord of the Rings&lt;br /&gt;
* The Baroque Cycle&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Device to be used with this documentation]]&lt;br /&gt;
[[Maybe another device to be used with this documentation]]&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
* [[Another one]] (2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://wikipedia.org&lt;br /&gt;
* https://google.com&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>AFries</name></author>
	</entry>
</feed>