Skip to content

Latest commit

 

History

History
26 lines (13 loc) · 570 Bytes

Re-opened_Applications.md

File metadata and controls

26 lines (13 loc) · 570 Bytes

Re-Opened Applications

MITRE ATT&CK Technique: T1164

Plist method

create a custom plist:

~/Library/Preferences/com.apple.loginwindow.plist

or

~/Library/Preferences/ByHost/com.apple.loginwindow.*.plist

Mac Defaults

Create:

sudo defaults write com.apple.loginwindow LoginHook /path/to/script

Delete:

sudo defaults delete com.apple.loginwindow LoginHook

Reference