【发布时间】:2021-01-13 05:25:23
【问题描述】:
伙计们,我有一个 c++ exe 是源代码
#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());
}
}
但是当我编译并运行 exe 防御者说 Virus:Behavior/Execution 我怎样才能通过改变来源来摆脱它
【问题讨论】:
-
@BuildSucceeded 我相信这与您链接的问题不同。 Defender 检测到这一点是因为不受信任的程序正在调用已受信任的 Windows 管理命令。这不是误报。
标签: c++ virus windows-defender