Shadow Control is an Adobe Photoshop plugin that can apply brightness and contrast corrections to dark areas while leaving the rest of the image untouched.
Shadow Control works by analyzing the image and separating the shadows from the rest of the image and then creating the brightness mask.