RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 5:19 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: SeedKey / Challenge-Response before Flashing an ECU ?
PostPosted: Mon Dec 07, 2009 6:38 pm 
Offline
Newbie

Joined: Mon Dec 07, 2009 6:22 pm
Posts: 3
Does anybody know if Subaru requires a seed-key (challenge-response) to open any security before flashing an ECU? I know other manufacturers do. For those who may not know exactly what I am talking about, here are the steps for a challenge-response:

1.)Have your scanner/diagnostic device request seed bytes from an ECU.
2.)Your diagnostic device receives these bytes, and then runs the proprietary algorithm that uses the seed bytes.
3.)Send these result (in hex) from the diagnostic device to the ECU.
4.)The ECU responds with an pos or neg response to the diagnostic device.

If you do know this algorithm, where can I find it?

Thanks!


Top
 Profile  
 
 Post subject: Re: SeedKey / Challenge-Response before Flashing an ECU ?
PostPosted: Mon Dec 07, 2009 7:38 pm 
Offline
Administrator
User avatar

Joined: Wed Oct 25, 2006 4:32 am
Posts: 3040
I believe the Subaru ecu does require it.

It's built into the ecuflash program.


Top
 Profile  
 
 Post subject: Re: SeedKey / Challenge-Response before Flashing an ECU ?
PostPosted: Mon Dec 07, 2009 7:47 pm 
Offline
Newbie

Joined: Mon Dec 07, 2009 6:22 pm
Posts: 3
What flash ecuflash program? Where do I look for this? Thanks!


Top
 Profile  
 
 Post subject: Re: SeedKey / Challenge-Response before Flashing an ECU ?
PostPosted: Mon Dec 07, 2009 9:31 pm 
Offline
Administrator
User avatar

Joined: Wed Oct 25, 2006 4:32 am
Posts: 3040
Romraider is a rom editor and datalogger. It doesn't flash the ecu.

ecuflash is the flashing software. Go to http://www.openecu.org for more information.


Top
 Profile  
 
 Post subject: Re: SeedKey / Challenge-Response before Flashing an ECU ?
PostPosted: Tue Dec 08, 2009 5:33 pm 
Offline
Newbie

Joined: Mon Dec 07, 2009 6:22 pm
Posts: 3
Thanks for the post.

Am I able to view ECUFlash source? I found a security algorithm in the sourcepreview.zip c++ files at:

http://forums.openecu.org/viewtopic.php?p=919#919

The algorithm contained data tables that must have been mined by somebody from somewhere, most likely from some Subaru data files. I'm a developer doing something very, very similar for another manufacturer, and it would be great to chat with the guy who got this algorithm and Subaru data. I hear the name Colby a lot?


Top
 Profile  
 
 Post subject: Re: SeedKey / Challenge-Response before Flashing an ECU ?
PostPosted: Tue Dec 08, 2009 7:43 pm 
Offline
Administrator
User avatar

Joined: Wed Oct 25, 2006 4:32 am
Posts: 3040
Colby said this is how he did it:

"Once you hace dissassembled a complete dump of the ECU code areas (including the TPU code), you can see what is required to get the ECU to load your kernel (including challenge-response queries in the 04/05 models, and checksumming of your kernel). You also have examples in that code of using the serial port and keeping the watchdog timer happy. The procedure for erasing and reflashing blocks of flash in the 68HC916Y5 is detail in the chip docs available on this site. I followed the manufacturer's procedure exactly. "


Top
 Profile  
 
 Post subject: Re: SeedKey / Challenge-Response before Flashing an ECU ?
PostPosted: Fri Dec 18, 2009 9:39 pm 
Offline
Experienced

Joined: Mon Aug 18, 2008 11:15 pm
Posts: 316
Location: Chicago, Illinois
mickeyd2005 wrote:
Colby said this is how he did it:

"Once you hace dissassembled a complete dump of the ECU code areas (including the TPU code), you can see what is required to get the ECU to load your kernel (including challenge-response queries in the 04/05 models, and checksumming of your kernel). You also have examples in that code of using the serial port and keeping the watchdog timer happy. The procedure for erasing and reflashing blocks of flash in the 68HC916Y5 is detail in the chip docs available on this site. I followed the manufacturer's procedure exactly. "

I would love to read more of that, where is it posted?
EDIT: Nevermind, I just followed the link above and found out that he didn't say much more :) He's a hard man to get a hold of!

FWIW the cars that use the wrx02 flash method don't have the seedkey.

Andy


Top
 Profile  
 
 Post subject: Re: SeedKey / Challenge-Response before Flashing an ECU ?
PostPosted: Thu Feb 18, 2010 8:07 am 
Offline
Newbie

Joined: Thu Feb 18, 2010 7:37 am
Posts: 1
The ecu explorer code includes an old version of the ecuflash code that writes 04's you should be able to find what you need there.

http://code.google.com/p/ecuexplorer/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl