Detection and Early Indicators
Spotting an attack in progress.
Detection and Early Indicators is a free Cyber Security Academy lesson on CoddyKit — lesson 3 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Cyber Security Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Detect Before Encryption
Ransomware operators spend hours or days inside a network before encrypting. This dwell time is your detection window. Catching the intrusion during reconnaissance or lateral movement lets you contain it before any files are locked.
Detection focuses on behavior, not just signatures, because attackers abuse legitimate tools to stay quiet.
Signs of Initial Access
Early indicators often appear at the perimeter and identity layer:
- Successful logins from unusual geographies or impossible travel
- A spike in failed RDP or VPN attempts (brute force)
- New external connections from internet-facing servers
- A user reporting a phishing email after clicking
Correlating identity logs with network data surfaces these before the attacker digs in.
Reconnaissance Indicators
Once inside, attackers map the environment. This discovery activity is noisy if you watch for it.
# native commands frequently seen during discovery (detect, don't run):
# whoami /all
# net group "Domain Admins" /domain
# nltest /dclist
# Sudden bursts of AD enumeration from a workstation are suspiciousLateral Movement Signals
Spreading between hosts leaves distinctive traces:
- Use of remote execution tools across many machines in a short window
- Privileged accounts logging into hosts they never normally touch
- New service or scheduled task creation on multiple endpoints
- Unusual SMB or admin-share access patterns
A single account suddenly authenticating to dozens of machines is a strong signal to investigate immediately.
Defense Tampering as a Tripwire
Before encrypting, operators try to blind your defenses. Attempts to disable security tooling are high-fidelity alerts.
- Stopping or uninstalling EDR or antivirus services
- Disabling logging or clearing event logs
- Modifying security policy or adding exclusions
Enable tamper protection and alert on any attempt to disable defenses; legitimate admins rarely do this in bulk.
Backup and Shadow Copy Attacks
Destroying recovery options is a near-universal pre-encryption step and an excellent late-stage tripwire.
# alert on these commands anywhere in the estate:
# vssadmin delete shadows /all /quiet
# wmic shadowcopy delete
# bcdedit /set recoveryenabled No
# Unexpected access to backup servers or mass deletion in backup reposData Exfiltration Indicators
Double-extortion crews steal data before encrypting. Watch egress for staging and transfer.
- Large outbound transfers to unfamiliar cloud storage or IPs
- Archiving tools compressing large datasets unexpectedly
- New use of file-transfer utilities from servers
- Off-hours spikes in outbound bandwidth
Egress monitoring and DLP can catch the theft phase even if earlier stages were missed.
Canary Files and Honeytokens
Deception provides cheap, high-signal detection. Plant decoys that no legitimate user should ever touch.
- Canary files in directories that alert on access or modification
- Honeytoken credentials that fire an alarm if ever used
- Fake high-value shares monitored for any interaction
When ransomware mass-encrypts, it hits the canaries early, giving you an immediate, low-noise alert.
Behavioral Encryption Detection
The encryption phase itself has a recognizable footprint that EDR and file-monitoring can catch in seconds.
- A process rapidly reading and rewriting many files
- Mass file renames or new uniform extensions appearing
- Sudden surge in file entropy (encrypted data looks random)
- Ransom note files appearing across directories
Automated response can isolate the host the moment this pattern starts, limiting how many files are lost.
Centralized Logging and SIEM
Indicators only help if they are collected and correlated. Centralize telemetry so isolated signals become a clear picture.
- Ship endpoint, identity, network, and backup logs to a SIEM
- Write detections for the behaviors above and tune out noise
- Map alerts to attack stages (MITRE ATT&CK) for context
- Ensure logs are tamper-resistant so attackers cannot erase their tracks
From Alert to Action
Detection is only valuable if it triggers fast response. Prepare in advance:
- Define which alerts warrant automatic host isolation
- Set clear escalation paths and on-call coverage
- Rehearse so responders act in minutes, not hours
The earlier in the chain you detect, the more you contain. The next lesson covers what to do once an attack is confirmed.
Quick Check: Early Indicators
Identify the highest-value early signal.
Recap: Detection and Early Indicators
You learned to spot an attack during its dwell time.
- Detection targets behavior: unusual logins, AD recon, lateral movement
- Defense tampering and shadow copy deletion are high-fidelity tripwires
- Watch egress for exfiltration; plant canary files and honeytokens
- Behavioral encryption detection (entropy, mass renames) enables auto-isolation
- Centralize in a SIEM with tamper-resistant logs and a fast alert-to-action path
Next: responding to and recovering from a confirmed attack.
Frequently asked questions
Is the “Detection and Early Indicators” lesson free?
Yes — the full text of “Detection and Early Indicators” is free to read here on the web, and the Cyber Security Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Cyber Security Academy course, upgrade to CoddyKit PRO.
What will I learn in “Detection and Early Indicators”?
Spotting an attack in progress. You practise Cyber Security Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Cyber Security Academy?
No prior experience is required. Cyber Security Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 3 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Detection and Early Indicators” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Cyber Security Academy lesson?
Yes. Every Cyber Security Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- How Ransomware Works
- Prevention and Hardening
- Detection and Early Indicators
- Incident Response and Recovery