auspbro / domain-admin-crack

:cactus: 入域电脑用户本地提权

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows 入域电脑用户本地提权

目的:

本项目可以用来破解企业对加域电脑的权限管理,及对USB端口禁用的设定。 域用户在本地计算机上默认的权限不是很高,很多时候操作起来很不方便。拥有本地管理员权限的话,可以赋予域用户本地管理员的权限,方法有几种,但是命令行的方式最为简洁方便。

准备工具 (2 & 3 任意选一个):

  1. USB flash disk ( Size >= 1GB )
  2. rufus ( Create bootable device utility )
  3. Active@ Password Changer ( MS-DOS tool for crack Windows password )
  4. WEPE ( WinPE toolkit for crack Windows password )

方法:(该方法不需要域管理员的权限,只需本地管理员的权限就可以了。图形化界面,必须要有与管理员权限才容易操作)

1. Use rufus tool to preparing a MS-DOS bootable device

image

2. How-to use Active@ Password Changer Password recovery softwate starting

  • Boot from the floppy, USB drive or CD/DVD-ROM
  • Active@ Password Changer program starts automatically
  • If not run Active@ Password Changer by typing this command, along with [Enter]:
C:\> PWD_CHNG.EXE

image

  • Press [1], [2] or [3] key for the action you want to perform.
  • Press [Esc] to exit the program.

If you chose the first option on the Options screen you may select a particular volume to scan for a SAM database image

  • Press the [0].[9] key to select a particular volume to be scanned, or the [A] key to scan all volumes
  • Press [Enter] to perform the default action (scan all volumes).

Password recovery SAM Select

If only one SAM database is detected, press [ENTER] to get users information: image

If several SAM databases are detected you will be asked to choose the one you want to view or edit: image

  • Press [0] . [9] key for a particular SAM database based on the appropriate database location and volume information.

Password recovery SAM Select

After the SAM database is scanned, a list of defined local users will be displayed: image

  • Press the [0] . [9] key to display information for a specific user
  • Press [PgUp] or [PgDown] to scroll the list of users
The primary (built-in) Administrator is displayed in Cyan,
Other users who have Administrator privileges are displayed in Green; or, Dark Green if their account has been disabled,
Users who don't have Administrator privileges are displayed in White; or, Grey if their account has been disabled.

Password reset and changing account parameters

After you select a specific user account you can see the account information: image

To view and change permitted logon days and hours press the [PgDn] key: image

To select and choose days and hours use arrow keys and the [Space] bar. Please note that hours are displayed in GMT (Greenwich Mean Time). You should take that into account for your local time zone.

Default Windows system accounts do not have the option for "permitted logon hours".

Press [Y] if you want to save your changes or press [Esc] to leave the previous account information unchanged and return to previous window (List of accounts) image

After you reset the user's password:

  • User's password becomes empty
  • "Account is Disabled" flag (if any) gets cleared
  • "Password never expires" flag is set.

3. 在 Windows 命令提示符下使用 net 命令:(需连公司内网下执行,下面命令中 "quantacn.com" 为域名,"A0070575" 为待提升权限的用户名)

net localgroup Administrators /add quantacn.com\A0070575  

4. Open Control Panel - User Accounts - Manage User Accounts,Change the user name(A0070575) which domain is QUANTACN'S group properties to administrators group.

5. 在组策略中配置开机和关机脚本,开始 - 运行 - GPEDIT.MSC,计算机配置 - Windows设置 - 脚本 - 开机/关机,浏览分别选择 EnNetwork.BAT 和 DisNetwork.BAT 脚本文件.

Windows 7 系统下 U 盘或其他可移动存储设备被拒绝访问解决方法

Windows 7 系统下插入 U 盘或可移动存储设备在资源管理器中可以显示相关存储设备的卷标信息,但是双击该设备卷标却提示“位置不可用,无法访问,拒绝访问”,而在别的电脑上就可以访问。碰到这样的情况一般如果是在企业可能是公司域管理员限制了 USB 端口。

解决方法:

  • 在运行窗口中输入 gpedit.msc 回车,打开计算机配置 - 管理模版 - 系统 - 可移动存储访问,在所有可移动存储类:拒绝所有权限,里面显示的是未配置,按说是没有阻止访问的(也可能是显示的和注册表不一致呢)。点“已禁用” -> 应用,再点“未配置” -> 应用。重启计算机。

image

  • Select Computer Configuration or User Configuration based on t·he criteria noted above, then expand Administrative Templates → System → Removable Storage Access.Double-click the policy setting for WPD, (Windows Portable Devices) that corresponds to the kind of restriction you want enforced (for example, double-click WPD Devices: Deny read access if you want to deny read access to your Apple iPhone). Select the corresponding radio button to Enable or Disable a policy setting.

image

这样 U 盘或其他移动存储设备可以访问了,插入 U 盘后双击就不会显示“位置不可用,无法访问,拒绝访问”,这也是在 Win7 系统下的解决方法,碰到其他系统则有可能是别的原因,分享的这个方法也希望能帮助遇到此问题的朋友。

About

:cactus: 入域电脑用户本地提权


Languages

Language:Batchfile 100.0%