What attackers do. Attackers exploit a weakness in an internet-facing system, such as a web application, VPN appliance, firewall, mail server or database, to get a foothold inside the network. This serves Initial Access and often leads quickly to web shells or credential theft.
How to defend. Keep an accurate inventory of everything exposed to the internet and patch it fast, prioritising vulnerabilities known to be exploited in the wild. Put a web application firewall in front of custom applications, reduce exposed management interfaces, and segment edge systems so a compromise does not reach the core network. Collect web server, application and appliance logs centrally, since many edge devices cannot run endpoint agents.
Signs to look for. Look for unusual requests or error spikes in web logs, new files in web directories, and server processes spawning shells or making outbound connections. A frequent gap is edge appliances with little logging and no endpoint visibility.