Lateral Movement Detection With the Logs You Already Keep

  • Home
  • Lateral Movement Detection With the Logs You Already Keep
Lateral Movement Detection With the Logs You Already Keep

The first machine an attacker lands on is rarely the one that hurts you. A sales laptop with a stolen session is a nuisance. The same attacker sitting on your file server, then your domain controller, then the backup console, is a ransomware week. That middle stretch is lateral movement, and lateral movement detection is where most Indian mid-market SOCs we review are thinnest.

Here’s the uncomfortable part. The evidence is usually already being written. Windows records the logons, the firewall records the east-west sessions it sees, the switches can export flows. Nobody has joined those records up, or the audit setting that would have produced them was never switched on.

The short answer: to detect lateral movement, collect Windows logon and share-access events from servers and domain controllers, firewall logs for traffic between internal zones, and flow records from core switches. Then alert on unusual source-to-destination pairs for admin protocols, NTLM logons by privileged accounts, and remote service creation, correlated by user and host.

Animated diagram of an attacker hopping from a phished laptop to the backup console
Three hops, four log records: each step of the movement leaves evidence in a different place.

Every hop leaves a record somewhere, usually in three places

An attacker moving from one Windows host to another has a short menu. MITRE ATT&CK lists the options under its Lateral Movement tactic (TA0008): remote services such as RDP, SMB admin shares and Windows Remote Management, alternate authentication material such as stolen hashes and Kerberos tickets, software deployment tools, and copying tools across. In the Windows estates we watch, SMB and RDP with stolen credentials account for most of what we actually see.

Each of those leaves marks. The destination server logs a successful logon (event 4624) with a logon type: 3 for network access such as a share, 10 for RDP. The domain controller logs the Kerberos tickets that made it possible (4768 and 4769). If someone installs a service remotely, PsExec-style, the target logs 7045 in its System log. And if the two hosts sit in different VLANs that route through a firewall, the firewall has a session record with source, destination, application and user.

So the question is rarely “can we see it?” It’s “are those three records in the same place, kept long enough, and does anyone have a rule that reads them together?” On a 400-seat plant network with one engineer, the honest answer is usually no on all three counts.

Five beliefs that keep east-west traffic invisible

We hear the same reasons, in roughly the same order, every time we propose east-west monitoring. Each has a grain of truth, which is why they survive.

Myth: the EDR will catch it

Reality: a good EDR catches a lot, on the hosts where its agent runs. Lateral movement tends to use signed admin tools (RDP, PowerShell remoting, built-in share access) with real credentials, so the behaviour looks like an administrator doing their job. Meanwhile the agent is missing from the old ERP server nobody dares touch, the NAS, the hypervisor management interface and every OT box. Attackers like those blind spots for exactly that reason.

Myth: internal traffic never touches the firewall anyway

Reality: it doesn’t if your user VLANs, server VLANs and management VLAN all route on the core switch. That’s a design choice, and it’s the one we’d change first. Routing user-to-server traffic through the firewall (or an internal segmentation firewall) gives you a policy point and a log line for every session. Where that isn’t affordable yet, NetFlow or sFlow from the core switch gives you who talked to whom, without the policy.

Myth: you need full packet capture to see it

Reality: packet capture is wonderful for forensics and expensive to keep. For detection, authentication events plus flow records answer most questions: which account, from which host, to which host, over which protocol, at what time. We’d spend the money on longer retention of those before buying capture appliances for every floor.

Myth: admin-tool alerts are just noise, so tune them out

Reality: they are noisy, until you define who is allowed to use them and from where. Once your admins work through two jump hosts, an RDP session from a finance laptop to a database server stops being noise and becomes the most interesting line of the day. The tuning work is real, usually a few weeks of baselining. Skipping it is where most programmes quietly die.

Myth: once they’re moving, it’s already too late

Reality: movement is rarely one burst. Attackers have to find credentials, test them, map shares and locate backups, and that takes time, often hours and sometimes days. Every hop is another chance to catch them. The window closes when they reach the backup console, not when they land on the first laptop.

Five myths about lateral movement detection set against what the logs actually show
The beliefs that keep east-west traffic invisible, and the reality behind each one.

Lateral movement detection, rule by rule

These are the detections we’d write first on a Windows-heavy estate. None needs a new product; all need the right audit settings and somewhere to correlate. Order matters: the first three give the most signal for the least tuning.

Technique (ATT&CK) Log source Alert when Where it misfires
RDP (T1021.001) 4624 logon type 10 on servers, firewall east-west log RDP reaches a server from anything other than the jump hosts Helpdesk staff who “just need it once”
SMB admin shares (T1021.002) 5140 and 5145 on servers, firewall One workstation opens ADMIN$ or C$ on several servers within an hour Software deployment servers; allow-list them by host, never by subnet
Remote service creation 7045 in the System log A new service appears on a server outside a change window Backup and monitoring agents on upgrade night
Pass the hash (T1550.002) 4624 type 3 with NTLM authentication A privileged account logs on over NTLM from a workstation Legacy applications still on NTLM; inventory them first
Pass the ticket and Kerberos abuse (T1550.003) 4769 on domain controllers One account requests RC4-encrypted service tickets for many services in minutes Old service accounts with RC4 still allowed
Windows Remote Management (T1021.006) WinRM operational log, 4624 type 3, firewall Remote PowerShell sessions from non-admin hosts Configuration management tools
Lateral tool transfer (T1570) Sysmon file creation, file share audit Executables or scripts written to admin shares Patch drops from the deployment server
Decoys Canary account, share or file Anything touches it, at all Pen testers nobody told the SOC about

Two settings decide whether half of that table works. “Audit Detailed File Share” isn’t enabled by default, so 5145 events never appear until someone changes the group policy. And the default security log size on a busy domain controller can roll over within hours, which means the evidence for Friday night is gone by Monday unless it’s being forwarded. Check both before you write a single rule.

Retention matters too. A detection that fires today is useful; being able to look back three months when CERT-In or your auditor asks how the attacker got in is what saves the post-incident report. We covered the numbers in our piece on firewall log retention in India, and the same 180-day thinking applies to Windows and flow logs. If the volume worries you, our SIEM EPS sizing method shows how to estimate it before you buy storage.

Animated flow from Windows, firewall and switch logs to correlation and approved containment
Correlating by user and host turns three separate log sources into one storyline and one containment step.

The trade-off nobody mentions: segmentation creates the logs

Here is where it usually goes wrong. Teams buy a detection tool, point it at a flat network and wonder why it sees so little. If every server and every laptop sits in one large VLAN, east-west traffic never crosses a device that records it, and the only evidence is on the endpoints themselves.

Splitting users, servers, management interfaces and OT into separate zones costs real effort. Firewall throughput has to cover internal traffic, rule sets grow, and someone has to own the exceptions list. On a FortiGate, Palo Alto or Check Point gateway, inspecting internal traffic can need a bigger model than the one sized only for internet traffic. We still think it’s worth it, because the same change that creates the logs also creates the choke point where you can stop a hop, and our infrastructure security and segmentation work usually starts here.

Not ready for that? Start smaller. Put the management VLAN and the backup network behind the firewall first. Those two zones are where attackers want to end up, and they carry little legitimate user traffic, so alerts there are almost always worth a phone call. Is anyone on your team able to say, today, which hosts are allowed to reach the backup console?

Watching every hop with PrahiX Uni

The detection table above needs one place where Windows events, firewall sessions, flow records and EDR alerts meet. That’s the problem PrahiX Uni, part of PrahiX Ora, is built for. PrahiX Ora is a unified SecOps platform built by PrahiX Tech Pvt Ltd; PJ Networks is its primary field deployment and operations partner, and Uni is the platform we deploy and operate for clients who want SIEM, SOAR and network monitoring on one engine. Your existing firewalls, switches and EDR stay exactly where they are.

Where the CrowdStrike stack stops, and what PrahiX adds

CrowdStrike Falcon is very good at what it was built for: process-level telemetry and response on hosts that run its sensor, and its Falcon Identity Protection module adds Active Directory based movement detection. The gaps show up around the edges of the agent.

With CrowdStrike alone With PrahiX
Agent-based: firewalls, switches, NAS boxes and cameras cannot run the sensor, so hops through them go unrecorded Firewall logs, NetFlow, sFlow and IPFIX collected agentlessly, so a hop through an unmanaged box still lands on the timeline
AD-based movement detection needs Falcon Identity Protection, a separate module Windows security events, DNS and identity logs correlated on the same engine, with UEBA risk scoring per user
Firewall and switch logs need Falcon Next-Gen SIEM, with third-party ingestion licensed by volume Pre-built connectors for FortiGate, Palo Alto, Sophos, Check Point and Cisco ASA; logs deduplicated on arrival and kept 180 days
Network device health and configuration are outside its scope Configuration snapshots and diffs, so a changed ACL between VLANs shows up beside the alert
CERT-In evidence for a reportable incident is assembled by hand Compliance-mapped, submission-ready reports for CERT-In 2022, RBI, SEBI CSCRF and IRDAI

PrahiX also ingests Falcon detections through its CrowdStrike connector, so the sensor’s view becomes one input among several rather than a separate console.

Comparison of CrowdStrike Falcon alone against CrowdStrike with PrahiX for lateral movement
Falcon stays on the endpoints; PrahiX adds network, identity and configuration evidence around it.

Beyond CrowdStrike: how the other OEMs compare

Every major vendor can see some hops. The pattern is the same across them: the deepest view covers their own devices, and correlation across vendors is another product.

OEM What you get, and where it stops
Fortinet FortiGate logs the east-west sessions routed through it; cross-source correlation is FortiSIEM, endpoint is FortiEDR and response is FortiSOAR, separate products and licences
Palo Alto Networks Panorama manages and logs PAN-OS firewalls; endpoint and identity analytics sit in Cortex XDR or XSIAM, separate products; switches and other vendors need another tool
Check Point Gateways log internal sessions; SmartEvent correlation is a separately licensed blade sized in correlation units, and Infinity XDR/XPR is another subscription
Sophos Sophos XDR/MDR is built on Sophos telemetry first; third-party firewalls and identity sources need integration licences
CrowdStrike Strong on hosts with the sensor; network devices cannot run it, identity is a separate module, and third-party logs go through Next-Gen SIEM, licensed by volume
Trellix Trellix EDR and Helix are separate products under the XDR umbrella; network device health is outside scope
PrahiX One engine for firewall, switch, flow, Windows, identity and EDR telemetry from any of these vendors, with ATT&CK-mapped detections, attack storylines and playbooks
Six OEM tiles showing where each vendor's lateral movement visibility stops
Fortinet, Palo Alto, Check Point, Sophos, CrowdStrike and Trellix each see their own devices first.

The rule table, answered

Each row of the detection table maps to something Uni ships with. Detections are Sigma-based and mapped to MITRE ATT&CK, so the RDP, SMB, pass-the-hash and Kerberos rules are written once and run against every Windows source. Kill chain tracking ties a type 3 logon on the file server to the RC4 ticket request on the domain controller ten minutes earlier, and graph-based storylines draw the path from initial access to the server it reached. Decoys are built in: honeypots and canary files trigger playbooks the moment anything touches them. Logs arrive within about ten seconds, and topology-aware correlation cuts alert noise by up to 70%, which is what makes the “admin tools are noise” myth manageable.

Containment you can time

Detection and response run on one engine and one data model through the SIEM and SOAR integration, so a playbook sees the whole incident rather than a single alert. When the SMB rule fires, the same playbook can isolate the host through the EDR connector, block the address on the firewall and revoke the user’s token, with an approval gate where you want a human to say yes. Every step lands in one audit trail, which is the evidence you’ll want for the CERT-In report. You can see how we run this for clients on our PrahiX Ora SIEM and SOAR page.

The rest of the family on this problem

RAYA AI, the agent inside Ora, writes the incident narrative and an executive summary from the storyline, so the morning call starts with facts instead of screenshots. Multi-vendor diagnostics shows whether the switch or firewall on the path changed. PrahiX Data Protection flags whether the file shares and databases the attacker reached hold Aadhaar, PAN or bank data, which changes your DPDP obligations. And the camera monitoring system, the video surveillance (VMS) layer, puts the server-room door and access controller on the same timeline when the movement is physical as well as digital.

Eight PrahiX Uni capabilities used in a lateral movement investigation and response
What PrahiX Uni brings to a lateral movement case, beside the tools you already run.

Frequently asked questions

What logs do I need to detect lateral movement?

Start with Windows security logs from domain controllers and servers (logons, Kerberos tickets, share access, new services), firewall logs for traffic between internal zones, and flow records from core switches. Sysmon on servers adds process and file detail. Workstation logs help, but servers and domain controllers give far more signal per gigabyte stored.

Can a firewall detect lateral movement inside the LAN?

Only for traffic that passes through it. If users and servers share one VLAN, the firewall sees nothing between them. Route user-to-server and management traffic through the firewall or an internal segmentation firewall and it becomes both a detector and a blocking point. Size the model for internal throughput before you switch on inspection.

How is lateral movement different from privilege escalation?

Privilege escalation is gaining more rights on a system; lateral movement is using rights to reach other systems. In practice they alternate: an attacker escalates on one host, dumps credentials, moves to the next and repeats. Detection rules should link the two, because a new admin logon right after a credential dump is far stronger evidence than either alone.

Does lateral movement have to be reported to CERT-In?

Unauthorised access to IT systems and data is among the incident types listed in CERT-In’s 2022 directions, which carry a six-hour reporting window from the time you notice. Confirmed movement onto servers usually means systems are compromised. Whether a specific event is reportable is a judgement for your designated point of contact and legal team, so agree the criteria in advance.

This week: pull one day of server logons and look for odd pairs

Pick your three most important servers, export a day of 4624 events, and list every source host and account that logged on over the network or by RDP. Anything you can’t explain in a minute is your first detection rule, and probably your first segmentation change. If the events aren’t there, you’ve found the audit policy to fix.

If you’d rather have a team that reads these records every night, our managed SOC services run lateral movement detections across mixed-vendor estates from our Delhi NOC. We’re happy to start with a short review of your audit settings and segmentation before anything else.

Leave a Reply

Your email address will not be published. Required fields are marked *