A Reproducible Evaluation of Rule-Based Browser Behaviour Monitoring: Distinguishing Observation, Alerting, and Execution Prevention

Authors

Ezany M. F.

Faculty of Artificial Intelligence and Cyber Security, Universiti Teknikal Malaysia Melaka, Melaka, Malaysia (Malaysia)

Brian Joe

Faculty of Artificial Intelligence and Cyber Security, Universiti Teknikal Malaysia Melaka, Melaka, Malaysia (Malaysia)

Article Information

DOI: 10.47772/IJRISS.2026.101100257

Subject Category: Computer Science

Volume/Issue: 10/11 | Page No: 3667-3681

Publication Timeline

Submitted: 2026-10-24

Accepted: 2026-10-29

Published: 2026-11-26

Abstract

Rule-based monitoring can be used to monitor JavaScript and page activity. However, an alert alone is insufficient to establish malicious intent or show that the underlying action was prevented. In this research, we evaluate a browser plugin assigning score values to each of six operational categories: dynamic evaluation, cookie read/write operations, mutation of child lists, rapid clicks, external referrer traffic, and dynamic script insertion. The main experiment contained 20 scenarios with five configurations, new browser profiles, independent task-completion oracles, and three stability runs for each scenario-configuration combination. All 231 planned experiments were performed, and all integrity checks were successful. Both detector variants raised alerts in 9 of 27 runs across nine researcher-defined benign primary scenarios, while a controlled unauthorized action sequence completed in every detector run without an alert. For the same task being permitted and prohibited, the detector information was the same for these tasks if their browser operations were the same, which means that the authorization information was not included in the detector input. The visual overlays did not stop the tested scheduled JavaScript, whereas NoScript deny mode prevented both permitted and prohibited tasks. After peer review, a second frozen experiment was run on 18 sessions on a React single-page application and cross-origin analytics workload. All tasks were completed; the analytics workload resulted in warnings in all detector runs, and neither workload generated enforcement overlay. The SPA was always completed; there were no Original warnings and only one Corrected-v1 warning, which demonstrates how repeated DOM and script manipulation could interact with timing-sensitive rules. The results confirm evaluating observation, risk classification, visual response, task completion, and functional cost as separate outcomes. These findings characterize the tested mechanisms and workloads rather than population-level malware-detection accuracy.

Keywords

browser security, JavaScript monitoring, browser extension, runtime detection, controlled evaluation

Downloads

References

1. Abdul Haddi Amjad; Zubair Shafiq; Muhammad Ali Gulzar. “Blocking JavaScript without Breaking the Web: An Empirical Investigation.” Proceedings on Privacy Enhancing Technologies, Vol. 2023, No. 3, 2023, pp. 391–404. https://doi.org/10.56553/popets-2023-0087 [Google Scholar] [Crossref]

2. Abdul Haddi Amjad; Shaoor Munir; Zubair Shafiq; Muhammad Ali Gulzar. “Blocking Tracking JavaScript at the Function Granularity.” arXiv preprint arXiv:2405.18385, 2024. https://doi.org/10.48550/arXiv.2405.18385 [Google Scholar] [Crossref]

3. Charlie Curtsinger; Benjamin Livshits; Benjamin G. Zorn; Christian Seifert. “ZOZZLE: Fast and Precise In-Browser JavaScript Malware Detection.” 20th USENIX Security Symposium, 2011. https://www.usenix.org/conference/usenix-security-11/zozzle-fast-and-precise-browser-javascript-malware-detection [Google Scholar] [Crossref]

4. Aurore Fass; Michael Backes; Ben Stock. “JStap: A Static Pre-Filter for Malicious JavaScript Detection.” 35th Annual Computer Security Applications Conference (ACSAC 2019), 2019, pp. 257–269. https://doi.org/10.1145/3359789.3359813 [Google Scholar] [Crossref]

5. Daniel Hedin; Arnar Birgisson; Luciano Bello; Andrei Sabelfeld. “JSFlow: Tracking Information Flow in JavaScript and its APIs.” Proceedings of the ACM Symposium on Applied Computing, Vol. 2, 2014, pp. 1663–1671. https://doi.org/10.1145/2554850.2554909 [Google Scholar] [Crossref]

6. Mario Heiderich; Tilman Frosch; Thorsten Holz. “IceShield: Detection and Mitigation of Malicious Websites with a Frozen DOM.” 14th International Symposium on Recent Advances in Intrusion Detection (RAID 2011), LNCS 6961, 2011, pp. 281–300. https://doi.org/10.1007/978-3-642-23644-0_15 [Google Scholar] [Crossref]

7. Jordan Jueckstock; Alexandros Kapravelos. “VisibleV8: In-browser Monitoring of JavaScript in the Wild.” Proceedings of the ACM Internet Measurement Conference (IMC 2019), 2019, pp. 393–405. https://doi.org/10.1145/3355369.3355599 [Google Scholar] [Crossref]

8. Nikolaos Pantelaios; Alexandros Kapravelos. “FV8: A Forced Execution JavaScript Engine for Detecting Evasive Techniques.” 33rd USENIX Security Symposium, 2024, pp. 3747–3764. https://www.usenix.org/conference/usenixsecurity24/presentation/pantelaios [Google Scholar] [Crossref]

9. Feargus Pendlebury; Fabio Pierazzi; Roberto Jordaney; Johannes Kinder; Lorenzo Cavallaro. “TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and Time.” 28th USENIX Security Symposium, 2019, pp. 729–746. https://www.usenix.org/conference/usenixsecurity19/presentation/pendlebury [Google Scholar] [Crossref]

10. Qinge Xie; Manoj Vignesh Kasi Murali; Paul Pearce; Frank Li. “Arcanum: Detecting and Evaluating the Privacy Risks of Browser Extensions on Web Pages and Web Content.” 33rd USENIX Security Symposium, 2024, pp. 4607–4624. https://www.usenix.org/conference/usenixsecurity24/presentation/xie-qinge [Google Scholar] [Crossref]

11. Ahsan Zafar; Junhua Su; Sohom Datta; Alexandros Kapravelos; Anupam Das. “Same Script, Different Behavior: Characterizing Divergent JavaScript Execution Across Different Device Platforms.” Proceedings of the 2025 ACM SIGSAC Conference on Computer and Communications Security, 2025, pp. 1889–1903. https://doi.org/10.1145/3719027.3765202 [Google Scholar] [Crossref]

12. Dongchao Zhou; Lingyun Ying; Huajun Chai; Dongbin Wang. “From Obfuscated to Obvious: A Comprehensive JavaScript Deobfuscation Tool for Security Analysis.” Network and Distributed System Security Symposium (NDSS 2026), 2026. https://doi.org/10.14722/ndss.2026.242198 [Google Scholar] [Crossref]

13. World Wide Web Consortium. “Content Security Policy Level 3.” W3C Working Draft, 2026. https://www.w3.org/TR/CSP3/ [Google Scholar] [Crossref]

14. World Wide Web Consortium. “Trusted Types.” W3C Working Draft, 2026. https://www.w3.org/TR/trusted-types/ [Google Scholar] [Crossref]

Metrics

Views & Downloads

Similar Articles