hottub.patents
US 12,430,436 B2#3432505 Most CitedActiveUnited States (USPTO)Utility

Detecting anomalous loading of dynamic-link libraries

0Forward Citations (#3432505 Global)
0.0/yrCitation Velocity (#3432505 Global)
0.00Citation PageRank (#3432505 Global)
16Prior Art Cited
16Claims (3 Indep. · 13 Dep.)
6Drawings / Sheets

Abstract

Anomalous loading of a dynamic-link library (DLL) is detected on a desktop computer. When the file of the DLL is not a known normal file, the locality sensitive (LSH) values of files of known versions of a known normal DLL that corresponds to the DLL are obtained from an LSH repository and compared to the LSH value of the file of the DLL. The smallest distance between the LSH value of the file of the DLL and each of the LSH values from the repository is selected for comparison to a risk threshold. The Loading of the DLL is detected to be an anomaly when the smallest distance is not less than the risk threshold.

Interactive Citation Constellation Global Citation Ranking

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

Claims (16 — 3 Independent, 13 Dependent)

  1. Claim 1Independent Claim

    A method of detecting an anomalous loading of a dynamic-link library (DLL), the method comprising: detecting loading of a DLL by an application program on a desktop computer; determining if a file of the DLL is a known normal file; in response to the file of the DLL is not a known normal file, calculating a locality sensitive hash (LSH) value of the file of the DLL; retrieving a plurality of centroids of a known normal DLL that corresponds to the DLL, each centroid of the plurality of centroids is representative of a cluster of a plurality of clusters, each of the plurality of clusters comprising LSH values of files of a known version of the known normal DLL; calculating a distance between the LSH value of the file of the DLL and each of the plurality of centroids to generate a plurality of distances; selecting a smallest distance among the plurality of distances; comparing the smallest distance to a first risk threshold; and detecting that the loading of the DLL is an anomaly in response to the smallest distance is not less than the first risk threshold.

  2. Claim 2Depends on #1

    The method of claim 1, further comprising: raising an alert in response to detecting that the loading of the DLL is an anomaly.

  3. Claim 3Depends on #2

    The method of claim 2, wherein raising the alert includes sending a notification to a user of the desktop computer or an administrator of an enterprise computer network that includes the desktop computer.

  4. Claim 4Depends on #1

    The method of claim 1, further comprising: comparing the smallest distance to a second risk threshold that is greater than the first risk threshold; and raising an alert that the loading of the DLL is a low risk anomaly in response to the smallest distance is not less than the first risk threshold but is less than the second risk threshold.

  5. Claim 5Depends on #1

    The method of claim 1, further comprising: comparing the smallest distance to a second risk threshold that is greater than the first risk threshold; in response to the smallest distance is not less than the second risk threshold, comparing the smallest distance to a third risk threshold that is greater than the second risk threshold; and raising an alert that the loading of the DLL is a medium risk anomaly in response to the smallest distance is less than the third risk threshold.

  6. Claim 6Depends on #1

    The method of claim 1, further comprising: comparing the smallest distance to a second risk threshold that is greater than the first risk threshold; in response to the smallest distance is not less than the second risk threshold, comparing the smallest distance to a third risk threshold that is greater than the second risk threshold; and raising an alert that the loading of the DLL is a high risk anomaly in response to the smallest distance is not less than the third risk threshold.

  7. Claim 7Depends on #1

    The method of claim 1, wherein each of the plurality of centroids and the LSH value of the file of the DLL is a TLSH value.

  8. Claim 8Independent Claim

    A system for detecting anomalous loading of a dynamic-link library (DLL) on a desktop computer, the system comprising: a desktop computer comprising at least one processor and a memory, the memory of the desktop computer storing instructions that when executed by the at least one processor of the desktop computer cause the desktop computer to: detect loading of a DLL by an application program; determine if a file of the DLL is a known normal file; calculate a locality sensitive hash (LSH) value of the file of the DLL; and in response to the file of the DLL is not a known normal file, provide the LSH value and a filename of the file of the DLL to a backend system; and the backend system comprising at least one processor and a memory, the memory of the backend system storing instructions that when executed by the at least one processor of the backend system cause the backend system to: retrieve a plurality of centroids of a known normal DLL having a file that has a same filename as the file of the DLL, each centroid of the plurality of centroids is representative of a cluster of a plurality of clusters, each of the plurality of clusters comprising LSH values of files of a known version of the known normal DLL; calculate a distance between the LSH value of the file of the DLL and each of the plurality of centroids to generate a plurality of distances; select a smallest distance among the plurality of distances; compare the smallest distance to a risk threshold, and detect that the loading of the DLL is an anomaly in response to the smallest distance is not less than the risk threshold.

  9. Claim 9Depends on #8

    The system of claim 8, wherein the instructions stored in the memory of the backend system, when executed by the at least one processor of the backend system, cause the backend system to raise an alert in response to detecting that the loading of the DLL is an anomaly.

  10. Claim 10Depends on #8

    The system of claim 8, wherein the instructions stored in the memory of the backend system, when executed by the at least one processor of the backend system, cause the backend system to raise an alert by sending a notification to a user of the desktop computer or an administrator of an enterprise computer network that includes the desktop computer.

  11. Claim 11Depends on #8

    The system of claim 8, wherein each of the plurality of centroids and the LSH value of the file of the DLL is a TLSH value.

  12. Claim 12Depends on #8

    The system of claim 8, further comprising a goodware collection system that determines whether the file of the DLL is a known normal file.

  13. Claim 13Independent Claim

    A method of detecting an anomalous loading of a dynamic-link library (DLL), the method comprising: detecting loading of a DLL by an application program on a desktop computer; calculating a locality sensitive hash (LSH) value of the file of the DLL; receiving a plurality of centroids of a known normal DLL, each centroid of the plurality of centroids is representative of a cluster of a plurality of clusters, each of the plurality of clusters comprising LSH values of files of a known version of the known normal DLL; generating a plurality of distances by calculating a distance between the LSH value of the file of the DLL and each of the plurality of centroids; selecting a smallest distance among the plurality of distances; comparing the smallest distance to a risk threshold; and detecting that the loading of the DLL is an anomaly in response to the smallest distance is not less than the risk threshold.

  14. Claim 14Depends on #13

    The method of claim 13, further comprising: raising an alert in response to detecting that the loading of the DLL is an anomaly.

  15. Claim 15Depends on #14

    The method of claim 14, wherein raising the alert includes sending a notification to a user of the desktop computer or an administrator of an enterprise computer network that includes the desktop computer.

  16. Claim 16Depends on #13

    The method of claim 13, wherein each of the plurality of centroids and the LSH value of the file of the DLL is a TLSH value.

Technical Overview & Description

TECHNICAL FIELD The present disclosure is directed to cybersecurity. BACKGROUND A Windows-based system is a desktop computer that runs the MICROSOFT WINDOWS operating system. Although, there are different versions of the MICROSOFT WINDOWS operating system, these versions share common features to maintain compatibility. The MICROSOFT WINDOWS operating system is currently the most popular desktop operating system in the world and is thus the target of numerous cyberattacks. A dynamic-link library (DLL) is a module that contains functions or data that can be called by another module, such as an application program or another DLL. A DLL is not directly executed, but is instead loaded by an application program. The MICROSOFT WINDOWS operating system searches for DLLs to be loaded in a particular order, which is exploited by some malware to load a malicious DLL by an attack technique referred to as “ DLL side-loading ” . Examples of malware that perform DLL side-loading include qakbot, icedid, bumbleloader, and blackcat. Conventional solutions against DLL side-loading are reactive (as opposed to proactive) and/or may not be effective in detecting DLL side-loading. For example, behavior monitoring detects malware based on process sequence or application programming interface (API) invocations. Behavior monitoring is an ineffective or reactive solution against DLL side-loading because the application program that loads the malicious DLL is typically legitimate and executes normally. Malicious DLLs may be detected by file signature matching. This is a reactive solution in that there are numerous DLL export-dependent application programs, and any one of those DLLs may be modified to perform DLL side-loading. Machine learning techniques may be employed to detect malicious DLLs based on file features. This solution is applicable to malicious DLLs that are heavily modified versions of legitimate DLLs, but will be ineffective if the modification to the legitimate DLL is minimal.

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.

Non-Patent Literature (10)

  • “
  • Difference Between AEGIS (Behavior Monitoring) and Data Loss Prevention SDK in OfficeScan
  • ”
  • , Trend Micro, Downloaded Jan. 16, 2024, https://success.trendmicro.com/dcx/s/solution/1095461-difference-between-aegis-behavior-monitoring-and-data-loss-prevention-sdk-in-officescan?language=en_US
  • &
  • lan%E2%80%A6=.
  • Matt Weiner,
  • “
  • DLL Side-Loading: How to Combat Threat Actor Evasion Techniques
  • ”