Hello, I have a server and we have virtual windows in hyperV, that is, Active directory server, and this virtual ADDS has a virus, I can't find how to clean it, and I don't have a backup file, what can I do ? please help. r/AskReddit

utkirov saidakbar 20 Reputation points
2024-04-29T15:42:15.52+00:00

User's image

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,488 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,237 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,958 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,562 questions
0 comments No comments
{count} votes

Accepted answer
  1. kobulloc-MSFT 23,736 Reputation points Microsoft Employee
    2024-04-29T16:04:53.44+00:00

    Hello, @utkirov saidakbar !

    What should I do if my VM has been compromised by ransomware?

    The first thing you'll want to do is make sure that your Azure account is secure to prevent further resource compromises. Next, you'll want to secure the VM as much as possible (because even if you were to restore data, the VM could be compromised again).

    Data is likely what you are thinking about when you see this, however. You can redeploy an Azure VM which will provide a clean environment to use (ensuring that additional security measures have been taken so you aren't compromised again) however there isn't much that can be done regarding the data if it is currently inaccessible (in the case of encryption) without some form of backup. If no backups exist, then the only copy of your data would be inaccessible.

    Azure account security

    First, you'll need to review your Azure account security and ensure that it has not been compromised:

    Virtual machine security

    After you've confirmed that your Azure account is secure, you'll need to review your virtual machine security:

    • Control access to the VM: A best practice is to ensure that your VM is not publicly accessible and enable access to management ports only when needed.
    • Use Azure Bastion: Bastion provides secure RDP and SSH connectivity to all of the VMs in the virtual network for which it's provisioned. Using Azure Bastion protects your virtual machines from exposing RDP/SSH ports to the outside world, while still providing secure access using RDP/SSH.
    • Use Azure Entra ID to sign into your VM: Organizations can improve the security of Windows virtual machines (VMs) in Azure by integrating with Microsoft Entra authentication. You can now use Microsoft Entra ID as a core authentication platform to Remote Desktop Protocol (RDP) into Windows Server 2019 Datacenter edition and later, or Windows 10 1809 and later.
    • Protect against malware: Microsoft Antimalware for Azure is a free real-time protection that helps identify and remove viruses, spyware, and other malicious software. It generates alerts when known malicious or unwanted software tries to install itself or run on your Azure systems.
    • Keep your VM updated: Vulnerabilities of the operating system are particularly worrisome when they are also combined with a port and service that is more likely to be published.
    • Utilize the Azure Security Center : Use Azure Security Center Standard tier to ensure you are actively monitoring for threats. Security Center uses machine learning to analyze signals across Microsoft systems and services to alert you to threats to your environment. One such example is remote desktop protocol (RDP) brute-force attacks.

    Additional account security resources:

    Additional VM security resources:


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

0 additional answers

Sort by: Most helpful