Lateral Movement · ATT&CK v20
T1021.002 Remote Services: SMB/Windows Admin Shares
A Lateral Movement technique. Moving from one system or account to the next.
- T1021.002Technique ID
- Lateral MovementTactic
- 5Places taught
What the attacker does
The attacker uses SMB and the hidden admin shares (C$, ADMIN$) to copy files to other machines and run them, often with PsExec or similar tools.
How it shows up in the logs
- Security 5140 or 5145 for access to ADMIN$ or C$, with a 4624 Logon Type 3 from the source host.
- A new service on the target (7045 or 4697), for example PSEXESVC, right after a file was written to ADMIN$.
- The same pattern repeated against many hosts in minutes.
Questions to ask in triage
- Which account was used, and is it an admin who does this?
- Which file was copied, and what did it run?
- Which other hosts saw the same pattern?
Read T1021.002 on attack.mitre.org
A sub-technique of T1021.
Where you meet it in CyberSim
Detection rules in the shift
Alerts tagged with this technique, the way Sentinel tags an analytics rule.
- Admin network logon, then a new service on that host
In the L3 war room
- Using the helpdesk admin, the attacker moved to the IT helpdesk workstation over SMB and installed a remote service.
- With the cracked SQL service account the attacker moved to the SQL server.
- With the SQL service account the attacker moved to the database server over SMB.
In the theory
In the hands-on labs
A simulated machine in your browser.
In the cases
Part of the answer in 1 investigation, in this learning path:
Which case is not said here: finding it is the case.
Events that can show it
- Event ID 4624: An account was successfully logged on.
- Event ID 7045: A service was installed in the system.
In the glossary
More Lateral Movement techniques
- T1021.001 Remote Services: Remote Desktop Protocol
- T1021.004 Remote Services: SSH
- T1534 Internal Spearphishing
- T1550.001 Use Alternate Authentication Material: Application Access Token
- T1550.004 Use Alternate Authentication Material: Web Session Cookie
Source: MITRE ATT&CK T1021.002, tactic TA0008.