Protect the code


Closed Thread
Results 1 to 24 of 24

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    (Copy Protection in Modern Microcontrollers).

    See this link:
    http://www.cl.cam.ac.uk/~sps32/mcu_lock.html

    The latest paper on this subject:
    http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-630.html

    Semi-invasive attacks – A new approach to hardware security analysis
    Sergei P. Skorobogatov
    April 2005, 144 pages
    http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-630.pdf

    Best regards,

    Luciano

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Here's some nasty little devices that can just read the protected chips without destroying them.

    http://www.semiresearch.com/index.php?-1226852084
    http://www.semiresearch.com/index.php?-89148003
    <br>
    DT

  3. #3


    Did you find this post helpful? Yes | No

    Default Bad, really bad news.

    I thought it was almost impossible, i had read about microscopic readings of the memory and stuff like that, but this are really bad news, it even isnt that expensive!!! if you consider you could charge 5000 for one copy like DARREL already said.

    So this piece of crap can copy 877A, is it safer to move to 18F?

    A little thought... "had someone bought this thing? maybe its microcontroller is a 877A and we can copy it just to f...k them!" JAJAJA.
    Last edited by Josuetas; - 2nd April 2007 at 23:52.

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Talking

    Hi,

    If you do not sleep at night ...

    you can also use the Writecode function , and destroy a part of the code ... if the circuit is out of its original board !!! Not too difficult to realize ...

    just a "concours Lépine" idea ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    Join Date
    Jun 2007
    Posts
    26


    Did you find this post helpful? Yes | No

    Default frying an IO for code protect

    I have almost finished a very complicated and time consuming project. Code protection is very important to me. But I do not feel I can trust the code protect feature in the pic. so now what ?

    What do you guys think of frying an IO and having a simple code that says if this io is low then erease the pic, that sort of thing ? the IO would have to goto no where otherwise the pepole who are trying to make a clone would try to find out what it is for. Normally an IO that is tied no where goes high, becuase of the internal pullup. but if we could only fry that part then it might be able to read low.

    The thing is the code would need to be descrete, otherwise these copy cats would see it easy.

  6. #6
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Default

    The subject of code protection came up in one of the classes I attended at Microchip's 2007 Masters Conference earlier this month.

    According to the information I received, if the CP bit is set: So far, no one has come up with a way to beat it short of a physically invasive method--microscopic examination of the die.

    Russ
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

  7. #7
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    It figures Microchip would say something like that.

    But with devices like those linked in post #4.
    I'm not sure how they can keep a straight face when they do.

    They keep changing they're links, so if they don't work goto

    http://www.semiresearch.com

    and select "Secure MCU Readers" from the menu.
    <br>
    DT

  8. #8
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by RussMartin View Post
    The subject of code protection came up in one of the classes I attended at Microchip's 2007 Masters Conference earlier this month.

    According to the information I received, if the CP bit is set: So far, no one has come up with a way to beat it short of a physically invasive method--microscopic examination of the die.

    Russ
    I have heard these quotes before. All I know of cracking devices is, that it's as simple as burgling a house. When you leave home, you put the biggest padlock you have on your door and bolt it down. When a burglar strikes, he reverses the procedure. The last time I read up on this topic, I learnt about using devices out of spec (power/timing) to beat various protection schemes. The power glitch is one very interesting technique and is sucessfully used by 8051 hackers. A related phenomenon is when you have the flash being corrupted by mere power on/off cycles. BTW : the Rst pin in the 8051 family usually is the VPP pin. Doesn't that say enough? I am almost sure that most flash micros are prone to this type of failure.

Similar Threads

  1. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  2. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. F452 Code Protect
    By onur in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th August 2006, 09:18
  5. Setting Code Protect and Data Protect
    By Peter1960 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 29th March 2006, 00:35

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts