The Linux USB driver expects a probe function which is called when a matching device is plugged in.
When a device is plugged into the USB bus that matches the device ID pattern that your driver registered with the USB core, the probe function is called.
Device operation Following are some questions that have appeared on the internet time and again6.
When will probe function be called ? When a matching entry registered in MODULE_DEVICE_TABLE is found for the device.
Shivering in this cold winter one would certainly stumble upon the question that the Linux Kernel, which operates most of your operating system, is just a huge C program.
Shouldn’t it, then, be possible to compile and run it as you do to all your C programs ?
Here, I’d be using the famous qemu emulator to run a pre compiled linux kernel. So, let’s begin.
Theory We all hate this part but it deserves its position.
Once upon a time, a CTF was held. There were many ways to solve it, though none knew that one was The Unintended Way. Although, it does sound pretty unconventional and sad that in a CTF where you explore all the paths and explore wild possibilities, one of them was tagged as unintended and thus, invalid.
Without further ado, let’s discover what it was.
The CTF The CTF was hosted on vulnhub, you were provided with an ova virtualbox image.
Neo, we must find a faster link, connection to the Matrix is congested. Hurry !
Kernel supports a magical module, called bonding
Bonding: methods of combining (aggregating) multiple network connections in parallel in order to increase throughput
This seems to be exactly what I need. I’ve two ISPs , let’s go ahead and connect two of my android devices via USB Tethering and bond both the connections and enter into the matrix!