Detect Remote Access Software Usage URL
Description
The following analytic detects the execution of known remote access software within the environment. It leverages network logs mapped to the Web data model, identifying specific URLs and user agents associated with remote access tools like AnyDesk, GoToMyPC, LogMeIn, and TeamViewer.
Query · spl
| tstats `security_content_summariesonly`
count min(_time) as firstTime
max(_time) as lastTime
latest(Web.http_method) as http_method
latest(Web.http_user_agent) as http_user_agent
latest(Web.url) as url
latest(Web.user) as user
latest(Web.dest) as dest
FROM datamodel=Web WHERE
Web.url_domain=*
NOT Web.url_domain IN (
"-",
"unknown"
)
[
| inputlookup remote_access_software
| search domain!=""
| rename domain as Web.url_domain
| table Web.url_domain
]
BY Web.action Web.src Web.category
Web.url_domain Web.url_length
| `drop_dm_object_name("Web")`
| lookup local=t remote_access_software domain AS url_domain OUTPUT app as signature, category, reference, description
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `remote_access_software_usage_exceptions`
| `detect_remote_access_software_usage_url_filter`
Implementation guide
The detection is based on data that originates from network logs. These logs must be processed using the appropriate Splunk Technology Add-ons
that are specific to the network logs. The logs must also be mapped to the Web data model. Use the Splunk Common Information Model (CIM) to
normalize the field names and speed up the data modeling process. The "exceptions" macro leverages both an Assets and Identities lookup, as well
as a KVStore collection called "remote_software_exceptions" that lets you track and maintain device-based exceptions for this set of detections.
Known false positives
- It is possible that legitimate remote access software is used within the environment. Ensure that the lookup is reviewed and updated with any additional remote access software that is used within the environment. Known false positives can be added to the remote_access_software_usage_exception.csv lookup to globally suppress these situations across all remote access content
Analyst notes
Known false positives: It is possible that legitimate remote access software is used within the environment. Ensure that the lookup is reviewed and updated with any additional remote access software that is used within the environment. Known false positives can be added to the remote_access_software_usage_exception.csv lookup to globally suppress these situations across all remote access content