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

Rework SCA Policy for Microsoft Windows 11 Enterprise #22195

Open
19 tasks
ooniagbi opened this issue Feb 28, 2024 · 2 comments · May be fixed by #22734
Open
19 tasks

Rework SCA Policy for Microsoft Windows 11 Enterprise #22195

ooniagbi opened this issue Feb 28, 2024 · 2 comments · May be fixed by #22734
Assignees
Labels
level/task type/enhancement New feature or request

Comments

@ooniagbi
Copy link
Member

Component Action type Main Issue
SCA Rework #21930

Main tasks

Checks

Syntax and semantic

  • a) ID of each policy must be contiguous.
  • b) The order and format set in Documentation must be respected.
  • c) YML must be valid to avoid errors.

Content

  • a) Compare each check with its analog from CIS Benchmark.
  • b) Try maintaining each rule as similar as possible with the Audit section from the CIS check.
  • c) Check that the commands provide the expected output.
  • d) When a failure is discovered, check similar policies to avoid repetition of the issue.

Unit testing

  • a) Output from agent.log after the SCA scan and a raw output of the result of the checks.
Tests results
2023/11/09 17:16:09 sca: INFO: Evaluation finished for policy 'C:\Program Files (x86)\ossec-agent\ruleset\sca\cis_win10_enterprise.yml'
2023/11/09 17:16:09 sca: INFO: Security Configuration Assessment scan finished. Duration: 81 seconds.

Analysisd (server or local)

analysisd.debug=2

Auth daemon debug (server)

authd.debug=0

Exec daemon debug (server, local, or Unix agent)

execd.debug=0

Monitor daemon debug (server, local, or Unix agent)

monitord.debug=0

Log collector (server, local or Unix agent)

logcollector.debug=0

Integrator daemon debug (server, local or Unix agent)

integrator.debug=0

Unix agentd

agent.debug=2

Deployment

  • a) If the policy it's new, it must be added to the sca.files templates.
  • b) If the OS has many supported SCA policies, a policy must be set as the default policy. (as example)

Documentation

  • a) Ensure documentation SCA list includes the created or updated SCA.
@jk-olaoluwa
Copy link
Member

jk-olaoluwa commented Mar 14, 2024

Update 14/3/2024

  • Encountered errors with generating yaml file with script, troubleshooting ongoing
  • Preparing Windows 11 Enterprise environment for test

Update 18/03/2024

  • Generated yaml file
  • Section 1.1.1 - 1.2.4

Update 19/03/2024

  • Section 2.2.1 - 2.3.6.6

Update 20/03/2024

  • Section 2.3.7.1 - 2.3.9.5

Update 21/03/2024

  • Section 2.3.10.1 - 2.3.15.2

Update 22/03/2024

  • Section 2.3.17.1 - 5.44

Update 25/03/2024

  • Section 9.1.1 - 9.3.9

Update 26/03/2024

  • Section 17.1.1 - 17.5.6

Update 27/03/2024

  • Section 17.6.1 - 17.8.1

Update 28/03/2024

  • Section 17.9.1 - 18.4.8

Update 02/04/2024

  • Section 18.5.1 - 18.5.13

Update 03/04/2024

  • Section 18.6.4.1 - 18.6.9.2

Update 04/04/2024

  • Section 18.6.10.2 - 18.6.14.1

Update 05/04/2024

  • Section 18.6.19.2 - 18.6.21.2

Update 08/04/2024

  • Section 18.6.23.2.1 - 18.7.11

Update 16/04/2024

  • Section 18.8.1.1 - 18.9.4.2

Update 17/04/2024

  • Section 18.9.5.1 - 18.9.5.7

@jk-olaoluwa jk-olaoluwa linked a pull request Apr 4, 2024 that will close this issue
19 tasks
@jk-olaoluwa
Copy link
Member

Update 17/04/2024
Section 18.9.5.1 - 18.9.5.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task type/enhancement New feature or request
Projects
Status: On hold
2 participants