Skip to content

release: binskim for Windows#924

Draft
mjcheetham wants to merge 1 commit into
vfs-2.53.0from
binskim
Draft

release: binskim for Windows#924
mjcheetham wants to merge 1 commit into
vfs-2.53.0from
binskim

Conversation

@mjcheetham
Copy link
Copy Markdown
Member

The 1ES PT Windows build job did not run binskim against the binaries we ship. By default the template would point binskim at the published artifact (the Inno Setup installer and the 7z self-extracting portable .exe), neither of which binskim can crack open to find the PE files inside, so any findings on those wrappers are also unactionable: they are produced by external tools we do not control.

Opt the job into binskim explicitly and aim it at the actual product binaries instead. We extract the portable .exe (a 7z SFX whose payload is the portable Git tree) into a scratch directory alongside the staged release artifacts and scope the analyzer to the .dll/.exe files in there, so binskim inspects exactly the Windows binaries we just built and signed without drowning the run in non-PE noise.

Only filter to the core Git binaries (not 3rd party ones like Perl, MSYS2 runtime, GCM, Git LFS etc) since these are what are scoped to this repository.

--

Note to reviewers: we will add the suppression for issues we cannot fix (clang/gcc options not possible to use - we don't use msvc!) shortly.

The 1ES PT Windows build job did not run binskim against the binaries
we ship. By default the template would point binskim at the published
artifact (the Inno Setup installer and the 7z self-extracting portable
.exe), neither of which binskim can crack open to find the PE files
inside, so any findings on those wrappers are also unactionable: they
are produced by external tools we do not control.

Opt the job into binskim explicitly and aim it at the actual product
binaries instead. We extract the portable .exe (a 7z SFX whose payload
is the portable Git tree) into a scratch directory alongside the staged
release artifacts and scope the analyzer to the .dll/.exe files in
there, so binskim inspects exactly the Windows binaries we just built
and signed without drowning the run in non-PE noise.

Only filter to the core Git binaries (not 3rd party ones like Perl,
MSYS2 runtime, GCM, Git LFS etc) since these are what are scoped to this
repository.

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant