SECURE CODE CLUSTERING THROUGH LLM-BASED SEMANTIC ANALYSIS

    公开(公告)号:US20250138819A1

    公开(公告)日:2025-05-01

    申请号:US18496722

    申请日:2023-10-27

    Abstract: An approach is provided that provides a plurality of source code samples to an artificial intelligence model (AIM) trained to describe source code based on performing semantic analysis on the source code. The approach produces, using the AIM, a plurality of semantic descriptions that describe the plurality of source code samples. Then, the approach converts the plurality of semantic descriptions into a plurality of semantic embeddings. In turn, the approach creates a plurality of clusters from the plurality of semantic embeddings, wherein each one of the plurality of clusters corresponds to two or more of the plurality of source code samples.

    APPLYING DIFFUSION MODELS IN ADVERSARIAL PURIFICATION AND ADVERSARIAL SAMPLE GENERATION IN CYBERSECURITY

    公开(公告)号:US20240338445A1

    公开(公告)日:2024-10-10

    申请号:US18132340

    申请日:2023-04-07

    CPC classification number: G06F21/564 G06F21/568

    Abstract: Methods and systems for applying a diffusion model to adversarial purification and generating adversarial samples in malware detection are disclosed. According to an example, a malware file is inputted to a diffusion model to obtain an adversarial sample by altering content of the malware file. The adversarial sample is further tested by a malware detector. In some examples, the content of an input file may be encoded prior to be processed by the diffusion model. If the malware detector can identify the adversarial sample as a malware file, the diffusion model is updated to further alter the content until the adversarial sample successfully deceives the malware detector. According to another example, an executable file is purified using a diffusion model prior to be inputted to a malware detector. The diffusion model may remove potential malware content from the executable file, thus improving the performance of the malware detector.

Patent Agency Ranking