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

Import-module dbops is being blocked by security software. #160

Open
AEaston99 opened this issue Mar 27, 2023 · 3 comments
Open

Import-module dbops is being blocked by security software. #160

AEaston99 opened this issue Mar 27, 2023 · 3 comments

Comments

@AEaston99
Copy link

Hello,

I was at SQLbits last week where they mentioned this as a good solution to what I need.

I plan on running this in a Dev-ops Pipeline. But I want to test on my machine.

However, My companies security software is blocking is as malware.
I have reached out to our security team and they have confirmed it.

Obviously, this is false. However, what within the function could be causing this? So that I can justify an exception in the system.
Additionally if you could provide a way around it.

@nvarscar
Copy link
Collaborator

Possibly related to dataplat/dbatools#8241
Which AV software is causing this? What is the error that you see?

@AEaston99
Copy link
Author

It was carbon black that was blocking it.
I recived this as the best error for now...

"The application pwsh.exe ran a script ....\Documents\PowerShell\Modules\PSFramework\1.7.270\PSFramework.psm1 that contains suspicious obfuscation techniques. This script contains highly suspicious obfuscated PowerShell code. A Deny policy action was applied."

@nvarscar
Copy link
Collaborator

Thanks for providing the details! Carbon Black seems to have an issue with the dependency module PSFramework. Here's a relevant issue to track: PowershellFrameworkCollective/psframework#517

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants