{"id":"e7b18879-676e-4a0e-ae18-27039185a8e7","title":"New Netsh Helper DLL Registered From A Suspicious Location","description":"Detects changes to the Netsh registry key to add a new DLL value that is located on a suspicious location. This change might be an indication of a potential persistence attempt by adding a malicious Netsh helper\n","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"high","date":"2023-11-28","modified":"","tags":["attack.privilege-escalation","attack.persistence","attack.t1546.007"],"technique_ids":["T1546.007"],"logsource":{"category":"registry_set","product":"windows"},"falsepositives":["Unknown"],"references":["https://www.ired.team/offensive-security/persistence/t1128-netsh-helper-dll","https://pentestlab.blog/2019/10/29/persistence-netsh-helper-dll/"],"source_path":"rules/windows/registry/registry_set/registry_set_netsh_help_dll_persistence_susp_location.yml","source_sha256":"fa6f371c0b7103c6bb8090607c2aea50864d82924844b24f3a9aafa2ca8353dd","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_set/registry_set_netsh_help_dll_persistence_susp_location.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: New Netsh Helper DLL Registered From A Suspicious Location\nid: e7b18879-676e-4a0e-ae18-27039185a8e7\nrelated:\n    - id: 56321594-9087-49d9-bf10-524fe8479452\n      type: similar\n    - id: c90362e0-2df3-4e61-94fe-b37615814cb1\n      type: similar\nstatus: test\ndescription: |\n    Detects changes to the Netsh registry key to add a new DLL value that is located on a suspicious location. This change might be an indication of a potential persistence attempt by adding a malicious Netsh helper\nreferences:\n    - https://www.ired.team/offensive-security/persistence/t1128-netsh-helper-dll\n    - https://pentestlab.blog/2019/10/29/persistence-netsh-helper-dll/\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-11-28\ntags:\n    - attack.privilege-escalation\n    - attack.persistence\n    - attack.t1546.007\nlogsource:\n    category: registry_set\n    product: windows\ndetection:\n    selection_target:\n        TargetObject|contains: '\\SOFTWARE\\Microsoft\\NetSh'\n    selection_folders_1:\n        Details|contains:\n            - ':\\Perflogs\\'\n            - ':\\Users\\Public\\'\n            - ':\\Windows\\Temp\\'\n            - '\\AppData\\Local\\Temp\\'\n            - '\\Temporary Internet'\n    selection_folders_2:\n        - Details|contains|all:\n              - ':\\Users\\'\n              - '\\Favorites\\'\n        - Details|contains|all:\n              - ':\\Users\\'\n              - '\\Favourites\\'\n        - Details|contains|all:\n              - ':\\Users\\'\n              - '\\Contacts\\'\n        - Details|contains|all:\n              - ':\\Users\\'\n              - '\\Pictures\\'\n    condition: selection_target and 1 of selection_folders_*\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1546.007","id":"T1546.007","name":"Netsh Helper DLL","page":"techniques/enterprise/T1546.007/"}],"data_path":"data/detection-rules/e7b18879-676e-4a0e-ae18-27039185a8e7.json","kind":"sigma"}
