Skip to content
Skillv1.0.0

cis-oke-v150-5.4.3

Ensure clusters are created with Private Nodes (Automated)

by CyberStrikeus(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from CyberStrikeus/CyberStrike (.cyberstrike/skill/CIS_benchmarks/Server_Software/Kubernetes/CIS_OKE_Benchmark_v1.5.0/cis-oke-v150-5.4.3/SKILL.md). Install upstream with npx skills add CyberStrikeus/CyberStrike --skill cis-oke-v150-5.4.3. Copyright stays with the author.

5.4.3 Ensure clusters are created with Private Nodes (Automated)

Profile Applicability

  • Level 1

Description

Disable public IP addresses for cluster nodes, so that they only have private IP addresses. Private Nodes are nodes with no public IP addresses.

Rationale

Disabling public IP addresses on cluster nodes restricts access to only internal networks, forcing attackers to obtain local network access before attempting to compromise the underlying Kubernetes hosts.

Impact

To enable Private Nodes, the cluster has to also be configured with a private master IP range and IP Aliasing enabled.

Private Nodes do not have outbound access to the public internet. If you want to provide outbound Internet access for your private nodes, you can use Cloud NAT or you can manage your own NAT gateway.

Audit

Check for the following:

export OKE_NODEPOOLID=<node pool id>
export OKE_NODEID=<node id>

oci ce node-pool get --node-pool-id ${OKE_NODEPOOLID=} --node-id \
  ${OKE_NODEID=} [--query <query>] [--auth <auth-token>] [--profile <profile-name>] [--region <region>]

Remediation

Configure nodes to use private IP addresses only. Disable public IP assignment for node pools.

Default Value

By default, Private Nodes are disabled.

References

  1. https://docs.cloud.oracle.com/en-us/iaas/Content/ContEng/Concepts/contengclustersnodes.htm

CIS Controls

Controls Version Control IG 1 IG 2 IG 3
v8 4.1 Establish and Maintain a Secure Configuration Process - Establish and maintain a secure configuration process for enterprise assets (end-user devices, including portable and mobile, non-computing/IoT devices, and servers) and software (operating systems and applications). Review and update documentation annually, or when significant enterprise changes occur that could impact this Safeguard. x x x
v7 5.1 Establish Secure Configurations - Maintain documented, standard security configuration standards for all authorized operating systems and software. x x x
v7 12 Boundary Defense - Boundary Defense

MITRE ATT&CK Mappings

Techniques / Sub-techniques Tactics Mitigations
T1556, T1611 TA0004, TA0006 M1048

Profile

Level 1 - OKE

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/cyberstrikeus-cyberstrike-cis-oke-v150-5-4-3/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

cyberstrikeus-cyberstrike-cis-oke-v150-5-4-3.ocm.jsonjson
{
  "ocm": "1",
  "id": "cyberstrikeus-cyberstrike-cis-oke-v150-5-4-3",
  "kind": "skill",
  "name": "cis-oke-v150-5.4.3",
  "description": "Ensure clusters are created with Private Nodes (Automated)",
  "publisher": "CyberStrikeus",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "cis",
      "oke",
      "kubernetes",
      "oci",
      "managed-services",
      "cluster-networking",
      "network-policy",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Ensure clusters are created with Private Nodes (Automated)"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/CyberStrikeus/CyberStrike",
      "path": ".cyberstrike/skill/CIS_benchmarks/Server_Software/Kubernetes/CIS_OKE_Benchmark_v1.5.0/cis-oke-v150-5.4.3/SKILL.md",
      "ref": "df28ccd3dc6d6c02391169121ee2dcdf4a6a132b",
      "url": "https://github.com/CyberStrikeus/CyberStrike/blob/df28ccd3dc6d6c02391169121ee2dcdf4a6a132b/.cyberstrike/skill/CIS_benchmarks/Server_Software/Kubernetes/CIS_OKE_Benchmark_v1.5.0/cis-oke-v150-5.4.3/SKILL.md",
      "key": "CyberStrikeus/CyberStrike/.cyberstrike/skill/CIS_benchmarks/Server_Software/Kubernetes/CIS_OKE_Benchmark_v1.5.0/cis-oke-v150-5.4.3/SKILL.md"
    }
  },
  "instructions": "# 5.4.3 Ensure clusters are created with Private Nodes (Automated)\n\n## Profile Applicability\n\n- Level 1\n\n## Description\n\nDisable public IP addresses for cluster nodes, so that they only have private IP addresses. Private Nodes are nodes with no public IP addresses.\n\n## Rationale\n\nDisabling public IP addresses on cluster nodes restricts access to only internal networks, forcing attackers to obtain local network access before attempting to compromise the underlying Kubernetes hosts.\n\n## Impact\n\nTo enable Private Nodes, the cluster has to also be configured with a private master IP range and IP A",
  "cost": {
    "context_tokens": 987
  }
}

Fetch it by URL: GET /api/v1/registry/cyberstrikeus-cyberstrike-cis-oke-v150-5-4-3/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.