Title: Allow disabling the usage of PSScriptPolicyTest · Issue #24217 · PowerShell/PowerShell · GitHub
Open Graph Title: Allow disabling the usage of PSScriptPolicyTest · Issue #24217 · PowerShell/PowerShell
X Title: Allow disabling the usage of PSScriptPolicyTest · Issue #24217 · PowerShell/PowerShell
Description: Summary of the new feature / enhancement Currently, powershell will attempt a script policy test by writing a powershell file named __PSScriptPolicyTest_(randomjunk).ps1 and fill it with a fixed string + timestamp. The stated purpose is ...
Open Graph Description: Summary of the new feature / enhancement Currently, powershell will attempt a script policy test by writing a powershell file named __PSScriptPolicyTest_(randomjunk).ps1 and fill it with a fixed st...
X Description: Summary of the new feature / enhancement Currently, powershell will attempt a script policy test by writing a powershell file named __PSScriptPolicyTest_(randomjunk).ps1 and fill it with a fixed st...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/24217
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow disabling the usage of PSScriptPolicyTest","articleBody":"### Summary of the new feature / enhancement\r\n\r\nCurrently, powershell will attempt a script policy test by writing a powershell file named `__PSScriptPolicyTest_(randomjunk).ps1` and fill it with a fixed string + timestamp. The stated purpose is to test for the presence of Windows AppLocker, but it's unwittingly running afoul of other third party app-locker-like solutions with similar but different behavior. The behavior difference here is some solutions like to inform the users a script was blocked, sometimes with a prompt to escalate to IT. \r\n\r\nNormally the answer is to whitelist trusted files by hash, but the changing content of the file prevents this. And whitelisting by name is insecure.\r\n\r\nThis is essentially nuisance behavior that could be solved if a group policy was present to disable the use of the PSScriptPolicyTest test or even a group policy to make the contents of the generated file fully static such that the file hash can be trusted in third party security solutions. \r\n\r\n### Proposed technical implementation details (optional)\r\n\r\n_No response_","author":{"url":"https://github.com/mroszkobt","@type":"Person","name":"mroszkobt"},"datePublished":"2024-08-27T18:24:52Z","url":"https://github.com/PowerShell/PowerShell/issues/24217"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fa69bd6f-1e29-a2ba-57ce-eec5179c5d34 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B918:192C4A:112833:170D56:6AFD0E66 |
| html-safe-nonce | e0251a8d43ab52b482ce9001c3b5ad883f9dee11b6ca83d510d9f51db0aec7f0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTE4OjE5MkM0QToxMTI4MzM6MTcwRDU2OjZBRkQwRTY2IiwidmlzaXRvcl9pZCI6IjkyNTg1NzUyOTAzODk2NjM3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 280dd944126e0635e223b56bdc779d5553b36deb61c01cb75dbf6c9bf40575f1 |
| hovercard-subject-tag | issue:2490059241 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/24217/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a3fd26b35ddf81e01bcdf98d8973d21f5edc68c1f46ecab95a3060baf7d4a83c/PowerShell/PowerShell/issues/24217 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a3fd26b35ddf81e01bcdf98d8973d21f5edc68c1f46ecab95a3060baf7d4a83c/PowerShell/PowerShell/issues/24217 |
| og:image:alt | Summary of the new feature / enhancement Currently, powershell will attempt a script policy test by writing a powershell file named __PSScriptPolicyTest_(randomjunk).ps1 and fill it with a fixed st... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mroszkobt |
| hostname | github.com |
| expected-hostname | github.com |
| None | b29de2abb97b6307b16270785efeb58b51a117d5a9b659acf00b77aa00e7043b |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c9e619def6d670dc18a45d3b02cea938c1c7e47 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width