cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Crooks
Level 7
Report Inappropriate Content
Message 1 of 1

executing exec('wmic process call create notepad') causing McAfee to quarantine cmd.exe

In windows command line prompt the command wmic process call create notepad will open notepad and also report the process Id. This command work fine on my computer.  epayitonline.com

However, running this command via php exec() function causing McAffe to recognize it as a virus threat TIE/Suspect!.

o.php file:

<?php
exec("wmic process call create notepad");
Immediately after running php o.php C:\Windows\System32\cmd.exe is moved to Quarantine by McAfee

At this point I'm sure this is false-positive detection

This is not related to notepad because with any other command I have the same effect

The command exec("notepad"); works fine

Because of that problem my php project is not working when antivirus is turned on Any suggestion will be appreciated

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community