-
Notifications
You must be signed in to change notification settings - Fork 345
v1.1 Release Blog
- KubeArmor on RedHat Ecosystem #1294 ✅
- list the applied policies for unorchestrated workloads #1311 ✅
- Use Enforcer as a source of Alerts #1277 ✅
- Disable file visibility by default #1442 ✅
- KubeArmor on Flatcar feedback #1265 ✅
- Create PolicyReports for security events to use with Policy Reporter #1337 ✅ #1328
- CEF format support #1371 ✅ #1328
- handle policy addition and deletion in systemd mode. #1312 ✅
- kubearmor packer provisioner #3 ✅
- K0s Support for KubeArmor #1318 ✅
- Install KubeArmor in the "kubearmor" namespace by default #1167 ✅
- adding cwd in alerts/telemetry #1453 ✅
- Nephio Integration
- MicroShift Support #1325
- Prebuilt 5G Security controls from MITRE FiGHT and ENISA
- Modify Sidekick to export KubeArmor events #1328 ✅
- Performance Improvement
Ensuring compatibility, security, and trustworthiness is crucial in today's containerised world. That's where Red Hat OpenShift Product Certification for the KubeArmor Operator comes in. This certification provides approval, signifying that KubeArmor is rigorously tested and verified to work seamlessly with OpenShift in production environments.
In systemd mode, karmor is getting an upgrade to handle policy addition and deletion better. The current behaviour can be confusing, as it always returns a "SUCCESS" message, even when adding a policy already applied or deleting a policy that doesn't exist.
- Policy Addition: If you try to apply a policy already in effect, karmor will tell you, "Policy is already applied."
- Policy Deletion: If you attempt to delete a policy that doesn't exist, the response will indicate that the "Policy doesn't exist."
These enhancements include a new check to ensure that policies are received by the gRPC client and successfully applied by the ParseAndUpdate functions. This makes karmor more reliable and user-friendly when managing policies in systemd mode. In the containerization landscape, orchestrated workloads receive much attention, but unorchestrated workloads are equally important. Often running in Systemd mode, unmanaged containers can benefit from a policy management approach. One effective tool is the Karmor Probe, which helps ensure security and compliance.
- Using a gRPC Endpoint
- Set up a gRPC endpoint within your unorchestrated environment to query and list policies applied to workloads.
- This allows you to integrate Karmor Probe seamlessly and maintain the same standards for unorchestrated and orchestrated workloads.
- Systemd Mode Workloads
- Unorchestrated workloads in Systemd mode can be managed by leveraging Systemd commands and unit files.
- Use Systemd-specific tools to inspect policies and maintain clear documentation for each service.
In conclusion, maintaining policies for unorchestrated workloads is essential for a comprehensive container environment. Karmor Probe and a strategic approach help ensure security and compliance for all your containers, regardless of orchestration.
KubeArmor's latest feature request aims to reduce confusion by using alerts sent by the KubeArmor enforcer, rather than triggering Default Posture alerts when no permissions are denied. This enhancement simplifies Kubernetes security and provides more accurate information to users.
In the world of Kubernetes security, minimizing confusion is a priority. KubeArmor's proposed solution involves setting up a Ring Buffer Infrastructure in the BPF LSM Enforcer to manage alerts more effectively. Here's how it works:
The Solution:
- Ring Buffer Infrastructure: KubeArmor creates a ring buffer in the kernel space to store and manage alerts.
- Alert Handling: Alerts are generated when permissions are denied, containing crucial information about the denial.
- User-Friendly Alerts: Only genuine security alerts are triggered, reducing unnecessary Default Posture alerts.
Benefits:
- Reduced Confusion: Users won't be bombarded with false alarms.
- Enhanced Usability: Security monitoring becomes more straightforward.
- Improved Resource Utilization: Fewer alerts mean more efficient resource usage.
Conclusion: KubeArmor's feature request promises a simpler and more user-friendly Kubernetes security experience by focusing on real security events and minimizing noise. This development contributes to a robust and effective Kubernetes security solution.
KubeArmor has significantly updated by disabling file-based telemetry by default. This modification substantially decreases telemetry data generated by file events, lowering overall resource consumption. Users have the flexibility to configure these changes and can effortlessly enable visibility as needed.
KubeArmor recently underwent testing on Flatcar OS, leading to valuable feedback and feature requests. Key details include a missing /usr/src
directory on Flatcar OS, which prompted the suggestion to make its location optional. Additionally, enabling BPF-LSM was found to be crucial and is now clarified in the documentation.
KubeArmor has responded with enhancements, including the KubeArmor Operator for smoother deployments and a new FAQ section on enabling BPF-LSM. These updates reflect the project's commitment to improving container security and user experience.
In the world of Kubernetes security, KubeArmor is a game-changer. But installing it can be complex. That's where the Kubearmor Packer Provisioner comes in. It offers:
- Ansible Playbook: An automated way to install KubeArmor, Karmor, and dependencies, ensuring consistency.
- Packer Integration: Seamlessly integrates with Packer for image creation, so your Kubernetes cluster comes pre-configured with Kubearmor and Karmor.
With this provisioner, you can fortify your Kubernetes security effortlessly and efficiently, saving time and reducing the risk of misconfigurations.
K0s is known for its simplicity and efficiency, making it a preferred choice for some Kubernetes users. With KubeArmor's support, K0s users can now benefit from advanced security features while keeping their clusters lightweight.
Key Benefits:
- Enhanced Security: K0s users can apply fine-grained security policies to container workloads, improving protection against threats.
- Increased Flexibility: Integrating K0s support expands choices for securing Kubernetes environments.
- Growing Ecosystem: It contributes to the diversity and adaptability of the Kubernetes ecosystem.
KubeArmor's support for K0s is a valuable addition that enhances Kubernetes security options. Whether you're already using K0s or considering it, explore the benefits of KubeArmor's security solutions for your containerized workloads.
Containerization and Kubernetes have transformed application deployment, but security remains a concern. KubeArmor, an open-source project, leverages BPF LSM (Linux Security Modules) to enforce host policies for stronger Kubernetes security.
Containers share the host kernel, making them vulnerable. KubeArmor addresses this by enforcing fine-grained host policies that boost security.
BPF LSM combines BPF's power with LSM's security framework to make real-time policy decisions and enforcement possible—enhanced Security with KubeArmor. KubeArmor delivers real-time policy enforcement, host-level policies, fine-grained control, auditing, and seamless Kubernetes integration. KubeArmor's innovative use of BPF LSM enhances security in Kubernetes environments, protecting containerized applications and ensuring compliance.
The kube-system
namespace is used for objects created by the Kubernetes system. It is reserved for system-level resources and components critical to the cluster's functioning. Installing any external deployments with the system's essential resources is not recommended.
In this release, we have modified the default namespace for KubeArmor to utilize kubearmor
.
Exporting Kubearmor security events to various outputs is essential for effective Kubernetes security management. Discover how integrating Falcosidekick can simplify this process. It's a vital tool for securing Kubernetes clusters, but handling the export of security events can be challenging. We have integrated Falcosidekick to seamlessly export Kubearmor events to multiple outputs like email, Slack, Redis, RabbitMQ, Kafka, and more. Falcosidekick acts as a bridge, receiving events from Kubearmor and forwarding them to your chosen destinations. This integration allows you to customize event routing, receive real-time alerts, and ensure scalability and reliability.
The Kubearmor and Falcosidekick integration simplifies exporting security events, enhancing your ability to manage and respond to Kubernetes security incidents effectively.
Introduction
In this blog, we'll explore using eBPF to capture a process's Current Working Directory (CWD) and include this information in your system alerts and telemetry. CWD is valuable for debugging, troubleshooting, security, and compliance.
Why CWD Matters
- Debugging: Helps identify file access, permissions, and dependencies issues.
- Troubleshooting: Contextual information for efficient issue diagnosis.
- Security: Detects suspicious activities related to directory access.
- Compliance: Provides context for auditing and compliance requirements.
Adding CWD to Alerts and Telemetry
- Write an eBPF program to capture CWD.
- Extract CWD information from process data structures.
- Send CWD data to your logging or alerting system.
- Correlate CWD data with other observability metrics.
Benefits
- Faster Issue Resolution: Speed up troubleshooting.
- Enhanced Security: Detect unauthorized activities.
- Compliance: Meet regulatory requirements.
- Improved Resource Utilization: Optimize system resources.
Incorporating CWD data through eBPF empowers better system observability and performance analysis.