Detectionmediumtest

Use of Pcalua For Execution

Detects execition of commands and binaries from the context of The program compatibility assistant (Pcalua.exe). This can be used as a LOLBIN in order to bypass application whitelisting.

Open in Detection LabConvert ruleBuild Package
Nasreddine Bencherchali, E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.communityCreated 2022-06-14Updated 2023-01-040955e4e1-c281-4fb9-9ee1-5ee7b4b754d2windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic1 selector
detection:
    selection:
        Image|endswith: '\pcalua.exe'
        CommandLine|contains: ' -a' # No space after the flag because it accepts anything as long as there a "-a"
    condition: selection
False Positives

Legitimate use by a via a batch script or by an administrator.

Related Rules
Similar

fa47597e-90e9-41cd-ab72-c3b74cfb0d02

Rule not found
Rule Metadata
Rule ID
0955e4e1-c281-4fb9-9ee1-5ee7b4b754d2
Status
test
Level
medium
Type
Detection
Created
2022-06-14
Modified
2023-01-04
Path
rules/windows/process_creation/proc_creation_win_lolbin_pcalua.yml
Raw Tags
attack.executionattack.t1059
View on GitHub