Mir: Automated Quantifiable Privilege Reduction Against Dynamic Library Compromise in JavaScript

10/31/2020
by   Nikos Vasilakis, et al.
0

Third-party libraries ease the development of large-scale software systems. However, they often execute with significantly more privilege than needed to complete their task. This additional privilege is often exploited at runtime via dynamic compromise, even when these libraries are not actively malicious. Mir addresses this problem by introducing a fine-grained read-write-execute (RWX) permission model at the boundaries of libraries. Every field of an imported library is governed by a set of permissions, which developers can express when importing libraries. To enforce these permissions during program execution, Mir transforms libraries and their context to add runtime checks. As permissions can overwhelm developers, Mir's permission inference generates default permissions by analyzing how libraries are used by their consumers. Applied to 50 popular libraries, Mir's prototype for JavaScript demonstrates that the RWX permission model combines simplicity with power: it is simple enough to automatically infer 99.33 enough to defend against 16 real threats, it is efficient enough to be usable in practice (1.93 privilege reduction.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/16/2023

Intertwining Communities: Exploring Libraries that Cross Software Ecosystems

Using libraries in applications has helped developers reduce the costs o...
research
02/18/2019

Binary Debloating for Security via Demand Driven Loading

Modern software systems heavily use C/C++ based libraries. Because of th...
research
05/26/2020

Selecting third-party libraries: The practitioners' perspective

The selection of third-party libraries is an essential element of virtua...
research
09/26/2022

Too Many Options: A Survey of ABE Libraries for Developers

Attribute-based encryption (ABE) comprises a set of one-to-many encrypti...
research
03/20/2018

Generic Library Interception for Improved Performance Measurement and Insight

As applications grow in capability, they also grow in complexity. This c...
research
08/02/2018

Go-HEP: writing concurrent software with ease and Go

High Energy and Nuclear Physics (HENP) libraries are now required to be ...
research
03/07/2019

An Introduction to hpxMP -- A Modern OpenMP Implementation Leveraging Asynchronous Many-Tasking System

Asynchronous Many-task (AMT) runtime systems have gained increasing acce...

Please sign up or login with your details

Forgot password? Click here to reset