Configuring Carbon Black Cloud well comes down to three disciplines: prevention policy rules that are tested and narrow, API keys that carry only the permissions their integration needs, and sensors that cannot be quietly removed or left in bypass. An endpoint protection platform is both a defensive control and a privileged system in its own right. Its policies decide what runs on every managed machine, its API keys can query and act on those machines at scale, and its sensors are the first thing an intruder tries to switch off. This guide walks through the configuration points that Broadcom documents for Carbon Black Cloud and explains how to run them as an identity and change management problem, not just an endpoint one.
Many organisations are revisiting their Carbon Black Cloud configuration after the product moved from VMware to Broadcom, with documentation and support content relocating to Broadcom sites. That is a good moment to review old policies, retire legacy API keys and confirm that sensor settings still match your intent. The guide is written for endpoint, identity and security operations teams who already run the platform.
This is an independent guide from NHI Mgmt Group, based on Carbon Black's public documentation as of November 2026. It is not sponsored or reviewed by Broadcom. Product features change, so confirm settings against Broadcom's current Carbon Black Cloud documentation.
Key takeaways
- Permission rules take precedence over Blocking and Isolation rules, which makes every permission rule a potential bypass. Keep them few, narrow and reviewed. Core Preventions can still take precedence over a permission rule.
- Test policy rule changes in a separate policy with a few devices before moving them to production, and record every change so you can revert it. Broadcom's own guidance says an untested incorrect rule affects every machine in the policy.
- All Carbon Black Cloud APIs use the Custom access level type. The legacy API, LIVE_RESPONSE and SIEM access level types are deprecated, so any key still using them is a migration and review item.
- The API Secret Key is shown once at creation and cannot be retrieved later. Store it in a secrets manager at creation time and reset it if it is lost or exposed.
- Enable "Require code to uninstall sensor" in your policies for Windows and macOS sensors. Remember that Bypass disables tamper protection, so a sensor in Bypass can be uninstalled even with that setting on.
How policies, sensors and the console fit together
Carbon Black Cloud manages endpoints through policies. Each sensor belongs to a policy, and the policy carries both the prevention rules and the sensor settings. In the console, policies are managed under Enforce, Policies, and endpoints are listed under Inventory, Endpoints. Broadcom's knowledge articles refer to a policy's Sensors sub-tab for sensor behaviour, and to Permissions and Blocking and Isolation sections for prevention rules.
That structure has two consequences for configuration:
- The policy is the unit of risk. A rule change applies to every machine in the policy, so policy design (how many policies, which devices sit in each) determines how large the impact of a mistake can be.
- Policy assignment is a privileged action. Moving a device into a policy with broad permissions or relaxed sensor settings can be as effective as disabling protection. Treat policy membership changes with the same care as rule changes.
A practical layout is a small set of production policies by device role (for example, standard workstations, privileged administrator workstations, servers) plus a dedicated test policy for each, holding a handful of representative devices. This guide uses that layout as its working assumption; it is an NHI Mgmt Group recommendation, not a Broadcom default.
Prevention policy rules
Broadcom's article on how to configure policy rules describes three ways to add a rule to a policy:
- Permissions rule. In the Permissions section, add an application path, choose an Operation Attempt and an Action, confirm and save.
- Reputation-based Blocking and Isolation rule. In the Blocking and Isolation section, edit the rule for a reputation, choose an Operation Attempt and an Action, confirm and save.
- Path-based Blocking and Isolation rule. In the same section, add an application path and choose an Operation Attempt and an Action.
The article also offers a "Test Rule" option next to the Operation Attempt, and notes that on Windows, sensor 1.0.6.178 and later support drive letters and the * and ** path wildcards. It adds that custom policy rules override whitelist and blacklist entries.
Change discipline for rules
The same article sets out cautions that should become your change process:
- Build and test the rule first in a separate policy with a few devices.
- Only then move the tested rule to the production policy.
- Record each policy change so you can revert it.
Add two things to that list from an identity point of view. First, require a second person to approve production policy changes, and keep the approval with the change record. Second, review the console's change history against your change tickets, so that an untracked change stands out.
Reading Blocking and Isolation rules
Reputation-based rules act on what Carbon Black knows about an application, while path-based rules act on where it runs from. Path-based blocks are useful for locations that ordinary users should never execute from, such as temporary download folders, but they are also easy to make too broad. When you add a path rule, test it against representative software in the test policy and watch for unexpected blocks before promotion. Broadcom publishes a rule configuration article but this guide does not reproduce a full list of operation attempts and actions, because the article itself does not enumerate them. Use the console's own options and the Test Rule feature to confirm behaviour.
Permission rules and why they are bypasses
Broadcom's article on rule precedence is short and important. It states that permissions take precedence over Blocking and Isolation policy rules, by design, which is why permissions are also called exclusions or bypass rules. It also states that Core Preventions may take precedence even if a permission rule is in place, so a permission rule does not guarantee that an action is allowed.
In practice this means every permission rule is a hole in your prevention policy. Some holes are necessary: backup agents, software deployment tools, other security products and line-of-business applications sometimes need them. The question is how big each hole is and who owns it.
Recommendations for permission hygiene:
- Scope by full path, not by folder. A rule for a single signed executable is far narrower than a rule for a whole directory tree. Be especially wary of
**wildcards in user-writable locations, because anything an attacker can drop there inherits the permission. - Scope by operation. Grant only the Operation Attempt the application needs, not every operation.
- Prefer per-policy rules. Put the permission in the policy that contains the devices that need it, not in every policy.
- Record an owner and reason. Every permission should map to a named application owner and a ticket.
- Review on a schedule. Re-certify permissions at least quarterly, and remove those for software that is no longer deployed.
Permissions for deployment and management tools deserve extra attention. Those tools run with high privilege across many machines, so a permission that lets them bypass prevention also lets anyone who controls them do the same. Treat the tool's own service accounts as part of the same risk.
API keys and access levels
Carbon Black Cloud's authentication documentation is the primary reference for API access. Its key points:
- All APIs use an Access Level type of Custom. Access Level types API, LIVE_RESPONSE and SIEM are deprecated.
- Broadcom recommends creating a custom access level with minimal permissions, following least privilege. Each service category has its own permissions, and the API documentation states which permissions each call needs.
- Access levels are created under Settings, API Access, Access Levels; API keys under Settings, API Access, API Keys, where a Custom key is bound to the access level you created.
- The API Secret Key is shown once at creation and cannot be retrieved later. The API ID can be viewed later through the Actions menu, under API Credentials, which shows the ID but not the secret.
- If the secret is lost or the system is compromised, the secret can be reset, which the documentation compares to changing a password.
- Requests authenticate with the header
X-Auth-Token: {API Secret}/{API ID}, secret first and ID second, and the request URL includes the org key, found under Settings, General.
Turning that into a key management practice
Every API key is a non-human identity with access to your endpoint estate. Depending on its permissions, it may be able to read telemetry, change policies or run actions on devices. Manage keys as you would any privileged service credential:
- One key per integration. A SIEM connector, a SOAR playbook and an asset sync job should each have their own key and their own custom access level. Shared keys make it impossible to scope permissions or to rotate without breaking several systems at once.
- Least privilege per key. Build each access level from the permissions table for the specific calls the integration makes. A read-only telemetry export does not need permissions to change policies.
- Store at creation. Because the secret is shown once, capture it directly into a secrets manager during creation, not into a chat message, ticket or spreadsheet.
- Name keys clearly. Use a naming convention that records the integration and owner, so that a key list review is meaningful.
- Retire deprecated types. Inventory keys that still use API, LIVE_RESPONSE or SIEM access level types and replace them with Custom keys bound to minimal access levels.
- Rotate and reset. Reset secrets on a defined schedule and immediately when staff with access leave or a system that held the key is suspected of compromise.
The authentication page also explains two errors that are useful during least-privilege work. HTTP 401 usually means the token is not in the secret and ID format, the values are wrong, or the access level does not allow the API. HTTP 403 means the Custom access level is missing the right permissions. When you tighten an access level and an integration starts returning 403, that is the signal to add exactly the permission the failing call needs, and no more.
For a wider view of API key governance, see the API Key Management Guide, and keep the API Key Leak Response Playbook ready for the day a key is exposed.
Sensor hygiene and tamper resistance
Attackers who gain administrative rights on an endpoint often try to remove or disable the security sensor before doing anything else. Carbon Black Cloud gives you two levers here.
Require code to uninstall sensor
Broadcom's article on preventing sensor uninstall states that the functionality exists in the Windows and macOS sensors, for sensor 3.x and higher. To use it, edit the policy under Enforce, Policies, open the Sensors sub-tab, enable "Require code to uninstall sensor", save the policy and assign it to the target devices. The uninstall code for a device is retrieved under Inventory, Endpoints, from the device details.
Enable this setting in every production policy. Then treat access to uninstall codes as privileged: only the endpoint team should retrieve them, each retrieval should map to a ticket, and codes should never be distributed in bulk.
Bypass and quarantine states
Broadcom's article on uninstalling in bypass or quarantine adds the key caveat: Bypass disables tamper protection, so the sensor can be modified, and uninstall is possible in Bypass even when the uninstall code requirement is enabled in the policy. With the requirement on, command-line uninstalls otherwise need the deregistration or uninstall code. The article also notes that console-requested uninstalls are processed after the sensor's next successful check-in, and that a sensor in Bypass because of an error status, such as an unapproved system extension, may need that issue fixed before an uninstall completes.
That makes Bypass the state to watch. Recommended practice:
- Restrict who can place sensors into Bypass, and require a ticket and an expiry for every Bypass.
- Report daily on devices in Bypass and chase any that have stayed there longer than planned.
- Investigate devices that enter Bypass because of an error status, because they are unprotected until the error is fixed.
- Alert on sensors that stop checking in, which can indicate removal by other means.
Sensor tampering maps to MITRE ATT&CK T1685 (Disable or Modify Tools). Detection for it should not rely only on the sensor itself, since a removed sensor cannot report its own removal; compare the console's device list against your asset inventory and directory.
Console access and roles
The console is where policies, permissions, API keys and uninstall codes are all managed, so console accounts are among the most privileged identities in the endpoint estate. Broadcom's authentication page points to a separate role-based access control guide for broader permissions guidance; review your roles against that guide and Broadcom's current documentation. Whatever the exact role names in your tenant, aim for these outcomes:
- A small, named group can change production policies and create API keys.
- Analysts who triage alerts can investigate without being able to edit permissions or retrieve uninstall codes.
- Console sign-in goes through your organisation's identity provider with phishing-resistant multi-factor authentication where the platform supports it.
- Leavers are removed from the console as part of the standard offboarding process, and API keys they created are reviewed and reset.
This aligns with NIST SP 800-53 AC-6 (Least Privilege), AC-2 (Account Management) and IA-5 (Authenticator Management) for API secrets.
Reviewing a configuration after the Broadcom transition
Product ownership changes are a natural trigger for a configuration review. Documentation that teams relied on may have moved, integrations may have been rebuilt by different people, and older keys may have been left in place. A short review sequence:
- Export the list of policies and the devices assigned to each. Confirm every device is in the policy its role requires.
- Export permission rules from every policy and confirm each has an owner, a reason and a narrow path and operation.
- Confirm "Require code to uninstall sensor" is enabled in every production policy.
- List every API key with its access level type. Replace deprecated types and reset secrets whose storage location is unknown.
- Review console users and remove accounts that no longer need access.
- Update internal runbooks so that links point to current Broadcom documentation.
Common failure patterns
- Broad permission rules. A directory-wide permission added to stop a block on one application, which now lets anything in that directory bypass prevention.
- Testing in production. Rule changes made directly in production policies, affecting every device at once.
- Untracked changes. No record of who changed a policy or why, so a bad change cannot be reverted cleanly.
- Shared API keys. One key with wide permissions used by several integrations, with the secret pasted into multiple configuration files.
- Legacy access level types. Keys still using the deprecated API, LIVE_RESPONSE or SIEM types long after Custom became the standard.
- Uninstall code not required. Policies where any local administrator can remove the sensor.
- Forgotten Bypass. Devices placed in Bypass for troubleshooting and never returned to normal, leaving tamper protection off.
Practitioner checklist
- Create a test policy for each production policy and route every rule change through it.
- Record every policy change with an approver and a revert plan.
- Inventory permission rules; narrow each to a full path and the needed Operation Attempt, with an owner.
- Re-certify permission rules at least quarterly.
- Replace any API key using a deprecated access level type with a Custom key bound to a minimal access level.
- Issue one API key per integration and store each secret in a secrets manager at creation.
- Reset API secrets on a schedule and on staff departure or suspected exposure.
- Enable "Require code to uninstall sensor" in every production policy and restrict access to uninstall codes.
- Report daily on devices in Bypass and on sensors that have stopped checking in.
- Limit console roles that can edit policies or create keys to a small named group behind strong authentication.
Standards and references
- Carbon Black Cloud: Authentication (API keys and access levels)
- Broadcom: How to Configure Policy Rules
- Broadcom: What Rules Take Precedence, Permission Rules or Blocking and Isolation Rules?
- Broadcom: Can You Prevent the Sensor from being Uninstalled?
- Broadcom: Can the Sensor Be Uninstalled While in Bypass or Quarantine?
- NIST: SP 800-83 Rev. 1, Guide to Malware Incident Prevention and Handling for Desktops and Laptops
- NIST: SP 800-53 Rev. 5
- CIS: Critical Security Controls v8.1
Related NHI Mgmt Group resources: API Key Management Guide · API Key Leak Response Playbook · VMware ESXi Hardening Guide