# What is PsExec or admin-share abuse, and why does antivirus not flag it?

PsExec and similar tools run commands on a remote computer by copying a small service through its administrative file shares and starting it, and remote management protocols such as WinRM and remote desktop do similar work. Administrators use them every day, which is why antivirus usually lets them pass: the tool is signed and legitimate, and only the context is wrong. Attackers use them to spread from one machine to many, push ransomware to every server at once or run scripts with stolen administrator credentials. What gives them away is who uses them, from where and when: a workstation opening administrative sessions to servers it never used, at 01:30, or one account touching dozens of hosts within a few minutes. Restrict which machines may administer others. NetSenX flags such new host-to-host administrative sessions as lateral movement on every plan.

FAQ: [Attack techniques explained](https://netsenx.com/en/faq/attacks) · https://netsenx.com/en/faq/what-is-psexec-and-admin-share-abuse

## Read next

- https://netsenx.com/en/detect-lateral-movement-c2-beaconing
- https://netsenx.com/en/is-someone-inside-your-network

## Related questions

- [Can attackers move through our network with stolen passwords and no malware?](https://netsenx.com/en/faq/can-attackers-move-with-stolen-passwords-and-no-malware)
- [Should we detect lateral movement from authentication logs or from network flows?](https://netsenx.com/en/faq/authentication-logs-or-network-flows-for-lateral-movement)
- [What is graph-based detection of lateral movement?](https://netsenx.com/en/faq/what-is-graph-based-lateral-movement-detection)
- [Do rule-based security tools miss new attack paths?](https://netsenx.com/en/faq/do-rule-based-tools-miss-new-attack-paths)
- [Why would a printer scan our network, and can printers be used to attack other computers?](https://netsenx.com/en/faq/why-would-a-printer-scan-our-network)
