Code Executed Via Office Add-in XLL File

 Original Source: [Sigma source]
Title: Code Executed Via Office Add-in XLL File
Status: test
Description:Adversaries may abuse Microsoft Office add-ins to obtain persistence on a compromised system. Office add-ins can be used to add functionality to Office programs
References:
  -https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1137.006/T1137.006.md
Author: frack113
Date: 2021-12-28
modified:None
Tags:
  • -'attack.persistence'
  • -'attack.t1137.006'
Logsource:
  • product: windows
  • category: ps_script
  • definition: Requirements: Script Block Logging must be enabled
Detection:
  selection:
    ScriptBlockText|contains|all:
      -'new-object '
      -'-ComObject '
      -'.application'
      -'.RegisterXLL'

  condition:selection
Falsepositives:
  -Unknown
Level: high