Sigma rule: Potential Direct Syscall of NtOpenProcess

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-c81fc1a127a0, updated 2023-12-13T00:00:00.000Z.

Rule

Title
Potential Direct Syscall of NtOpenProcess
Status
test
Level
medium
Author
Christian Burkard (Nextron Systems), Tim Shelton (FP)
Date
2021-07-28
Modified
2023-12-13
File
rules/windows/process_access/proc_access_win_susp_direct_ntopenprocess_call.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects potential calls to NtOpenProcess directly from NTDLL.

Log source

product
windows
category
process_access

Detection

selection:
    CallTrace|startswith: 'UNKNOWN'
filter_main_vcredist:
    TargetImage|endswith: 'vcredist_x64.exe'
    SourceImage|endswith: 'vcredist_x64.exe'
filter_main_generic:
    # Examples include "systeminfo", "backgroundTaskHost", "AUDIODG"
    SourceImage|contains:
        - ':\Program Files (x86)\'
        - ':\Program Files\'
        - ':\Windows\System32\'
        - ':\Windows\SysWOW64\'
        - ':\Windows\WinSxS\'
    TargetImage|contains:
        - ':\Program Files (x86)\'
        - ':\Program Files\'
        - ':\Windows\System32\'
        - ':\Windows\SysWOW64\'
        - ':\Windows\WinSxS\'
filter_main_kerneltrace_edge:
    # Cases in which the CallTrace is just e.g. 'UNKNOWN(19290435374)' from Microsoft-Windows-Kernel-Audit-API-Calls provider
    Provider_Name: 'Microsoft-Windows-Kernel-Audit-API-Calls'
filter_optional_vmware:
    TargetImage|endswith: ':\Windows\system32\systeminfo.exe'
    SourceImage|endswith: 'setup64.exe' # vmware
filter_optional_cylance:
    SourceImage|endswith: ':\Windows\Explorer.EXE'
    TargetImage|endswith: ':\Program Files\Cylance\Desktop\CylanceUI.exe'
filter_optional_amazon:
    SourceImage|endswith: 'AmazonSSMAgentSetup.exe'
    TargetImage|endswith: 'AmazonSSMAgentSetup.exe'
filter_optional_vscode: # VsCode
    SourceImage|endswith: '\AppData\Local\Programs\Microsoft VS Code\Code.exe'
    TargetImage|endswith: '\AppData\Local\Programs\Microsoft VS Code\Code.exe'
filter_optional_teams: # MS Teams
    TargetImage|endswith: '\AppData\Local\Microsoft\Teams\current\Teams.exe'
    SourceImage|endswith: '\AppData\Local\Microsoft\Teams\current\Teams.exe'
filter_optional_discord: # Discord
    TargetImage|contains: '\AppData\Local\Discord\'
    TargetImage|endswith: '\Discord.exe'
filter_optional_yammer:
    SourceImage|contains: '\AppData\Local\yammerdesktop\app-'
    SourceImage|endswith: '\Yammer.exe'
    TargetImage|contains: '\AppData\Local\yammerdesktop\app-'
    TargetImage|endswith: '\Yammer.exe'
    GrantedAccess: '0x1000'
filter_optional_evernote:
    TargetImage|endswith: '\Evernote\Evernote.exe'
filter_optional_adobe_acrobat:
    SourceImage|contains: ':\Program Files\Adobe\Acrobat DC\Acrobat\'
    SourceImage|endswith: '\AcroCEF.exe'
    TargetImage|contains: ':\Program Files\Adobe\Acrobat DC\Acrobat\'
    TargetImage|endswith: '\AcroCEF.exe'
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.execution
  • attack.t1106

MITRE ATT&CK ids this rule names

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_access/proc_access_win_susp_direct_ntopenprocess_call.yml

Sources and licences

  • SigmaHQ

    "Potential Direct Syscall of NtOpenProcess" by Christian Burkard (Nextron Systems), Tim Shelton (FP) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_access/proc_access_win_susp_direct_ntopenprocess_call.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: Potential Direct Syscall of NtOpenProcess",
entity page, dataset version ref-c81fc1a127a0, updated 2023-12-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/3f3f3506-1895-401b-9cc3-e86b16e630d0 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 3f3f3506-1895-401b-9cc3-e86b16e630d0, 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.