How to get rid of Trojan:MSIL/Heracles.ARA!MTB

Randy Archer 0 Reputation points
2026-11-17T23:10:58.4533333+00:00

I recently had my computer hacked and it got all my passwords and I had to change them. Windows defender is now blocking oone everytime i start windows. I also see a cmd.ex prompt and a black screen when windows loads. This is the file I cant get rid of I have managed to remove the rest but it keeps trying to come back when I restart. \Device\HarddiskVolume3\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

Microsoft Security | Microsoft Defender | Other
0 comments No comments

2 answers

Sort by: Most helpful
  1. _AW_ 70,331 Reputation points Volunteer Moderator
    2026-11-17T23:16:40.4166667+00:00

    To remove the infection, please provide Farbar Recovery Scan Tool (FRST) logs for analysis.

    https://www.bleepingcomputer.com/download/farbar-recovery-scan-tool/

    Note: If you are using Edge or Chrome, SmartScreen may initially block the download. Click on the three dots next to the warning and select Keep => Click the Delete drop arrow => Keep anyway.

    • If your computer's language is not English, rename FRST64.exe to FRST64English.exe
    • Run the tool, leave the default settings, and press Scan.
    • Zip the logs, FRST.txt and Addition.txt, then upload to a cloud storage service like OneDrive, Google Drive or gofile.io
    • Post the share link.

    https://support.microsoft.com/en-us/office/share-onedrive-files-and-folders-9fcc2f7d-de0c-4cec-93b0-a82024800c07

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-17T23:11:57.85+00:00

    Run a Microsoft Defender Offline scan now, because the threat reappears immediately after restart and the offline scanner can remove persistence that hides while Windows is running.^1^

    1. Isolate and scan the computer offline

    1. Disconnect the computer from the Internet and other local-network devices.
    2. Save all open work.
    3. Open Windows Security → Virus & threat protection → Scan options.
    4. Select Microsoft Defender Antivirus (offline scan) → Scan now.
    5. The computer will restart, scan in the Windows Recovery Environment, and restart again.
    6. Open Windows Security → Virus & threat protection → Protection history and verify that detected items were removed or quarantined.^2^

    Also check Allowed threats on that page. If this detection was accidentally allowed, select it and choose Don’t allow so Defender can act on it.

    Do not manually delete:

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
    

    MSBuild.exe is a legitimate Microsoft build utility, but attackers can misuse it to run malicious content.^3^ The persistence mechanism launching it—such as a scheduled task, startup entry, service, or script—may be the malicious component rather than that executable itself.

    2. If the command window still appears at startup

    Use Microsoft Sysinternals Autoruns to locate the launcher:

    1. Download and run Autoruns as administrator.
    2. Under Options, enable Hide Signed Microsoft Entries and signature verification.
    3. Inspect Logon, Scheduled Tasks, Services, WMI, and Winlogon.
    4. Look for entries created around the infection date that launch cmd.exe, MSBuild.exe, scripts, or files from unusual user-writable locations.
    5. Right-click a suspicious entry and use Properties or Jump to Entry to inspect it.
    6. Uncheck the entry first to disable it rather than deleting it immediately. Restart and check whether the command window and Defender alert stop.

    Autoruns covers startup folders, Run/RunOnce keys, scheduled tasks, services, WMI entries, Winlogon components, and other autostart locations.^4^

    Do not run an FRST fixlist.txt written for another computer. Such scripts are machine-specific and can damage Windows when reused.^5^

    3. If the detection returns again

    Because credentials were already stolen, continued recurrence after the offline scan should be treated as an untrusted Windows installation. Back up only personal documents, photographs, and similar data—not executables, scripts, installers, or archives from the infection period—then perform a clean installation using Windows installation media.

    This is destructive: a clean installation removes personal files, applications, and settings from the selected drive. Microsoft specifically recommends this route when malware remains after scanning.^6^

    After reinstalling:

    1. Complete Windows Update before restoring files.
    2. Scan the backup before opening anything.
    3. Reinstall applications only from their official sources.
    4. Avoid restoring old startup settings or unknown browser extensions.

    4. Secure the stolen accounts again

    Since the passwords were changed while the computer may still have been infected, change them again from a known-clean phone or computer, or after Windows has been cleaned/reinstalled. Microsoft’s compromised-account procedure places malware removal before the password change.^7^

    For every important account:

    • Use a unique password.
    • Enable two-step verification.
    • Review recent sign-ins, active sessions, recovery methods, trusted devices, email-forwarding rules, and connected applications.
    • Sign out other sessions where the service offers that option.
    • Prioritize email, password manager, banking, shopping, cloud storage, and social-media accounts.

    For a personal Microsoft account, recent activity shows sign-ins from the preceding 30 days and lets you report unusual activity.^8^


    References

    1. Troubleshoot problems with detecting and removing malware | Microsoft Support
    2. Virus and Threat Protection in the Windows Security App | Microsoft Support
    3. Applications that can bypass App Control and how to block them
    4. Autoruns v14.3
    5. MSBuild.exe contacting an unknown website every 10 minutes - Microsoft Q&A
    6. Recovery options in Windows | Microsoft Support
    7. How to recover a hacked or compromised Microsoft account | Microsoft Support
    8. What is the Recent activity page? | Microsoft Support
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.