Web Security

Attacks and defenses in the modern web stack, from browser-based ransomware and ML-based detection to unrestricted file uploads in Node.js.

Project resources

Web Security overview

Modern browser APIs and the Node.js ecosystem give web applications capabilities that used to belong to native software. This work studies what attackers can do with those capabilities, and how to defend against them.

RøB: ransomware over modern web browsers

Using the File System Access API and WebAssembly, we built RøB, a ransomware strain that runs entirely inside the browser and encrypts files in local, cloud-synced, external, and network-shared folders. We evaluated it across operating systems and antivirus products, showed where existing defenses fall short, and proposed three complementary defenses at the browser, file system, and user levels.

RøBguard: learning to detect browser ransomware

Our ACM TWEB follow-up introduces RøBguard, a machine-learning defense that hooks the File System Access API and classifies behavior associated with browser ransomware. We evaluate its detection effectiveness and overhead against the studied attacks. This adds behavioral detection to the browser, file-system, and user-level defenses explored in the original RøB study.

Unrestricted file uploads in Node.js

We built NodeSec, a tool that generates payloads for 13 unrestricted file upload attacks and tests Node.js file upload libraries and real-world CMSs. It uncovered implementation flaws in popular libraries used by millions of applications, leading to 19 CVEs.

Our browser API analysis examines the security and privacy consequences of expanding browser capabilities. The cryptojacking survey organizes mining attacks and defenses, including browser-based mining. Our WebAssembly obfuscation study and evasive Wasm work examine how malicious code can evade detection. The AI Security project explains the related adversarial ML and vision-transformer research.

Abbas Acar
Abbas Acar
Senior Security Researcher

Senior Security Researcher at Geotab. Product, embedded, and AI/ML security.