07.11.2014 Views

Enterprise Library Test Guide - Willy .Net

Enterprise Library Test Guide - Willy .Net

Enterprise Library Test Guide - Willy .Net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

126<br />

<strong>Enterprise</strong> <strong>Library</strong> <strong>Test</strong> <strong>Guide</strong><br />

Assets<br />

WMI events<br />

System files<br />

System resources<br />

Vulnerabilities<br />

The Logging Application Block exposes interfaces that allow you<br />

to raise instrumentation events. By providing this access, the<br />

application block exposes system resources, such as flat files, a<br />

SQL Server database, message queues, and the event log, through<br />

WMI (Windows Management Instrumentation) events. You should<br />

prevent unauthorized users from being able to raise instrumentation<br />

events.<br />

The Logging Application Block exposes interfaces that allow you<br />

to log messages to a log file. Information in the configuration file<br />

determines the location of that file. By changing this location,<br />

malicious users can modify or overwrite system files. You should<br />

protect this location from unauthorized read/write operations.<br />

The Logging Application Block exposes interfaces that allow you to<br />

extend the application block. For example, you can add a custom<br />

log handler. Malicious users can use these extensions to expose<br />

system resources that can then be used by an unauthorized application.<br />

Create an Architectural Diagram<br />

A diagram is often helpful in understanding the architecture of a system. Figure 1 is<br />

a diagram of the Logging Application Block. The drawing shows the major subsystems<br />

that are of concern during a security review. For example, the diagram does not<br />

show the trace listener classes because they are trusted components. It does show the<br />

custom trace listener classes because custom code may not be trusted.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!