The detection identifies potential adversary use of LogMeIn, a Remote Management and Monitoring tool, to establish persistence or command and control channels by leveraging its file signature. SOC teams should proactively hunt for this behavior in Azure Sentinel to detect and mitigate advanced threats that exploit legitimate RMM tools for malicious purposes.
KQL Query
let Time_start = now(-5d);
let Time_end = now();
//
DeviceFileCertificateInfo
| where Timestamp between (Time_start..Time_end)
| where Signer has_any ('LogMeIn', 'GoTo, Inc')
| summarize FirstSeen=min(Timestamp), LastSeen=max(Timestamp),
Report=make_set(ReportId), Count=count() by DeviceId, DeviceName
id: 9fa78c8e-b5cb-4189-9888-1af7cca7ddb3
name: Remote Management and Monitoring tool - LogMeIn - File Signature
description: |
Remote Monitoring and Management (RMM) programs are IT to manage remote endpoints. Attackers have begun to abuse these programs to persist or provide C2 channels.
https://github.com/jischell-msft/RemoteManagementMonitoringTools
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
dataTypes:
- DeviceFileCertificateInfo
tactics: CommandAndControl
relevantTechniques: T1219
query: |
let Time_start = now(-5d);
let Time_end = now();
//
DeviceFileCertificateInfo
| where Timestamp between (Time_start..Time_end)
| where Signer has_any ('LogMeIn', 'GoTo, Inc')
| summarize FirstSeen=min(Timestamp), LastSeen=max(Timestamp),
Report=make_set(ReportId), Count=count() by DeviceId, DeviceName
Scenario: Legitimate LogMeIn Session for Remote Support
Description: A system administrator uses LogMeIn to provide remote support to an end-user.
Filter/Exclusion: process.name != "LogMeIn.exe" OR process.parent.name != "LogMeIn.exe" OR user.account != "IT_Admin_Account"
Scenario: Scheduled LogMeIn File Integrity Check
Description: A scheduled task runs a LogMeIn-based tool to verify file integrity or system health.
Filter/Exclusion: process.name != "LogMeIn.exe" OR process.command_line contains "integrity_check" OR process.parent.name != "TaskScheduler"
Scenario: LogMeIn Used for Remote PowerShell Execution
Description: An admin uses LogMeIn to remotely execute a PowerShell script for system maintenance.
Filter/Exclusion: process.name != "LogMeIn.exe" OR process.command_line contains "powershell.exe" OR user.account != "IT_Admin_Account"
Scenario: LogMeIn Integration with SIEM for Monitoring
Description: A SIEM tool (e.g., Splunk, ELK) uses LogMeIn to collect logs for centralized monitoring.
Filter/Exclusion: process.name != "LogMeIn.exe" OR process.parent.name != "splunkd.exe" OR process.parent.name != "logstash"
Scenario: LogMeIn Used for Patch Management
Description: A patch management tool leverages LogMeIn to push updates to remote endpoints.
Filter/Exclusion: process.name != "LogMeIn.exe" OR process.command_line contains "patch_update" OR process.parent.name != "PatchManager.exe"