{"schema_version":1,"scope":"sélection","license":"DRL 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License","status":"experimental","disclaimer":"Experimental rule, provided without warranty: test and validate in your environment before any production use; do not block on it alone.","count":1,"rules":[{"id":"9930b76d-456c-4316-afdf-20bff9cfc37e","date":"2026-11-24","format":"yara","title":"MSBuild .targets file of the VS_Builder / HappyOne.MSBuildAnalyzer stager","description":"build/*.MsBuildAnalyzer.targets file that runs dotnet MSBuildAnalyzer.dll after every build (ExecuteInlineCSharpTarget target, ForceExecuteNonExistenFile.txt output), to hunt in the NuGet cache and in take-home test repositories.","level":"high","attack":["T1195.001","T1127.001"],"references":["https://socket.dev/blog/malicious-nuget-packages-fake-job-assessments"],"falsepositives":["copy kept by a researcher or an analysis tool"],"content":"rule TB_20261124_NuGet_MSBuildAnalyzer_targets\n{\n    meta:\n        author = \"Threat Brief (tlpclear.fr)\"\n        date = \"2026-11-24\"\n        reference = \"https://socket.dev/blog/malicious-nuget-packages-fake-job-assessments\"\n        description = \"MSBuild targets file of the VS_Builder / HappyOne.MSBuildAnalyzer NuGet stager that runs MSBuildAnalyzer.dll after every build\"\n        status = \"experimental\"\n    strings:\n        $t1 = \"ExecuteInlineCSharpTarget\" ascii wide\n        $t2 = \"ForceExecuteNonExistenFile.txt\" ascii wide\n        $t3 = \"MSBuildAnalyzer.dll\" ascii wide\n        $t4 = \"_AnalyzerLibFolder\" ascii wide\n    condition:\n        (uint8(0) == 0x3C or uint16(0) == 0xBBEF or uint16(0) == 0xFEFF) and filesize < 50KB and 3 of ($t*)\n}\n","topic":"Thirteen malicious NuGet packages posing as a WinUI 3 job assessment: code runs on every MSBuild build and stages an osk.exe side-load","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-24"}]}