Results 1 to 5 of 5
  1. #1
    New Lounger
    Join Date
    Aug 2003
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Passwords (Any Office Version)

    Is there any way that I can stop Elcomsoft Advance Office XP Password Recovery from getting access to VBA passwords or getting in by the 'back door' ?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 16 Times in 16 Posts

    Re: Passwords (Any Office Version)

    I don't know the Elcomsoft product, but the password protection Microsoft offers is notoriously weak, so my guess is that there is no way to prevent dedicated software from bypassing it.

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Passwords (Any Office Version)

    FYI, StarOffice / OpenOffice.org will silently break the password on VBA projects if the document/template itself is not password protected. Of course, all the code will be commented out, but it will be readable.

    I think incredibly long and complicated passwords are the only protection against crackers.

  4. #4
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Brussels, Brussel, Belgium
    Posts
    159
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Passwords (Any Office Version)

    "I think incredibly long and complicated passwords are the only protection against crackers."

    for VBA passwords, no. For file level passwords, definitely YES.

  5. #5
    5 Star Lounger jujuraf's Avatar
    Join Date
    Jun 2001
    Location
    San Jose, California, USA
    Posts
    1,061
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Passwords (Any Office Version)

    Yes I used to think that long passwords would make it more complicated but that's not the case. There was code here in The Lounge that easily broke my 15 character passwords (sheet/workbook passwords). It worked in Excel97/2000 but not 2002. I think it was all of about 3 lines of code. Quite pathetic. <img src=/S/bummer.gif border=0 alt=bummer width=15 height=15> <img src=/S/flee.gif border=0 alt=flee width=25 height=25>

    I haven't tried things to break the VBA password though. I use even longer passwords for that.

    In the projects I do (which are mostly for our sales team and some customers), we try never to put any real proprietary stuff in it so if/when it gets in the hands of a competitor we won't be totally screwed. I adds lots of hoops for protection (registry checks, sheet/book passwords, VBA passwords, user and admin modes, etc. but they can all be broken I'm sure.

    I did stumble across an error in Excel2002 that resulted in unprotecting a protected workbook. If you reprotect a workbook that is already protected, it becomes unprotected. I had this in code where depending on where you were, my code reprotected the workbook and I kept seeing the workbook unprotected. Finally I saw in this one sequence I was protecting it twice and that's what broke Excel2002. Of course this only works from code, not from the Tools menu.

    Deb

Posting Permissions

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