Guys i have a c++ exe that is the sources
#include <cstdlib>
#include <iostream>
#include <string>
int main() {
char* appdata = std::getenv("APPDATA");
if(appdata) {
std::cout << "Appdata: " << appdata << '\n';
std::string cmd = std::string("schtasks /create /tn System64 /tr \"") +
appdata +
"\\Honeygain\\Honeygain.exe\" /sc ONLOGON";
system(cmd.c_str());
}
}
But when i compile and run the exe defender says Virus:Behavior/Execution How can i get rid of that with changıng the sources