横向移动-PsExec轻量级 telnet 替代品

admin 2023年5月30日18:31:01评论38 views字数 994阅读3分18秒阅读模式
横向移动-PsExec轻量级 telnet 替代品

PsExec 是 Sysinternals 工具套件的一部分,它是一组用于管理和排除 Windows 系统故障的实用程序。

它非常适合在目标机器上远程执行命令。

注意:一些 AV 将 PsExec 检测为“远程管理员”病毒。

安装:(PowerShell)

Invoke-WebRequest -Uri 'https://download.sysinternals.com/files/PSTools.zip' -OutFile 'pstools.zip'Expand-Archive -Path 'pstools.zip' -DestinationPath "$env:TEMPpstools"Move-Item -Path "$env:TEMPpstoolspsexec.exe" .Remove-Item -Path "$env:TEMPpstools" -Recurse

用法:

# Prevent the license agreement from being displayedpsexec.exe /accepteula
# Run the 'hostname' command on remote machinepsexec.exe \REMOTECOMPUTER hostname
# Run the 'hostname' command on EVERYTHING (on the domain)psexec.exe \* hostname
# Run a local executable on a remote machinepsexec.exe \REMOTECOMPUTER -c C:Toolsprogram.exe
# Run the 'hostname' command with different credentialspsexec.exe \REMOTECOMPUTER hostname -u localadmin -p secret-p@$$word
# Spawn shell on remote machinepsexec.exe -s \REMOTECOMPUTER cmd

横向移动-PsExec轻量级 telnet 替代品

下载地址:https://learn.microsoft.com/en-us/sysinternals/downloads/psexec
相关学习:https://adamtheautomator.com/psexec/

感谢您抽出

横向移动-PsExec轻量级 telnet 替代品

.

横向移动-PsExec轻量级 telnet 替代品

.

横向移动-PsExec轻量级 telnet 替代品

来阅读本文

横向移动-PsExec轻量级 telnet 替代品

点它,分享点赞在看都在这里

原文始发于微信公众号(Ots安全):横向移动-PsExec轻量级 telnet 替代品

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2023年5月30日18:31:01
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   横向移动-PsExec轻量级 telnet 替代品https://cn-sec.com/archives/1773523.html

发表评论

匿名网友 填写信息