Debug directory is present

ID PE002 Level INFO Category Security

Description

Debug directory is present in the portable executable. This may ease reverse engineering and analysis of an executable.

Mitigation

Disable debugging information for the executable.

If building a native image, disable embedding debug information to the executable via project or command line options.

If building a .NET image, disable emitting debug information via the project options.

Arguments

This rule has no output arguments.