{"id":5145,"date":"2025-07-06T10:03:26","date_gmt":"2025-07-06T10:03:26","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2025\/07\/06\/writable-file-in-lenovos-windows-directory-enables-a-stealthy-applocker-bypass\/"},"modified":"2025-07-06T10:03:26","modified_gmt":"2025-07-06T10:03:26","slug":"writable-file-in-lenovos-windows-directory-enables-a-stealthy-applocker-bypass","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2025\/07\/06\/writable-file-in-lenovos-windows-directory-enables-a-stealthy-applocker-bypass\/","title":{"rendered":"Writable File in Lenovo\u2019s Windows Directory Enables a Stealthy AppLocker Bypass"},"content":{"rendered":"<p>    Writable File in Lenovo\u2019s Windows Directory Enables a Stealthy AppLocker Bypass<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>A significant security vulnerability has been discovered in Lenovo\u2019s preloaded Windows operating systems, where a writable file in the Windows directory enables attackers to bypass Microsoft\u2019s AppLocker security framework.\u00a0<\/p>\n<p>The issue affects all variants of Lenovo machines running default Windows installations and poses serious implications for enterprise security environments.<\/p>\n<p>The vulnerability centers around the MFGSTAT.zip file located in the C:Windows directory, which possesses incorrect file permissions allowing any authenticated user to write to and execute content from this location.\u00a0<\/p>\n<pre class=\"wp-block-preformatted\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">Key Takeaways<\/mark><\/strong><br>1. Writable MFGSTAT.zip file in Lenovo's <a href=\"https:\/\/cybersecuritynews.com\/windows-server-2025-restart-bug\/\" target=\"_blank\" rel=\"noreferrer noopener\">Windows directory<\/a> bypasses AppLocker security due to incorrect permissions.<br>2. Uses Alternate Data Streams to hide executables in the zip file, then runs them via legitimate Windows processes.<br>3.\u00a0Affects all Lenovo machines with preloaded Windows, discovered in 2019 but still present in 2025.<br>4. Delete the file using PowerShell command or enterprise management tools - no patch available.<\/pre>\n<p>This configuration creates a critical security gap in environments where AppLocker default rules are deployed, as these rules typically allow execution from any location within the Windows folder structure.<\/p>\n<h2 class=\"wp-block-heading\"><strong>Exploitation Technique Leverages Alternate Data Streams (ADS)<\/strong><\/h2>\n<p>The exploitation technique leverages Alternate Data Streams (ADS), a lesser-known <a href=\"https:\/\/cybersecuritynews.com\/cisa-warns-of-windows-ntfs-vulnerability-exploited\/\" target=\"_blank\" rel=\"noreferrer noopener\">NTFS feature<\/a> that allows attackers to hide executable content within seemingly benign files.\u00a0<\/p>\n<p>Oddvar Moe from TrustedSec demonstrated the attack by embedding the autoruns.exe utility from Microsoft Sysinternals into the vulnerable zip file using the following command sequence:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfORvWr3kpaTeTepcw9hr30kKyMdvJoI59d0cRJELvQgCMZnmeQ-tzIEJgQSF15kw6mL31Og223kbguqRbnhzlImqQ5zj3YAzWpBVtT89KavR-fiA-vyjQ2ZurIu5fC_-jHUXZB?key=aJppeTRget4B4RQ_ch-eKQ\" alt=\"\"><\/figure>\n<\/div>\n<p>Following the data stream injection, the malicious payload can be executed using the legitimate Microsoft Office application loader:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcX1nsHnideaOIqP8VK-0oa_hEfGVmw4WIGkq4kci8iEV3vxm2G0NgtPa-1XyQpcNXLMYiRLU6zGs_OxJiU5pgILId1bUrwq8TrcVzDE-0wfPD59ehBHMMkLhvxDXsfin8mLC3ggg?key=aJppeTRget4B4RQ_ch-eKQ\" alt=\"\"><\/figure>\n<\/div>\n<p>This Living Off The Land Binary (LOLBin) technique exploits trusted Windows processes to execute unauthorized code while evading traditional security monitoring systems.\u00a0<\/p>\n<p>The attack vector is particularly concerning because it utilizes legitimate system components, making detection significantly more challenging for security teams.<\/p>\n<p>The vulnerability was initially <a href=\"https:\/\/oddvar.moe\/2025\/07\/03\/applocker-bypass-on-lenovo-machines-the-curious-case-of-mfgstat-zip\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">discovered<\/a> in 2019 during routine security assessments but remained unaddressed until Moe\u2019s recent re-investigation in 2025.\u00a0<\/p>\n<p>Upon confirming the persistence of the issue across multiple Lenovo device generations, the researcher contacted Lenovo\u2019s Product Security Incident Response Team (PSIRT).<\/p>\n<p>Lenovo\u2019s response indicates they will not release a software patch; instead, they will provide remediation guidance.\u00a0<\/p>\n<h2 class=\"wp-block-heading\"><strong>Mitigation Strategies\u00a0<\/strong><\/h2>\n<p>Organizations can implement immediate remediation through several methods. The most straightforward approach involves removing the vulnerable file using PowerShell:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfqECfokd7Xeg3cCy2ykiV6Oy_LgKDhms6KS4SSwaOlpYY1SwhnmPL4s8DCu4TaVRjhALfE-J_5Ejt1V3ij_KB_Ww4kQ6K8AMUu12fczd8Q63u841yvrmt4kDzZu5Qw7fcu7Qvc9w?key=aJppeTRget4B4RQ_ch-eKQ\" alt=\"\"><\/figure>\n<\/div>\n<p>Alternatively, administrators can utilize <a href=\"https:\/\/cybersecuritynews.com\/filefix-attack\/\" target=\"_blank\" rel=\"noreferrer noopener\">Command Prompt <\/a>with the hidden file attribute flag:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXf0zZEUThYC9BuGfgi0tmcwa4-WAKRryUaxa-QPQ_cW-QQ7RcxwJvooLxNVAKvEG4ukEmBeQTqBJ8cTb29oR669D7mT7HjW-whWQkbIyQE2MVCNkGF2Vb9XEUwaVq2TlmOqwRPAow?key=aJppeTRget4B4RQ_ch-eKQ\" alt=\"\"><\/figure>\n<\/div>\n<p>Enterprise environments should leverage Group Policy Preferences, System Center Configuration Manager (SCCM), or similar management tools to ensure systematic removal across all affected systems.\u00a0<\/p>\n<p>This incident highlights the crucial importance of comprehensive filesystem auditing when implementing AppLocker deployments, as even minor oversights can create significant security vulnerabilities that bypass fundamental access controls.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 86%,rgb(169,184,195) 100%)\">Investigate live malware behavior, trace every step of an attack, and make faster, smarter security decisions -&gt; <a href=\"https:\/\/any.run\/demo?utm_source=csn&amp;utm_medium=article&amp;utm_campaign=braodo_stealer&amp;utm_content=demo_1&amp;utm_term=250625\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Try ANY.RUN now<\/strong><\/a>\u00a0<\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/writable-file-in-lenovos-windows-directory\/\">Writable File in Lenovo\u2019s Windows Directory Enables a Stealthy AppLocker Bypass<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Guru Baran<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/writable-file-in-lenovos-windows-directory\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Writable File in Lenovo\u2019s Windows Directory Enables a Stealthy AppLocker Bypass A significant security vulnerability has been discovered in Lenovo\u2019s preloaded Windows operating systems, where a writable file in the Windows directory enables attackers to bypass Microsoft\u2019s AppLocker security framework.\u00a0 The issue affects all variants of Lenovo machines running default Windows installations and poses serious [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,131,395],"tags":[130],"class_list":["post-5145","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-vulnerability","category-windows","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/5145"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=5145"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/5145\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=5145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=5145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=5145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}