Windows Defender found Ludicrouz.J when I run my code.

  • Thread starter Thread starter JustAnAspiringDeveloper
  • Start date Start date
J

JustAnAspiringDeveloper

Guest
I just installed Visual Studio 2019 Community Edition, and have been learning C++. I typed the following code:

#include <iostream>
#include <fstream>

using namespace std;

int main() {
char fname[50];
cout << "Please enter a filename: ";
cin >> fname;
//cout << "Opening " << fname << "..." << endl;

ifstream f;
f.open(fname, ios::in);

char data[100];
f >> data;
cout << "File Contents" << data << endl;

return 0;
}

While running the code, I noticed that Windows Security found a security threat:

Threat found - action needed

Status: Active [not anymore; I asked Windows Security to remove it]


Threat detected: Trojan:Win32/Ludicrouz.J

Alert Level: Severe

Date: 6/11/2020

Category: Trojan

Details: This program is dangerous and executes commands from an attacker.

The affected item that the antivirus listed was the executable that Visual Studio built.

Continue reading...
 
Back
Top