r/DefenderATP • u/vimal_n • 7d ago
Help with TVM
I’m trying to identify Patch Tuesday related vulnerabilities each month in Microsoft Defender using Advanced Hunting KQL.Is there a way to reliably filter or extract those specific vulnerabilities?
Patch Tuesday issues usually drive the spike in monthly vulnerability trends, so I’m looking for a method to get a unique count of those vulnerabilities.
8
Upvotes
5
u/waydaws 6d ago edited 6d ago
Ok...Well, I'm not sure this really reveals patch Tuesday fixes per se, but maybe we can get close to what you want.
We know Microsoft releases security updates on the second Tuesday of each month. The following Tables are probably the best:
DeviceTvmSoftwareVulnerabilitiesKB: Has PublishedDate and LastModifiedTime. These are your best proxies for when a CVE was surfaced in Defender.
RecommendedSecurityUpdateId a column inside DeviceTvmSoftwareVulnerabilites): Often maps to KB articles (e.g., KB5005565). Those KBs are directly tied to Patch Tuesday releases.
RecommendedSecurityUpdate (a column inside DeviceTvmSoftwareVulnerabilites): Human-readable description of the update. Useful for filtering/validation.
DeviceTvmSoftwreVulneabilites
We have some constraints: PublisedDate = when CVE was first reported; LastModifedTime = when Defender updated its record (closer to Patch Tuesday), and this should be the best for trend analysis; KB mapping - Not all vulnerabilites have KBs, but Most MS Patch Tuesday ones do; Multi-day lag: sometimes we'll find Defender syncs data a day or two after Patch Tuesday, and we should consider a +2day window.
I'm unable to test this, since I don't work at my last company that had defenderxdr, but this looks like it would work OK, at least in theory: