GithubHelp home page GithubHelp logo

fengjixuchui / windows-write-execute Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mortenschenk/windows-write-execute

0.0 1.0 0.0 120 KB

Find subfolders in the Windows folder which have bad ACL and allow write and execute

PowerShell 100.00%

windows-write-execute's Introduction

Windows-Write-Execute

Find subfolders in the Windows folder which have bad ACL and allow write and execute This is done using two powershell script:

  • Enum.ps1 enumerates all subfolders of the C:\Windows folder and should be run as System to allow most folders to be found. It writes the result to a file.
  • Test.ps1 Tries to copy C:\Windows\System32\calc.exe to all folders in the supplied file. Successful copies are written to a file The check for execute persmissions are manual so far, but I only found between 13 and 19 folders depending on OS and arcitecture. My results on default Windows 7 - 32 bit, Windows 8.1 - 32 bit and Windows 8.1 - 64 bit are listed below, a X indicates execute permissions:

Win8 64 bit C:\Windows\Tasks X C:\Windows\Temp X C:\Windows\tracing C:\Windows\debug\WIA X C:\Windows\Registration\CRMLog C:\Windows\System32\FxsTmp C:\Windows\System32\Tasks X C:\Windows\System32\Com\dmp C:\Windows\System32\Microsoft\Crypto\RSA\MachineKeys X C:\Windows\System32\spool\PRINTERS C:\Windows\System32\spool\SERVERS C:\Windows\System32\spool\drivers\color X C:\Windows\System32\Tasks\Microsoft\Windows\RemoteApp and Desktop Connections Update X C:\Windows\System32\Tasks\Microsoft\Windows\WCM X C:\Windows\System32\Tasks\Microsoft\Windows\PLA\System X C:\Windows\SysWOW64\FxsTmp C:\Windows\SysWOW64\Tasks X C:\Windows\SysWOW64\Com\dmp C:\Windows\SysWOW64\Tasks\Microsoft\Windows\RemoteApp and Desktop Connections Update X C:\Windows\SysWOW64\Tasks\Microsoft\Windows\WCM X C:\Windows\SysWOW64\Tasks\Microsoft\Windows\PLA\System X

Win8 32 bit C:\Windows\Tasks X C:\Windows\Temp X C:\Windows\tracing C:\Windows\debug\WIA X C:\Windows\Registration\CRMLog C:\Windows\System32\FxsTmp C:\Windows\System32\Tasks X C:\Windows\System32\Com\dmp C:\Windows\System32\Microsoft\Crypto\RSA\MachineKeys X C:\Windows\System32\spool\PRINTERS C:\Windows\System32\spool\SERVERS C:\Windows\System32\spool\drivers\color X C:\Windows\System32\Tasks\Microsoft\Windows\RemoteApp and Desktop Connections Update X C:\Windows\System32\Tasks\Microsoft\Windows\WCM X C:\Windows\System32\Tasks\Microsoft\Windows\PLA\System X

Win7 32 bit C:\Windows\Tasks X C:\Windows\Temp X C:\Windows\tracing C:\Windows\debug\WIA X C:\Windows\Registration\CRMLog C:\Windows\System32\FxsTmp C:\Windows\System32\Tasks X C:\Windows\System32\catroot2{F750E6C3-38EE-11D1-85E5-00C04FC295EE} X C:\Windows\System32\com\dmp C:\Windows\System32\spool\PRINTERS C:\Windows\System32\spool\drivers\color X C:\Windows\System32\Tasks\Microsoft\Windows\RemoteApp and Desktop Connections Update X C:\Windows\System32\Tasks\Microsoft\Windows\PLA\System X

windows-write-execute's People

Contributors

mortenschenk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.