[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111764":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":14,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},111764,"SignDrop","MSNightmare\u002FSignDrop","MSNightmare","Windows Common Log FileSystem Authentication 0day Local Privilege Escalation Vulnerability",null,"C",501,132,5,1,0,58,357,24,78.36,"MIT License",false,"main",true,[],"2026-11-10 23:53:17","2026-11-23 18:03:42","# SignDrop\n## Windows Common Log FileSystem Authentication 0day Local Privilege Escalation Vulnerability\n\nThis vulnerability won't affect all windows machines but I guess estimate 80% of the world's windows installations are vulnerable to this.\nTo check, you need to run the proof of concept or check your registry configuration, if it spawns a SYSTEM shell, you're vulnerable. And you're generally vulnerable if your windows installation is older than 90 days so it's safe to assume that everyone reading this is definitely vulnerable.\n\nYou might ask why, it's because it depends if the CLFS authentication mitigation is enabled or not, it's because of this : \n- https:\u002F\u002Fwindowsforum.com\u002Fnews\u002Fclfs-authentication-mitigation-in-windows-90-day-learn-mode-for-log-files.396323\u002F\n- https:\u002F\u002Fsupport.microsoft.com\u002Fen-us\u002Fservicing\u002Fos\u002Fwindows\u002F2025\u002F03\u002Fcommon-log-file-system-clfs-authentication-mitigation\n\nFrom Microsoft :\n> Currently, the adoption period lasts for 90 days, starting from the time in which the system was first started with this version of CLFS. After this 90-day adoption period has lapsed, the driver will automatically transition into enforcement mode on its next start, after which CLFS will expect all logfiles to contain valid authentication codes. Note that this 90-day value may change in the future.\n\n\nSince October 28, 2025, Microsoft released the CLFS authentication mitigation in the official release channel to curb the exploitation of CLFS vulnerabilities since CLFS was an easy target to exploit since it parsed complex log files in kernel mode. So if anything goes wrong, it's a memory corruption that can be exploited to gain elevated privileges.\nAfter the mitigation was implemented, there was a sharp decline in publicly exploited CLFS vulnerabilities since it no longer represented a massive attack surface but the mitigation introduced a new vulnerability that I'm calling \"SignDrop\"\n\nThe specific flaw exist in clfs.sys in the way how it handle the creation of the authentication file \".cnpf\", when creating a new log file by accessing the exposed device in \\CLFS\n\u003Cimg width=\"786\" height=\"593\" alt=\"clfs_device\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F589e57c9-2a68-44ed-aa2d-a6877a5d82e9\" \u002F>\n\nThe driver will create a log file for you with \".blf\" extension, you can also create log files associated with the initial log by calling [AddLogContainer](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fwindows\u002Fwin32\u002Fapi\u002Fclfsw32\u002Fnf-clfsw32-addlogcontainer), you can specify the path of the new log, this new log will also be signed with another authentication file ending with C:\\Controlled\\Path.cnpf. Till this point, nothing is done wrong by CLFS as it properly enforce access checking by specifying OBJ_FORCE_ACCESS_CHECK so the new objects are created under the calling process context.\n\nIn CclfsContainer::Create routine, the following can be found,\n\u003Cimg width=\"903\" height=\"859\" alt=\"clfs_device2\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F092ee44b-f1d3-4e83-8efb-83595abef57b\" \u002F>\n\nThis code is responsible for creating\u002Fopening the container files and the authentication files as well, the interesting part is, if you associate a log file with the original container, the associated container will always be opened as well if the original \".blf\" container is opened. I found an interesting behavior in CLFS, if the newly associated container file is empty then CLFS will attempt to sign the file regardless if the signature file exists or not which is interesting...\nAgain till now, the implementation is fine because everything is done under the calling process context so nothing can go wrong, right ?\n\nThe problem can arise if **the calling process changes, since opening a log file does not require any special flags to be specified in the NtCreateFile**, it just need to specify the right path, by example \"\\CLFS\\??\\C:\\test\\t\" will open \"t.blf\" and the log file will be opened, in this specific case, if the file specifies an associated log file then the associated file will be opened as well.\nIn this case, we can coerce any privileged process to open the log file after it was setup as a standard user, in this case Windows Defender is coerced to open the container files by calling **ServerMpUpdateEngineSignature**, by manipulating object manager symbolic links, you can trick Windows Defender to open the CLFS container in the context of the antimalware engine and it will use the file path specified in the original container to open the associated container and if the signature file is absent then it will be created.\nSince the calling process is privileged, the authentication file will be created as SYSTEM... And what makes it worst is the fact that CLFS will always create the new authentication file with the original file DACL\n\u003Cimg width=\"938\" height=\"883\" alt=\"clfs_device3\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Ff294c46f-8d3d-42b0-a2b3-94100b4393d7\" \u002F>\n\nIf everything is chained correctly, funnily this legit security mitigation can be used against itself and allow an elevation if privileges. Everything is done properly by Microsoft here but the logic allows abuse.\nWhat makes it funnier is the fact that it can be used against any antimalware engine to bypass their self defense (or tamper protection) mechanism as you can trigger arbitrary file creation in the context of **their own antimalware process so from the perspective of their kernel drivers, the file creation request is coming from their own legit process so it passes, this makes this vulnerability unique as it can be used to turn off any antivirus\u002FEDR.**\n\n\u003Cimg width=\"2180\" height=\"121\" alt=\"Untitled\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F91beb31a-5860-4c9e-98b7-ff9697c646e7\" \u002F>\n\n\nThe vulnerability has been tested in windows 11 26H2, Windows 11 26H2 Experimental, Windows Server 2025 Experimental\n\u003Cimg width=\"1634\" height=\"737\" alt=\"poc\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fa3c57b6a-849a-4549-a034-a7d7a19c2397\" \u002F>\n\nTo check if this vulnerability affects you, check your CLFS authentication mode, if it's in learning mode or enforcement mode then you're vulnerable and the PoC should spawn a SYSTEM shell.\n- Under HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\CLFS\\Authentication\\Mode\n1. If it's set to 0 or 1 then you're vulnerable.\n2. If it's set to 2 or 3 then you're not vulnerable.\n\nUnfortunately for now, disabling the mitigation will expose your machine to memory corruption vulnerabilities as CLFS still does not handle log files well, that's why the mitigation exists in the first file so for now there is no solution to this except waiting for a patch to be released by Microsoft.\nIf you have a problem with this repository, contact secure@microsoft.com with your concerns.\n","SignDrop 是一个针对 Windows Common Log File System（CLFS）认证机制缺陷的本地提权漏洞利用工具，利用 clfs.sys 驱动在创建 .cnpf 认证文件时的权限检查绕过问题，实现从普通用户到 SYSTEM 权限的提升。其核心特点是无需交互、不依赖第三方模块，仅通过合法 CLFS API（如 AddLogContainer）触发内核中未正确校验对象创建上下文的逻辑缺陷。该漏洞影响启用 CLFS 认证缓解但尚未进入强制执行期（即系统运行不足 90 天）的 Windows 安装，适用于红队渗透测试、本地权限提升验证及安全研究中的缓解机制有效性评估。",2,"2026-11-24 04:41:41","CREATED_QUERY"]