Back to search

University of Alberta

Automated Hotfixes for Misuses of Crypto APIs

Abstract

dc:description.abstract

Cryptographic (crypto) Application Programming Interfaces (APIs) play an important role in application security; unfortunately crypto APIs are difficult to use, which may lead to security vulnerabilities. Prior work have looked at detecting and fixing crypto APIs misuses at development time and in the setting of software patching. However, software patching for security vulnerabilities is not ideal for addressing vulnerability windows in servers in a timely manner. An alternative approach to software patching is hotfixing. In this paper, we present Hotfixer, a tool that performs automatic crypto API misuse hotfixing at Java application runtime. To apply its fixes, Hotfixer automatically transforms hand-crafted software patches into hotfixes that are valid to use by Java agents. We have evaluated Hotfixer on a set of 103 microbenchmarks, and a set of 27 crypto API misuses found across 7 real- world Java applications. Hotfixer detects and fixes all misuses in 95% of all benchmarks, in an identical manner compared to applying a develop-time patch. Additionally, we have empirically validated that Hotfixer preserves identical application behaviour compared to software patching in 98% of all benchmarks. Compared to software patching, the performance overhead that Hotfixer induces for all benchmarks is at most 17%.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
Master's
Grantor
University of Alberta
Year dc:date.issued
2020

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Newbury, Kristen L
Advisor dc:contributor.advisor
  • Ali, Karim (Computing Science)

Subjects

dc:subject × 2

Rights

dc:rights
Statement dc:rights
  • Permission is hereby granted to the University of Alberta Libraries to reproduce single copies of this thesis and to lend or sell such copies for private, scholarly or scientific research purposes only. Where the thesis is converted to, or otherwise made available in digital form, the University of Alberta will advise potential users of the thesis of these terms. The author reserves all other publication and other rights in association with the copyright in the thesis and, except as herein before provided, neither the thesis nor any substantial portion thereof may be printed or otherwise reproduced in any material form whatsoever without the author's prior written permission.
Language dc:language.iso
en

Identifiers

dc:identifier.*
DOI dc:identifier.doi
https://doi.org/10.7939/r3-3th1-ng86

Chain of custody

source
Harvested from
University of Alberta
Base URL
era.library.ualberta.ca/oai
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Newbury, Kristen L. Automated Hotfixes for Misuses of Crypto APIs. Master's thesis, University of Alberta, 2020. https://doi.org/10.7939/r3-3th1-ng86