← All projects

Machine Learning · Detection

Fileless PowerShell Malware Detector

Web app and CLI to train and evaluate deep-learning and classical models that detect malicious, fileless PowerShell scripts from static code, behavioural telemetry, or both. The implementation of my master's thesis.

Highlights

  • Character-level CNN, token BiLSTM with attention, Random Forest, and fusion models (CNN_Tab / BiLSTM_Tab / Hybrid)
  • Eight feature configurations incl. MITRE ATT&CK-based features, selected with Cohen's d
  • Systematic architecture comparison with a mandatory cross-system evaluation
  • High internal accuracy did not imply cross-system generalisation
  • Web interface for training, prediction and model management

The detection side of my thesis work. Models can use the static view of a script (characters, tokens, obfuscation indicators), its behavioural view (aggregated Sysmon telemetry from a sandbox run), or a fusion of both.

Training data in the expected format is produced by the companion PowerShell Sandbox Telemetry Pipeline. Together they form one reproducible workflow. The pipeline builds the dataset, and the detector trains and evaluates models on it.