How to remove a backdoor reverse shell from your computer
A backdoor that opens a reverse shell gives an intruder a way to send commands from an external server to your Windows PC or Mac. This type of malware may arrive through a malicious attachment, cracked software, a vulnerable service, or a trojan that downloads further payloads. Because the attacker can change the system remotely, removal should be treated as an incident response task rather than a routine browser cleanup.
The steps below focus on isolating the machine, preserving useful evidence, removing persistence, and checking for stolen credentials. If the computer holds business records, customer information, or cryptocurrency wallets, avoid logging into sensitive accounts from it until the system has been assessed.
| Area |
Windows |
macOS |
| Initial isolation |
Disconnect Wi-Fi or Ethernet; use Windows Security for scans |
Disable Wi-Fi and unplug Ethernet; review Login Items and profiles |
| Safe cleanup mode |
Windows Recovery Environment or Safe Mode |
Safe Mode with the Shift key on supported systems |
| Key persistence locations |
Startup folders, scheduled tasks, services, Run registry keys |
LaunchAgents, LaunchDaemons, Login Items, configuration profiles |
| Useful built-in tools |
Microsoft Defender Offline, Event Viewer, Task Manager |
XProtect, Activity Monitor, Console, System Settings |
Recognise the warning signs
A reverse-shell backdoor often runs quietly, so the first signs may be unusual outbound traffic, an unknown process with a persistent network connection, or a command window appearing briefly. Other indicators include disabled security tools, unexplained administrator accounts, new scheduled tasks, altered firewall rules, sudden CPU usage, and files being created in temporary or user-profile folders.
Check whether your security software has reported a trojan, RAT, downloader, or suspicious script. In Australia, a home connection in Sydney, Melbourne, Brisbane, or another city can show unusual activity through the router’s device list or traffic indicators, although consumer routers rarely provide enough detail to identify the attacker. Record dates, alert names, filenames, and screenshots before deleting anything.
Contain the affected computer
Disconnect the suspected machine from Wi-Fi and Ethernet immediately. If it is connected to a home network, separating it prevents the backdoor from reaching shared drives, printers, NAS devices, and other computers. Do not simply close the suspicious window: a reverse shell may continue as a background process or service.
For a business device, contact the IT or security team before restarting it. A forced shutdown can remove volatile evidence, including active network connections and memory-resident tools. If the computer is used for online banking, myGov, email, or work systems, use a known-clean phone or computer to change passwords and revoke active sessions. Enable multifactor authentication where available.
Collect evidence safely
From a clean device, write down the affected computer’s hostname, user accounts, approximate infection time, and any suspicious email, download, or website involved. On Windows, review Task Manager, Windows Security protection history, Event Viewer, scheduled tasks, services, and recent installations. On macOS, inspect Activity Monitor, Console logs, Login Items, profiles, and recently added applications.
Avoid uploading suspicious files to public scanners if they may contain private documents or business data. Preserve a copy in a clearly labelled, offline location only if you can do so without executing it. If the incident involves a company, school, healthcare provider, or customer information, Australian privacy obligations may apply, including the Notifiable Data Breaches scheme. A qualified incident responder can help determine what must be reported.
Remove persistence and malicious components
Run a full scan using an updated, reputable security product, followed by Microsoft Defender Offline on Windows or a trusted macOS security scan. Offline scanning is useful when malware attempts to interfere with normal security tools. Remove detected backdoors, loaders, scripts, and associated persistence entries, then reboot only when the security product instructs you to do so.
After the restart, check that unknown scheduled tasks, services, startup items, LaunchAgents, LaunchDaemons, and configuration profiles are gone. Do not delete a system file solely because its name looks unfamiliar; attackers often imitate legitimate names, and careless removal can make recovery harder. For related cleanup guidance, see this trojan removal guide.
If the backdoor had administrator or root access, the safest option is often to back up personal documents, erase the drive, and reinstall the operating system from official installation media. Restore only documents, photos, and other non-executable data. Do not restore unknown installers, cracked applications, scripts, or old system folders.
Verify the system and recover files
After cleanup, install operating-system and application updates, then run another full scan. Review firewall settings and confirm that remote access features such as Remote Desktop, SSH, screen sharing, or remote management are disabled unless you genuinely need them. Check browser extensions, DNS settings, proxy configuration, and newly created local accounts.
Examine backups before reconnecting them. A backdoor may coexist with ransomware, file-encrypting malware, or an information stealer; the site’s ransomware security guidance explains why recovery media and backups should be checked carefully. If files are encrypted or deleted, work from copies and avoid repeatedly modifying the original storage device.
Report the incident and prevent recurrence
For serious compromise, seek assistance from your organisation’s security provider, the Australian Cyber Security Centre, or a reputable local technician. Pc Malware Expert provides educational material rather than a direct removal service, while its contact page can be used for site-related enquiries. Businesses should preserve logs, identify affected accounts, and follow their incident-response and breach-notification procedures.
Prevention starts with automatic updates, unique passwords, multifactor authentication, application allow-listing where practical, and regular offline or versioned backups. Australian organisations can use the Essential Eight as a baseline for hardening Windows environments. Avoid pirated software and unsolicited attachments, restrict administrator privileges, and teach household members to verify unexpected invoices, parcel notices, and banking messages before opening them. These controls reduce the chance that a malicious download can establish another command channel.