ShieldScan: An Intelligent PHP-Based Malware and Web Shell Scanner Using Tokenizer-Aware Signature Matching and Entropy Analysis
PHP powers a large share of websites, which makes it a frequent target for attackers who, after exploiting a vulnerable plugin, a weak credential or an insecure upload form, leave behind backdoors known as web shells. Plain keyword searches are slow, noisy and easily evaded by encoding, and they give the administrator no way to act on a finding. This paper presents ShieldScan, a browser-based scanner written in PHP that combines several detection layers in one pipeline: known web shell file names, comment removal with the PHP tokenizer to reduce false positives, behavioural regular-expression rules, string signatures, detection of PHP hidden in non-PHP files, and Shannon entropy analysis for packed code. Each finding receives a severity (HIGH or MEDIUM) and an attack vector. Results are streamed live using Server-Sent Events, summarised in analytics charts, and can be acted on through quarantine, restore, delete and whitelist operations.
Authors
- Nidhi Ghurye
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24786571
- Primary Topic
- Web Application Security Vulnerabilities
- Type
- preprint