WinRAR Execution from Non-Standard Locations
Detection logic for identifying WinRAR execution from non-standard directories, a technique often used by attackers to stage archives for data collection and exfiltration.
WinRAR and the associated command-line utility (RAR.exe) are frequently leveraged by threat actors to compress sensitive data for later exfiltration. While these tools are legitimate, attackers often rename or drop them into non-standard, user-writable directories to evade detection based on established file paths. This brief provides a detection mechanism to monitor for WinRAR process execution originating from locations other than its expected installation directory in Program Files. Defenders should focus on instances where RAR.exe or WinRAR.exe are executed from temporary folders, user profiles, or hidden directories, as this behavior is often indicative of collection activity during an intrusion.
Impact
Successful execution of WinRAR by unauthorized actors facilitates the collection and staging of local data, leading to information theft and potential privacy incidents. Identifying this technique allows security teams to disrupt the data collection phase of an attack before data is exfiltrated from the network.
Recommendation
Deploy the provided Sigma rule to your SIEM to monitor for suspicious WinRAR executions. Use the rule to baseline legitimate software that may bundle WinRAR as a dependency. If alerts trigger, investigate the parent process and command-line arguments to determine if the execution is part of a malicious data collection chain.
Immediate actions
Deploy the Sigma rule to the production SIEM to baseline activity.
Threat Hunt
Search for rar.exe or winrar.exe processes originating from directories outside of C:\Program Files and C:\Program Files (x86).
Data: Process creation logs
Detection coverage 1
WinRAR Execution in Non-Standard Folder
mediumDetects a suspicious WinRAR or RAR execution in a folder that is not the default installation directory or a known temporary installer path.
Detection queries are available on the platform. Get full rules →