.NET Questions and Solutions

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries Tagged ‘computer’

Blocking the SBP-2 driver to reduce 1394 DMA threats to BitLocker

Symptoms
A BitLocker-protected computer may be vulnerable to Direct Memory Access (DMA) attacks when the computer is powered-on or in the Standby power state, including when the desktop is locked.
BitLocker with TPM-only authentication allows for a computer to enter the power-on state without any Pre-boot authentication. Therefore, an attacker may be able to perform DMA attacks.
In these configurations, an attacker may be able to search for BitLocker encryption keys in system memory by spoofing the SBP-2 hardware ID by using an attacking device that is plugged into a 1394 port.
This article applies to the following systems: Systems that are left powered-on. Systems that are left in the standby power state. Systems that use the TPM-only BitLocker protector.
Resolution
1394 Physical DMA
Industry standard 1394 controllers (OHCI compliant) provide functionality that allows for access to system memory. This functionality is provided as a performance improvement. It enables large amounts of data to transfer directly between a 1394 device and system memory, bypassing CPU and software. By default, 1394 Physical DMA is disabled in all versions of Windows.There are two options to enable 1394 Physical DMA: An administrator enables 1394 Kernel Debugging. Someone with physical access to the computer connects a 1394 storage device that complies with the SBP-2 specification1394 DMA Threats to BitLocker
BitLocker system integrity checks protect against unauthorized Kernel Debugging status changes. However, an attacker can connect an attacking device into a 1394 port, and then spoof an SBP-2 hardware ID. When Windows detects SBP-2 hardware ID, it loads the SBP-2 driver (sbp2port.sys), and then instructs the driver to allow for the SBP-2 device to perform DMA. This enables an attacker to gain access to system memory and search for BitLocker encryption keys.

An End User Defined Character (EUDC) font that was created in Windows XP cannot be deployed to a Windows Vista-based computer or to a Windows Server 2008-based computer

Symptoms
Consider the following scenario:You are running a Windows XP-based computer.You create an End User Defined Character (EUDC) font.You deploy the EUDC font to a Windows Vista-based computer or to a Windows Server 2008-based computer. In this scenario, you cannot enter the EUDC characters by using the Pinyin (phonetic) Input Method Editor (IME) or the Changjie IME.
This issue also occurs if you upgrade a Windows XP-based computer to Windows Vista.
Resolution
This problem occurs because the format ofEUDC-related files in Windows Vista differs from the format of EUDC-related files in Windows XP. Therefore, the EUDC-related files that were created in Windows XP are notrecognized, and they cannot be automatically migrated to Windows Vista.

After you deploy a Sysprep prepared image, the Hypervisor layer service does not start automatically in Windows Server 2008

Symptoms
Consider the following scenario: You have a computer that has Windows Server 2008 installed together with the Hyper-V role. You run Sysprep on the computer to prepare the installation for image capture. You deploy the captured image.In this scenario, the Hypervisor layer service does not start automatically.
Resolution
This issue occurs because there is no Sysprep provider for Hyper-V. Therefore, the HypervisorLaunchType BCD entry is removed from the Boot Configuration Data (BCD) file when you run Sysprep.

A shadowed Windows Server 2008 Terminal Services session is disconnected from a computer that is running Windows Server 2008 R2 SP1 or Windows 7 SP1

Symptoms
Consider the following scenario:You install the Terminal Services role on a computer that is running Windows Server 2008.You start a Terminal Services session with the terminal server from a computer that is running Windows 7 Service Pack 1 (SP1) or Windows Server 2008 R2 Service Pack 1 (SP1). You try to shadow another Terminal Services session in the Terminal Services session.Your shadow request is accepted by the user account in the Terminal Services session that you want to shadow.In this scenario, the remote control operation fails. Additionally, the shadowed Terminal Services session is disconnected, and the user account in the shadowed Terminal Services session receives one of the following error messages:
Error message 1

Your Remote Desktop session has ended. Your network administrator might have ended the connection. Try connecting again, or contact technical support for assistanceError message 2

The remote session to the remote computer was ended by means of an administration tool. Your administrator might have ended your connectionAdditionally, an event that resembles the following is added to the System log on the terminal server:
Log Name:System
Source:TermDD
Date:<date>
Event ID:50
Task Category: None
Level:Error
Keywords:Classic
User:N/A
Computer:computername.domain.com
Description:
The RDP protocol component “DATA ENCRYPTION” detected an error in the protocol stream and has disconnected the client.

Resolution
The issue occurs because one input buffer size is insufficient.
The RemoteFX feature is introduced in Service Pack 1 for Windows Server 2008 R2 and for Windows 7. This feature causes one input buffer that is used by Windows Server 2008 Terminal Server to be insufficient.

“0×0000003B” Stop error on a terminal server in Windows Server 2008

Symptoms
Consider the following scenario:
You install the Terminal Services role on a computer that is running Windows Server 2008.You connect to this terminal server, and then you perform some window-related operations in a terminal server session.
For example, you open and then close some windows in the terminal server session.In this scenario, the computer may restart unexpectedly. Additionally, you receive a Stop error message that resembles the following:

STOP 0×0000003B (parameter1, parameter2, parameter3, parameter4)
SYSTEM_SERVICE_EXCEPTION
Notes
The parameters in this Stop error message may vary, depending on the configuration of the computer.Not all the “Stop 0×0000003B” Stop errors are caused by this issue.

Resolution
This issue occurs because the Rdpwd.sys driver does not check whether a returned list is NULL or not.
When the returned list is NULL, the Rdpwd.sys driver accesses the wrong memory location. Therefore, an access violation exception occurs.

“0×0000001E” Stop error when you perform disk I/O-intensive operations on dynamic disks in Windows Server 2008 or in Windows Server 2008 R2

Symptoms
Consider the following scenario:
You have a computer that is running Windows Server 2008 or Windows Server 2008 R2.You set up a software RAID5 volume on the computer by using dynamic disks.You perform some disk I/O-intensive operations on the volume.
For example, you use Distributed File System (DFS) Replication to replicate files.In this scenario, you receive a Stop error message that resembles the following:

STOP 0×0000001E (parameter1, parameter2 , parameter3 , parameter4)
KERNEL_MODE_EXCEPTION_NOT_HANDLED
NotesThe parameters in this Stop error message vary, depending on the configuration of the computer. Not all “Stop 0×0000001E” error messages are caused by this issue.
Resolution
This issue occurs because of an error in the Volmgrx.sys driver.