Detection tools

Rule Converter

Translate a Sigma rule into a query for your SIEM.

Browse rules
title: Microsoft Office Application Loading Task Scheduler DLL
id: 8d1e674c-5c03-4be1-949c-4b85a472dc16
status: experimental
description: |
    Detects a Microsoft Office application loading taskschd.dll, which exposes COM interfaces for managing Windows Scheduled Tasks.
    This load is an early precursor to scheduled task creation or modification and has been frequently observed in macro-enabled
    malicious documents attempting to establish persistence.
references:
    - https://github.com/saksham-17/detection-lab/blob/cbc25dfe1e5eda0c4e5a7d66b6d3bbd27829e158/T1053.005-scheduled-task/tests/test5-task-scheduler-via-VBA/report.md
author: Saksham Bhattarai, Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2026-11-04
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.t1053.005
    - attack.execution
    - attack.t1204.002
logsource:
    category: image_load
    product: windows
detection:
    selection_dll:
        - ImageLoaded|endswith: '\taskschd.dll'
        - OriginalFileName: 'taskschd.dll'
    selection_exe:
        Image|endswith:
            - '\eqnedt32.exe'
            - '\excel.exe'
            - '\fltldr.exe'
            - '\graph.exe'
            - '\msaccess.exe'
            - '\mspub.exe'
            - '\onenote.exe'
            - '\onenoteim.exe'
            - '\onenotem.exe'
            - '\outlook.exe'
            - '\powerpnt.exe'
            - '\visio.exe'
            - '\winproj.exe'
            - '\winword.exe'
    condition: all of selection_*
falsepositives:
    - Legitimate add-ins or automation scripts that use Office applications to manage scheduled tasks (rare in most environments)
level: medium
regression_tests_path: regression_data/rules/windows/image_load/image_load_office_taskschd_dll_load/info.yml
Run Locally

Install the matching packages, then run from your Sigma checkout.

python -m pip install 'sigma-cli==4.0.0' 'pysigma==2.0.1' 'pysigma-backend-splunk==3.0.0'
sigma convert --without-pipeline -t splunk -f default 'sigma/rules/windows/image_load/image_load_office_taskschd_dll_load.yml'