You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/modules/auxiliary/admin/ldap/rbcd.md
+33-22Lines changed: 33 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,14 +62,14 @@ PropagationFlags : None
62
62
63
63
## Module usage
64
64
65
-
The `admin/dcerpc/samr_computer` module is generally used to first create a computer account, which requires no permissions:
65
+
The `admin/dcerpc/samr_account` module is generally used to first create a computer account, which by default, all user accounts in a domain can perform:
66
66
67
67
1. From msfconsole
68
-
2. Do: `use auxiliary/admin/dcerpc/samr_computer`
68
+
2. Do: `use auxiliary/admin/dcerpc/samr_account`
69
69
3. Set the `RHOSTS`, `SMBUser` and `SMBPass` options
70
-
a. For the `ADD_COMPUTER` action, if you don't specify `COMPUTER_NAME` or `COMPUTER_PASSWORD` - one will be generated automatically
71
-
b. For the `DELETE_COMPUTER` action, set the `COMPUTER_NAME` option
72
-
c. For the `LOOKUP_COMPUTER` action, set the `COMPUTER_NAME` option
70
+
a. For the `ADD_COMPUTER` action, if you don't specify `ACCOUNT_NAME` or `ACCOUNT_PASSWORD` - one will be generated automatically
71
+
b. For the `DELETE_ACCOUNT` action, set the `ACCOUNT_NAME` option
72
+
c. For the `LOOKUP_ACCOUNT` action, set the `ACCOUNT_NAME` option
73
73
4. Run the module and see that a new machine account was added
74
74
75
75
Then the `auxiliary/admin/ldap/rbcd` can be used:
@@ -121,19 +121,30 @@ with the Service for User (S4U) Kerberos extension.
121
121
First create the computer account:
122
122
123
123
```msf
124
-
msf6 auxiliary(admin/dcerpc/samr_computer) > show options
124
+
msf6 auxiliary(admin/dcerpc/samr_account) > show options
0 commit comments