IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Signed Proxy Execution via MS Work Folders
editSigned Proxy Execution via MS Work Folders
editIdentifies the use of Windows Work Folders to execute a potentially masqueraded control.exe file in the current working directory. Misuse of Windows Work Folders could indicate malicious activity.
Rule type: eql
Rule indices:
- winlogbeat-*
- logs-windows.*
Severity: medium
Risk score: 47
Runs every: 5 minutes
Searches indices from: now-9m (Date Math format, see also Additional look-back time
)
Maximum alerts per execution: 100
References:
Tags:
- Elastic
- Host
- Windows
- Threat Detection
- Defense Evasion
Version: 2 (version history)
Added (Elastic Stack release): 8.2.0
Last modified (Elastic Stack release): 8.3.0
Rule authors: Elastic, Austin Songer
Rule license: Elastic License v2
Investigation guide
edit## Triage and analysis ### Investigating Signed Proxy Execution via MS Work Folders Work Folders is a role service for file servers running Windows Server that provides a consistent way for users to access their work files from their PCs and devices. This allows users to store work files and access them from anywhere. When called, Work Folders will automatically execute any Portable Executable (PE) named control.exe as an argument before accessing the synced share. Using Work Folders to execute a masqueraded control.exe could allow an adversary to bypass application controls and increase privileges. #### Possible investigation steps - Investigate the process tree starting with parent process WorkFolders.exe and child process control.exe to determine if other child processes spawned during execution. - Trace the activity related to the control.exe binary to identify any continuing intrusion activity on the host. - Examine the location of the WorkFolders.exe binary to determine if it was copied to the location of the control.exe binary. It resides in the System32 directory by default. - Review the control.exe binary executed with Work Folders to determine maliciousness such as additional host activity or network traffic. - Determine if control.exe was synced to sync share, indicating potential lateral movement. - Review how control.exe was originally delivered on the host, such as emailed, downloaded from the web, or written to disk from a separate binary. ### False positive analysis - Windows Work Folders are used legitimately by end users and administrators for file sharing and syncing but not in the instance where a suspicious control.exe is passed as an argument. ### Response and remediation - Initiate the incident response process based on the outcome of the triage. - Isolate the involved host to prevent further post-compromise behavior. - Review the Work Folders synced share to determine if the control.exe was shared and if so remove it. - If no lateral movement was identified during investigation, take the affected host offline if possible and remove the control.exe binary as well as any additional artifacts identified during investigation. - Review integrating Windows Information Protection (WIP) to enforce data protection by encrypting the data on PCs using Work Folders. - Confirm with the user whether this was expected or not, and reset their password. ## Config If enabling an EQL rule on a non-elastic-agent index (such as beats) for versions <8.2, events will not define `event.ingested` and default fallback for EQL rules was not added until 8.2, so you will need to add a custom pipeline to populate `event.ingested` to @timestamp for this rule to work.
Rule query
editprocess where event.type in ("start","process_started") and process.name : "control.exe" and process.parent.name : "WorkFolders.exe" and not process.executable : ("?:\\Windows\\System32\\control.exe", "?:\\Windows\\SysWOW64\\control.exe")
Threat mapping
editFramework: MITRE ATT&CKTM
-
Tactic:
- Name: Defense Evasion
- ID: TA0005
- Reference URL: https://attack.mitre.org/tactics/TA0005/
-
Technique:
- Name: Signed Binary Proxy Execution
- ID: T1218
- Reference URL: https://attack.mitre.org/techniques/T1218/
Rule version history
edit- Version 2 (8.3.0 release)
-
- Rule name changed from: Signed Proxy Execution via MS WorkFolders