黑客入侵解决“计算机管理”中用户列表为空的经历
程序员文章站
2022-09-30 14:22:15
最近XPFOX叫我看看他朋友的服务器,说计算机管理的“本地用户和组”的“用户”没有显示的!
我第一想到的就是有人进了服务器,在他朋友的服务器上创建隐藏的帐... 08-10-08...
最近xpfox叫我看看他朋友的服务器,说计算机管理的“本地用户和组”的“用户”没有显示的!
我第一想到的就是有人进了服务器,在他朋友的服务器上创建隐藏的帐号,人为错误导致列表不显示!
以前测试隐藏帐号时也试过这样! 我进了他的服务器,在“本地用户和组”下的“用户”,真的是没有显示! 在 cmd 里 输入 net user 可以显示全部帐户 我再去看看 hkey_local_machine\sam\sam 里是否有不正常的!
我运行“regedt32”把 hkey_local_machine\sam\sam
下的权限设置为 administrator 可以查看和修改! 在hkey_local_machine\sam\sam\domains\account\users\names
下,没发现有隐藏的帐号,可能是xpfox的朋友删除了还是怎样(当然是不是他们删除了也不重要了)! 我看了一下权限没什么问题! 好像是很正常的! 但为什么不显示 汗~~~~ 我在“本地安全策略”里也没发现什么大问题! 只见“安全选项”下的
"帐户:重命名来宾帐户" 的帐户名不是 guest
"帐户:重命名系统管理员帐户" 也不是administrator 执行 "net user" 后发现没有 administrator 有 guest ,我只觉得有点怪怪的!
怎么 重命名系统管理员帐户" administrator 后,就没有 administrator 而 guest 存在! 没有解决问题,只好到网上搜索看看有没有答案!找了好久,有一份资料和此问题有点相关!
内容如下
--------------------------------------------------------------------
hkey_local_machine\sam 项被修改。 注意下面两个用户的用户名和字符串值 [hkey_local_machine\sam\sam\domains\account\users\names\mat01$]@=hex(3fb):
[hkey_local_machine\sam\sam\domains\account\users\names\mat01$$]@=hex(3fb): 由于两个用户有相同的字符串而对应字符串在注册表中只有一个 [hkey_local_machine\sam\sam\domains\account\users\000003fb]
"f"=hex:02,00,01,00,00,00,00,00,d0,cb,53,b3,4d,25,c5,01,00,00,00,00,00,00,00,\
00,9c,e7,8a,7d,c1,64,c4,01,00,00,00,00,00,00,00,00,f2,c8,c3,a0,ab,5e,c5,01,\
fb,03,00,00,01,02,00,00,10,02,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00
"v"=hex:00,00,00,00,c0,00,00,00,02,00,01,00,c0,00,00,00,0a,00,00,00,00,00,00,\
00,cc,00,00,00,0a,00,00,00,00,00,00,00,d8,00,00,00,00,00,00,00,00,00,00,00,\
d8,00,00,00,00,00,00,00,00,00,00,00,d8,00,00,00,00,00,00,00,00,00,00,00,d8,\
00,00,00,00,00,00,00,00,00,00,00,d8,00,00,00,00,00,00,00,00,00,00,00,d8,00,\
00,00,00,00,00,00,00,00,00,00,d8,00,00,00,00,00,00,00,00,00,00,00,d8,00,00,\
00,00,00,00,00,00,00,00,00,d8,00,00,00,15,00,00,00,a8,00,00,00,f0,00,00,00,\
08,00,00,00,01,00,00,00,f8,00,00,00,14,00,00,00,00,00,00,00,0c,01,00,00,14,\
00,00,00,00,00,00,00,20,01,00,00,04,00,00,00,00,00,00,00,24,01,00,00,04,00,\
00,00,00,00,00,00,01,00,14,80,a0,00,00,00,b0,00,00,00,14,00,00,00,30,00,00,\
00,02,00,1c,00,01,00,00,00,02,c0,14,00,44,00,05,01,01,01,00,00,00,00,00,01,\
00,00,00,00,02,00,70,00,04,00,00,00,00,00,14,00,5b,03,02,00,01,01,00,00,00,\
00,00,01,00,00,00,00,00,00,18,00,ff,07,0f,00,01,02,00,00,00,00,00,05,20,00,\
00,00,20,02,00,00,00,00,18,00,ff,07,0f,00,01,02,00,00,00,00,00,05,20,00,00,\
00,24,02,00,00,00,00,24,00,44,00,02,00,01,05,00,00,00,00,00,05,15,00,00,00,\
fd,37,42,40,9e,40,7e,14,07,e5,3b,2b,fb,03,00,00,01,02,00,00,00,00,00,05,20,\
00,00,00,20,02,00,00,01,02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,6d,00,\
61,00,74,00,30,00,31,00,00,00,6d,00,61,00,74,00,30,00,31,00,01,00,ff,ff,ff,\
ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,cd,e1,6b,01,02,00,00,\
07,00,00,00,01,00,01,00,c4,23,db,d3,8d,d3,29,03,56,cd,e1,6b,57,c6,22,66,01,\
00,01,00,2d,d5,1b,9f,e6,f3,2f,a6,7c,01,7d,99,ae,2b,0c,9d,01,00,01,00,01,00,\
01,00
删除其中一个用户项 [hkey_local_machine\sam\sam\domains\account\users\names\mat01$]@=hex(3fb):
重新启动电脑就ok了。 --------------------------------------------------------------------
我看看服务器上的hkey_local_machine\sam\sam\domains\account\users\names\
下是否有相同的hex值 后来发现,guest 和 "帐户:重命名来宾帐户"里显示的帐号的 hex 值相同!
现在要删除哪一个试试? 我想到 重命名系统管理员帐户 administrator 后,
就没有 administrator ,应该 "帐户:重命名来宾帐户" 改了 guest 应该也没有
guest 才对! 我先备份 guest 的注册表信息,之后删除,再点击 计算机管理的“本地用户和组"
下的"用户",帐户终于显示了! 后记!
问题出在于“hkey_local_machine\sam\sam\”下,思路是对的,但不够细心也会使问题不能解决!
以前测试隐藏帐号时也试过这样! 我进了他的服务器,在“本地用户和组”下的“用户”,真的是没有显示! 在 cmd 里 输入 net user 可以显示全部帐户 我再去看看 hkey_local_machine\sam\sam 里是否有不正常的!
我运行“regedt32”把 hkey_local_machine\sam\sam
下的权限设置为 administrator 可以查看和修改! 在hkey_local_machine\sam\sam\domains\account\users\names
下,没发现有隐藏的帐号,可能是xpfox的朋友删除了还是怎样(当然是不是他们删除了也不重要了)! 我看了一下权限没什么问题! 好像是很正常的! 但为什么不显示 汗~~~~ 我在“本地安全策略”里也没发现什么大问题! 只见“安全选项”下的
"帐户:重命名来宾帐户" 的帐户名不是 guest
"帐户:重命名系统管理员帐户" 也不是administrator 执行 "net user" 后发现没有 administrator 有 guest ,我只觉得有点怪怪的!
怎么 重命名系统管理员帐户" administrator 后,就没有 administrator 而 guest 存在! 没有解决问题,只好到网上搜索看看有没有答案!找了好久,有一份资料和此问题有点相关!
内容如下
--------------------------------------------------------------------
hkey_local_machine\sam 项被修改。 注意下面两个用户的用户名和字符串值 [hkey_local_machine\sam\sam\domains\account\users\names\mat01$]@=hex(3fb):
[hkey_local_machine\sam\sam\domains\account\users\names\mat01$$]@=hex(3fb): 由于两个用户有相同的字符串而对应字符串在注册表中只有一个 [hkey_local_machine\sam\sam\domains\account\users\000003fb]
"f"=hex:02,00,01,00,00,00,00,00,d0,cb,53,b3,4d,25,c5,01,00,00,00,00,00,00,00,\
00,9c,e7,8a,7d,c1,64,c4,01,00,00,00,00,00,00,00,00,f2,c8,c3,a0,ab,5e,c5,01,\
fb,03,00,00,01,02,00,00,10,02,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00
"v"=hex:00,00,00,00,c0,00,00,00,02,00,01,00,c0,00,00,00,0a,00,00,00,00,00,00,\
00,cc,00,00,00,0a,00,00,00,00,00,00,00,d8,00,00,00,00,00,00,00,00,00,00,00,\
d8,00,00,00,00,00,00,00,00,00,00,00,d8,00,00,00,00,00,00,00,00,00,00,00,d8,\
00,00,00,00,00,00,00,00,00,00,00,d8,00,00,00,00,00,00,00,00,00,00,00,d8,00,\
00,00,00,00,00,00,00,00,00,00,d8,00,00,00,00,00,00,00,00,00,00,00,d8,00,00,\
00,00,00,00,00,00,00,00,00,d8,00,00,00,15,00,00,00,a8,00,00,00,f0,00,00,00,\
08,00,00,00,01,00,00,00,f8,00,00,00,14,00,00,00,00,00,00,00,0c,01,00,00,14,\
00,00,00,00,00,00,00,20,01,00,00,04,00,00,00,00,00,00,00,24,01,00,00,04,00,\
00,00,00,00,00,00,01,00,14,80,a0,00,00,00,b0,00,00,00,14,00,00,00,30,00,00,\
00,02,00,1c,00,01,00,00,00,02,c0,14,00,44,00,05,01,01,01,00,00,00,00,00,01,\
00,00,00,00,02,00,70,00,04,00,00,00,00,00,14,00,5b,03,02,00,01,01,00,00,00,\
00,00,01,00,00,00,00,00,00,18,00,ff,07,0f,00,01,02,00,00,00,00,00,05,20,00,\
00,00,20,02,00,00,00,00,18,00,ff,07,0f,00,01,02,00,00,00,00,00,05,20,00,00,\
00,24,02,00,00,00,00,24,00,44,00,02,00,01,05,00,00,00,00,00,05,15,00,00,00,\
fd,37,42,40,9e,40,7e,14,07,e5,3b,2b,fb,03,00,00,01,02,00,00,00,00,00,05,20,\
00,00,00,20,02,00,00,01,02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,6d,00,\
61,00,74,00,30,00,31,00,00,00,6d,00,61,00,74,00,30,00,31,00,01,00,ff,ff,ff,\
ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,cd,e1,6b,01,02,00,00,\
07,00,00,00,01,00,01,00,c4,23,db,d3,8d,d3,29,03,56,cd,e1,6b,57,c6,22,66,01,\
00,01,00,2d,d5,1b,9f,e6,f3,2f,a6,7c,01,7d,99,ae,2b,0c,9d,01,00,01,00,01,00,\
01,00
删除其中一个用户项 [hkey_local_machine\sam\sam\domains\account\users\names\mat01$]@=hex(3fb):
重新启动电脑就ok了。 --------------------------------------------------------------------
我看看服务器上的hkey_local_machine\sam\sam\domains\account\users\names\
下是否有相同的hex值 后来发现,guest 和 "帐户:重命名来宾帐户"里显示的帐号的 hex 值相同!
现在要删除哪一个试试? 我想到 重命名系统管理员帐户 administrator 后,
就没有 administrator ,应该 "帐户:重命名来宾帐户" 改了 guest 应该也没有
guest 才对! 我先备份 guest 的注册表信息,之后删除,再点击 计算机管理的“本地用户和组"
下的"用户",帐户终于显示了! 后记!
问题出在于“hkey_local_machine\sam\sam\”下,思路是对的,但不够细心也会使问题不能解决!
上一篇: 途牛的服务器部署及架构演进的经验总结