Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 01:27 06 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MMBASIC ver. 4.6 Beta 21....

     Page 2 of 2    
Author Message
G8JCF

Guru

Joined: 15/05/2014
Location: United Kingdom
Posts: 676
Posted: 04:13am 17 Nov 2014
Copy link to clipboard 
Print this post

No worries. Just when I saw CPU RESET I thought perhaps MMBasic had been given the 'Big Red Switch' !
The only Konstant is Change
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5914
Posted: 10:02am 17 Nov 2014
Copy link to clipboard 
Print this post

  jimbotron said  
I'm guessing the way TassyJim has in mind to speed up the brute force is to reset the Micromite as soon as the PIN fails. You could probably crack it in a month that way.
At 38400 baud, we can enter a new pin in about 25ms, allow another 20ms to see if the unlock failed then 0.4ms to reboot and a few ms to send the Ctrl-C. Lets say 50ms for a complete cycle. Therefore 99999999/20/2/60/60/24 ~= 29 days. I'd be interested to know if that is what TassyJim was thinking.

Jimmy


Give the man a coconut.
Jim
VK7JH
MMedit   MMBasic Help
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 11:53am 17 Nov 2014
Copy link to clipboard 
Print this post

There are some sharp minds on this. With the next beta I will make the 3 second delay apply to both a successful and unsuccessful PIN entry - also make it possible to set a permanent PIN.
Geoff Graham - http://geoffg.net
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9066
Posted: 12:32pm 17 Nov 2014
Copy link to clipboard 
Print this post

What would be the point of a delay with the CORRECT PIN?

Is this also just to "Trick" any hacking type attack - that will trick it into thinking that the correct PIN is still incorrect?(because of the delay, even when the PIN is correct)
Smoke makes things work. When the smoke gets out, it stops!
 
jimbotron
Regular Member

Joined: 27/11/2013
Location: Australia
Posts: 46
Posted: 01:34pm 17 Nov 2014
Copy link to clipboard 
Print this post

Hi Grogster,
That is correct. It forces you to wait the full three seconds to see if you've guessed the PIN. You can't just wait a few milliseconds to see if the PIN is wrong then force a reboot to get the prompt back straight away so that you can retry without waiting 3 seconds.
It's a nice solution and won't be a major inconvenience. If you are doing a long debugging session, you'd want to turn off the PIN lock anyway.

JimmyEdited by jimbotron 2014-11-18
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9066
Posted: 03:08pm 17 Nov 2014
Copy link to clipboard 
Print this post

Thanks for that info.
Smoke makes things work. When the smoke gets out, it stops!
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024