Skip to content
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

Introduce support for dracut-fips-aesni package in Anaconda #3221

Closed
dahaic opened this issue Aug 23, 2018 · 7 comments · Fixed by #4300
Closed

Introduce support for dracut-fips-aesni package in Anaconda #3221

dahaic opened this issue Aug 23, 2018 · 7 comments · Fixed by #4300
Labels
enhancement General enhancements to the project.
Milestone

Comments

@dahaic
Copy link
Contributor

dahaic commented Aug 23, 2018

Package dracut-fips-aesni enables usage of aes instruction set of x86 CPUs. This has significant impact for some crypto related workflows. It does not have (AFAIK) functionality implications.

We cannot install it indiscriminately, as supported configuration for Red Hat Enterprise Linux 7 is this package installed only in case CPU supports given instruction set. So if we want to install package, we need to first check the support.

That means we cannot (at least without changes to anaconda addon) install it during installation whatsoever. So there would be discrepancy between installation hardening and normal bash runtime hardening.

It is not clear if we should put it to the OVAL.

@dahaic dahaic added the enhancement General enhancements to the project. label Aug 23, 2018
@boydhako
Copy link

boydhako commented Sep 6, 2018

Anaconda doesn't do some sort of logical system assesment?

@dahaic
Copy link
Contributor Author

dahaic commented Sep 6, 2018

Well, oscap anaconda addon has no such logic at the moment, and this would probably be the only use case.

Is there anything comparable in the core anaconda, @poncovka? Installation of packages based on capabilities of the machine?

@trevor-vaughan
Copy link
Collaborator

You'll want to make this something that is configurable by the user.

A run time implementation can be found at https://github.com/simp/pupmod-simp-fips/blob/master/manifests/init.pp that includes tests if you need a reference for anything.

@poncovka
Copy link

@dahaic, for example, Anaconda installs packages based on the detected virtualized environment (if any).

@redhatrises redhatrises modified the milestone: Backlog Oct 1, 2018
@jan-cerny jan-cerny added Ansible Ansible remediation update. OVAL OVAL update. Related to the systems assessments. Bash Bash remediation update. labels Mar 21, 2019
@jan-cerny
Copy link
Collaborator

I think there needs to be a custom rule for this because we can't use templates because we need to check architecture of the target system.

@jan-cerny jan-cerny added the Text label Mar 21, 2019
@redhatrises redhatrises modified the milestones: Backlog, 0.1.44 Apr 25, 2019
redhatrises added a commit to redhatrises/scap-security-guide that referenced this issue Apr 25, 2019
redhatrises added a commit to redhatrises/scap-security-guide that referenced this issue Apr 25, 2019
redhatrises added a commit to redhatrises/scap-security-guide that referenced this issue Apr 25, 2019
redhatrises added a commit to redhatrises/scap-security-guide that referenced this issue Apr 26, 2019
redhatrises added a commit to redhatrises/scap-security-guide that referenced this issue May 2, 2019
@yuumasato
Copy link
Member

I'm reopening this ticket, and changing scope for Anaconda remediation.

@yuumasato yuumasato reopened this May 3, 2019
@yuumasato yuumasato changed the title Introduce support for dracut-fips-aesni package Introduce support for dracut-fips-aesni package in Anaconda May 3, 2019
@yuumasato yuumasato removed Ansible Ansible remediation update. Bash Bash remediation update. labels May 3, 2019
@yuumasato yuumasato removed OVAL OVAL update. Related to the systems assessments. Text labels May 3, 2019
@yuumasato yuumasato modified the milestones: 0.1.44, 0.1.45 May 3, 2019
@yuumasato yuumasato modified the milestones: 0.1.45, 0.1.46 Jul 22, 2019
@yuumasato yuumasato modified the milestones: 0.1.46, 0.1.47 Sep 2, 2019
@yuumasato yuumasato modified the milestones: 0.1.47, 0.1.48 Nov 5, 2019
@ggbecker
Copy link
Member

#4986 Enables dracut-fips-aesni to Anaconda Remediation as research shown that there was no harm by installing the package even if the processor doesn't have support for AES. Closing this issue and creating a new one on OAA which should handle system characteristics when applying remediation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General enhancements to the project.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants