Prisma Cloud Compliance Checks
Twistlock Labs compliance checks are designed by our research team and fill gaps not offered by other benchmarks. Like all compliance checks, Prisma Cloud’s supplementary checks monitor and enforce a baseline configuration across your environment.
Twistlock Labs compliance checks can be enabled or disabled in custom rules. New rules can be created under Defend > Compliance > Policy.
Container Checks
596 — Potentially dangerous NET_RAW capability enabled Checks if a running container has the NET_RAW capability enabled. This capability grants an application the ability to craft raw packets. In the hands of an attacker, NET_RAW can enable a wide variety of networking exploits, such as ARP-spoofing and hijacking a cluster’s DNS traffic.
597 — Secrets in clear text environment variables (container and serverless function check) Checks if a running container (instantiated from an image) or serverless function contains sensitive information in its environment variables. These env vars can be easily exposed with docker inspect, and thus compromise privacy.
598 — Container app is running with weak settings Weak settings incidents indicate that a well-known service is running with a non-optimal configuration. This covers settings for common applications, specifically: Mongo, Postgres, Wordpress, Redis, Kibana, Elastic Search, RabbitMQ, Tomcat, Haproxy, KubeProxy, Httpd, Nginx, MySql, and registries. These check for things such as the use of default passwords, requiring SSL, etc. The output for a failed compliance check will contain a "Cause" field that gives specifics on the exact settings detected that caused a failure.
599 — Container is running as root (container check) Checks if the user value in the container configuration is root. If the user value is 0, root, or "" (empty string), the container is running as a root user, and the policy’s configured effect (ignore, alert, or block) is actuated.
Container Image Checks
422 — Image contains malware (image check) Checks if any binary file in the image matches the MD5 checksum for known malicious software in the database. For this check, we use the database composed of our Intelligence Stream (IS) and WildFire. We check the CI images for malware by WildFire detection and check deployed images by MD5 detection. You can populate MD5 by adding them to the Manage > System > Custom feeds > Malware signatures, these signatures added by you will also be checked for any malicious software. Whether the user updates the MD5 on the custom-feed page or not, we will always check the images with the Intelligence Stream and Wildfire.
423 — Image is not trusted (image check) Checks if unauthorized (untrusted) images are pulled or loaded into your environment.
Prisma Cloud provides a mechanism to specify specific registries, repositories, and images that are considered trusted. Enable this check to prevent unauthorized containers from running in your critical environment. For more information, see Trusted images.
424 — Sensitive information provided in environment variables (image and serverless function check)
Checks if images or serverless functions contain sensitive information in their environment variables. Container images define environment variables with the Dockerfile ENV instruction. These environment variables can be easily exposed with docker inspect. These checks use pattern-matching with various terms related to secrets, and no extra analysis is done on these environment variables. These checks can detect private keys, Amazon access keys (for example AKIAIOSFODNN7EXAMPLE), and key-values secrets with known keys (for example "token=fdfsfgsdfkjbsdkf").
425 — Private keys stored in image (image and serverless function check) Opens the file with an image or serverless function, and uses a regex pattern to search only for private keys. A policy effect (ignore, alert, block) is applied on deployment if any private key is found.
426 — Image contains binaries used for crypto mining (image check) Detects when there are crypto miners in an image. Attackers have been quietly poisoning registries and injecting crypto mining tools into otherwise legitimate images. When you run these images, they perform their intended function, but also mine Bitcoin for the attacker. This check is based on research from Prisma Cloud Labs. For more information, see Real World Security: Software Supply Chain. The improved search logic detects binaries with known crypto miners. The following examples from Docker Hub include crypto miners that we identify:
The output message does not include remediation details, only that the binary is identified as a crypto miner.
448 — Package binaries should not be altered Checks the integrity of package binaries in an image. During an image scan, every binary’s checksum is compared with its package info. If there’s a mismatch, a compliance issue is raised.
Besides scan-time, this compliance issue can also be raised at run-time if a modified binary is spawned.
Prisma Cloud Labs Istio Compliance Checks
Istio compliance checks help enforce a secure Istio configuration. They address risks such as misconfigured TLS settings and universally scoped service roles.
The goals of the compliance rules are to:
Ensure mutual TLS is configured correctly (enabled over HTTPS).
Ensure RBAC policy is configured with service level access control (service x can only talk with service y).
Ensure RBAC policy is not too permissive.
Istio Checks
427 — Configure TLS per service using Destination Rule traffic policy
450 — Enable mesh-wide mutual TLS authentication using Peer Authentication Policy
451 — Avoid using permissive authorization policies without rules as it can compromise the target services
452 — Enable Istio access control on all workloads in the mesh using Authorization Policies
In Istio versions 1.6 and later, Mesh Policy is deprecated and replaced with Peer Authentication Policy.
Linux Host Checks
449 — Ensure no pending OS security updates
On each host scan, Prisma Cloud checks for available package updates marked as security updates. If such updates are found, they’re listed under the security updates tab in Monitor > Runtime > Host observations > <HOST> Supported for Ubuntu and Debian hosts only.
Malware Checks
Agentless scanning scans your workloads for malware by using an integration with Palo Alto Networks Advanced WildFire, the industry’s leading malware scanning feed.
Malware scanning covers malicious files known as Malware and also Grayware, which are unwanted applications or files that are not classified as malware, but can worsen the performance of workloads and cause security risks.
Agentless Malware Detection
When agentless scanning checks your hosts and container images for security risks, it calculates the MD5 signatures of the relevant files for malware analysis. Agentless malware detection uses the following process.
The agentless scan concludes for vulnerabilities and compliance issues.
Prisma Cloud sends the list of signatures to WildFire to determine their verdicts.
While a workload is pending verdicts from WildFire, a relevant status shows up in the workload scan results.
The possible verdicts are:
Malware
Grayware
Benign
By default, Prisma Cloud only reports files flagged as malware and you can enable flagging of grayware.
All verdicts are received and the appropriate status is set on the workload malware status.
Configuration
Malware scanning is a default capability for all hosts and container images scanned by agentless.
Malware scanning is incorporated into Prisma Cloud Compute as compliance checks: ID 454 - Host file is flagged as malware by WildFire ID 455 - Image file is flagged as malware by WildFire
Enable Flagging Of Grayware
Select Runtime Security > Manage > System > WildFire.
Under the Advanced configuration section, enable Treat grayware as malware.
Results
Once an agentless scan is complete, go to Runtime Security > Monitor > Compliance > Images or to Runtime Security > Monitor > Compliance > Host to see the results for a deployed image or a host.
Go to Runtime Security > Monitor > Compliance to find the malware scanning results in the Prisma Cloud Compliance Explorer after an agentless scan was completed successfully.
It can take some time for the Malware status to appear in the Host and Image details and the status shows as Pending until Advanced WildFire reports the verdicts. Malware analysis results are reported asynchronously only after a host scan is completed for vulnerabilities and other compliance issues. You can see the results of an agentless scan for vulnerabilities and other compliance issues in your deployment before the Malware status is resolved. Given the large number of binaries found in Windows systems, malware scanning results will take longer to conclude.
Workload Malware Status
The following malware scan statuses are possible.
Pending Verdicts
No issues found
The number of issues found
You can’t allowlist specific malware results, but you can allowlist all malware results from specific workloads by scoping compliance rules.
Supported Environments and Files
Malware scanning is supported only for hosts scanned by agentless and images of containers running on those hosts since it is done in an offline manner on a snapshot and not on a running host. Calculating signatures of all relevant files on a filesystem with a Defender would have performance implications on a running workload.
Supported Cloud Service Providers
Supported for the following cloud service providers.:
GCP
AWS
Azure
OCI
Linux Hosts and Container Images
Supports scanning binaries - ELF files.
Windows Hosts
Supports all executable types and shared libraries.
Defenders Malware Detection
Defenders also check your container images for malware.
Last updated
Was this helpful?

