Cybersecurity researchers have recently observed the Qilin ransomware gang deploying a highly efficient post-compromise reconnaissance tactic.
Instead of relying on noisy network-scanning tools, threat actors are now leveraging PowerShell to secretly enumerate the Remote Desktop Protocol (RDP) authentication history on compromised servers.
This technique allows attackers to quickly and quietly map network pivot points, identifying privileged accounts while evading traditional detection mechanisms.
Qilin operates as a Ransomware-as-a-Service (RaaS) group known for aggressive double-extortion campaigns, making early detection of their lateral movement critical for preventing widespread network encryption.
Stealthy Network Mapping Without Scans
Once inside a network, ransomware operators typically need to move laterally to find high-value targets. Historically, this meant running Active Directory enumeration tools or aggressive network scans, which often trigger security alerts and alert defenders to an ongoing intrusion.
However, Qilin has shifted to a much stealthier approach that relies entirely on living off the land techniques to gather intelligence.
Recent threat intelligence reveals that Qilin actors are executing a targeted PowerShell command to extract event logs directly from the compromised machine.
Specifically, they pull Event ID 1149 from the Windows Terminal Services Remote Connection Manager operational log. This specific Windows event triggers and logs every successful RDP network connection made to that server.
By querying this single event ID, the PowerShell script effortlessly extracts the username, domain, and source client IP address for each historical RDP authentication.

With a single query, the attacker instantly gains a comprehensive, working map of the network’s internal RDP usage.
They can clearly see which accounts log in to the compromised host, the specific client systems they connect from, and which users have sufficient administrative privileges to be valuable for their next pivot.
This method is highly effective because it operates off the land, relying on built-in Windows administrative logs rather than noisy custom malware.
The script used to execute this query was reportedly transferred to the victim’s machine via a rogue ScreenConnect installation during the initial intrusion phase. By hijacking normal administrative pathways, the attackers blend in seamlessly with legitimate daily network operations.
Threat Hunting and Detection Strategies
Defenders must adapt their threat-hunting strategies to detect this subtle reconnaissance activity before attackers reach the data exfiltration and encryption phases.
Fortunately, this specific tactic leaves a clear forensic trail when the right logging is enabled across the enterprise. Security teams should prioritize monitoring advanced PowerShell activity across all servers and endpoints.
According to Linkedin research, PowerShell ScriptBlock Logging is highly effective at capturing these exact command executions in their entirety.
Under normal circumstances, there is practically no benign reason for a non-administrative process or standard user account to query RDP operational logs for Event ID 1149.
Any detection of this specific log extraction query should immediately be treated as a critical security incident requiring immediate containment.
Follow us on Google News , LinkedIn and X to Get More Instant Updates. Set Cyberpress as a Preferred Source in Google.