GithubHelp home page GithubHelp logo

Comments (8)

a13xp0p0v avatar a13xp0p0v commented on July 2, 2024 1

Hi @HacKurx and @Bernhard40,
I've added new checks based on the CLIP OS recommendations.

from kernel-hardening-checker.

a13xp0p0v avatar a13xp0p0v commented on July 2, 2024 1

@a13xp0p0v CONFIG_X86_MSR could also be set to m which I think should be ok.
At least Ubuntu, Debian, Archlinux and opensSUSE have it set this way.

@Bernhard40, thanks for pointing this out.
I double-checked and dropped this recommendation - IMO it's wrong.
CONFIG_X86_MSR provides access from the userspace to the x86 MSRs via char devices.
Kernel doesn't need it for mitigating CPU bugs.

I've created an issue with a question for the CLIP OS project:
https://github.com/clipos/src_platform_config-linux-hardware/issues/1

from kernel-hardening-checker.

theLOICofFRANCE avatar theLOICofFRANCE commented on July 2, 2024

Even if I'm not a fan of black magic (see this), the CONFIG_MICROCODE=y option is now essential.

from kernel-hardening-checker.

Bernhard40 avatar Bernhard40 commented on July 2, 2024

Some of those options are available only in linux-hardened patchset thus not applicable here. Others like CONFIG_INTEGRITY=n or CONFIG_INTEL_TXT=n are specific to clipos and general recommendations would be the opposite.

from kernel-hardening-checker.

theLOICofFRANCE avatar theLOICofFRANCE commented on July 2, 2024

Yes, you're right, I did a quick extraction.
Are there any options you think are interesting?

from kernel-hardening-checker.

a13xp0p0v avatar a13xp0p0v commented on July 2, 2024

Cool! @HacKurx, learning the CLIP OS config is a nice idea.

Thanks for the link, I'll check the options from their documentation and choose relevant for the script.

Do you have their full kernel config for adding to config_files?

from kernel-hardening-checker.

theLOICofFRANCE avatar theLOICofFRANCE commented on July 2, 2024

Hi @a13xp0p0v,

Thanks you :)

Do you have their full kernel config for adding to config_files?

The configuration is automatically generated by a script in their own kernel source:
https://github.com/clipos/src_platform_config-linux-hardware/tree/master/
https://github.com/clipos/src_external_linux

I can ask @tsautereau-anssi for confirm it.

Best regards,

from kernel-hardening-checker.

Bernhard40 avatar Bernhard40 commented on July 2, 2024

@a13xp0p0v CONFIG_X86_MSR could also be set to m which I think should be ok.

At least Ubuntu, Debian, Archlinux and opensSUSE have it set this way.

from kernel-hardening-checker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.