LoFP LoFP / legitimate add-ins or automation scripts that use office applications to manage scheduled tasks (rare in most environments)

Techniques

Sample rules

Microsoft Office Application Loading Task Scheduler DLL

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.

Detection logic

condition: all of selection_*
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