Skip to content

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

Open

Description

@AEaston99

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.

Activity

  1. nvarscar commented on Mar 27, 2023

    @nvarscar
    Collaborator

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

  2. AEaston99 commented on Mar 28, 2023

    @AEaston99
    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."

  3. nvarscar commented on Mar 28, 2023

    @nvarscar
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions