🌐 This is an automatic translation of a topic from Underc0de, the largest Spanish-speaking hacking and IT community. Read the original (Spanish) and reply →
Frijolito ·
Hi, over the last few days I've been making a program inspired by the Mr Robot series, in an episode of the third season a member of the dark army plugs a pendrive into Eliot's PC and it steals his data. It's something very basic but I still wanted to make it to contribute something. There are 2 codes for this program, one for Linux and another for Windows, both on GitHub, although for now I only have the Windows executable. I'll upload the Linux one soon, although if you compile it that should be enough.<br /><br />Code: Los enlaces son solo para miembros. Registrate o iniciá sesión<br /><br />I'm going to leave you an example of how to use it.<br /><br />Código: text
<br />The path I wrote in the terminal is where the data obtained from the pendrive will be saved.<br /><br />Los enlaces son solo para miembros. Registrate o iniciá sesión<br /><br />After that, every 1 second the program will ask itself whether a pendrive has been connected, and for practical purposes, to show that it hasn't found anything, it prints that message on screen <br /><br />Los enlaces son solo para miembros. Registrate o iniciá sesión <br /><br />When a pendrive has been connected, it does a recursive search through the directories, it also obtains data from hidden files, and prints the names of each file in the terminal and closes <br />Los enlaces son solo para miembros. Registrate o iniciá sesión<br /><br />And when entering the folder we introduced at the beginning, we find the files. As you can see it had photos, text documents and a .DAT, although I also tried putting an excel and a word and it works the same since it opens the file in binary form on windows <br /><br />Los enlaces son solo para miembros. Registrate o iniciá sesión<br /><br />In addition to all that, I noticed that it could work on some old android phones which you don't have to unlock to access the data, but only on Linux.<br />I also wanted to explain that I haven't added the hide-console function since I wanted to make the explanation easier, and there are still some topics to polish such as the recursive search, which although not that terrible is improvable, and making the code more readable since it doesn't have many comments and is a bit messy, but setting that aside, this would be all.
BraveF0X ·
Thanks for sharing, are you the owner of that repo? Los enlaces son solo para miembros. Registrate o iniciá sesión<br />If you are, could you please update the README.md to put the steps on how to use it?<br /><br /> ;D
I have it abandoned, although in my opinion you can create a much better UsbDumper with just a couple of lines using UDEV (Linux) or DEVD (FreeBSD), although for educational purposes the tool could be useful all the same.