Is Someone Controlling Your Mac Remotely? Screen Sharing and Remote Login Checks, Support Apps Scammers Leave Behind and Where RATs Hide

By Information Security Asia · Updated November 30, 2026 · 7 min read

Is Someone Controlling Your Mac Remotely? Screen Sharing and Remote Login Checks, Support Apps Scammers Leave Behind and Where RATs Hide

Short answer: To remove a remote access trojan or unwanted remote control from a Mac, first disconnect from the internet. Then check three places: System Settings, General, Sharing, where Screen Sharing, Remote Management and Remote Login should be off unless you use them; your Applications folder for remote support tools like AnyDesk, TeamViewer or ScreenConnect that you did not install or that a scammer asked you to install; and Privacy and Security, where Screen Recording and Accessibility permissions should only belong to apps you trust. Review Login Items and launch agent folders for unknown entries, delete what you find, update macOS and change your passwords from a different, clean device. If you cannot find the cause, back up documents and erase the Mac.

Three ways someone can control a Mac remotely

“Someone is controlling my Mac” covers different situations, and they need different fixes.

Is Someone Controlling Your Mac Remotely? Screen Sharing and Remote Login Checks, Support Apps Scammers Leave Behind and Where RATs Hide
Type How it got there Typical sign Fix
Built-in sharing services Turned on by someone with your password, or by an IT department Screen sharing icon in the menu bar, connections from another Mac Turn off in Sharing settings
Legitimate remote support app Installed during a tech support call or by a scammer pretending to be your bank An app like AnyDesk or TeamViewer you do not remember setting up Quit, uninstall, remove permissions
Remote access trojan (RAT) Fake app download, cracked software, malicious attachment Unknown background process, unexpected network connections Remove persistence, scan, or erase

In practice, the second case is very common. Tech support and refund scams persuade victims to install a remote support tool, then use it to take over online banking. If that is what happened, read our response playbook for people who gave remote access to a scammer alongside this guide.

Signs your Mac may be remotely accessed

  • The pointer moves or windows open without you touching anything.
  • A screen recording or screen sharing indicator appears in the menu bar when you are not in a call.
  • The camera’s green light turns on unexpectedly.
  • Your passwords are changed, or emails are sent that you did not write.
  • macOS shows prompts asking to allow an app to record the screen or control the computer that you did not start.
  • Unknown apps appear in Login Items or the Dock.

None of these proves a RAT on its own. A trackpad fault can move the pointer, and many legitimate apps request permissions. Look for a pattern.

First move: cut the connection

Turn off Wi-Fi from the menu bar and unplug any Ethernet cable. This stops whoever is connected from watching or acting while you investigate. Stay offline until you have checked the settings below. If banking or email was open during a suspicious session, use your phone on mobile data, or another computer, to change those passwords and call your bank now; do not wait for the clean-up.

Check the built-in sharing services

Open System Settings, General, Sharing. Look at each item:

  • Screen Sharing lets another Mac view and control your screen.
  • Remote Management enables Apple Remote Desktop, which allows observation, control and running commands. Click the info button to see which users have access and what they can do.
  • Remote Login enables SSH, giving command-line access.
  • Remote Application Scripting allows other Macs to send Apple Events to apps.
  • File Sharing exposes folders on the network.

Turn off everything you do not knowingly use. On a work Mac managed by your employer, some of these may be set by IT; check with them before changing anything. Also look at System Settings, Users and Groups for accounts you did not create, especially administrators, which can be used to log in remotely.

Find and remove remote support apps

Open Finder, Applications, and sort by Date Added. Look for remote tools you did not deliberately install, including AnyDesk, TeamViewer, ConnectWise ScreenConnect, Splashtop, RustDesk, LogMeIn, Zoho Assist and similar. These are legitimate products, which is precisely why scammers use them: they are signed, trusted by macOS and not flagged as malware.

  1. Quit the app, including from the menu bar icon if present.
  2. Use the vendor’s uninstaller if one exists, or drag the app to the Bin.
  3. In System Settings, General, Login Items and Extensions, remove its entries from Open at Login and Allow in the Background.
  4. In Privacy and Security, remove it from Screen and System Audio Recording, Accessibility and Full Disk Access.
  5. Empty the Bin.

If a scammer had remote access, assume they could see anything on screen, including saved passwords in your browser, and could have installed additional software while connected.

Check the permissions remote control needs

Any tool that watches or controls your Mac needs explicit permission from macOS. In System Settings, Privacy and Security, review:

Is Someone Controlling Your Mac Remotely? Screen Sharing and Remote Login Checks, Support Apps Scammers Leave Behind and Where RATs Hide
  • Screen and System Audio Recording: required to see your screen.
  • Accessibility: required to move the pointer and type.
  • Input Monitoring: required to capture keystrokes.
  • Full Disk Access: lets an app read Mail, Messages and browser data.

Remove anything you cannot identify. An entry with a generic name such as “Helper” or “Update Agent” that you cannot trace to a known app is suspicious.

Look for RAT persistence

A RAT must restart itself after a reboot, so it creates a launch agent, launch daemon, login item or background item. Check the Login Items and Extensions page first; macOS lists background items with their developer names. Then inspect the launch folders. In Finder, press Command-Shift-G and visit each:

  • ~/Library/LaunchAgents
  • /Library/LaunchAgents
  • /Library/LaunchDaemons

Each .plist file points to a program. Files with random names, names imitating Apple (com.apple.something in the user or /Library folders, where Apple’s own files are rare), or pointing to programs in hidden folders or /tmp, deserve attention. In Terminal, these commands help:

launchctl list | grep -v com.apple
sudo sfltool dumpbtm | less
lsof -i -P | grep ESTABLISHED

The first lists loaded jobs not from Apple. The second dumps macOS’s background task database, showing every login and background item and the program behind it. The third shows open network connections, so you can spot an unfamiliar process holding a connection to a remote server. Search any unfamiliar names from another device before deleting, because many belong to normal apps. Our guide to Mac trojan and infostealer removal goes deeper into reading these entries.

Remove, update and verify

  1. Unload and delete confirmed malicious launch items and their programs.
  2. Remove unknown configuration profiles under General, Device Management or Privacy and Security, Profiles, depending on macOS version.
  3. Install all macOS updates, which also refresh XProtect, Apple’s built-in malware definitions.
  4. Optionally run a reputable Mac security scanner for a second opinion.
  5. Restart, reconnect to the internet and check Sharing, permissions and launch folders again to confirm nothing returned.

When to erase instead

Erase the Mac if you find a RAT but cannot be sure you removed every component, if it keeps returning, if an attacker had administrator access for an extended period, or if the Mac holds very sensitive data. On Macs with Apple silicon or the T2 chip, use System Settings, General, Transfer or Reset, Erase All Content and Settings. Reinstall apps from the App Store or developers’ websites rather than restoring Applications from a backup, and restore only documents.

Secure your accounts afterwards

A RAT or remote session may have captured passwords, browser cookies and two-factor codes. From a clean device, change passwords for email, Apple Account, banking and password manager first, then other important accounts. Sign out of all sessions where services allow it, because stolen cookies can keep an attacker logged in after a password change. Turn on two-factor authentication with passkeys or an authenticator app. Check your bank for new payees and transactions. Windows users facing the same problem can follow our guide to RATs on Windows.

Frequently asked questions

Does macOS warn me when someone shares my screen?

macOS shows indicators in the menu bar when the screen is being recorded or shared, and requires permission before apps can record the screen. Built-in Screen Sharing also shows an icon when a session is active.

Is TeamViewer or AnyDesk malware?

No. They are legitimate remote support tools, but anyone who has your session code or unattended access password can control your Mac. Remove them if you did not set them up yourself.

Can a RAT survive a password change?

Yes. A password change does not remove software. Clean the Mac first, then change passwords from a clean device.

Will Apple’s XProtect find a RAT?

XProtect detects many known Mac malware families, but new or custom RATs may not be detected, and legitimate remote tools are not flagged. Manual checks remain important.

Sources

Keep reading