{"id":"9b64de98-9db3-4033-bd7a-f51430105f00","title":"Windows Terminal Profile Settings Modification By Uncommon Process","description":"Detects the creation or modification of the Windows Terminal Profile settings file \"settings.json\" by an uncommon process.","author":"frack113, Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2023-07-22","modified":"","tags":["attack.privilege-escalation","attack.persistence","attack.t1547.015"],"technique_ids":["T1547.015"],"logsource":{"product":"windows","category":"file_event"},"falsepositives":["Some false positives may occur with admin scripts that set WT settings."],"references":["https://github.com/redcanaryco/atomic-red-team/blob/74438b0237d141ee9c99747976447dc884cb1a39/atomics/T1547.015/T1547.015.md#atomic-test-1---persistence-by-modifying-windows-terminal-profile","https://twitter.com/nas_bench/status/1550836225652686848"],"source_path":"rules/windows/file/file_event/file_event_win_susp_windows_terminal_profile.yml","source_sha256":"9ef90cea05217bc4b84e2f184b7d6d54d15ca1ce20c262fdf725752a4d7adc93","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/file/file_event/file_event_win_susp_windows_terminal_profile.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Windows Terminal Profile Settings Modification By Uncommon Process\nid: 9b64de98-9db3-4033-bd7a-f51430105f00\nstatus: test\ndescription: Detects the creation or modification of the Windows Terminal Profile settings file \"settings.json\" by an uncommon process.\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/74438b0237d141ee9c99747976447dc884cb1a39/atomics/T1547.015/T1547.015.md#atomic-test-1---persistence-by-modifying-windows-terminal-profile\n    - https://twitter.com/nas_bench/status/1550836225652686848\nauthor: frack113, Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-07-22\ntags:\n    - attack.privilege-escalation\n    - attack.persistence\n    - attack.t1547.015\nlogsource:\n    product: windows\n    category: file_event\ndetection:\n    selection:\n        Image|endswith:\n            # Note: Add other potential common applications\n            - '\\cmd.exe'\n            - '\\cscript.exe'\n            - '\\mshta.exe'\n            - '\\powershell.exe'\n            - '\\pwsh.exe'\n            - '\\wscript.exe'\n        TargetFilename|endswith: '\\AppData\\Local\\Packages\\Microsoft.WindowsTerminal_8wekyb3d8bbwe\\LocalState\\settings.json'\n    condition: selection\nfalsepositives:\n    - Some false positives may occur with admin scripts that set WT settings.\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1547.015","id":"T1547.015","name":"Login Items","page":"techniques/enterprise/T1547.015/"}],"data_path":"data/detection-rules/9b64de98-9db3-4033-bd7a-f51430105f00.json","kind":"sigma"}
