Methods and systems for repairing applications
Abstract
In accordance with the present invention, computer implemented methods and systems are provided that allow an application to automatically recover from software failures and attacks. Using one or more sensors, failures may be detected in the application. In response to detecting the failure, the portion of the application's code that caused the failure is isolated. Using the input vectors that caused the failure, information regarding the failure (e.g., the type of failure), a core dump file (e.g., stack trace), etc., an emulator-based vaccine that repairs the failure is constructed. In response to verifying that the vaccine repaired the failure, the application is automatically updated with the emulator-based vaccine without user intervention. Application community features that efficiently use the resources available in software monoculture is also provided. An application community may be defined that includes a plurality of devices and the application's code may be divided into smaller portions of code, which are assigned to each of the plurality of devices for monitoring. Each device also notifies the other devices of the failure.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 85.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for repairing an application from software failures, wherein the application comprises code, the method comprising: detecting a failure in execution of the application by monitoring the execution of the application; in response to detecting the failure, isolating a portion of the code that caused the failure; constructing a vaccine that repairs the failure; testing the vaccine in an instrumented version of the isolated portion of code using an instruction-level emulator to verify that the vaccine repaired the failure; and in response to verifying that the vaccine repaired the failure,
- Claim 2Depends on #1
The method of claim 1 , wherein the failure is at least one of: a buffer overflow, a buffer underflow, an illegal memory access, a division by zero, a time-of-check-to-time-of-use violation, and programming errors.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 85 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (5)
- Amarasinghe, S.P. "On the Run-Building Dynamic Program Modifiers for Optimization, Introspection and Security," In Conference on Programming Language Design and Implementation (PLDI), 2002.
- Avizienis, A. "The n-version approach to fault-tolerant software," IEEE Transactions on Software Engineering, 11(12):1491-1501, 1985.
- Baratloo, A. et al., "Transparent Run-Time Defense Against Stack Smashing Attacks," In Proceedings of the USENIX Annual Technical Conference, Jun. 2000.
- Barrantes, E.G. et al., Randomized Instruction Set Emulation to Disrupt Binary Code Injection Attacks, In Proceedings of the 10th ACM CCS, pp. 281-289, Oct. 2003.
- Bhatkar, B. et al., "Address Obfuscation: an Efficient Approach to Combat a Broad Range of Memory Error Exploits," In Proceedings of the 12th USENIX Security Symposium, pp. 105-120, Aug. 2003.