Return-Path: <root@fatcity.cts.com>
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by naude.co.za (8.11.2/8.11.2) with SMTP id g4NMUcl12134
 for <oracle-l@naude.co.za>; Thu, 23 May 2002 18:30:39 -0400
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id HAA91810;
 Thu, 23 May 2002 07:26:22 -0700 (PDT)
Received: by fatcity.com (26-Feb-2001/v1.0g-b71/bab) via UUCP id 004691AD; Thu, 23 May 2002 06:23:27 -0800
Message-ID: <F001.004691AD.20020523062327@fatcity.com>
Date: Thu, 23 May 2002 06:23:27 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: Richard Huntley <rhuntley@mindleaders.com>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: Richard Huntley <rhuntley@mindleaders.com>
Subject: RE: ORA_ENCRYPT_LOGIN
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 71; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: multipart/mixed;	boundary="----=_NextPartTM-000-a61ff025-6e4d-11d6-8b0a-00b0d04949c1"
------=_NextPartTM-000-a61ff025-6e4d-11d6-8b0a-00b0d04949c1
Content-Type: multipart/alternative;
 boundary="----_=_NextPart_001_01C2025B.BA9D0F90"
------_=_NextPart_001_01C2025B.BA9D0F90
Content-Type: text/plain;
 charset="iso-8859-1"

Hmm...after trying to verify password being passed as plain text, I went
back to
do some research on metalink, and it looks like encryption of passwords is
done
by default in 8.1.5 (Net8) and higher.  Only confusion now is whether I need
to
set ORA_ENCRYPT_LOGIN = TRUE only in sqlnet.ora on the client or also in the

NT registry.  Guess I'll go look through the docs on this and I'll send an
update
if I find a definitive answer.  Thanks for the replies.

-----Original Message-----
Sent: Thursday, May 23, 2002 12:33 AM
To: Multiple recipients of list ORACLE-L


could not say about the net8, but in oracle 7 clients, if the initial login
fails, the client will do the *next*
login attempt  using  *plain text* as password !!! but if this param is set
to TRUE, all the attempts are 
done using an encrypted password. 

set ORA_ENCRYPT_LOGIN = TRUE , in the correct ORACLE_HOME using regedit (if
on windows) 
turn the tracing level to 16, try to connect and see the trace file, u wud
see the userid in plain text but thepassword will be
encrypted...


> ----------
> From: 	MacGregor, Ian A.[SMTP:ian@SLAC.Stanford.EDU]
> Reply To: 	ORACLE-L@fatcity.com
> Sent: 	Thursday, May 23, 2002 2:52 AM
> To: 	Multiple recipients of list ORACLE-L
> Subject: 	RE: ORA_ENCRYPT_LOGIN
> 
> If you want to be absolutely sure the password is being encrypted, you'll
> need to place a sniffer on the network.  Work with your network guys and
> whoever else needs to be involved.   In most company's  using an
> unauthorized sniffer will  result in dismissal. 
>  
> Let me reinterate what I stated.  SQL*NET encrypts passwords even if the
> ORA_ENCRYPT_LOGIN parameter is not set to TRUE  I wouldn't label it strong
> encryption.  If you really need that there is the Advanced Security
> Option.  
>  
>  I'm not 100% sure when the passwrod is sent in the clear.   It is never
> sent  plain text when the ORA_ENCRYPT_L0gin parameter is set to TRUE.  I
> believe it will be sent in the clear if the Oracle server side of SQL*NET
> is incapable of handling encrypted passwords and ORA_ENCRYPT_LOGIN  is
> set to false. ( I cannot , off the top of my head, remember if the
> parameter takes YES/NO or TRUE/FALSE).
>  
> The first thing I would do is ensure ORA_ENCRYPT_LOGIN  is true for all
> clients.
>  
> Ian MacGregor
> Stanford Linear Accelerator Center
> ian@SLAC.Stanford.edu
>  
>  
> 
> 	-----Original Message-----
> 	From: Richard Huntley [mailto:rhuntley@mindleaders.com]
> 	Sent: Wednesday, May 22, 2002 9:59 AM
> 	To: Multiple recipients of list ORACLE-L
> 	Subject: RE: ORA_ENCRYPT_LOGIN
> 
> 
> 	That's exactly what I want to stop, passwords being sent in the
> clear.  However, I'm not able to verify it's working so far. I've turned
> on tracing, as recommended in another reply on this topic, did a login
> before enabling then after enabling this parameter and the differences are
> very minor and I'm seeing nothing that specifically points
> 	to this parameter being used other than output saying the parameter
> is detected.  How are you all having developers connect to the production
> box via SQL*Plus client on developer workstations, so that the password is
> not sent in the clear?
> 	 
> 	-----Original Message-----
> 	From: MacGregor, Ian A. [mailto:ian@SLAC.Stanford.EDU]
> 	Sent: Tuesday, May 21, 2002 8:18 PM
> 	To: Multiple recipients of list ORACLE-L
> 	Subject: RE: ORA_ENCRYPT_LOGIN
> 
> 
> 	Even without this parameter being set the password is encrypted.
> What the parameter does is stop the password from being sent in the clear
> if logging in with the encrypted password fails.   I believe the
> encryption is a 54-bit  variant of DES.  It is very rare that  someone
> improves DES by fiddling with it.  It also always encrypts to the same
> value and provides no protection against replay attacks.
> 	 
> 	Ian MacGregor
> 	Stanford Linear Accelerator Center
> 	ian@SLAC.Stanford.edu
> 
> 		-----Original Message-----
> 		From: Richard Huntley [mailto:rhuntley@mindleaders.com]
> 		Sent: Tuesday, May 21, 2002 9:34 AM
> 		To: Multiple recipients of list ORACLE-L
> 		Subject: ORA_ENCRYPT_LOGIN
> 
> 
> 		Anyone using this and if so, do you know of a way to verify
> that the password is actually being encrypted?
> 		 
> 		Thanks.
> 
> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rahul
  INET: rahul@ratelindo.co.id

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

------_=_NextPart_001_01C2025B.BA9D0F90
Content-Type: text/html;
 charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: ORA_ENCRYPT_LOGIN</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hmm...after trying to verify password being passed as plain text, I went back to</FONT>
<BR><FONT SIZE=2>do some research on metalink, and it looks like encryption of passwords is done</FONT>
<BR><FONT SIZE=2>by default in 8.1.5 (Net8) and higher.&nbsp; Only confusion now is whether I need to</FONT>
<BR><FONT SIZE=2>set ORA_ENCRYPT_LOGIN = TRUE only in sqlnet.ora on the client or also in the </FONT>
<BR><FONT SIZE=2>NT registry.&nbsp; Guess I'll go look through the docs on this and I'll send an update</FONT>
<BR><FONT SIZE=2>if I find a definitive answer.&nbsp; Thanks for the replies.</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Rahul [<A HREF="mailto:rahul@ratelindo.co.id">mailto:rahul@ratelindo.co.id</A>]</FONT>
<BR><FONT SIZE=2>Sent: Thursday, May 23, 2002 12:33 AM</FONT>
<BR><FONT SIZE=2>To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=2>Subject: RE: ORA_ENCRYPT_LOGIN</FONT>
</P>
<BR>

<P><FONT SIZE=2>could not say about the net8, but in oracle 7 clients, if the initial login</FONT>
<BR><FONT SIZE=2>fails, the client will do the *next*</FONT>
<BR><FONT SIZE=2>login attempt&nbsp; using&nbsp; *plain text* as password !!! but if this param is set</FONT>
<BR><FONT SIZE=2>to TRUE, all the attempts are </FONT>
<BR><FONT SIZE=2>done using an encrypted password. </FONT>
</P>

<P><FONT SIZE=2>set ORA_ENCRYPT_LOGIN = TRUE , in the correct ORACLE_HOME using regedit (if</FONT>
<BR><FONT SIZE=2>on windows) </FONT>
<BR><FONT SIZE=2>turn the tracing level to 16, try to connect and see the trace file, u wud</FONT>
<BR><FONT SIZE=2>see the userid in plain text but thepassword will be</FONT>
<BR><FONT SIZE=2>encrypted...</FONT>
</P>
<BR>

<P><FONT SIZE=2>&gt; ----------</FONT>
<BR><FONT SIZE=2>&gt; From: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MacGregor, Ian A.[SMTP:ian@SLAC.Stanford.EDU]</FONT>
<BR><FONT SIZE=2>&gt; Reply To: &nbsp;&nbsp;&nbsp; ORACLE-L@fatcity.com</FONT>
<BR><FONT SIZE=2>&gt; Sent: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thursday, May 23, 2002 2:52 AM</FONT>
<BR><FONT SIZE=2>&gt; To: &nbsp; Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=2>&gt; Subject: &nbsp;&nbsp;&nbsp;&nbsp; RE: ORA_ENCRYPT_LOGIN</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; If you want to be absolutely sure the password is being encrypted, you'll</FONT>
<BR><FONT SIZE=2>&gt; need to place a sniffer on the network.&nbsp; Work with your network guys and</FONT>
<BR><FONT SIZE=2>&gt; whoever else needs to be involved.&nbsp;&nbsp; In most company's&nbsp; using an</FONT>
<BR><FONT SIZE=2>&gt; unauthorized sniffer will&nbsp; result in dismissal. </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; Let me reinterate what I stated.&nbsp; SQL*NET encrypts passwords even if the</FONT>
<BR><FONT SIZE=2>&gt; ORA_ENCRYPT_LOGIN parameter is not set to TRUE&nbsp; I wouldn't label it strong</FONT>
<BR><FONT SIZE=2>&gt; encryption.&nbsp; If you really need that there is the Advanced Security</FONT>
<BR><FONT SIZE=2>&gt; Option.&nbsp; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; I'm not 100% sure when the passwrod is sent in the clear.&nbsp;&nbsp; It is never</FONT>
<BR><FONT SIZE=2>&gt; sent&nbsp; plain text when the ORA_ENCRYPT_L0gin parameter is set to TRUE.&nbsp; I</FONT>
<BR><FONT SIZE=2>&gt; believe it will be sent in the clear if the Oracle server side of SQL*NET</FONT>
<BR><FONT SIZE=2>&gt; is incapable of handling encrypted passwords and ORA_ENCRYPT_LOGIN&nbsp; is</FONT>
<BR><FONT SIZE=2>&gt; set to false. ( I cannot , off the top of my head, remember if the</FONT>
<BR><FONT SIZE=2>&gt; parameter takes YES/NO or TRUE/FALSE).</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; The first thing I would do is ensure ORA_ENCRYPT_LOGIN&nbsp; is true for all</FONT>
<BR><FONT SIZE=2>&gt; clients.</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; Ian MacGregor</FONT>
<BR><FONT SIZE=2>&gt; Stanford Linear Accelerator Center</FONT>
<BR><FONT SIZE=2>&gt; ian@SLAC.Stanford.edu</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From: Richard Huntley [<A HREF="mailto:rhuntley@mindleaders.com">mailto:rhuntley@mindleaders.com</A>]</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent: Wednesday, May 22, 2002 9:59 AM</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subject: RE: ORA_ENCRYPT_LOGIN</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; That's exactly what I want to stop, passwords being sent in the</FONT>
<BR><FONT SIZE=2>&gt; clear.&nbsp; However, I'm not able to verify it's working so far. I've turned</FONT>
<BR><FONT SIZE=2>&gt; on tracing, as recommended in another reply on this topic, did a login</FONT>
<BR><FONT SIZE=2>&gt; before enabling then after enabling this parameter and the differences are</FONT>
<BR><FONT SIZE=2>&gt; very minor and I'm seeing nothing that specifically points</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to this parameter being used other than output saying the parameter</FONT>
<BR><FONT SIZE=2>&gt; is detected.&nbsp; How are you all having developers connect to the production</FONT>
<BR><FONT SIZE=2>&gt; box via SQL*Plus client on developer workstations, so that the password is</FONT>
<BR><FONT SIZE=2>&gt; not sent in the clear?</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From: MacGregor, Ian A. [<A HREF="mailto:ian@SLAC.Stanford.EDU">mailto:ian@SLAC.Stanford.EDU</A>]</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent: Tuesday, May 21, 2002 8:18 PM</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subject: RE: ORA_ENCRYPT_LOGIN</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Even without this parameter being set the password is encrypted.</FONT>
<BR><FONT SIZE=2>&gt; What the parameter does is stop the password from being sent in the clear</FONT>
<BR><FONT SIZE=2>&gt; if logging in with the encrypted password fails.&nbsp;&nbsp; I believe the</FONT>
<BR><FONT SIZE=2>&gt; encryption is a 54-bit&nbsp; variant of DES.&nbsp; It is very rare that&nbsp; someone</FONT>
<BR><FONT SIZE=2>&gt; improves DES by fiddling with it.&nbsp; It also always encrypts to the same</FONT>
<BR><FONT SIZE=2>&gt; value and provides no protection against replay attacks.</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ian MacGregor</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Stanford Linear Accelerator Center</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ian@SLAC.Stanford.edu</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From: Richard Huntley [<A HREF="mailto:rhuntley@mindleaders.com">mailto:rhuntley@mindleaders.com</A>]</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent: Tuesday, May 21, 2002 9:34 AM</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subject: ORA_ENCRYPT_LOGIN</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Anyone using this and if so, do you know of a way to verify</FONT>
<BR><FONT SIZE=2>&gt; that the password is actually being encrypted?</FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Please see the official ORACLE-L FAQ: <A HREF="http://www.orafaq.com" TARGET="_blank">http://www.orafaq.com</A></FONT>
<BR><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Author: Rahul</FONT>
<BR><FONT SIZE=2>&nbsp; INET: rahul@ratelindo.co.id</FONT>
</P>

<P><FONT SIZE=2>Fat City Network Services&nbsp;&nbsp;&nbsp; -- (858) 538-5051&nbsp; FAX: (858) 538-5051</FONT>
<BR><FONT SIZE=2>San Diego, California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet access / Mailing Lists</FONT>
<BR><FONT SIZE=2>--------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>To REMOVE yourself from this mailing list, send an E-Mail message</FONT>
<BR><FONT SIZE=2>to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in</FONT>
<BR><FONT SIZE=2>the message BODY, include a line containing: UNSUB ORACLE-L</FONT>
<BR><FONT SIZE=2>(or the name of mailing list you want to be removed from).&nbsp; You may</FONT>
<BR><FONT SIZE=2>also send the HELP command for other information (like subscribing).</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2025B.BA9D0F90--

------=_NextPartTM-000-a61ff025-6e4d-11d6-8b0a-00b0d04949c1--

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Richard Huntley
  INET: rhuntley@mindleaders.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

