Back to catalog

chkconfig Execution

No violationsstackroxlowruntime

Detected usage of the chkconfig service manager; typically this is not used within a container

Rationale
chkconfig can be used to activate and deactivate services, and should generally not be run within a container
Remediation
Consider removing the chkconfig utility, or using a base container image that doesn't have this utility in it
CategoriesSystem Modification
Compliance mappingsView coverage →
NIST SP 800-53 rev. 5
SI-4

Generated artifacts

1 of 5 targets supported
chkconfig-execution.yaml
- rule: chkconfig-execution
  desc: Detected usage of the chkconfig service manager; typically this is not used within a container
  condition: proc.name in ("chkconfig")
  output: Process %proc.name executed by user %user.name (uid=%user.uid) in container %container.id image=%container.image.repository (policy=chkconfig Execution)
  priority: NOTICE
  source: syscall
  tags:
    - stackrox-import
    - policy
IR (canonical)
{
  "id": "0a2ee697-cb88-4e13-8e62-c6a2a887e0cc",
  "name": "chkconfig Execution",
  "description": "Detected usage of the chkconfig service manager; typically this is not used within a container",
  "rationale": "chkconfig can be used to activate and deactivate services, and should generally not be run within a container",
  "remediation": "Consider removing the chkconfig utility, or using a base container image that doesn't have this utility in it",
  "severity": "low",
  "categories": [
    "System Modification"
  ],
  "lifecycle": [
    "runtime"
  ],
  "eventSource": "deployment",
  "scope": [],
  "exclusions": [],
  "enforcement": {
    "failBuild": false
  },
  "expression": {
    "op": "criterion",
    "field": "process-name",
    "values": [
      "chkconfig"
    ],
    "valuesOp": "or",
    "negate": false
  },
  "disabled": false
}
Original StackRox JSON
{
  "id": "0a2ee697-cb88-4e13-8e62-c6a2a887e0cc",
  "name": "chkconfig Execution",
  "description": "Detected usage of the chkconfig service manager; typically this is not used within a container",
  "rationale": "chkconfig can be used to activate and deactivate services, and should generally not be run within a container",
  "remediation": "Consider removing the chkconfig utility, or using a base container image that doesn't have this utility in it",
  "disabled": false,
  "categories": [
    "System Modification"
  ],
  "lifecycleStages": [
    "RUNTIME"
  ],
  "eventSource": "DEPLOYMENT_EVENT",
  "exclusions": [],
  "scope": [],
  "severity": "LOW_SEVERITY",
  "enforcementActions": [],
  "policySections": [
    {
      "sectionName": "",
      "policyGroups": [
        {
          "fieldName": "Process Name",
          "booleanOperator": "OR",
          "negate": false,
          "values": [
            {
              "value": "chkconfig"
            }
          ]
        }
      ]
    }
  ],
  "notifiers": [],
  "lastUpdated": null,
  "SORTName": "",
  "SORTLifecycleStage": "",
  "SORTEnforcement": false,
  "policyVersion": "1.1",
  "mitreAttackVectors": [
    {
      "tactic": "TA0003",
      "techniques": [
        "T1543.002"
      ]
    },
    {
      "tactic": "TA0004",
      "techniques": [
        "T1543.002"
      ]
    }
  ],
  "criteriaLocked": true,
  "mitreVectorsLocked": true,
  "isDefault": true,
  "source": "IMPERATIVE"
}