Uncategorized

Enhancing CryptoGuards Deployability for Continuous Software Security Scanning

By 27. November 2026No Comments

Enhancing CryptoGuards Deployability for Continuous Software Security Scanning

In this section, we review existing solutions and evaluate their applicability to detecting and remediating such threats, as well as their suitability for deployment in cloud environments. To date, various countermeasures have been proposed to combat host-based cryptojackers.

For instance, according to the CNCF 2020 survey (cnc, 2020), 23% of companies reported running more than 5,000 containers on average. The core idea is that syscall patterns tend to remain consistent even when obfuscation techniques are applied. Finally, we assume that a cryptojacker can be running as a process or a container; the former aims to target a VM while the latter targets a host where container engines or orchestration platforms operate (e.g., Docker, Kubernetes). While this requires attackers to deliver the cryptojacker binary, the specifics of this process are beyond the scope of our paper.

The current persistence logic of CryptoGuard Remediator primarily focuses on VM and bare-metal hosts, as many cryptojacker samples in our experiments exploit entrypoints specific to these environments. In contrast, CryptoGuard maintains consistently high TPRs even at low FPRs, demonstrating its effectiveness in minimizing disruptions to benign processes while accurately identifying cryptojackers. The TPR (True Positive Rate) for the Sysrv open the PDF and XMRig classes indicates the proportion of benign processes incorrectly classified as cryptojackers. Additionally, we develop remediation strategies that target the persistence mechanisms employed by cryptojackers. We propose innovative sketch-based and sliding window-based monitoring techniques to efficiently trace syscall patterns of cryptojackers.

As a baseline, we employed Random Forest (RF) as a traditional machine learning model to compare with our LTSM and CNN models. This split allows us to verify whether or not our deep learning models can detect unseen CMS patterns. Under the same conditions, we collected an additional 2,010 malware CMS datasets from an environment where a cryptojacker was actively running. To construct our dataset, we emulated a realistic deployment environment by running commonly used benign services, including Apache HTTP Server, Apache Tomcat, Nginx, Redis, and MySQL.

In cloud environments, identifying cryptojacker processes or containers is challenging due to the large number of hosts and VMs, each running numerous benign processes. In contrast, CryptoGuard can detect new variants by leveraging syscall patterns learned through deep learning models. We evaluated the ability of our classifiers to distinguish cryptojacking processes or containers from their benign counterparts. We assumed a practical scenario where a cryptojacker process is running with other benign processes at the same host (or VM) concurrently.

This demonstrates that CryptoGuard imposes minimal overhead, avoiding interruptions to other benign processes. We conducted experiments to measure the overhead of CryptoGuard on a single host to evaluate its viability as a lightweight solution for resource-limited cloud environments. The classifier’s goal is to accurately classify a given process or container into one of these categories. The first two categories represent the cryptojacker families detailed in Table 2, while the third category includes benign processes.

Lastly, our model should not be trained on the cloud host to avoid performance overhead. We assume that one or more cryptojackers are operating alongside other processes or containers within a cloud environment, which consists of numerous hosts or VMs. Instead, we employ deep learning models (e.g., CNNs, LSTMs) capable of learning fine-grained temporal dependencies in syscall sequences, enabling robust detection of obfuscated threats.

To apply CMS features to deep learning models, we transform each CMS into a feature vector. This complexity often requires cloud administrators to manually scan for cryptojackers across an extensive search space, which is time-consuming. Thus, when CryptoGuard detects a suspicious host, analyzing the recent syscalls within the time window Δ​T\Delta T is sufficient to pinpoint a cryptojacker process or container within the host if the window size Δ​T\Delta T is carefully chosen.