PROJECT: DEEP DIVE RESEARCH | DOC_ID: 001
[ AUTHOR: SH4LU_Z ]
To understand BadUSB and USB Killers, we must first understand the fundamental flaw in the Universal Serial Bus (USB) protocol. The USB protocol was designed with convenience as its primary goal, not security. When you plug a device in, the computer blindly asks, "What are you?" and the device replies, "I am a Keyboard." The computer trusts this claim implicitly.
01. විශ්වාසයේ පදනම: ඇයි USB අනාරක්ෂිත?
BadUSB සහ USB Killer ගැන කතා කරන්න කලින්, අපි තේරුම් ගන්න ඕනේ USB (Universal Serial Bus) තාක්ෂණයේ තියෙන මූලික දුර්වලතාවය මොකක්ද කියලා. USB හැදුවේ අපේ වැඩ ලේසි කරන්න මිසක්, ආරක්ෂාව (Security) ගැන හිතලා නෙවෙයි. ඔයා පෙන් එකක් හෝ ඩිවයිස් එකක් කම්පියුටර් එකට ගැහුවම, කම්පියුටර් එක ඒ ඩිවයිස් එකෙන් අහනවා "ඔයා කවුද?" කියලා. ඩිවයිස් එක කිව්වොත් "මම කීබෝඩ් එකක්" කියලා, කම්පියුටර් එක ඒක 100% ක් විශ්වාස කරනවා. අන්න ඒ "අන්ධ විශ්වාසය" (Blind Trust) තමයි මේ හැම ප්රහාරයකටම මුල.
Figure 1.1: The Human Interface Device (HID) Trust Model.
This vulnerability relates specifically to the HID (Human Interface Device) class. Keyboards and Mice are HIDs. Because operating systems (Windows, Linux, macOS) are designed to be user-friendly, they automatically install drivers for HIDs without asking for permission. This is the gateway for BadUSB attacks.
මේ දුර්වලතාවය විශේෂයෙන්ම බලපාන්නේ HID (Human Interface Device) කියන කාණ්ඩයට. කීබෝඩ් සහ මවුස් අයිති වෙන්නේ මේකට. වින්ඩෝස්, ලිනක්ස් වගේ OS හදලා තියෙන්නේ යූසර්ට ලේසි වෙන්න නිසා, HID ඩිවයිස් එකක් ගැහුව ගමන් අපෙන් අහන්නේ නැතුවම ඒකේ ඩ්රයිවර්ස් ඉන්ස්ටෝල් කරගන්නවා. BadUSB එකක් පරිගණකයට රිංගන්නේ අන්න ඒ විවෘත දොරෙන්.
In the world of hardware hacking, two devices reign supreme, often confused by beginners. One destroys your data (Software), and the other destroys your machine (Hardware).
02. යක්ෂයින් දෙදෙනා: BadUSB සහ USB Killer
හාඩ්වෙයාර් හැකින් (Hardware Hacking) ලෝකයේ ප්රධානම උපාංග දෙකක් තියෙනවා. ගොඩක් අය මේ දෙක පටලවා ගන්නවා. සරලවම කිව්වොත්, එකෙක් විනාශ කරන්නේ ඔයාගේ සොෆ්ට්වෙයාර් (Data), අනිත් එකා විනාශ කරන්නේ ඔයාගේ හාඩ්වෙයාර් (Machine).