Microsoft KB Archive/184017

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:44, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Article ID: 184017

Article Last Modified on 11/1/2006



APPLIES TO

  • Microsoft Windows NT Server 4.0, Terminal Server Edition
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Server 4.0 Enterprise Edition
  • Microsoft BackOffice Small Business Server 4.0



This article was previously published under Q184017

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry


SYMPTOMS

A program is available on the Internet that allows a local Administrator, with full control of a Windows NT system, to use APIs published in the Win32 software development kit (SDK) for Windows NT to display the contents of security information stored by the Local Security Authority (LSA) in a form called LSA Secrets. LSA Secrets are used to store information such as the passwords for service accounts used to start services under an account other than local System.

CAUSE

This is by design. Members of the local Administrators groups are trusted users that have the ability to access any information that can also be accessed by the operating system itself.

RESOLUTION

Note that the fix listed below does not change the behavior in which LSA secrets are available to local administrators. Administrators have access to data including LSA secrets. This fix provides improved protection for LSA secrets against attacks noted below that do not involve accounts with administrative priviledges.

To resolve this problem, obtain the latest service pack for Windows NT 4.0 or Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

152734 How to Obtain the Latest Windows NT 4.0 Service Pack


The updates in this Windows NT 4.0 hotfix provide the following additional protection for the LSA Secret data:

  • Additional encryption for the LSA Secrets, which provides protection for this information when stored on backup tapes, the Emergency Repair Disk, or other registry backups. For maximum protection, you should also enable the System Key option. For additional information about System Key (Syskey.exe), click the following article number to view the article in the Microsoft Knowledge Base:

    143475 Windows NT system key permits strong encryption of the SAM

  • The value of the LSA private data is not returned to remote clients over the network.
  • Calls to the Win32 APIs will not return LSA private data used for service accounts and other system components to unauthorized applications (non-system components).
  • This update includes a change to the privilege needed to open the Security Event log. Applications that open this log on systems running with this update installed fail unless the security privilege (SE_SECURITY_NAME) is enabled. For additional information about this change, click the following article number to view the article in the Microsoft Knowledge Base:

    188855 The Security permission must be granted to view the Security event log

Before You Apply The Hotfix

Because this hotfix makes a modification to the on-disk storage of the LSA data information, Microsoft does not recommend that it be uninstalled. Perform the following steps to ease the transition back to a pre-LSA2-fix configuration in case you experience problems with the hotfix:

  1. Perform a Full System Backup.
  2. Run Rdisk /s. Using the /s command-line switch with Rdisk.exe causes the Sam._ and Security._ databases to be copied to the %Systemroot%\Repair folder.
  3. Create a temporary folder under the %Systemroot% folder called Lsabackout.
  4. Copy the following files from the %Systemroot\System32 folder to the %Systemroot%\Lsabackout folder as they are updated by LSA2-fix:


Eventlog.dll
Lsasrv.dll
Msaudite.dll
Msv1_0.dll
Netcfg.dll
Samlib.dll
Samsrv.dll
Services.exe
Srvmgr.exe
Xactsrv.dll

  1. Create an updated Emergency Repair Disk (ERD) which updates the on-disk SAM and Registry information in the %Systemroot%\System32\Config folder.

Note This hotfix supersedes the fix referred to in the following articles in the Microsoft Knowledge Base:

154087 Access violation in Lsass.exe due to incorrect buffer size


174205 LSASS may use a large amount of memory on a domain controller


129457 RestrictAnonymous Access enabled lets anonymous connections obtain the password policy


This hotfix has been posted as Lsa2fixi.exe (x86) and Lsa2fixa.exe (Alpha).For your convenience, the English version of this post-SP3 hotfix has been posted to the following Internet location. However, Microsoft recommends that you install Windows NT 4.0 Service Pack 4 to correct this problem.

Note An updated version of this hotfix was posted on July 20, 1998 and provides an additional security level to systems running Windows NT 4.0 Service Pack 3.

Note The above link is one path; it has been wrapped for readability.

If you run Systems Management Server on systems where this hotfix is applied, the SNMP Event Log Extension Agent (Snmpelea) generates the following Event ID 3007 error:

Error opening event log file Security.
Log will not be processed.
Return code from OpenEventLog is 1314.

The SNMP Event Log Extension Agent requires an update to manage the security event log. For additional information about how to resolve the SNMP Event Log Extension Agent problem, click the following article number to view the article in the Microsoft Knowledge Base:

183770 Snmpelea unable to open security event log


Windows NT 3.51

A hotfix for Windows NT 3.51 is not available at this time.

MORE INFORMATION

If you experience problems with this hotfix, perform the following steps to restore the system to its original configuration before applying the hotfix:

  1. Perform a full system backup including the registry. This backup set should only be necessary if the following steps fail.
  2. Rename the following files the %Systemroot%\System32 folder that were replaced by the hotfix:


Eventlog.dll
Lsasrv.dll
Msaudite.dll
Msv1_0.dll
Netcfg.dll
Samlib.dll
Samsrv.dll
Services.exe
Srvmgr.exe
Xactsrv.dll

  1. Copy the original versions of these system files from the \%Systemroot%\Lsabackout folder to the %Systemroot%\System32 folder.
  2. Restart the computer using the installation disks and select the option to repair the system.
  3. Deselect all options except Inspect Registry Files and then continue.
  4. Press the ESC key to indicate you wish to use the on-disk repair information.
  5. Press ENTER to repair.
  6. Click only Security (security policy) and SAM (user accounts database).

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

  1. Start Registry Editor (Regedt32.exe) and delete the key from:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT \CurrentVersion\Hotf

Note The above registry key is one path; it has been wrapped for readability.


STATUS

Microsoft has confirmed that this is a problem in Windows NT 4.0 and Windows NT Server 4.0, Terminal Server Edition. This problem was first corrected in Windows NT 4.0 Service Pack 4.0 and Windows NT Server 4.0, Terminal Server Edition Service Pack 4.


Additional query words: 3.51 4.00

Keywords: kbhotfixserver kbqfe kbbug kbfix KB184017