Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version 6 Likes Search this Thread
07-27-2022, 03:55 PM - 3 Likes   #1
New Member




Join Date: Jul 2022
Posts: 2
Pentax K10D firmware reverse engineering/hacking

Hello everyone!

Been thinking of posting here for a long time. I've owned a Pentax K10D for some time now, been doing some astrophotography and portraits with it. As I'm also interested in cybersecurity and hardware hacking I did a quick Google search to find previous attempts at reverse engineering the firmware of the camera. Been checking the firmware with IDA Pro out for some time and found quite some interesting things. I've focused on reversing the script interpreter, as I was surprised not a lot of documentation exists about it.

If anyone was working on the firmware when the previous attemps were happening or just knows something about it then please let me know!
In the grand scheme I'd love to replace the official firmware with an open source one to hopefully push the camera to it's limits. The replacement could be done with a software exploit to overwrite the existing one or by just flashing it with a custom firmware.

As a fun fact, I've found a small format string exploit in the script interpreter, but I haven't found a good use for it yet. Might show us a little behind the scenes of the script interpreter

Cheers,
ergoa


Last edited by MarkJerling; 07-27-2022 at 04:03 PM. Reason: Removed link.
07-27-2022, 04:04 PM   #2
Moderator
Site Supporter
Loyal Site Supporter
MarkJerling's Avatar

Join Date: May 2012
Location: Wairarapa, New Zealand
Photos: Gallery | Albums
Posts: 20,406
Welcome to the forum. I've removed the link to your page and will send you a PM about it.
07-27-2022, 04:42 PM - 1 Like   #3
Moderator
Site Supporter
Loyal Site Supporter
MarkJerling's Avatar

Join Date: May 2012
Location: Wairarapa, New Zealand
Photos: Gallery | Albums
Posts: 20,406
You may find this discussion useful: Hacking / Modifying the K-50 - PentaxForums.com
08-02-2022, 06:20 AM   #4
Veteran Member




Join Date: Jun 2008
Location: NJ
Posts: 1,824
QuoteOriginally posted by ergoa Quote
Hello everyone!

Been thinking of posting here for a long time. I've owned a Pentax K10D for some time now, been doing some astrophotography and portraits with it. As I'm also interested in cybersecurity and hardware hacking I did a quick Google search to find previous attempts at reverse engineering the firmware of the camera. Been checking the firmware with IDA Pro out for some time and found quite some interesting things. I've focused on reversing the script interpreter, as I was surprised not a lot of documentation exists about it.

If anyone was working on the firmware when the previous attemps were happening or just knows something about it then please let me know!
In the grand scheme I'd love to replace the official firmware with an open source one to hopefully push the camera to it's limits. The replacement could be done with a software exploit to overwrite the existing one or by just flashing it with a custom firmware.

As a fun fact, I've found a small format string exploit in the script interpreter, but I haven't found a good use for it yet. Might show us a little behind the scenes of the script interpreter

Cheers,
ergoa
Ergoa,
interesting topic. Keep us posted on your progress.

09-13-2022, 09:17 AM - 2 Likes   #5
New Member




Join Date: Jul 2022
Posts: 2
Original Poster
QuoteOriginally posted by MarkJerling Quote
You may find this discussion useful: Hacking / Modifying the K-50 - PentaxForums.com
Thanks for the links! I've looked at most of Pentax hacking discussions. Reversing the firmware is quite annoying cause of a not so popular architecture. Slowly making progress, but nothing cool to show as of now. Just identifying basic functions in the firmware.
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
camera, dslr, firmware, k10d, note, pentax, pentax k10d firmware, photography, repository, reverse engineering, script, time

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reverse Engineering the K1000 jawats Film SLRs and Compact Film Cameras 34 07-23-2020 06:04 AM
Reverse Engineering Challenge victormeldrew Photographic Technique 18 03-01-2017 06:39 AM
Flucard hacking / reverse engineering tempelorg Pentax Camera and Field Accessories 52 11-24-2016 04:54 PM
Reverse reverse engineering? Stickler Pentax DSLR Discussion 2 10-16-2015 01:37 PM
Chinese reverse engineering? ve2vfd General Talk 35 05-29-2009 05:41 AM



All times are GMT -7. The time now is 08:19 PM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top