New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spectre V1 scanner #4106

Open
adrelanos opened this Issue Jul 19, 2018 · 5 comments

Comments

Projects
None yet
4 participants
@adrelanos
Member

adrelanos commented Jul 19, 2018

Just leaving that here. Hopefully this is useful.

https://www.phoronix.com/scan.php?page=news_item&px=Red-Hat-Spectre-V1-Scanner

@lunarthegrey

This comment has been minimized.

Show comment
Hide comment
@lunarthegrey

lunarthegrey Jul 19, 2018

This is not an issue or bug report. Should be posted in the community forum or subreddit.

https://groups.google.com/forum/#!forum/qubes-users
https://www.reddit.com/r/Qubes/

This is not an issue or bug report. Should be posted in the community forum or subreddit.

https://groups.google.com/forum/#!forum/qubes-users
https://www.reddit.com/r/Qubes/

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Jul 19, 2018

Member
Member

adrelanos commented Jul 19, 2018

@lunarthegrey

This comment has been minimized.

Show comment
Hide comment
@lunarthegrey

lunarthegrey Jul 19, 2018

@adrelanos Gotcha. Original post didn't hint at that. Thanks for explaining.

@adrelanos Gotcha. Original post didn't hint at that. Thanks for explaining.

@esote

This comment has been minimized.

Show comment
Hide comment
@esote

esote Jul 19, 2018

@adrelanos While this should definitely be pursued for all Qubes binaries, unfortunately Qubes does use quite a few Python scripts, which this tool wouldn't be helpful with. So in this way, we wouldn't be able to "scan all of Qubes code" -- just scan Qubes' binaries.

esote commented Jul 19, 2018

@adrelanos While this should definitely be pursued for all Qubes binaries, unfortunately Qubes does use quite a few Python scripts, which this tool wouldn't be helpful with. So in this way, we wouldn't be able to "scan all of Qubes code" -- just scan Qubes' binaries.

@esote

This comment has been minimized.

Show comment
Hide comment
@esote

esote Jul 23, 2018

I've investigated this tool further. It seems fairly self-explanatory. I had to download binutils, and edit the makefile to compile it correctly. The tool is very fast (scanned all binaries in /usr/bin in 47 seconds).

In order to scan binaries, you have to use --binary because by default it expects them in ELF format.

From scanning vmlinuz* and /usr/bin/* binaries (inside a DispVM) it showed no problems, which is a good sign.

This tool does not seem finalized:

it is not sufficient to just install the binutils package or the binutils-devel package, as the scanner uses header files that are internal to the binutils sources. This requirement is an artifact of how the scanner evolved and it will be removed one day.

— Original RedHad article: SPECTRE Variant 1 scanner tool

As well, it seems the only place to download the source code is provided by a person's web home page:

https://people.redhat.com/~nickc/Spectre_Scanner/scanner.tar.xz

@marmarek How useful do you see this tool being? Right now, to me, it seems more like a tool for users to verify their installation's security. I don't see a good place for it, until it becomes an actual package provided from Fedora's repositories (or others).

esote commented Jul 23, 2018

I've investigated this tool further. It seems fairly self-explanatory. I had to download binutils, and edit the makefile to compile it correctly. The tool is very fast (scanned all binaries in /usr/bin in 47 seconds).

In order to scan binaries, you have to use --binary because by default it expects them in ELF format.

From scanning vmlinuz* and /usr/bin/* binaries (inside a DispVM) it showed no problems, which is a good sign.

This tool does not seem finalized:

it is not sufficient to just install the binutils package or the binutils-devel package, as the scanner uses header files that are internal to the binutils sources. This requirement is an artifact of how the scanner evolved and it will be removed one day.

— Original RedHad article: SPECTRE Variant 1 scanner tool

As well, it seems the only place to download the source code is provided by a person's web home page:

https://people.redhat.com/~nickc/Spectre_Scanner/scanner.tar.xz

@marmarek How useful do you see this tool being? Right now, to me, it seems more like a tool for users to verify their installation's security. I don't see a good place for it, until it becomes an actual package provided from Fedora's repositories (or others).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment