Create hidden users

Create an account (3 ways)

The created users are all users of the User group. The user rights are low, and the rights can be increased by escalation.
1. Add users directly in the computer management "Users and Groups"
Insert picture description here
2. Use the command line to create

>> net user 用户名 密码 /add

[Hide user] To hide users in the command window, add $ after the user name

>> net user test$ 1 /add

After executing this statement, the user cannot be found in cmd, but it can be seen in the user group.
Insert picture description hereInsert picture description here
3. Create a new
one in the registry. 1> Enter regedit during operation to open the registry.
2> User information is stored in HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account \Users
(The first time you open the path only to HKEY_LOCAL_MACHINE\SAM\SAM)
first solve the path problem,
right-click SAM——>click permissions——>change user permissions to "full control" (setting a user to full control may still be impossible Show all paths, set all to full control) -> Refresh
Insert picture description here
[Hide User] The user is only visible in the registry, and the other two places are invisible
1>First use the above two methods to add a user (test3), Export its registry information (2)
Insert picture description here
2>Export the administrator's registration information (same as above), it is also possible to import other users' registration information
3>Replace the administrator's information to test3
4>Delete the test user
5> Change Import the replaced test3 registration information (double-click to import)
6>At this time, the test3 user is only visible in the registry

A window will pop up when you double-click to import in step 5, but not when you use the statement

导出注册表:   regedit /e 文件路径
导入注册表:   regedit /s 文件路径

Insert picture description here

Guess you like

Origin blog.csdn.net/zzhokok/article/details/106665067