DETECTION OF COVERT CRYPTOCURRENCY MINING ON ENDPOINT SYSTEMS: A FORENSIC-BY-DESIGN FRAMEWORK INTEGRATING MACHINE-INSTRUCTION OPCODE FINGERPRINTING AND DEEP LEARNING
Keywords:
Cryptojacking; covert cryptocurrency mining; machine learning; deep learning; opcode fingerprinting; Gramian Angular Field; digital forensics; anti-forensics; endpoint security.Abstract
Cryptojacking, the covert appropriation of endpoint computing resources for unauthorized cryptocurrency mining, has evolved into a persistent security threat that routinely combines evasion and anti-forensic tactics to avoid detection and obstruct subsequent investigation. Prior research has advanced two largely independent detection paradigms: instruction-level fingerprinting of mining code and host-level behavioural monitoring based on performance counters and resource-usage telemetry. Integrated solutions that unify both paradigms while guaranteeing the integrity and survivability of digital evidence under adversarial conditions remain scarce. This paper presents a forensic-by-design framework that integrates machine-instruction opcode (MIOC) fingerprinting, lightweight machine learning (ML) and deep learning (DL) classifiers, and tamper-evident evidence preservation for endpoint systems. The framework was developed and validated using the publicly available Cryptojacking Attack Timeseries Dataset, comprising 95,312 telemetry records distilled into 58 numeric attributes. Three detectors — a random forest (RF) baseline, a convolutional neural network operating on Gramian Angular Field (GAF) fingerprints (CNN–GAF), and a hybrid CNN–LSTM sequence model — were benchmarked on a stratified 80/20 evaluation split. The CNN–LSTM hybrid achieved the highest performance (accuracy 0.996, precision 0.997, recall 0.996, F1-score 0.997, ROC-AUC 0.998), with all models exceeding 0.991 accuracy. Memory-, swap-, and process-state attributes dominated the learned feature rankings, corroborating the multi-modal footprint of covert mining. Every detection event is cryptographically anchored through SHA-256 hashing in an append-only audit log, and stress tests indicate that detection remains effective under simulated CPU-throttling and log-wiping behaviours while imposing approximately 2.3% CPU and 4.1% memory overhead. The findings demonstrate that accurate, forensic-ready cryptojacking detection is achievable with lightweight models, bridging the gap between intrusion detection and admissible digital evidence collection.














