Sigma rule: PUA - PingCastle Execution From Potentially Suspicious Parent

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-662a9ce8e5a9, updated 2024-01-11T00:00:00.000Z.

Rule

Title
PUA - PingCastle Execution From Potentially Suspicious Parent
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems), X__Junior (Nextron Systems)
Date
2024-01-11
File
rules/windows/process_creation/proc_creation_win_pua_pingcastle_script_parent.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the execution of PingCastle, a tool designed to quickly assess the Active Directory security level via a script located in a potentially suspicious or uncommon location.

Log source

product
windows
category
process_creation

Detection

selection_parent_ext:
    ParentCommandLine|contains:
        - '.bat'
        - '.chm'
        - '.cmd'
        - '.hta'
        - '.htm'
        - '.html'
        - '.js'
        - '.lnk'
        - '.ps1'
        - '.vbe'
        - '.vbs'
        - '.wsf'
selection_parent_path_1:
    ParentCommandLine|contains:
        - ':\Perflogs\'
        - ':\Temp\'
        - ':\Users\Public\'
        - ':\Windows\Temp\'
        - '\AppData\Local\Temp'
        - '\AppData\Roaming\'
        - '\Temporary Internet'
selection_parent_path_2:
    - ParentCommandLine|contains|all:
          - ':\Users\'
          - '\Favorites\'
    - ParentCommandLine|contains|all:
          - ':\Users\'
          - '\Favourites\'
    - ParentCommandLine|contains|all:
          - ':\Users\'
          - '\Contacts\'
selection_cli:
    - Image|endswith: '\PingCastle.exe'
    - OriginalFileName: PingCastle.exe
    - Product: 'Ping Castle'
    - CommandLine|contains:
          - '--scanner aclcheck'
          - '--scanner antivirus'
          - '--scanner computerversion'
          - '--scanner foreignusers'
          - '--scanner laps_bitlocker'
          - '--scanner localadmin'
          - '--scanner nullsession'
          - '--scanner nullsession-trust'
          - '--scanner oxidbindings'
          - '--scanner remote'
          - '--scanner share'
          - '--scanner smb'
          - '--scanner smb3querynetwork'
          - '--scanner spooler'
          - '--scanner startup'
          - '--scanner zerologon'
    - CommandLine|contains: '--no-enum-limit'
    - CommandLine|contains|all:
          - '--healthcheck'
          - '--level Full'
    - CommandLine|contains|all:
          - '--healthcheck'
          - '--server '
condition: 1 of selection_parent_* and selection_parent_ext and selection_cli

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.reconnaissance
  • attack.t1595

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_pua_pingcastle_script_parent.yml

Sources and licences

  • SigmaHQ

    "PUA - PingCastle Execution From Potentially Suspicious Parent" by Nasreddine Bencherchali (Nextron Systems), X__Junior (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_pua_pingcastle_script_parent.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: PUA - PingCastle Execution From Potentially Suspicious Parent",
entity page, dataset version ref-662a9ce8e5a9, updated 2024-01-11T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/b37998de-a70b-4f33-b219-ec36bf433dc0 (accessed 2026-11-03).
Underlying source: SigmaHQ rule b37998de-a70b-4f33-b219-ec36bf433dc0, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.