Mayall: A Framework for Desktop JavaScript Auditing and Post-Exploitation Analysis
Open Access
- 17 December 2018
- journal article
- research article
- Published by MDPI AG in Informatics
- Vol. 5 (4) , 46
Abstract
Writing desktop applications in JavaScript offers developers the opportunity to create cross-platform applications with cutting-edge capabilities. However, in doing so, they are potentially submitting their code to a number of unsanctioned modifications from malicious actors. Electron is one such JavaScript application framework which facilitates this multi-platform out-the-box paradigm and is based upon the Node.js JavaScript runtime—an increasingly popular server-side technology. By bringing this technology to the client-side environment, previously unrealized risks are exposed to users due to the powerful system programming interface that Node.js exposes. In a concerted effort to highlight previously unexposed risks in these rapidly expanding frameworks, this paper presents the Mayall Framework, an extensible toolkit aimed at JavaScript security auditing and post-exploitation analysis. This paper also exposes fifteen highly popular Electron applications and demonstrates that two-thirds of applications were found to be using known vulnerable elements with high CVSS (Common Vulnerability Scoring System) scores. Moreover, this paper discloses a wide-reaching and overlooked vulnerability within the Electron Framework which is a direct byproduct of shipping the runtime unaltered with each application, allowing malicious actors to modify source code and inject covert malware inside verified and signed applications without restriction. Finally, a number of injection vectors are explored and appropriate remediations are proposed.Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- X-Secure: Protecting users from big bad wolves2016
- Context-oriented web application protection modelApplied Mathematics and Computation, 2016
- Ensuring Application Integrity: A Survey on Techniques and Tools2015
- HTML Educational Node.js System (HENS): An Applied System for Web Development2014
- Reducing Risky Security Behaviours: Utilising Affective Feedback to Educate UsersFuture Internet, 2014
- You are what you include2012
- Remedying the eval that men do2012
- The Eval That Men Do2011
- Node.js: Using JavaScript to Build High-Performance Network ProgramsIEEE Internet Computing, 2010
- Noxes2006