{"id":"56321594-9087-49d9-bf10-524fe8479452","title":"Potential Persistence Via Netsh Helper DLL","description":"Detects the execution of netsh with \"add helper\" flag in order to add a custom helper DLL. This technique can be abused to add a malicious helper DLL that can be used as a persistence proxy that gets called when netsh.exe is executed.\n","author":"Victor Sergeev, oscd.community","status":"test","level":"medium","date":"2019-10-25","modified":"2023-11-28","tags":["attack.privilege-escalation","attack.persistence","attack.t1546.007","attack.s0108"],"technique_ids":["T1546.007"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1546.007/T1546.007.md","https://github.com/outflanknl/NetshHelperBeacon","https://web.archive.org/web/20160928212230/https://www.adaptforward.com/2016/09/using-netshell-to-execute-evil-dlls-and-persist-on-a-host/"],"source_path":"rules/windows/process_creation/proc_creation_win_netsh_helper_dll_persistence.yml","source_sha256":"16446c203fa859abf391a7d7ba29782d9dcab9e49da573b92480703301cf12e4","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_netsh_helper_dll_persistence.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential Persistence Via Netsh Helper DLL\nid: 56321594-9087-49d9-bf10-524fe8479452\nrelated:\n    - id: c90362e0-2df3-4e61-94fe-b37615814cb1\n      type: similar\n    - id: e7b18879-676e-4a0e-ae18-27039185a8e7\n      type: similar\nstatus: test\ndescription: |\n    Detects the execution of netsh with \"add helper\" flag in order to add a custom helper DLL. This technique can be abused to add a malicious helper DLL that can be used as a persistence proxy that gets called when netsh.exe is executed.\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1546.007/T1546.007.md\n    - https://github.com/outflanknl/NetshHelperBeacon\n    - https://web.archive.org/web/20160928212230/https://www.adaptforward.com/2016/09/using-netshell-to-execute-evil-dlls-and-persist-on-a-host/\nauthor: Victor Sergeev, oscd.community\ndate: 2019-10-25\nmodified: 2023-11-28\ntags:\n    - attack.privilege-escalation\n    - attack.persistence\n    - attack.t1546.007\n    - attack.s0108\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - OriginalFileName: 'netsh.exe'\n        - Image|endswith: '\\netsh.exe'\n    selection_cli:\n        CommandLine|contains|all:\n            - 'add'\n            - 'helper'\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: medium\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/56321594-9087-49d9-bf10-524fe8479452.json","kind":"sigma"}
