Giter Club home page Giter Club logo

Comments (3)

maxchu92 avatar maxchu92 commented on August 22, 2024 2

OUTPUT:
MpEnsureProcessMitigationPolicy: hr = 0x1
Starting RunCommandScan.
WARN: Product/Feature disabled
MpCmdRun: End Time: β€ŽFri β€ŽFeb β€Ž22 β€Ž2019 15:34:17

Found the problem. Turns out my Windows Defender was disabled as another antivirus was not fully disabled while i was doing the test. But the code should throw error stating that the antivirus is disabled instead of ThreatFound. Thank you.

from avscan.

yolofy avatar yolofy commented on August 22, 2024 1

What is the output of the following command?

C:\Program Files\Windows Defender\MpCmdRun.exe -Scan -ScanType 3 -File "" -DisableRemediation

from avscan.

glittle avatar glittle commented on August 22, 2024 1

I've also noticed that the exit code is not reliable or useful. I capture the standardOutput from running the process and see if my target file is named. Can also get the name of the virus this way too.

from avscan.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.