Skip to content
Threat Feed
medium advisory

Detection of Unauthorized Remote Access Software via Cisco Secure Firewall

This brief provides detection logic for identifying network traffic associated with dual-use remote access tools like AnyDesk, TeamViewer, and LogMeIn within Cisco Secure Firewall logs.

This detection focuses on identifying the presence of known remote access software (RAS) within corporate network traffic. Adversaries frequently abuse these legitimate applications to maintain command and control (C2), bypass perimeter defenses, and facilitate unauthorized remote management of compromised hosts. By utilizing Cisco Secure Firewall Application Detectors, security teams can pinpoint connections initiated by tools such as AnyDesk, GoToMyPC, LogMeIn, and TeamViewer. Because these applications are often used for legitimate administrative or support tasks, successful implementation requires the use of asset and identity (A&I) lookups and an exceptions list to distinguish between authorized operational use and potentially malicious activity.

Attack Chain

  1. Initial access is achieved via spearphishing, credential harvesting, or exploitation of public-facing assets.
  2. The attacker installs or executes a dual-use remote access application (e.g., AnyDesk, TeamViewer) on the target host.
  3. The application establishes an outbound connection to its respective C2 infrastructure.
  4. The network perimeter (Cisco Secure Firewall) logs the connection event identifying the specific client application.
  5. The attacker authenticates to the remote host using the established tunnel.
  6. The attacker performs lateral movement, data exfiltration, or deploys follow-on payloads such as ransomware.

Impact

Successful deployment of unauthorized remote access software provides adversaries with persistent, stealthy access to internal resources. This allows for long-term intelligence gathering, data exfiltration, or the deployment of ransomware. Historically, these tools have been observed in campaigns by actors such as Scattered Spider and various ransomware syndicates, often acting as a precursor to widespread domain compromise and business disruption.

Recommendation

  • Ingest Cisco Secure Firewall Threat Defense logs into your SIEM using the Splunk Add-on for Cisco Security Cloud.
  • Implement a lookup-based monitoring strategy to flag traffic associated with the remote_access_software category.
  • Maintain a remote_software_exceptions KVStore collection or CSV lookup to filter out legitimate business tools used by authorized IT and support teams.
  • Investigate flagged connections that originate from non-administrative segments or hosts with no prior business justification for using external remote control software.
  • Prioritize alerts where the source host has other associated risk events within the last 7 days.

Immediate actions

Deploy analytic logic for Cisco Secure Firewall connection logs

Detection Engineering 48h

Threat Hunt

Identify endpoints initiating connections to known remote access software update or relay IPs

T1219 medium high confidence hunt now

Data: Cisco Secure Firewall Connection logs

Mitigations

Implement application control policy to restrict remote access tools to authorized IT assets

medium IT Operations

T1219