Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powershell constrained language mode and ORCA's output folder #262

Open
zxcvxzcv-johndoe opened this issue Sep 13, 2023 · 2 comments
Open
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@zxcvxzcv-johndoe
Copy link

zxcvxzcv-johndoe commented Sep 13, 2023

Hello,

It seems that at least ExchangeOnlineManagement's 3.3 version doesn't work with Powershell's Constrained Language mode which gets enabled by Applocker on non-admin accounts for security reasons.

So when I bypass that by running Powershell as Admin, I can load ExchangeOnlineManagement normally and then run ORCA but ORCA outputs the HTML file to "C:\Users\local.admin\AppData\Local\Microsoft\ORCA" folder instead somewhere where my normal account can access to, and when Edge opens the file automatically it naturally says "cannot find the file" etc.

Naturally I can copy/paste from that Run as Admin Powershell session the files to somewhere else but it would be nice if I could choose the output folder somehow.

And also how do the other people use ORCA? I cannot be only one using Applocker and not having local admin rights on my daily account on my machine :)

Also, regarding the instructions to run ORCA, after I connect to ExchangeOnline I had to also run "Connect-IPPSSession" for the "Get-ProtectionAlert" cmdlet to load. I got error in ORCA because of that first time.

Thanks,

@dstreefkerk
Copy link

Good suggestion.

I cannot be only one using Applocker and not having local admin rights on my daily account on my machine :)

Take it from someone who used to work in IT and implemented AppLocker at several different organizations, and now works as a cyber security consultant - you're a rare breed.

@cammurray
Copy link
Owner

Great suggestion, will include it in the 2.9 release.

@cammurray cammurray added this to the 2.9 milestone Feb 21, 2024
@cammurray cammurray self-assigned this Feb 21, 2024
@cammurray cammurray added the enhancement New feature or request label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants