Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2008-06-24
9
2,159 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
9 Comments
 
LVL 48

Accepted Solution

by:
schwertner earned 125 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 125 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 125 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 35

Assisted Solution

by:Mark Geerlings
Mark Geerlings earned 125 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Provide an easy one stop to quickly get the relevant information on common asked question on Ransomware in Expert Exchange.
As a financial services provider, your business is impacted by two of the strictest federal regulations on record: the Sarbanes-Oxley Act and the Gramm-Leach-Bliley Act. Correctly implementing faxing into your organization to provide secure, real-ti…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

809 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