Related Experiment Videos
Vision transformer framework for host based cryptojacking malware detection
Walid El-Shafai1,2,3, Ahmad Taher Azar4,5, Samah Alshathri6
1College of Computer and Information Sciences, Prince Sultan University, Riyadh, Saudi Arabia. welshafai@psu.edu.sa.
None:
The rising adoption of cryptocurrencies has been paralleled by the emergence of cryptojacking malware, malicious software that covertly hijacks computing resources for unauthorized cryptocurrency mining. This threat not only degrades system performance and incurs financial losses but also increasingly evades traditional intrusion detection systems (IDSs), which often suffer from limited accuracy, high false positive rates, and poor adaptability in real-time or resource-constrained environments. To overcome these limitations, this study proposes CryptoIDS-ViT, an advanced IDS framework that employs vision transformer architectures, namely ViT, MaxViT, and SwinViT, for robust host-based cryptojacking detection. The significance of this work lies in both the growing need for accurate cryptojacking mitigation and the introduction of a novel end-to-end detection framework that adapts transformer-based models to a security-critical domain. The novelty of the approach stems from its image-based malware representation pipeline, where executable binaries are systematically transformed into both color and grayscale images, and from the custom adaptation and comparative benchmarking of multiple pretrained transformer models for detecting cryptojacking attacks, an underexplored and emerging cybersecurity challenge. A two-stage process involving deep feature extraction and classification enables accurate detection with high generalizability. Extensive evaluation on a balanced dataset of 40,000 samples (20,000 cryptojacking, 20,000 benign) demonstrates superior performance: the SwinViT model achieves 99.35% accuracy on color images and 99.08% on grayscale, with a precision of 99.41%, recall of 99.27%, and F1-score of 99.34%. Compared to state-of-the-art CNN-based IDSs, CryptoIDS-ViT delivers a 3-4% improvement in detection metrics while preserving real-time inference efficiency. Additional contributions include: (i) a custom binary-to-image encoding strategy tailored to malware feature extraction, (ii) ViT attention heatmap visualizations that enhance interpretability and model transparency, (iii) an ablation study evaluating input modality effects (color vs. grayscale), and (iv) a runtime and memory complexity analysis supporting deployment feasibility in edge or enterprise systems. These results validate the proposed framework's capability to generalize across input types and deployment contexts, establishing ViT-based IDSs as a scalable, interpretable, and practical solution for detecting sophisticated cryptojacking malware in modern cybersecurity infrastructures. Unlike existing studies that apply ViTs to general malware classification, this work delivers a focused, thoroughly evaluated, and high-impact contribution to the detection of host-based cryptojacking threats.
Related Concept Videos
Leaky Scanning
Masking and Demasking Agents
There are many masking agents, such as cyanide, fluoride, triethanolamine, thiourea, and 2,3-bis(sulfanyl)propan-1-ol (formerly 2,3-dimercapto-1-propanol), with the masking agent chosen based on the metal...
Types Of Transformers
If the ratio of the number of turns in the secondary winding to that of the primary winding is greater than one, then the transformer is said to be a step-up transformer. In a step-up transformer, the voltage at the secondary winding is greater than the voltage applied at the primary winding.
However, if this ratio is less than one, the transformer is said to be a step-down...
Transformers in Distribution System
Distribution substation transformers come in various ratings and typically use mineral oil for insulation and cooling. To prevent moisture and air from entering the oil, some transformers use an inert gas like nitrogen to fill the...
Detection of Black Holes
Their closest cousins are neutron stars, which are composed almost entirely of neutrons packed against each other, making them extremely dense. A neutron star has the same mass as the Sun but its diameter is only a few kilometers. Therefore, the escape velocity from their surface is close to the speed of light.
Not until the 1960s, when the first neutron...
Energy Losses in Transformers
There are four main reasons for energy losses in transformers.
The first cause can be the high resistance of the copper windings...