EXPLORE
← Back to Explore
sigmamediumHunting

MITRE BZAR Indicators for Execution

Windows DCE-RPC functions which indicate an execution techniques on the remote system. All credit for the Zeek mapping of the suspicious endpoint/operation field goes to MITRE

MITRE ATT&CK

privilege-escalationpersistenceexecution

Detection Query

op1:
  endpoint: JobAdd
  operation: atsvc
op2:
  endpoint: ITaskSchedulerService
  operation: SchRpcEnableTask
op3:
  endpoint: ITaskSchedulerService
  operation: SchRpcRegisterTask
op4:
  endpoint: ITaskSchedulerService
  operation: SchRpcRun
op5:
  endpoint: IWbemServices
  operation: ExecMethod
op6:
  endpoint: IWbemServices
  operation: ExecMethodAsync
op7:
  endpoint: svcctl
  operation: CreateServiceA
op8:
  endpoint: svcctl
  operation: CreateServiceW
op9:
  endpoint: svcctl
  operation: StartServiceA
op10:
  endpoint: svcctl
  operation: StartServiceW
condition: 1 of op*

Author

@neu5ron, SOC Prime

Created

2020-03-19

Data Sources

zeekdce_rpc

Platforms

zeek

Tags

attack.privilege-escalationattack.persistenceattack.executionattack.t1047attack.t1053.002attack.t1569.002
Raw Content
title: MITRE BZAR Indicators for Execution
id: b640c0b8-87f8-4daa-aef8-95a24261dd1d
status: test
description: 'Windows DCE-RPC functions which indicate an execution techniques on the remote system. All credit for the Zeek mapping of the suspicious endpoint/operation field goes to MITRE'
references:
    - https://github.com/mitre-attack/bzar#indicators-for-attck-execution
author: '@neu5ron, SOC Prime'
date: 2020-03-19
modified: 2021-11-27
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.execution
    - attack.t1047
    - attack.t1053.002
    - attack.t1569.002
logsource:
    product: zeek
    service: dce_rpc
detection:
    op1:
        endpoint: 'JobAdd'
        operation: 'atsvc'
    op2:
        endpoint: 'ITaskSchedulerService'
        operation: 'SchRpcEnableTask'
    op3:
        endpoint: 'ITaskSchedulerService'
        operation: 'SchRpcRegisterTask'
    op4:
        endpoint: 'ITaskSchedulerService'
        operation: 'SchRpcRun'
    op5:
        endpoint: 'IWbemServices'
        operation: 'ExecMethod'
    op6:
        endpoint: 'IWbemServices'
        operation: 'ExecMethodAsync'
    op7:
        endpoint: 'svcctl'
        operation: 'CreateServiceA'
    op8:
        endpoint: 'svcctl'
        operation: 'CreateServiceW'
    op9:
        endpoint: 'svcctl'
        operation: 'StartServiceA'
    op10:
        endpoint: 'svcctl'
        operation: 'StartServiceW'
    condition: 1 of op*
falsepositives:
    - Windows administrator tasks or troubleshooting
    - Windows management scripts or software
level: medium