Signs Your Computer Has Been Hacked, and How to Check
The reliable signs are not the ones people expect. A slow computer is almost never a compromise. What matters is evidence of someone establishing control: security tools disabled, accounts or scheduled tasks you did not create, network activity when the machine is idle, and account logins from places you have not been. Each of those maps to a MITRE ATT&CK technique, and each can be checked with one command.
Topic: Cyber Threats, Scams & Online Safety in Cybersecurity & Ethical Hacking · Tutorial
Quick answer: The reliable signs are not the ones people expect. A slow computer is almost never a compromise. What matters is evidence of someone establishing control: security tools disabled, accounts or scheduled tasks you did not create, network activity when the machine is idle, and account logins from places you have not been. Each of those maps to a MITRE ATT&CK technique, and each can be checked with one command. A clean result does not prove a clean machine, which is why the last section is about rebuilding.
Key takeaways
- Slowness, pop-ups and crashes are usually not compromise. They are usually software problems.
- Security software disabled is the strongest single sign: ATT&CK calls it T1562.001, Impair Defenses.
- Persistence is what to look for: new accounts (T1136), scheduled tasks (T1053), new services (T1543).
- Check account activity, not just the machine. Compromise often shows up at the service first.
- If a machine matters, rebuild it. No check proves absence.
Topics covered in this guide: how to tell, five signs that matter with the command for each, symptoms that usually mean something else, what to do immediately, why rebuilding is recommended, the Indian reporting deadlines, and how to reduce the chance of it happening again.
Table of Contents
- How Can You Tell If Your Computer Has Been Compromised?
- Sign 1: Security Software Disabled
- Sign 2: Accounts, Tasks or Services You Did Not Create
- Sign 3: Network Activity When the Machine Is Idle
- Sign 4: Account Activity You Did Not Perform
- Sign 5: Ransom Messages or Encrypted Files
- Which Symptoms Usually Mean Something Else?
- What Should You Do Immediately?
- Why Is Rebuilding Recommended?
- What Must You Report in India, and How Quickly?
- How Do You Reduce the Chance of It Happening Again?
- References
How Can You Tell If Your Computer Has Been Compromised?
By looking for evidence that somebody established control, rather than for the machine behaving oddly. Modern intrusions are quiet on purpose: an attacker who has your machine wants it working normally, because a broken computer gets rebuilt.
So the signs worth checking are the traces of persistence and of defences being weakened. Each section below names the MITRE ATT&CK technique it corresponds to, because that gives you the vocabulary to search for more and to describe what you found.
Sign 1: Security Software Disabled
ATT&CK technique T1562.001, Impair Defenses: Disable or Modify Tools. This is the strongest single indicator, because there is no innocent reason for your antivirus to switch itself off, your update service to be disabled, or your firewall to be turned off without your doing it. Real-time protection that will not re-enable is close to conclusive.
# Windows: is protection on, and has anything been excluded?
Get-MpComputerStatus | Select-Object AntivirusEnabled, RealTimeProtectionEnabled, AntispywareEnabled
Get-MpPreference | Select-Object -ExpandProperty ExclusionPath
# Windows firewall state for all profiles
Get-NetFirewallProfile | Select-Object Name, Enabled
# Linux: is the firewall up, and are audit services running?
sudo ufw status verbose
systemctl is-active auditd 2>/dev/null; systemctl is-enabled auditd 2>/dev/null
Exclusion paths deserve attention. Attackers add an exclusion rather than disabling protection entirely, because it is quieter. An exclusion you did not create is a serious finding.
Sign 2: Accounts, Tasks or Services You Did Not Create
Three ATT&CK techniques, all aimed at surviving a reboot: T1136 Create Account, T1053 Scheduled Task/Job and T1543 Create or Modify System Process.
This is the most productive place to look, because persistence is not optional for an attacker. Something has to start their code again after you shut down.
# Windows: local accounts, and anything in the administrators group
Get-LocalUser | Select-Object Name, Enabled, LastLogon
Get-LocalGroupMember -Group Administrators
# scheduled tasks that are not Microsoft's
Get-ScheduledTask | Where-Object { $_.TaskPath -notlike '\Microsoft*' -and $_.State -ne 'Disabled' } |
Select-Object TaskName, TaskPath
# services set to start automatically, with their binary paths
Get-CimInstance Win32_Service | Where-Object { $_.StartMode -eq 'Auto' } |
Select-Object Name, PathName | Sort-Object Name
# Linux: accounts that can log in, and anything with UID 0
awk -F: '$3 >= 1000 || $3 == 0 {print $1, $3, $7}' /etc/passwd
# persistence: cron, systemd units, and authorised keys
crontab -l 2>/dev/null; sudo ls -la /etc/cron.d/
systemctl list-unit-files --state=enabled --type=service | head -30
ls -la ~/.ssh/authorized_keys 2>/dev/null && cat ~/.ssh/authorized_keys
An SSH key in authorized_keys that you did not add is unambiguous, and it is one of the most common persistence mechanisms on Linux machines.
Sign 3: Network Activity When the Machine Is Idle
An idle machine still talks: updates, cloud sync, telemetry. What is worth investigating is a sustained connection from a process you cannot account for.
# Windows: established connections with the owning process
Get-NetTCPConnection -State Established |
Select-Object LocalPort, RemoteAddress, RemotePort,
@{n='Process';e={(Get-Process -Id $_.OwningProcess).ProcessName}}
# Linux and macOS: established connections with the process
ss -tupn state established # Linux
lsof -i -P -n | grep ESTABLISHED # macOS
# resolve an address you do not recognise before worrying about it
dig -x 203.0.113.10 +short
Do the reverse lookup before drawing conclusions. A great deal of alarming-looking traffic resolves to a content delivery network or your operating system vendor.
Sign 4: Account Activity You Did Not Perform
Often the first real evidence, and it appears at the service rather than on the machine. Check the security or activity page of your main accounts for sign-ins from unfamiliar locations, new devices, new app authorisations, changed recovery options and new mailbox rules.
Mailbox forwarding rules deserve their own mention. A rule that silently forwards or deletes mail is a standard move after email compromise, it survives a password change, and almost nobody looks for it.
# Windows: recent successful and failed logons from the event log
Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4624,4625} -MaxEvents 40 |
Select-Object TimeCreated, Id, @{n='Account';e={$_.Properties[5].Value}}
# Linux: recent logins, and failures
last -n 20
sudo lastb -n 20 2>/dev/null
sudo grep -c 'Failed password' /var/log/auth.log 2>/dev/null
Sign 5: Ransom Messages or Encrypted Files
ATT&CK technique T1486, Data Encrypted for Impact. This is the one unambiguous sign, and by the time you see it the compromise is usually days or weeks old: attackers commonly explore, steal data and remove backups before encrypting anything.
The immediate actions are different from the rest of this article. Disconnect from the network but do not power off, because memory may hold keys and evidence. Do not pay before taking advice. Our guide to digital forensics investigation covers why isolation beats shutdown.
Which Symptoms Usually Mean Something Else?
| Symptom | Usually |
|---|---|
| Computer suddenly slow | Storage nearly full, failing disk, thermal throttling, a browser with too many tabs |
| Fan always running | Dust, a background update, or a runaway process |
| Pop-ups in the browser | An extension or an advertising network, not system compromise |
| Random crashes | Failing memory or a driver problem |
| Browser homepage changed | Bundled adware from a software install, a nuisance rather than an intrusion |
These matter because chasing them wastes the attention that should go on the five signs above. Check storage and temperature before assuming an attacker.
What Should You Do Immediately?
- Disconnect from the network, and leave the machine powered on.
- Change passwords from a different device, starting with email, and revoke active sessions rather than only resetting.
- Check the accounts for persistence: forwarding rules, linked apps, added MFA devices, changed recovery addresses.
- Preserve evidence. Do not delete anything; note times and what you saw.
- Report it, on the timetable in the next section but one.
- Then decide between cleaning and rebuilding, with the next section in mind.
Why Is Rebuilding Recommended?
Because removal tools find what they recognise, and an attacker who achieved administrative access can hide from anything running on the same machine. You cannot prove absence from inside.
A rebuild changes the question from "did I find everything?" to "did I restore anything bad?", which is answerable. Install from known-good media, restore data rather than applications, and change credentials from a clean device afterwards.
For a personal machine with no sensitive accounts, cleaning may be a reasonable risk. For a machine used for banking, work or administration, it is not.
What Must You Report in India, and How Quickly?
| Who | Deadline |
|---|---|
| Organisations, for listed incident types | CERT-In, "within 6 hours of noticing such incidents or being brought to notice about such incidents" |
| Individuals who have lost money | Call 1930, then file on the portal "within 24 hrs using the acknowledgement number received on SMS" |
The six hours is a deadline for telling CERT-In something rather than for completing an investigation. The same directions require entities to keep logs "for a rolling period of 180 days", which is what makes any later investigation possible. Our guide to filing a cyber crime complaint in India covers the individual route.
How Do You Reduce the Chance of It Happening Again?
- Phishing-resistant MFA on email first, because it is the account that resets the others.
- Do not run as administrator day to day. Most persistence needs those rights.
- Patch promptly, including the browser.
- Unique passwords from a manager, which also defeats credential stuffing.
- Tested backups, with one copy offline.
- Know what normal looks like. Run the commands above once while the machine is healthy and keep the output. A baseline turns "is this service suspicious?" into a comparison.
That last point is the one that costs ten minutes and saves the most time later. Our guides to protecting personal data and malware types cover the prevention side.
Talk to a WebAsha training advisor about batches, syllabus and current fees.
References
- MITRE ATT&CK
- T1562.001, Impair Defenses: Disable or Modify Tools
- T1053, Scheduled Task/Job
- T1543, Create or Modify System Process
- T1486, Data Encrypted for Impact
- NIST SP 800-61, Computer Security Incident Handling Guide
- CERT-In directions under section 70B(6) of the IT Act, 28 April 2022
- Indian Cyber Crime Coordination Centre
Related reading
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0