Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 2nd, 2006, 07:46 AM
Authorized User
 
Join Date: Oct 2006
Location: Kolkata, West Bengal, India.
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default FORGOT EXCEL PASSWORD

Hi Frnds,

            I am in big trouble. Few days ago I set a password for my impotant excelsheet. But unfortunately I have forgot that password. Is there any way to recover the password?

Please help me.





  #2 (permalink)  
Old November 2nd, 2006, 08:51 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: London, , United Kingdom.
Posts: 173
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I should preface this reply by saying that I am not a big fan of helping people crack Excel as it is generally illegal. I will however outline how password protection works in Excel so that others here understand just how secure their password protected data is.

There are three flavours of password protection in Excel and each one requires a different approach to circumvent.

Sheet / Workbook protection: The protection here is laughably insecure with Excel converting your supplied password into one of 192,512 different binary combinations. All you need to do is write a bit of code that loops through all binary combinations of password and sooner or later you'll get lucky and open it. You can write a procedure in VBA to open this protection in about 2 minutes at the worst.

VBA code protection: The encryption of the password is altogether of a stronger flavour here. There's no easy try all the possible combinations method available. However, by inspecting the binary code of the file it is possible to infer the password (in older versions of Excel) or remove the password (in all current versions of Excel). This is no simple process but is sufficiently widely know that there are programs you may buy out there that will give a 100% password removal within seconds. Beware since this is the case it should always be assumed that a sufficiently determined hacker will get into your VBA code.

File Open Protection: This is the strongest and best password protection. I am pretty sure that the encryption here is as strong as the US government will allow civilian companies to sell outside the US as stronger encryption is considered to be a military weapon. There is no backdoor cracking method available for this so the only way to open it is to correctly guess the password or to try every possible encoded option. A lot of times people will select "weak" password, such as a name, date or word. In this instance the quickest way in is a so-called dictionary attack, where all likely weak passwords are iterated through by a program (hence dictionary). This would always be the first port of call for attempting to open a protected Excel file. Be warned that if you use such weak passwords then pretty much anyone can again buy software to crack your files open in a relatively short time period (couple of hours at most). If the dictionary attack fails then the next port of call is to try every possible combination. This is much the same principle as the method by which you crack sheet protection however there are many, many more combinations to try. Practically this can only be achieved by setting a supercomputer to the task for several days. However, once again, there are companies out there that will, for a fee, set aside their supercomputers to help you out. They may well ask you security questions to verify that you're not acting illegally.

Well anyway that's about all I know on the matter. The long and the short of it is that if you're determined to get into all but the most simple of protection you can do it so long as you pay someone.

Hope this helps,
Maccas

  #3 (permalink)  
Old November 15th, 2006, 12:10 AM
Authorized User
 
Join Date: Oct 2006
Location: Kolkata, West Bengal, India.
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can you please tell me some reference site from where I can get the solution for this problem???

Thabnks


  #4 (permalink)  
Old November 16th, 2006, 07:26 PM
Authorized User
 
Join Date: Jul 2006
Location: Kalamazoo, MI, USA.
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do a Google search on Excel Password Hack.
  #5 (permalink)  
Old March 17th, 2010, 05:23 AM
Registered User
 
Join Date: Mar 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Guarantee remove excel and office password

Hi All,

We can use password.xla for unprotect or modify, but if you want to remove password to open please contact me: ads.tacton@gmail.com, i can help you for all type of office product not only excel file,

thank,
Office Expert
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
forgot sa password, unable to change... help happygv SQL Server 2000 15 May 28th, 2012 08:52 AM
Chapter 7 Email setting for "forgot password?" hdpark BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 10 April 23rd, 2008 02:48 PM
VBAProject Password closing Excel jdmurcia Excel VBA 1 December 4th, 2004 08:41 AM
Forgot password for phpmyadmin AMP_Engineer BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 3 September 8th, 2004 04:59 AM
Forgot password? developerz BOOK: ASP.NET Website Programming Problem-Design-Solution 1 November 30th, 2003 03:36 PM



All times are GMT -4. The time now is 03:44 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.