-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rtos interactions - the GM/Chevy MyLink HMI 2.5 devices are similar... #30
Comments
I should add it could be potentially some watchdog process, or perhaps even some kind of static pid filtering. Likewise, I'm not sure if your units have this, but GM has an "eol" related set of tools that can read but not write a lot o the calibrations and settings. |
...I haven't published it yet but I did modify the rtos code in my copy of this repo to use the lib on GM HMI 2.5 devices, but they are newer and so despite the function calls being mostly the same they have a syscall to reboot hard coded in the lib itself:
|
...despite having disable_reset.txt in the requested location, it still reboots. I wonder if the RTOS is detecting my activities? |
If i remember correctly , the communication with RTOS is somewhat fragile and would be prone to crashing which in turn causes reboots. But i'm not exactly sure what could be the problem. Which parts of the OSAL library were you trying to interact with? Also, how did you get a shell on the GM unit? |
also, i seem to recall having a lot of problems dynamically loading the osal library and resolving the symbols properly. Check out. Check out |
Just trying to read a register from OSAL - if there are dynload issues I wouldn't see much of anything if it were segfaulting but I suspect this is something in that library. I even tried commenting out the return without luck. For maps, I think ford, gm, nissan at the least all use the same provider and file formats... For rooting: For higher versioned ones I think I know how to root but haven't tried it yet. This is only for bosch HMI 2.5 units for GM and it's family of brands. How to root 15.x: |
I mean, I have an OBD2/passthrough device and can send calibrations to set the values that way, but having tools on device would be neat since as root, sshd listens and I can use ethernet via usb or connect it to my wifi AP and ssh in that way. |
Oh , that's pretty cool! I wasn't aware of that writeup for GM units. Hope my reverse engineering efforts are of help when figuring things out! Cheers, |
Yes, it is! If you'd like I could share a rootfs tarball that I sftped from one unit, along with some info and images of /dev/mtd*, and/or share a full emmc dump I made of another unit (but it's 32gb uncompressed because of the empty space). I tried your exploit once already without any luck, so I would say they saw your repo and patched it... If you would have not disclosed online, you probably could have gotten a huge bug bounty or sold it to someone like beyond security. Many of the similar libs and programs are used on the GM units, the units themselves have both a v850 MIPS computer on the board (which I don't currently have the programmer or tools for), and the i.MX6 Linux machine - they communicate via /dev/shm, using the weird OSAL layer. Backups of the calibrations and such are kept in /dev/mtd1-9, generally 4 and 5, the others are all zeroed...but it is non volatile. There's a programming header on the board, and while the adapters for it exist, they're meant to be used with a $450 programming device, so I haven't sprang for that yet. I've had my truck since it was new, and only just now got brave enough to dig in because the used HMI units are affordable if you're a security researcher with an LLC like I am, as I can partially write them off. I've sadly managed to brick 3 of them so far, and have 2 more coming with no intention of killing them... |
there's probably some similar trick that would work. |
I would really like a copy of your dump - I accidentally copied a bunch of files where they're not supposed to be and ran out of disk space - the system works, but I need a reference file list tree so I can clean up... :) Thanks! |
My mega account got deleted, if I get a chance to share it sometime I'll try to remember and do so. |
mega dot nz/file/ rQ1AlD5J#CxFAORh2Ar-Jj3apmOQg2E7ljEWx1230gWEE5k_UHrk let me know once you have it so I can remove the link please |
However despite having the reboot disabled, any time I try to do anything with any of the OSAL lib related functions, the HMI reboots.
Here's my version of the lib...any thoughts?
https://send.vis.ee/download/8edb9373f02a95f1/#qC-WyEipNmdMYdcgrvLwww
The text was updated successfully, but these errors were encountered: