Skip to content

[release/9.0.1xx] BinSkim: Enable CFG#43695

Merged
joeloff merged 1 commit intodotnet:release/9.0.1xxfrom
joeloff:cfg
Sep 27, 2024
Merged

[release/9.0.1xx] BinSkim: Enable CFG#43695
joeloff merged 1 commit intodotnet:release/9.0.1xxfrom
joeloff:cfg

Conversation

@joeloff
Copy link
Copy Markdown
Member

@joeloff joeloff commented Sep 25, 2024

Description

.NET SDK contains a native binary (finalizer.exe) that's used to clean up optional workloads when the SDK is uninstalled. The binary was flagged by BinSkim because control flow guard was not enabled.

Risk

Low

Testing

Built locally and verified that the necessary sections and tables are present as described here

image

Also tested the installer to ensure there aren't any regressions when running this when the SDK is being removed.

@joeloff joeloff requested a review from a team September 25, 2024 21:22
@ghost ghost added Area-Infrastructure untriaged Request triage from a team member labels Sep 25, 2024
@baronfel
Copy link
Copy Markdown
Member

Silly question maybe, but on the .NET Framework leg do we have access to dumpbin and the other tools mentioned in that doc that we could use to do verification of the binary so we don't regress?

@joeloff
Copy link
Copy Markdown
Member Author

joeloff commented Sep 25, 2024

Silly question maybe, but on the .NET Framework leg do we have access to dumpbin and the other tools mentioned in that doc that we could use to do verification of the binary so we don't regress?

Depends if on the agent we're running inside a developer prompt - that usually sets those up because dumpbin comes from the Win SDK on the machine. But, if we were to regress this, 1ESPT/BinSkim will flag us again.

@joeloff
Copy link
Copy Markdown
Member Author

joeloff commented Sep 26, 2024

Approved over email

@joeloff joeloff merged commit c0cd95f into dotnet:release/9.0.1xx Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants