2020-01-23 09:07:40 +01:00
|
|
|
---
|
|
|
|
Name: Netsh.exe
|
|
|
|
Description: Netsh is a Windows tool used to manipulate network interface settings.
|
|
|
|
Author: 'Freddie Barr-Smith'
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2019-12-24
|
2020-01-23 09:07:40 +01:00
|
|
|
Commands:
|
|
|
|
- Command: netsh.exe add helper C:\Users\User\file.dll
|
|
|
|
Description: Use Netsh in order to execute a .dll file and also gain persistence, every time the netsh command is called
|
|
|
|
Usecase: Proxy execution of .dll
|
|
|
|
Category: Execute
|
2021-12-14 17:50:22 +01:00
|
|
|
Privileges: Admin
|
2021-11-05 19:58:26 +01:00
|
|
|
MitreID: T1546.007
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
|
2024-04-03 17:53:36 +02:00
|
|
|
Tags:
|
|
|
|
- Execute: DLL
|
2020-01-23 09:07:40 +01:00
|
|
|
Full_Path:
|
|
|
|
- Path: C:\WINDOWS\System32\Netsh.exe
|
|
|
|
- Path: C:\WINDOWS\SysWOW64\Netsh.exe
|
|
|
|
Detection:
|
2023-10-18 17:30:34 +02:00
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/c04bef2fbbe8beff6c7620d5d7ea6872dbe7acba/rules/windows/process_creation/proc_creation_win_netsh_helper_dll_persistence.yml
|
2021-11-15 14:19:03 +01:00
|
|
|
- Splunk: https://github.com/splunk/security_content/blob/2b87b26bdc2a84b65b1355ffbd5174bdbdb1879c/detections/endpoint/processes_launching_netsh.yml
|
|
|
|
- Splunk: https://github.com/splunk/security_content/blob/08ed88bd88259c03c771c30170d2934ed0a8f878/detections/deprecated/processes_created_by_netsh.yml
|
2020-01-23 09:07:40 +01:00
|
|
|
- IOC: Netsh initiating a network connection
|
|
|
|
Resources:
|
|
|
|
- Link: https://freddiebarrsmith.com/trix/trix.html
|
|
|
|
- Link: https://htmlpreview.github.io/?https://github.com/MatthewDemaske/blogbackup/blob/master/netshell.html
|
|
|
|
- Link: https://liberty-shell.com/sec/2018/07/28/netshlep/
|
|
|
|
Acknowledgement:
|
|
|
|
- Person: 'Freddie Barr-Smith'
|
|
|
|
Handle:
|
|
|
|
- Person: 'Riccardo Spolaor'
|
|
|
|
Handle:
|
|
|
|
- Person: 'Mariano Graziano'
|
|
|
|
Handle:
|
|
|
|
- Person: 'Xabier Ugarte-Pedrero'
|
|
|
|
Handle:
|