mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Add macOS CIS 2.3.3.6 (Remote Management) (#9664)
I can't find any way of adding a policy to remove ARD but this uses an officially documented script to disable it which works on my mac.
This commit is contained in:
parent
7aefd5c73b
commit
985c051ebb
2 changed files with 31 additions and 0 deletions
|
|
@ -274,6 +274,34 @@ spec:
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: policy
|
||||
spec:
|
||||
name: CIS - Ensure Remote Management is Disabled
|
||||
platforms: macOS
|
||||
platform: darwin
|
||||
description: |
|
||||
Remote Management is the client portion of Apple Remote Desktop (ARD).
|
||||
Remote Management can be used by remote administrators to view the current screen,
|
||||
install software, report on, and generally manage client Macs.
|
||||
Remote Management should only be enabled on trusted networks with strong
|
||||
user controls present in a Directory system.
|
||||
Mobile devices without strict controls are vulnerable to exploit and monitoring.
|
||||
resolution: |
|
||||
Graphical Method:
|
||||
1. Open System Settings
|
||||
2. Select General
|
||||
3. Select Sharing
|
||||
4. Set Remote Management to disabled
|
||||
query: |
|
||||
SELECT 1 WHERE NOT EXISTS (
|
||||
SELECT * FROM processes WHERE
|
||||
path = '/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent'
|
||||
);
|
||||
purpose: Informational
|
||||
tags: compliance, CIS, CIS_Level1, CIS2.3.3.6
|
||||
contributors: artemist-work
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: policy
|
||||
spec:
|
||||
name: CIS - Ensure Backup Automatically is Enabled If Time Machine Is Enabled (FDA Required)
|
||||
platforms: macOS
|
||||
|
|
|
|||
3
ee/cis/macos-13/test/scripts/CIS_2.3.3.6.sh
Executable file
3
ee/cis/macos-13/test/scripts/CIS_2.3.3.6.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
/usr/bin/sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -stop
|
||||
Loading…
Reference in a new issue