Witam wojka91,
Check your RDP is updated fully. Working at home raises the risks of Brute Force Attacks.
Check wheter your OS is fully updated. Were you working your RDP in a public place (airport etc.).
Read here:
https://www.techrepublic.com/article/how-to-combat-cyberattacks-that-exploit-microsofts-remote-desktop-protocol/Do not allow RDP connections over the open internet.
Use complex passwords as well as multifactor authentication.
Lock out users and block or timeout IPs that have too many failed logon attempts.
Use an RDP gateway.
Limit Domain Admin account access.
Minimize the number of local admins.
Use a firewall to restrict access.
Enable restricted Admin mode.
Enable Network Level Authentication (NLA).
Ensure that local administrator accounts are unique and restrict the users who can logon using RDP.
Consider placement within the network.
Consider using an account-naming convention that does not reveal organizational information.
pozdrawiam,
polonus