{"id":"81a0ecb5-0a41-4ba1-b2ba-c944eb92bfa2","title":"Add Insecure Download Source To Winget","description":"Detects usage of winget to add a new insecure (http) download source.\nWinget will not allow the addition of insecure sources, hence this could indicate potential suspicious activity (or typos)\n","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"high","date":"2023-04-17","modified":"","tags":["attack.execution","attack.t1059"],"technique_ids":["T1059"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["False positives might occur if the users are unaware of such control checks"],"references":["https://learn.microsoft.com/en-us/windows/package-manager/winget/source","https://github.com/nasbench/Misc-Research/tree/b9596e8109dcdb16ec353f316678927e507a5b8d/LOLBINs/Winget"],"source_path":"rules/windows/process_creation/proc_creation_win_winget_add_insecure_custom_source.yml","source_sha256":"a7d8fe708ee046aae40c92eeec4e0625122b5fdabb6c54a6d3d5e5a68a1f8df9","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_winget_add_insecure_custom_source.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Add Insecure Download Source To Winget\nid: 81a0ecb5-0a41-4ba1-b2ba-c944eb92bfa2\nrelated:\n    - id: 05ebafc8-7aa2-4bcd-a269-2aec93f9e842\n      type: similar\n    - id: c15a46a0-07d4-4c87-b4b6-89207835a83b\n      type: similar\nstatus: test\ndescription: |\n    Detects usage of winget to add a new insecure (http) download source.\n    Winget will not allow the addition of insecure sources, hence this could indicate potential suspicious activity (or typos)\nreferences:\n    - https://learn.microsoft.com/en-us/windows/package-manager/winget/source\n    - https://github.com/nasbench/Misc-Research/tree/b9596e8109dcdb16ec353f316678927e507a5b8d/LOLBINs/Winget\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-04-17\ntags:\n    - attack.execution\n    - attack.t1059\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\winget.exe'\n        - OriginalFileName: 'winget.exe'\n    selection_cli:\n        CommandLine|contains|all:\n            - 'source '\n            - 'add '\n            - 'http://'\n    condition: all of selection_*\nfalsepositives:\n    - False positives might occur if the users are unaware of such control checks\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1059","id":"T1059","name":"Command and Scripting Interpreter","page":"techniques/enterprise/T1059/"}],"data_path":"data/detection-rules/81a0ecb5-0a41-4ba1-b2ba-c944eb92bfa2.json","kind":"sigma"}
