Get the newsletter
Microsoft · Security · Filed Jul 29, 2026 · USPTO published Nov 26, 2026 · This week's release

Microsoft Patents an AI Virus Checker That Explains Why a File Looks Dangerous

Most antivirus tools hand down a verdict and walk away. Microsoft's patent application has an AI model call a file safe or malicious, state how sure it is, and write out its reasoning in plain English.

Connected computers sending suspicious files across a network to servers running AI-based malware detection and explanation tools. Drawing from patent filing US 2026/0377537 A1.
Connected computers sending suspicious files across a network to servers running AI-based malware detection and explanation tools.All 6 drawings ↓
Publication number
US 2026/0377537 A1(US20260377537A1)
USPTO patent title:
AI-Based File Maliciousness Classification with an Explanation of Reasoning
Applicant
Microsoft Technology Licensing, LLC
Filed · Published
Jul 29, 2026 · Nov 26, 2026
Inventors
Li KANG, Heon Joon CHOI, Shauharda KHADKA, Ankit GARG, Jayronn Christian Sulit BUCU, Miranda Nicole MCCLELLAN, Karen LAVI, Siddharth PAVITHRAN, Niveditha SHENOY BADIADKA, Srishti AGARWAL, Tanmay Arun GANACHARYA, Geoffrey Lyall MCDONALD
Status when we published
Waiting for an examiner
Document
20 claims
US classification
726/24
Parent application
Continuation of 18/593,851 (filed Mar 1, 2024)(18593851)

What Microsoft's explain-yourself malware check does

You're at work and your security software blocks a file you need. It says "malicious," and that's all it says. Is it a real threat or a false alarm? You have no idea, and neither does the IT person you just pinged.

Microsoft's patent application tackles that blind spot. It hands the file to an AI model along with a written question: is this malicious or not, how confident are you, and why? The answer comes back as an actual explanation, such as which traits of the file pushed the decision one way or the other.

The system can then act on the verdict. A confident "malicious" call might lock the file away, while a shakier one might trigger a different, gentler response. A person can read the reasoning either way.

From the filing · CLAIM 1
cause an AI model to perform a classification of a target file in a malicious class or a non-malicious class and to provide an explanation that describes reasoning used by the AI model in choosing the malicious class or the non-malicious class and to provide an indication of a confidence in the classification …

Translation: The system tells the AI to label a file as safe or dangerous while explaining its reasoning and confidence.

How the AI is asked to judge and justify a file

The core idea is simple: ask a language model (an AI that works with ordinary written text) to do three things at once. The prompt, written in plain language, goes in together with the file, and it asks the model to pick a class (malicious or non-malicious), explain its reasoning, and state a confidence level.

The model's reply carries all three. The software shows the explanation and confidence to a person through a user interface and compares the confidence to a threshold. The filing gives example thresholds of 0.7, 0.8 or 0.85. At or above the line, the system takes one security action. Below it, it takes a different one. Example actions include cutting off access, quarantining the file in a sandbox (an isolated area where risky software can run without touching anything else), or alerting an IT professional.

The prompt can also include context about the file, such as where it was downloaded from, the command used to launch it, the program that started it, who signed it, or its publisher.

There is also a memory feature. The system stores past files with the AI's earlier verdicts and explanations. For a new file, it finds the most similar past cases by comparing numerical fingerprints of them. It then slips those cases into the prompt as worked examples. The filing says this lets the system use fresh information without retraining the model.

From the filing · THE ABSTRACT
Techniques are described herein that are capable of performing AI-based maliciousness classification with an explanation of reasoning.

Translation: These methods allow artificial intelligence to spot malware and explain why it reached that conclusion.

Why a malware verdict with reasons matters to IT teams

If you manage security at a company, a verdict you can read is far more useful than a bare red flag. The filing points to hospitals, government and manufacturing, where someone must be able to say why a file was blocked. Today that often means a human expert reviewing files by hand, which doesn't scale.

For everyone else, the likely payoff is fewer mystery blocks and quicker answers when something is flagged. The filing says the approach could cut false alarms and the time experts spend investigating. Microsoft names its own Defender product as one place such a system could live, though the patent does not say it will ship there.

Microsoft's 38th filing we've tracked in our AI guardrails race since July builds on earlier applications, including one ranking chatbot mistakes and one where AI code checks itself.

Source: US 2026/0377537 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.

Get our take in your Top Stories

Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time Microsoft patent news breaks.

There are more where this came from

We read the new patents from Big Tech, carmakers and more and send you the ones worth knowing. Plain English, free, every week.

The drawings · 6 sheets

6 drawing sheets from US 2026/0377537 A1 · click any drawing to enlarge

How user devices connect across a network to security servers, drawing sheet 1 from US 2026/0377537 A1
Sheet 1 How user devices connect across a network to security servers
Asking an AI to flag malware and explain its decision, drawing sheet 2 from US 2026/0377537 A1
Sheet 2 Asking an AI to flag malware and explain its decision
Matching suspicious files to past examples for the AI, drawing sheet 3 from US 2026/0377537 A1
Sheet 3 Matching suspicious files to past examples for the AI
Picking safe and harmful files to train the AI, drawing sheet 4 from US 2026/0377537 A1
Sheet 4 Picking safe and harmful files to train the AI
Internal software components that inspect files and generate explanations, drawing sheet 5 from US 2026/0377537 A1
Sheet 5 Internal software components that inspect files and generate explanations
Hardware parts that run the malware detection program, drawing sheet 6 from US 2026/0377537 A1
Sheet 6 Hardware parts that run the malware detection program
Patent filing page

Watchlists this filing belongs to

All watchlists →
Reader comments

No comments yet

Start the discussion

Real name or a handle, either is fine. Comments are read by a person before they appear, so allow a little time. Keep it about the filing.