hottub.patents
US 12,189,786 B2#3642461 Most CitedActiveUnited States (USPTO)Utility

Method and system for data flow monitoring to identify application security vulnerabilities and to detect and prevent attacks

0Forward Citations (#3642461 Global)
0.0/yrCitation Velocity (#3642461 Global)
0.00Citation PageRank (#3642461 Global)
44Prior Art Cited
8Claims (1 Indep. · 7 Dep.)
0Drawings / Sheets

Abstract

A technology to identify processing paths of untrusted input data received by applications that are vulnerable to attacks and to further detect and prevent actual attacks that try to exploit those vulnerabilities is disclosed. Application code is augmented at run-time with sensor code which detects the entry of input-data into the application and further traces the propagation, manipulation and, sanitization of this input-data until its usage in a data sink. The so generated data-flow traces reveal data-flow paths that lack required sanitization measures to neutralize potentially harmful input-data. Such data-flow paths are reported as vulnerabilities. Further, input-data that reaches data-sink interfaces is scanned by data-sink sensors to identify harmful input data. On identification of harmful input data, an attack is reported, and countermeasures are applied to prevent the identified attack.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 44 · Forward citations: 0.

Claims (8 — 1 Independent, 7 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method for identifying a security vulnerability in an application executing on a host computing device in a distributed computing environment, comprising: registering, by a source sensor, input data in a security status repository on the host computing device, where the input data is received from a source external to the host computing device and the source sensor is instrumented in a request handling method of the application; detecting, by a modification tracking sensor, the execution of a modification operation that creates modified data which contains a portion of the input data, where the modification tracking sensor is instrumented in the modification operation; logging, by the modification tracking sensor, the detected modification operation in the security status repository, where logging the modification operation includes creating an entry for the modification operation in the security status repository, where the entry includes the modified data and d

  2. Claim 2Depends on #1

    The method of claim 1 further comprises receiving, by the agent, bytecode for the application; and instrumenting, by the agent, the bytecode with at least one of the source sensor, the modification tracking sensor and the sink sensor.

  3. Claim 3Depends on #1

    The method of claim 1 wherein registering the input data further includes extracting the input data from an incoming request; determining location data for portion of the application that received the input data; and determining a source type for the incoming request; and sending a source event for the input data to the agent, where the source event for the input data includes a reference to a data object which stores the input data, the location data and the source type for the incoming request.

  4. Claim 4Depends on #3

    The method of claim 3 further comprises receiving, by the agent, the source event from the source sensor; and creating, by the agent, an entry for the input data in the security status repository, where the entry for the input data includes the reference to a data object which stores the input data.

  5. Claim 5Depends on #3

    The method of claim 3 further comprises logging, by a sanitization sensor, sanitization of the input data in the security status repository, where the logging of the sanitization is in response to execution of a data sanitization method within the application and the sanitization sensor is instrumented in the data sanitization method; wherein logging sanitization of the input data further includes capturing a data object resulting from the data sanitization method and sending a sanitization event with the sanitized data object to the agent, where the agent creates an entry for the sanitization event in the security status repository.

  6. Claim 6Depends on #5

    The method of claim 5 wherein logging a sink call made by the application further includes determining the parameter values of the sink call, determining type of sink call, and sending a sink call event to the agent, where the sink call event includes the parameter values of the sink call and the type of sink call, and the agent creates an entry for the sink call in the security status repository.

  7. Claim 7Depends on #6

    The method of claim 6 wherein logging a modification operation further includes creating modification input data which represents the data object before the modification operation; determining a reference to a modified data object resulting from the modification operation; and sending a modification event to the agent, where the modification event includes the modification input data and the reference to the modified data object, and the agent creates an entry for the modification event in the security status repository.

  8. Claim 8Depends on #7

    The method of claim 7 further comprises maintaining, by the agent, a graph that represents flow of the input data through the application using the source event, the modification event, the sanitization event, and the sink call event; and reporting the graph with the identified attack.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. patent application Ser. No. 17/481,737, filed Sep. 22, 2021; which claims the benefit of U.S. Provisional Application No. 63/084,759, filed on Sep. 29, 2020. The entire disclosure of the above application is incorporated herein by reference. FIELD The invention generally relates to the field of automatic detection and remediation of application security vulnerabilities and more specific to the usage of instrumentation of application code to trace the flow of data from entry points, via manipulation and sanitization operations to the usage of the data to perform security relevant operations. BACKGROUND Current communication technologies like the Internet and web-based application interfaces are enabling new ways of businesses in previously unknown volumes, as they eradicate location, time, and ability related limitations to access and interact with customers. All types of activities, ranging from plain shopping over management of financial assets to accessing and managing health related data may be performed via web-based applications literally from everywhere and at every time. Although this development is highly appreciated by both application customers and vendors because it increases both convenience for customers and business volume for vendors, it also causes additional risks. As already stated, web-applications provide widely accessible interfaces that may be addressed nearly from everywhere, every time. In addition, to provide convenient customer interaction, those applications typically also store large amounts of customer related data. Parts of this data may be sensitive, like data describing political or religious orientations of users, their financial or health situation. In summary, data that could be used against those users by criminal actors. The combination of relatively easy access and storage of data that can be criminally exploited makes those web-applications lucra

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (44)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Haldar V et al.:
  • “
  • Dynamic Taint Propagation for Java
  • ”
  • , Computer Security Applications Conference, 21st Annual Tuscon, AZ, USA Dec. 5-9, 2005, Piscataway, NJ, USA, IEEE, Dec. 5, 2005 (Dec. 5, 2005), pp. 303-311, XP010869948, DOI: 10.1109/CSAC.2005.21. ISBN: 978-7695- 2461-0.
  • Anton/'IN Steinhauser et al.:
  • “
  • DjangoChecker: Applying Extended Taint Tracking and Server Side Parsing for Detection of Context-Sensitive XSS Flaws
  • ”
  • , ARXIV.org, Cornell University Library, 201 Olin Library, Cornell University, Ithaca, NY 14853, May 14, 2020 (May 14, 2020), XP081673755, DOI: 10.1002/SPE.2649.