SenseOn SOC Playbook: Remote Management Connections
This page gives the process that SenseOn recommends to managed providers of SenseOn, to extend the investigation of incidents in end customer estates. It also gives best practice guidance for additional manual threat hunting and containment.
Process Flowchart

Identification
Source Process Analysis
Action for provider of SenseOn MDR
Use the Directory & File Control Resilience script from the SenseOn repository. First, hash the file. Then download the sample for analysis in the SenseOn Sandbox.
Resilience Script Access: If you are a SenseOn MDR provider or customer, you can get access to the SenseOn Resilience script repository. If you do not have access, contact the SenseOn support team. Scripts run in an Active Response device session. Thus, you also must have Active Response access.
Look for other suspicious related network connections. To do this, use these queries from the Query Library in Hunt Lab:
- ‘Connections by a Specific Program’. This query returns other connections from the suspicious process.
- ‘Usernames associated with a certain program installed on a device’. This query shows how common the suspicious program is across the estate.
External Host Analysis
Action for provider of SenseOn MDR
Find the external host at the other end of the connection. These actions can help:
- Do a whois lookup of the external location.
- Do a check of the IP/domain against OSINT.
- Look for previous connections to the location with the ‘Network connections between two hosts’ Hunt Lab query.
- Look for DNS requests and resolutions for the external host with the ‘Threat Hunting - DNS Requests’ Hunt Lab query.
Remote Desktop Protocol (RDP) and Terminal Services
Action for provider of SenseOn MDR
Look in the RDP and Terminal Services logs for evidence of one or more successful connections. In Windows, use the Event Viewer to do this.
Application Review
Action for provider of SenseOn MDR
Use the Hunt Lab query that follows to find applications for remote management connections across the estate:
SELECT DISTINCT _hostname,
name,
version,
install_location,
install_source,
install_date,
publisher
FROM endpoint_program
WHERE name LIKE '%X%'
Containment
After you make sure that the behaviour is malicious and you know the attack scope, do an impact assessment. Do this before you take containment actions. Use the process that follows.
Impact Assessment
Action for provider of SenseOn MDR
Assess if the process that started the connection, the connection or the external host is malicious. If so, consider the possible impact of any firewall rules that you add.
Firewall Configuration & Isolation
Joint action for customer and provider of SenseOn MDR
Add applicable firewall rule(s) to block more connections to any malicious external locations that you found. You can use the ‘Firewall Interaction’ resilience script from the SenseOn repository to do this. You can also work on the device locally, or use a trusted remote access solution.
Resilience Script Access: If you are a SenseOn MDR provider or customer, you can get access to the SenseOn Resilience script repository. If you do not have access, contact the SenseOn support team. Scripts run in an Active Response device session. Thus, you also must have Active Response access.
If the impact is low, consider an Active Response action that isolates the host, not bespoke firewall rules. This makes sure that the containment of the threat is adequate. For an Active Response action, you must have Active Response access.
Lateral Movement
Action for provider of SenseOn MDR
Look for lateral movement to other devices on the network. Minimise this movement. These actions can help:
- Analyse the recently logged in sessions for this account around the compromise time frame:
SELECT user,
_hostname,
min(_time_observed),
max(_time_observed)
FROM endpoint_logon_session
WHERE user = 'X'
GROUP BY user, _hostname
- Lock out the compromised user. Reset the credentials.
If you detect lateral movement, follow the same steps from the previous sections for each affected resource.
Eradication
Joint action for customer and provider of SenseOn MDR
To contain and remediate this type of incident effectively, consider the eradication approaches that follow.
- SenseOn recommends that the SenseOn MDR provider review if it is feasible and worthwhile to uninstall / remove the abused remote access software.
- SenseOn recommends that the SenseOn MDR provider review if it can uninstall / remove any additional tools that the threat actor installed. Or, the provider can advise the customer on an alternative eradication approach.
- Where advised, SenseOn recommends that the Customer MDR provider start a full Antivirus scan of affected devices for initial cleanup and remediation.
Recovery
Action for provider of SenseOn MDR
SenseOn recommends fast recovery as a fundamental goal of each incident response approach. For this incident type, consider the recovery steps that follow.
- SenseOn recommends that the SenseOn MDR provider periodically monitor new inbound external connections.
- SenseOn recommends that the SenseOn MDR provider remove the firewall rules from the containment stage. It does this after it agrees with the customer that the threat is mitigated.
- As part of the monitoring check and telemetry review, SenseOn recommends that the SenseOn MDR provider look for unusual endpoint behaviour. The ‘Host processes within a certain timeframe’ Hunt Lab query can help with this.