Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to decrypt the encrypted password ? Any good algorithm or PL/SQL Code??

Posted on 2008-06-24
9
Medium Priority
?
2,564 Views
Last Modified: 2013-12-07
how to decode the encrypted passwords stored in one oracle table ? Is there any PL/SQL Code or function or procedure is availible to decode that passwords??????
0
Comment
Question by:SAURAVKUMAR58
7 Comments
 
LVL 48

Accepted Solution

by:
schwertner earned 500 total points
ID: 21854504
If you know the key use DBMS_CRYPTO or DBMS_OBFUSCATION_TOOLKIT.
Other methods are used by intruders.
For Oracle passwords there are paid services that will decode every Oracle password.
0
 
LVL 22

Assisted Solution

by:DrSQL
DrSQL earned 500 total points
ID: 21855856
SAURAVKUMAR58,
       Not to poach on a complete answer by schwertner, but I'd be interested to know the reason behind your question.  There are other tricks and methods for accomplishing some things that do not require decoding of passwords.

Good luck!
0
 
LVL 74

Assisted Solution

by:sdstuber
sdstuber earned 500 total points
ID: 21857300
"DEcoding" would imply they were "ENcoded"  and how you do the decode would depend entirely on the encoding mechanism.  If they weren't encoded using any of the algorithms in DBMS_CRYPTO or DBMS_OBFUSCATION_TOOLKIT then those packages won't help you.

If you are referring to the Oracle user passwords found in dba_users you can not decode them.
The reason is, the are not encoded.  They are hashed which is not a reversible process.

However, that doesn't mean they can't be hacked.  If that is your intent, I won't tell you how to do so but, as mentioned above, there are services available already to hack simple passwords and even some complex ones.  There are free utilities that will do it relatively simple password hacks for you and very quickly too.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 35

Assisted Solution

by:Mark Geerlings
Mark Geerlings earned 500 total points
ID: 21858430
The simple answer: No.  There is no published PL\SQL code or procedure or function to decode the Oracle password.

Can you tell us the business problem you are trying to solve?  There may be a better or simpler way to solve the problem than by decoding or decrypting a password.
0
 
LVL 48

Expert Comment

by:schwertner
ID: 21863240
It depends.
I will prevent you to decode encoded data. This can harm your reputation and cause you
big troubles. A good way is to report the facts in written to your boss and to ask what to do.

It depends what and how is the data coded.
In the easiest way (Transperant Data Encryption) you can export the data (Data Pump, 10g and over) and in the export file they will be decrypted. If you are allowed to work as user SYS.
0
 
LVL 3

Expert Comment

by:gajmp
ID: 21863673
you can use the below things
for encryptstring
dbms_obfuscation_toolkit and utl_raw.cast_to_raw

for decryptstring
dbms_obfuscation_toolkit and utl_raw.cast_to_varchar2
0
 
LVL 22

Expert Comment

by:DrSQL
ID: 22114092
SAURAVKUMAR58,
     It's been over a month.  Could you please decide if the comments posted here justify an award, or post something about how you were able to solve your problem or the path you had to take based on your findings?  Thank you.

Good luck!
0

Featured Post

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Worried about if Apple can protect your documents, photos, and everything else that gets stored in iCloud? Read on to find out what Apple really uses to make things secure.
This article covers the basics of data encryption, what it is, how it works, and why it's important. If you've ever wondered what goes on when you "encrypt" data, you can look here to build a good foundation for your personal learning.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Suggested Courses
Course of the Month20 days, 15 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question