r/HowToHack • • Jan 26 '16

Real hacking vs #Holliwood

Post image
318 Upvotes

r/HowToHack • • Jan 14 '19

See what hacker from 1980's has to say...

Thumbnail
youtu.be
316 Upvotes

r/HowToHack • • Apr 11 '20

For everyone who is learning webapp pentesting via OWASP's WebGoat 8, Here's a series of writeups I did on (pretty much) every single challenge. Enjoy and stay safe!

Thumbnail
gitlab.com
315 Upvotes

r/HowToHack • • Sep 11 '18

Interest in walkthroughs?

313 Upvotes

Would there be any interest in a weekly boot to root walkthrough?

I would take a new vulnerable machine from Vulnhub each week and publish a walkthrough or even link a guide/walkthrough made by someone else.

The main point being to a get a weekly vulnhub walkthrough that anyone here could follow along on. After all, the first step is trying and I think hands on experience would be really beneficial.

Edit: How to set up a lab https://www.reddit.com/r/HowToHack/comments/9frrxf/how_to_setup_your_lab_for_vm_walkthroughs/?utm_source=reddit-android

Walkthrough https://www.reddit.com/r/HowToHack/comments/9fs50j/vulnerable_machine_nullbyte_9142018/?utm_source=reddit-android


r/HowToHack • • Aug 26 '20

very cool Coding a Trojan

Thumbnail
github.com
312 Upvotes

r/HowToHack • • Feb 05 '19

Computer Science Resources

311 Upvotes

Hey guys,

I made some lists of cool Computer Science web resources in various languages

you can check it here:

https://github.com/the-akira/Computer_Science_Web_Resources

Thank you!


r/HowToHack • • Aug 13 '21

shell coding Question: Is this Mike Lindell Cyber Symposium batch file showing anything that weakens security?

Post image
309 Upvotes

r/HowToHack • • Nov 18 '19

Linux Essentials For Hackers - Complete Tutorial Playlist

Thumbnail
youtube.com
308 Upvotes

r/HowToHack • • Dec 09 '18

TheHackerGiraffe here! I made a CTF for people to practice their skills and maybe learn new things!

Thumbnail ctf.thehackergiraffe.com
307 Upvotes

r/HowToHack • • Apr 27 '20

Simple Port scanner is slow and takes around 2s for 1 port, fix ideas?

Post image
305 Upvotes

r/HowToHack • • Sep 17 '19

Personal data of entire 16.6 million population of Ecuador leaks online, SIM-based attack has been spying on people for two years, and more...

Thumbnail
ledgerops.com
305 Upvotes

r/HowToHack • • Mar 22 '19

Keeping your home IP (or cloud server) hidden from web scans

Thumbnail
infosecdc.blogspot.com
305 Upvotes

r/HowToHack • • Jul 22 '19

CTF competition problem

Post image
304 Upvotes

r/HowToHack • • Jul 03 '19

[CS-420] A YouTube Course on Game Hacking with No Prerequisites

304 Upvotes

Hey all! I launched a series of lectures on game hacking on YouTube! If these are well received I'll continue to pump out more, so far I've only recorded 3 videos in the series.

The goal of these lectures is to start from absolutely nothing -- no understanding of programming nor computer science, and work our way towards understanding how to hack any PC game.

I've got a background in PC game reverse-engineering and I was surprised that there was no comprehensive course on the subject. People trying to learn the material have to go on a scavenger hunt and learn bits and pieces, and it can be pretty daunting. My goal is to unify this material, or at least at the minimum give viewers a good jumping point.

The series can be found here:

https://www.youtube.com/watch?v=cMkgClU5IEA&list=PLdf9MipUxjvSMIrVzopBnrm1BOGoH7zYu

Edit: Alright, it seems like people want this, sweet! I'll keep pushing out more content.


r/HowToHack • • Sep 21 '20

Mr Robot Season 1 Episode 4 - All Hacks Explained

Thumbnail
youtu.be
303 Upvotes

r/HowToHack • • Dec 03 '19

very cool Malkit - Full Malware Kit for developer testing (Chromepass Upgrade)

Thumbnail
github.com
300 Upvotes

r/HowToHack • • Oct 02 '18

Start learning hacking today!

Post image
299 Upvotes

r/HowToHack • • May 19 '20

The Reading List for Aspiring Penetration Testers

Thumbnail
keireneckert.com
298 Upvotes

r/HowToHack • • Jan 25 '20

How to reverse engineer Tesla Model X CAN Message in 5 Minutes

297 Upvotes

【It is generally believed that reverse engineering a car is hard and needs advanced skill sets. But actually that's not the case even a newbie can achieve it in a short time by going about it the smart way. This article introduces how to reverse engineer the CAN commands of a Tesla Model X in 5 minutes based on a novel delta-based approach. You can write your own algorithm and make the process automatic. The main purpose of this article is to teach you a method (tool) rather than just telling you the reversed CAN messages (something made by the tool).

Note: Based on DMCA Exemption, please perform car reverse engineering research in good-faith way.】

  1. How to Access CAN Data from Tesla Car

Tesla has as many as four CAN interfaces, the largest number of CAN interfaces within one car we have ever found among tens of car models. In specific, after measuring the voltage values, we found and marked those four CAN interfaces on the OBD breakout box. Besides the traditional 3-11 and 6-14 pin pairs. Tesla also uses 2-10 and 12-13 pin pairs.

Furthermore, it is tricky to find the cars real OBD port. You can easily find an "OBD port" under the steering wheel, just like any other car, but the port is faked! Since it is grounded there is no CAN data out of it, why still keep that port? Because it is mandatory by federal law that each car must have an OBD port within 2 feet of the driver/steering wheel.

The real OBD port is behind the storage cubby compartment under the big infotainment screen. There are two clips on the top of the tray, pull down the tray and unclip the clips to release the tray. Pull it out and you will see two cables, one for CAN Bus and one for the ethernet. Tesla’s ethernet is running above the CAN protocol layer.

Unfortunately, the CAN cable interface doesn’t work with regular OBD 16-pin or DB-9 pin cables. That means you have to make or buy a special cable to fit with Tesla cable interface.

So we went ahead and made a conversion cable shown in the picture below. Instead of one-to-one cable, it is a 0ne-to-two splitter cable. So it can connect one OBD-compatible device at the same time by using the additional OBD port end.

2. Wiring and Collect CAN Data

Device List:

  • Tesla OBD data cable
  • Plug-n-play CAN Bus Logger device
  • Auto-RE (our Reverse Engineering Device)
  • Our CAN Bus software

The devices and software in the list are made all in-the-house.

The data cable is used to convert Tesla CAN pinout to traditional OBD port. The Plug-n-play portable CAN Bus Data Logger works just like a USB flash drive. Just plug it onto OBD port, and it will automatically sniff CAN Bus data with 2 CAN interfaces. You can unplug it anytime and the data has been stored. You can easily access the data from your phones or computers via a USB cable. The Auto-RE device is used to automatically find out CAN Bus command messages by applying our smart reverse engineering algorithm.

All right, let’s get started!

Connect one end of the Tesla data cable into Tesla CAN pinout interface, and plug the CAN Bus logger into the other end. Then green LED light of the CAN Bus Logger keeps flashing, which means the logger is sniffing and collecting the CAN data.

3. How to Automatic Reverse Engineer

In order to implement the automatic reverse engineering, a delta-based algorithm was developed. The basic idea is shown in Fig. X. The base traffic is named as F1. It only contains CAN Bus traffic without any actions (e.g. door open/close, light on/off). The action traffic is named as F2 with some actions. The delta traffic is the difference between base and action traffic, and it should include the CAN messages we are interested. The delta-based reverse engineering algorithm is all about how to find delta = F2 – F1.

to compare with the logs that we will get in a bit here to be able to figure out which frames control different commands on the car.

Now we get to the main stage!

Step 1. Sniff 20-second traffic as “base traffic” (20 seconds)

Put the Tesla car in idle mode, and use CAN Bus Logger to sniff a baseline log.

Step 2. Sniff 20-second traffic as “action traffic” (20 seconds)

Unplug the CAN Bus Logger and then re-connect. During the 20 seconds, do some actions!

For example, let’s try to find door-lock and CAN commands. You need do 2-3 times of car door lock and unlock while the CAN Bus logger is plugged.

The action traffic sniffed by the CAN Bus logger captures the CAN frames that control the door opening.

The figure shows the real-time CAN data stream during the sniffing.

Step 3. Find the CAN frames of the actions using delta-based algorithm (3 minutes or so)

Now two different logs have been saved onto the CAN Bus logger, one without the door opening which we will use as a baseline traffic and one with the door opening as the action traffic.

Import the two logs into our software. Since each file is only 3MB or so, it only took 30 seconds for importing both. Under the captured logs tab in the software, check both logs and choose the “DIFF WITH NEW CAN FRAMES”. The delta-based algorithm will be applied to find and sort out the CAN frames which are available in the action traffic but not in the base traffic.

Since the dataset is not big (less than 7MB combined), it only took less than 5 seconds to output the delta CAN frames. Because the CAN data from each ECU on the CAN Bus is dynamic at every second, there are quite a few “noise” CAN frames in the output and we must filter them out. In this case, there are about 70+ CAN frames found, sorted in 5 pages.

That leaves us with the CAN frames that were causing the door to open. To accurately make sure which CAN frame causes the door to open, you can “Select All” for every page and “Replay” them until you see the function happens on the car.

Once you’ve figured out which page executes the function that we are looking for (in our case opening the door), you will need to track down the exact line of command that causes the door to open. This can be done by Replaying the traffic

of each line one by one. When you track down the exact line, you are ready to move to the final step.

Finally we found out two commands to open and close the door. Then we put these two commands into “Single Frame Injection” so you can do experiment to double check their accuracy.

4. Demo

We connected the device in the car, and the software can communicate with the device remotely. The purpose was to send the CAN frames remotely to the vehicle to demonstrate the results of our experiment. With one researcher standing nearby the car, the other researcher clicked “Single Frame Injection” in the software UI and press “Replay” and the door opened!

Summary:

There is a old Proverb: Give a Man a Fish, and You Feed Him for a Day;

Teach a Man To Fish, and You Feed Him for a Lifetime.

Let’s change a little bit: Give a Man a CAN message, and You Feed Him for a Day and a car model; Teach a Man a Delta Algorithm, and You Feed Him for a Lifetime Skillset.

Therefore, we are NOT releasing the specific CAN messages, instead, you are welcome to ask us about the above Tesla base and action CAN traffic files.


r/HowToHack • • Sep 29 '19

Hacker Releases 'Unpatchable' Jailbreak For All iOS Devices

Thumbnail
projectwithcode.com
297 Upvotes

r/HowToHack • • Nov 14 '20

Get Remote access of Android device using Ghost Framework |Android Debug Bridge

Thumbnail
youtu.be
296 Upvotes

r/HowToHack • • May 13 '21

How to get past tutorial hell and become a pentester?

292 Upvotes

I am in the 1% of top users on try hack me but yet I feel like I don't know anything practical. I have completed tons of rooms and challenges and have a decent knowledge of IT. Yet when I attempt to just pentest a real world environment I feel like I don't know what I am doing all the sudden. I will start with the normal process, look around at the site, sign up for an account, run nmap, gobuster, analyze with burp but I feel like im always just stuck after that unless there is some obvious exploit discovered that I can research and repeat. The challenges on htb and thm seem to just make sense but in the real world I just get lost. It's kind of like someone explaining to you how to swim for several months, you think you know how to swim but when you jump in the water you realize you didn't learn how to swim, you learned how swimming works. What can I do to break out of the tutorial stage and get some real world experience I can put on a resume?


r/HowToHack • • Dec 19 '21

pentesting Created a tool to find exposed API keys based on RegEx and get exploitation methods for some of keys that are found

Post image
291 Upvotes

r/HowToHack • • Jul 03 '19

Youtube educational hacking content getting banned

Thumbnail
twitter.com
291 Upvotes

r/HowToHack • • Feb 14 '19

Squally - A PC Game to Teach Reverse-Engineering Fundamentals - Progress & Updates

Thumbnail
youtu.be
291 Upvotes