Lesson 6: macOS Security Compliance Project Flashcards

(24 cards)

1
Q

What is the macOS Security Compliance Project (mSCP)?

A

The mSCP is an open-source project on GitHub maintained by top IT security professionals.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the primary uses of the mSCP?

A

To create configuration profiles, compliance scripts, and guidance documentation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Where can instructions for setting up and using the mSCP be found?

A

In the mSCP Wiki.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the prerequisites for using the mSCP?

A

Command line tools for Xcode, Python3 modules, and Ruby gems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which branch should you avoid working from in the mSCP?

A

The main branch.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What should you use instead of the main branch in the mSCP?

A

One of the OS-specific branches.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What built-in baselines can be used with mSCP?

A

CIS Benchmarks and custom-tailored baselines.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What script is used to create a tailored baseline in mSCP?

A

generate_baseline.py

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What do the -k and -t options do in generate_baseline.py?

A

-k specifies the baseline; -t enables tailoring.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Where should configuration profile settings be deployed when possible?

A

Via Jamf Pro, rather than mSCP scripts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What script generates signed configuration profiles and documentation?

A

generate_guidance.py

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What file formats are generated by default with generate_guidance.py?

A

HTML and PDF guidance documentation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does the -p option in generate_guidance.py do?

A

Generates unsigned configuration profiles and corresponding plists.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does the -H option in generate_guidance.py do?

A

Generates signed configuration profiles using the subject key ID.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does the -l option in generate_guidance.py do?

A

Adds a custom branding image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does the -s option in generate_guidance.py do?

A

Generates a compliance script.

17
Q

What does the -x option in generate_guidance.py do?

A

Generates documentation in .xls format.

18
Q

How do you retrieve the subject key ID for signing certificates?

A

Use a Terminal command with security find-certificate and openssl asn1parse.

19
Q

Can signed configuration profiles from mSCP be used in Jamf Pro?

A

Yes, they can be uploaded and deployed.

20
Q

What is the purpose of the compliance script in mSCP?

A

To scan for and remediate noncompliant settings.

21
Q

What do --check and --fix do in a Jamf Pro policy using the compliance script?

A

--check initiates a scan; --fix remediates non-compliant settings.

22
Q

What option can be used to customize existing baselines when running the generate_baseline.py script?

23
Q

What is required to generate signed configuration profiles when running the generate_guidance.py script?

A

The -H option and the subject key ID of a signing certificate.

24
Q

How can the compliance script be run on managed computers with a policy in Jamf Pro?

A

Use --check as parameter 4 to run a scan and --fix as parameter 5 to remediate noncompliant settings.