René's URL Explorer Experiment


Title: Discussion: AppLocker Startup Performance Impact Mitigations · Issue #11074 · PowerShell/PowerShell · GitHub

Open Graph Title: Discussion: AppLocker Startup Performance Impact Mitigations · Issue #11074 · PowerShell/PowerShell

X Title: Discussion: AppLocker Startup Performance Impact Mitigations · Issue #11074 · PowerShell/PowerShell

Description: Background #10983 AppLocker doesn't have an API to see if it is on or not, so we have to call it every startup which causes significant delays. In the cited case, the system was air gapped, and this lead to a 9-14 second delay in my test...

Open Graph Description: Background #10983 AppLocker doesn't have an API to see if it is on or not, so we have to call it every startup which causes significant delays. In the cited case, the system was air gapped, and thi...

X Description: Background #10983 AppLocker doesn't have an API to see if it is on or not, so we have to call it every startup which causes significant delays. In the cited case, the system was air gapped, and...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/11074

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Discussion: AppLocker Startup Performance Impact Mitigations","articleBody":"## Background\r\n\r\nhttps://github.com/PowerShell/PowerShell/issues/10983\r\n\r\nAppLocker doesn't have an API to see if it is on or not, so we have to call it every startup which causes significant delays.\r\nIn the cited case, the system was air gapped, and this lead to a 9-14 second delay in my testing.\r\n\r\n## Possibile Mitigations\r\n\r\n1. Add a PowerShell policy that is required to be enable, before PowerShell checks AppLocked\r\n   * We would not back port this to Windows PowerShell to avoid breaking that large user-base.\r\n   * I propose that this would only happen in vNext and not be back-ported to any PowerShell Core version either.\r\n   * Add telemetry to see how many people are using this\r\n   * Pros\r\n     * This would solve the lack of API in AppLocker to see if AppLocker in enabled.\r\n        Only, system that explicitly say they want PowerShell to use AppLocker would see any significant delay.\r\n     * We can measure the problem this way with telemetry\r\n   * Cons\r\n     * This would be a breaking change and AppLocker user would have to know they need to do this.\r\n2. Add a message when we see more that a 10 second delay in the API, that points to a document, for troubleshooting.\r\n   * Pros:\r\n     * This would not be a breaking change\r\n   * Cons:\r\n     * This does not improve the actual performance, only tells users how to improve performance in the **worst** case.\r\n     * Because the problem occurs in air gapped system, this solution does not help provide telemetry\r\n3. Remove AppLocker support\r\n   * AppLocker is a Defense in Depth feature which has numerous bypasses and users should move to WDAC.\r\n   * Pros:\r\n     * Completely solves the problem\r\n     * Simplifies the code base\r\n   * Cons\r\n     * This would be a **big** breaking and change and AppLocker users would need to learn to use WDAC.  \r\n\r\n## Poll\r\nPlease vote for the solution that you think works the best\r\n[![](https://api.gh-polls.com/poll/01DSRHK80E3RPYH722N7V09GP9/Add%20a%20PowerShell%20policy%20that%20is%20required%20to%20be%20enable...)](https://api.gh-polls.com/poll/01DSRHK80E3RPYH722N7V09GP9/Add%20a%20PowerShell%20policy%20that%20is%20required%20to%20be%20enable.../vote)\r\n[![](https://api.gh-polls.com/poll/01DSRHK80E3RPYH722N7V09GP9/Add%20a%20message%20when%20we%20see%20more%20that%20a%2010%20second%20delay...)](https://api.gh-polls.com/poll/01DSRHK80E3RPYH722N7V09GP9/Add%20a%20message%20when%20we%20see%20more%20that%20a%2010%20second%20delay.../vote)\r\n[![](https://api.gh-polls.com/poll/01DSRHK80E3RPYH722N7V09GP9/Remove%20AppLocker%20Support)](https://api.gh-polls.com/poll/01DSRHK80E3RPYH722N7V09GP9/Remove%20AppLocker%20Support/vote)\r\n\r\n## Other solutions\r\n\r\n1. Checking for internet connectivity and disable AppLocker\r\n   * This is basically the what the Windows Certificate verification code is doing and we would be duplicating their code.\r\n   * That is a very complex solution. We don't know what host they will want to connect to and there could be a firewall with access rules that allow Microsoft hosts, but not the host where your CRL is hosted.\r\n   * This could introduce a **very** easy security bypass if we cache the result\r\n\r\n","author":{"url":"https://github.com/TravisEz13","@type":"Person","name":"TravisEz13"},"datePublished":"2019-11-14T19:36:02Z","url":"https://github.com/PowerShell/PowerShell/issues/11074"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:afa763d5-d7f4-5fc2-9fcc-c1435a1075c2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA558:1F9263:5F29F:7EDF3:6AFD08A6
html-safe-nonceedd3540d4580e4bb29e01849bf1250ddacf93d20d48b0fd8ae57540be3ce21ab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTU4OjFGOTI2Mzo1RjI5Rjo3RURGMzo2QUZEMDhBNiIsInZpc2l0b3JfaWQiOiI2MzAzOTA3MTUwNjQwNzc3MzgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdb57cd781de5979fc59ab137ed09251a1bb2e2622653bc903b98a7d08f6a484f
hovercard-subject-tagissue:523061745
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/11074/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6d5a4570c82aa7f1c36f37f9d94cfd2ce87ac3fb2794e87c04cb657a39649e7c/PowerShell/PowerShell/issues/11074
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6d5a4570c82aa7f1c36f37f9d94cfd2ce87ac3fb2794e87c04cb657a39649e7c/PowerShell/PowerShell/issues/11074
og:image:altBackground #10983 AppLocker doesn't have an API to see if it is on or not, so we have to call it every startup which causes significant delays. In the cited case, the system was air gapped, and thi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTravisEz13
hostnamegithub.com
expected-hostnamegithub.com
Noneb29de2abb97b6307b16270785efeb58b51a117d5a9b659acf00b77aa00e7043b
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c9e619def6d670dc18a45d3b02cea938c1c7e47
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/11074#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F11074
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F11074
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/11074
Reloadhttps://github.com/PowerShell/PowerShell/issues/11074
Reloadhttps://github.com/PowerShell/PowerShell/issues/11074
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests364 (364)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/11074
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/11074
Discussion: AppLocker Startup Performance Impact Mitigationshttps://github.com/PowerShell/PowerShell/issues/11074#top
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
WG-Engine-Performancecore PowerShell engine, interpreter, and runtime performancehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine-Performance%22
https://github.com/TravisEz13
Travis Plunk (TravisEz13)https://github.com/TravisEz13
on Nov 14, 2019https://github.com/PowerShell/PowerShell/issues/11074#issue-523061745
#10983https://github.com/PowerShell/PowerShell/issues/10983
https://api.gh-polls.com/poll/01DSRHK80E3RPYH722N7V09GP9/Add%20a%20PowerShell%20policy%20that%20is%20required%20to%20be%20enable.../vote
https://api.gh-polls.com/poll/01DSRHK80E3RPYH722N7V09GP9/Add%20a%20message%20when%20we%20see%20more%20that%20a%2010%20second%20delay.../vote
https://api.gh-polls.com/poll/01DSRHK80E3RPYH722N7V09GP9/Remove%20AppLocker%20Support/vote
Travis Plunk (TravisEz13)https://github.com/TravisEz13
vNext-Considerhttps://github.com/PowerShell/PowerShell/milestone/73
on Nov 14, 2019https://github.com/PowerShell/PowerShell/issues/11074#event-2800330180
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
WG-Engine-Performancecore PowerShell engine, interpreter, and runtime performancehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine-Performance%22
on Nov 14, 2019https://github.com/PowerShell/PowerShell/issues/11074#event-2800972993
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Nov 14, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554139505
https://github.com/TravisEz13
Travis Plunk (TravisEz13)https://github.com/TravisEz13
on Nov 14, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554140253
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Nov 15, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554161658
Travis Plunk (@TravisEz13)https://github.com/TravisEz13
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Nov 15, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554246239
Double check cdxml modules in Safer API #10309https://github.com/PowerShell/PowerShell/issues/10309
https://github.com/TravisEz13
Travis Plunk (TravisEz13)https://github.com/TravisEz13
on Nov 15, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554483173
https://github.com/TravisEz13
Travis Plunk (TravisEz13)https://github.com/TravisEz13
on Nov 15, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554483512
https://github.com/TravisEz13
Travis Plunk (TravisEz13)https://github.com/TravisEz13
on Nov 15, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554483988
https://github.com/TravisEz13
Travis Plunk (TravisEz13)https://github.com/TravisEz13
on Nov 15, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554484239
https://github.com/TravisEz13
Travis Plunk (TravisEz13)https://github.com/TravisEz13
on Nov 15, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554484608
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Nov 15, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554503568
https://github.com/TravisEz13
Travis Plunk (TravisEz13)https://github.com/TravisEz13
on Nov 15, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554508788
https://github.com/dragonwolf83
Troy Campbell (dragonwolf83)https://github.com/dragonwolf83
on Nov 15, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554527450
https://github.com/TravisEz13
Travis Plunk (TravisEz13)https://github.com/TravisEz13
on Nov 15, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554546944
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Nov 16, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554625016
https://github.com/TravisEz13
Travis Plunk (TravisEz13)https://github.com/TravisEz13
on Nov 16, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554675026
https://www.microsoft.com/en-us/msrc/windows-security-servicing-criteriahttps://www.microsoft.com/en-us/msrc/windows-security-servicing-criteria
#10983https://github.com/PowerShell/PowerShell/issues/10983
https://camo.githubusercontent.com/611e19415d628f7d91d3f9caa6760fb059393f2295009c3f0441441e99ba9c39/68747470733a2f2f632e732d6d6963726f736f66742e636f6d2f66617669636f6e2e69636f3f7632
Microsoft Security Servicing Criteria for Windowshttps://www.microsoft.com/en-us/msrc/windows-security-servicing-criteria
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Nov 28, 2019https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-559456002
https://github.com/JasonFossen
Jason Fossen (JasonFossen)https://github.com/JasonFossen
on Feb 8, 2020https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-583734193
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Feb 8, 2020https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-583756811
Jason Fossen (@JasonFossen)https://github.com/JasonFossen
https://github.com/TravisEz13
Travis Plunk (TravisEz13)https://github.com/TravisEz13
on Feb 10, 2020https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-584374669
Jason Fossen (@JasonFossen)https://github.com/JasonFossen
Ilya (@iSazonov)https://github.com/iSazonov
https://www.microsoft.com/en-us/msrc/windows-security-servicing-criteriahttps://www.microsoft.com/en-us/msrc/windows-security-servicing-criteria
#11074 (comment)https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-554675026
https://user-images.githubusercontent.com/10873629/74193166-bdbf3f00-4c0b-11ea-8443-3705f54f6e8d.png
https://camo.githubusercontent.com/611e19415d628f7d91d3f9caa6760fb059393f2295009c3f0441441e99ba9c39/68747470733a2f2f632e732d6d6963726f736f66742e636f6d2f66617669636f6e2e69636f3f7632
Microsoft Security Servicing Criteria for Windowshttps://www.microsoft.com/en-us/msrc/windows-security-servicing-criteria
Travis Plunk (TravisEz13)https://github.com/TravisEz13
7.1-Considerhttps://github.com/PowerShell/PowerShell/milestone/73
Futurehttps://github.com/PowerShell/PowerShell/milestone/48
on Aug 20, 2020https://github.com/PowerShell/PowerShell/issues/11074#event-3676642253
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-1813778648
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-1813778650
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/11074#event-10975551782
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/11074#issuecomment-1824323022
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Futurehttps://github.com/PowerShell/PowerShell/milestone/48
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/11074#event-11046890692
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/11074#event-11046890755
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/11074
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/11074
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
WG-Engine-Performancecore PowerShell engine, interpreter, and runtime performancehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine-Performance%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.