Jump to content

ESET Thinks my C++ code with libcurl is a Trojan

Go to solution Solved by Marcos,

Recommended Posts

I'm writing an application that goes through different powershell commands and sends the output to an Api in php.
Since today, ESET thinks that my code is a Trojan. I found out that it's because I use the curl library:

    // Initialize cURL session
    CURLcode res;
    CURL* curl;
    curl = curl_easy_init();
    if (curl)
        curl_easy_setopt(curl, CURLOPT_URL, "https://link.to.my/api/api.php");
        curl_easy_setopt(curl, CURLOPT_POSTFIELDS, jsonString.c_str());
        curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE_LARGE, jsonString.size());
        curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
        res = curl_easy_perform(curl);

To be precise, it's Win64/Agent_AGen.ACN threat.
My operating system is Windows 10, if that's important.

Link to comment
Share on other sites

  • Administrators
  • Solution

Thanks for the heads-up. The detection created by an automated mechanism has been removed.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...