Startup Item File Created - MacOS

 Original Source: [Sigma source]
Title: Startup Item File Created - MacOS
Status: test
Description:Detects the creation of a startup item plist file, that automatically get executed at boot initialization to establish persistence. Adversaries may use startup items automatically executed at boot initialization to establish persistence. Startup items execute during the final phase of the boot process and contain shell scripts or other executable files along with configuration information used by the system to determine the execution order for all startup items.
References:
  -https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1037.005/T1037.005.md
  -https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/StartupItems.html
Author: Alejandro Ortuno, oscd.community
Date: 2020-10-14
modified:2024-08-11
Tags:
  • -'attack.persistence'
  • -'attack.privilege-escalation'
  • -'attack.t1037.005'
Logsource:
  • category: file_event
  • product: macos
Detection:
  selection:
    TargetFilename|startswith:
      -'/Library/StartupItems/'
      -'/System/Library/StartupItems'

    TargetFilename|endswith: '.plist'
  condition:selection
Falsepositives:
  -Legitimate administration activities
Level: low