Techub Knowledge Center
TechubKnowledge Center • Illustrated Guides • Troubleshooting

Describe what happened — for example, a browser popup claims the PC has a virus.

Recover After a Security Incident • Security & Malware

Recover a Hacked or Compromised Account

Use a trusted device and the provider’s official process, then review access beyond the password.

DifficultyBeginner to intermediate; model-specific
Time30–60 minutes; provider recovery varies
Guide typeIdentify, act & verify
GoalRegain legitimate account control and investigate remaining access

Safety first. Work only on equipment and accounts you own or are authorized to manage. For work or managed systems, contact IT through a separate trusted channel before cleanup. Stop ordinary use during active compromise and follow the incident plan. Protect useful records, wanted data and recovery access. Do not run suspect content, disable protections or expose passwords, codes or keys to investigate.

First — identify the device, account and actual exposure

Record the actual OS/browser, active protection provider, account and message. Note what was viewed, downloaded, run, typed or approved. Windows examples apply to the supported Windows configuration shown; other platforms and managed services differ. Use official provider instructions and IT for organization incidents. Example settings, addresses and messages are illustrations, not content to follow or copy.

What you’ll need

Current official device/provider instructions · Authorized owner access · A private factual record of relevant messages, actions and times · A separate known trusted device for exposed-account recovery · Protected known-good backups and recovery material · IT or verified incident support when the situation requires it

Step 1 — Use a trusted separate device

If the usual device may contain malware or remote-control software, stop using it for sensitive sign-in. Use a separate known trusted updated device and a known official provider address/app. For work/school accounts contact IT through an independent channel immediately. Do not use a recovery link supplied by the suspected attacker.

What to look for: An authentic recovery context and the correct owner account.

What the result means: A new password entered into a monitored device can be stolen again.

Step 2 — Preserve useful facts and assess exposure

Privately note unexplained successful sign-ins, changed recovery methods, messages, app grants and relevant times. Preserve records required by IT/provider response. If payment or identity information was exposed, use the actual provider’s official incident/fraud guidance; do not publish private account logs or hire an unsolicited recovery agent.

What to look for: A factual account of changes and affected services.

What the result means: An approximate login location alone does not identify a person or establish compromise.

Step 3 — Recover or reset through the provider

If signed out, use the official compromised-account/sign-in recovery process with accurate owner information. If access remains, follow the provider’s security steps to change the exposed credential from the trusted device. Respect identity checks, waits and organization policy. Do not remove the last working recovery method or bypass ownership protection.

Microsoft account security-information example. Available sign-in and recovery methods vary by provider and account; use the current authentic settings.
Microsoft account security-information example. Available sign-in and recovery methods vary by provider and account; use the current authentic settings.Image: Microsoft · Source · View full-size image

What to look for: Legitimate owner access is recovered or the official case is underway.

What the result means: Recovery is not guaranteed when required ownership evidence is unavailable.

Step 4 — Review all relevant access paths

Follow provider instructions for session/device sign-out and its timing/exceptions. Review recovery contacts, MFA/passkeys, app passwords, third-party grants, delegates and email forwarding/rules where relevant. Remove unauthorized access through supported controls, preserving evidence and legitimate recovery. Password changes alone may not revoke every token or rule.

Review access beyond the password — Techub concept diagram, not a device screenshot.
Review access beyond the password — Techub concept diagram, not a device screenshot.Image: Techub · Source · View full-size image

What to look for: Only intended access remains, or pending revocations are tracked.

What the result means: A session, app grant and mailbox rule can persist through different mechanisms.

Step 5 — Secure other affected accounts and devices

Replace reused/exposed credentials on other affected accounts from the trusted device and enable supported stronger sign-in protection. Use device incident/provider help before trusting the original device again. Check essential app access and alert affected contacts through the owner’s appropriate process if needed; do not assume a recovered login reverses data already copied.

Choose routine checks or incident response — Techub concept diagram, not a device screenshot.
Choose routine checks or incident response — Techub concept diagram, not a device screenshot.Image: Techub · Source · View full-size image

What to look for: Account and device follow-up are coordinated.

What the result means: Account recovery and malware removal solve different parts of the incident.

Step 6 — Verify the outcome and remaining concerns

Check legitimate sign-in, current recovery/MFA, relevant revocation status and continued monitoring for unauthorized changes.

What to look for: The intended result is verified, with unresolved issues identified.

What the result means: A clean scan or disappearing popup does not prove that no compromise or data exposure occurred.

What did you find?
Owner can still sign inFollow official security changes from the trusted device.
Owner is locked outUse provider recovery/IT with accurate information.
Unwanted rules/grants remainRevoke those paths separately.
Original device is suspectObtain trusted device recovery before using it for sensitive access.
Manufacturer & model-specific help

Use the actual OS/browser, protection provider, account type and current official instructions. Open support through a known route rather than a link, number or download in the suspicious message.

For managed devices, work accounts, active compromise or investigation needs, follow the organization’s response plan before scans, restarts, removal or erasure. Use the provider’s legitimate recovery and ownership checks.

Keep private files, full logs, credentials, recovery keys/codes and tokenized links out of public posts or sample-scanning services. Preserve required evidence and known-good data before destructive recovery. No scan or vanished warning can certify that no access or data exposure occurred.

Parts & supplies — only if needed

Most first checks need the genuine built-in/provider tools and authorized access. Choose backup storage or a security key only after checking the exact recovery/compatibility need. Do not buy a cleanup product, remote-support subscription or replacement device from an unsolicited warning.

Technical references

Still need help?

Need help with a security concern?

Bring the actual device/provider, message, actions taken and useful times. Keep files, passwords, recovery keys/codes and full account details private; use a separate trusted channel for a suspected incident.

Visit Techub Services ↗