PyADRecon-ADWS 0.4.5__tar.gz → 0.4.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/CHANGELOG.md +10 -10
  2. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/PKG-INFO +2 -2
  3. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/PyADRecon_ADWS.egg-info/PKG-INFO +2 -2
  4. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/README.md +1 -1
  5. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/dashboard_generator.py +98 -15
  6. pyadrecon_adws-0.4.7/package.json +3 -0
  7. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/pyadrecon_adws.py +1 -1
  8. pyadrecon_adws-0.4.5/package.json +0 -3
  9. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/.dockerignore +0 -0
  10. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/.github/FUNDING.yml +0 -0
  11. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  12. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  13. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/.github/pyadrecon.png +0 -0
  14. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/.github/workflows/conventional-commits.yml +0 -0
  15. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/.github/workflows/pypi.yml +0 -0
  16. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/.gitignore +0 -0
  17. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/Dockerfile +0 -0
  18. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/LICENSE +0 -0
  19. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/PyADRecon_ADWS.egg-info/SOURCES.txt +0 -0
  20. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/PyADRecon_ADWS.egg-info/dependency_links.txt +0 -0
  21. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/PyADRecon_ADWS.egg-info/entry_points.txt +0 -0
  22. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/PyADRecon_ADWS.egg-info/requires.txt +0 -0
  23. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/PyADRecon_ADWS.egg-info/top_level.txt +0 -0
  24. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/__init__.py +0 -0
  25. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/__init__.py +0 -0
  26. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/adws.py +0 -0
  27. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/encoder/__init__.py +0 -0
  28. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/encoder/encoder.py +0 -0
  29. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/encoder/records/__init__.py +0 -0
  30. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/encoder/records/attributes.py +0 -0
  31. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/encoder/records/constants.py +0 -0
  32. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/encoder/records/datatypes.py +0 -0
  33. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/encoder/records/elements.py +0 -0
  34. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/encoder/records/record.py +0 -0
  35. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/encoder/records/text.py +0 -0
  36. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/encoder/records/utils.py +0 -0
  37. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/encoder/xml_parser.py +0 -0
  38. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/ms_nmf.py +0 -0
  39. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/ms_nns.py +0 -0
  40. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws/soap_templates.py +0 -0
  41. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/helpers/adws_wrapper.py +0 -0
  42. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/pyproject.toml +0 -0
  43. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/requirements.txt +0 -0
  44. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/setup.cfg +0 -0
  45. {pyadrecon_adws-0.4.5 → pyadrecon_adws-0.4.7}/windows/README.md +0 -0
@@ -1,35 +1,35 @@
1
- ## [0.4.5](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.4.4...v0.4.5) (2026-02-21)
1
+ ## [0.4.7](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.4.6...v0.4.7) (2026-02-21)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * counter for security findings in navigation ([f762720](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/f762720bb1d8d1bd63e69aab2b4c71c43b22e64b))
6
+ * add laps readers to table and adjust maq text ([4572632](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/457263232199c1e7fd1c94986b6600fa128438fc))
7
7
 
8
- ## [0.4.4](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.4.3...v0.4.4) (2026-02-21)
8
+ ## [0.4.6](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.4.5...v0.4.6) (2026-02-21)
9
9
 
10
10
 
11
11
  ### Bug Fixes
12
12
 
13
- * show detected cleartext pws in description/info fields ([bcdfc22](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/bcdfc223e00bd696b3145c1c146967eb48ebb629))
13
+ * hide non-issue tiles and add maq finding ([e7bfff7](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/e7bfff77ea57bf3eb88718189eb94123a25fc346))
14
14
 
15
- ## [0.4.3](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.4.2...v0.4.3) (2026-02-21)
15
+ ## [0.4.5](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.4.4...v0.4.5) (2026-02-21)
16
16
 
17
17
 
18
18
  ### Bug Fixes
19
19
 
20
- * add krbtgt rotation and protected users group to dashboard ([93d9e4b](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/93d9e4b36c6fb417549e805788db60099735fb09))
20
+ * counter for security findings in navigation ([f762720](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/f762720bb1d8d1bd63e69aab2b4c71c43b22e64b))
21
21
 
22
- ## [0.4.2](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.4.1...v0.4.2) (2026-02-21)
22
+ ## [0.4.4](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.4.3...v0.4.4) (2026-02-21)
23
23
 
24
24
 
25
25
  ### Bug Fixes
26
26
 
27
- * column sorting bug ([158ddfa](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/158ddfafe5f1d9ae8b72bafa6a9b393f9a1d067f))
27
+ * show detected cleartext pws in description/info fields ([bcdfc22](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/bcdfc223e00bd696b3145c1c146967eb48ebb629))
28
28
 
29
- ## [0.4.1](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.4.0...v0.4.1) (2026-02-21)
29
+ ## [0.4.3](https://github.com/l4rm4nd/PyADRecon-ADWS/compare/v0.4.2...v0.4.3) (2026-02-21)
30
30
 
31
31
 
32
32
  ### Bug Fixes
33
33
 
34
- * --no-dashboard ([3c0768a](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/3c0768a2817c41c7eaa70534a31aa869b049b05a))
34
+ * add krbtgt rotation and protected users group to dashboard ([93d9e4b](https://github.com/l4rm4nd/PyADRecon-ADWS/commit/93d9e4b36c6fb417549e805788db60099735fb09))
35
35
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyADRecon-ADWS
3
- Version: 0.4.5
3
+ Version: 0.4.7
4
4
  Summary: Python Active Directory Reconnaissance Tool (ADRecon port) using ADWS with NTLM support.
5
5
  Author: LRVT
6
6
  License-Expression: MIT
@@ -196,7 +196,7 @@ You may disable HTML dashboard generation via `--no-dashboard`.
196
196
  >[!CAUTION]
197
197
  > This is a beta feature. Displayed data may be falsely parsed or reported as issue. Take it with a grain of salt!
198
198
 
199
- <img width="1275" height="763" alt="image" src="https://github.com/user-attachments/assets/7a35849b-46f8-4bdb-b4c1-01b03d02963b" />
199
+ <img width="1254" height="768" alt="image" src="https://github.com/user-attachments/assets/ae71c48a-69ad-4b01-801e-854d81848c2e" />
200
200
 
201
201
  <details>
202
202
  <img width="1318" height="927" alt="image" src="https://github.com/user-attachments/assets/0760056c-963d-48fb-a252-fd082862bb01" />
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyADRecon-ADWS
3
- Version: 0.4.5
3
+ Version: 0.4.7
4
4
  Summary: Python Active Directory Reconnaissance Tool (ADRecon port) using ADWS with NTLM support.
5
5
  Author: LRVT
6
6
  License-Expression: MIT
@@ -196,7 +196,7 @@ You may disable HTML dashboard generation via `--no-dashboard`.
196
196
  >[!CAUTION]
197
197
  > This is a beta feature. Displayed data may be falsely parsed or reported as issue. Take it with a grain of salt!
198
198
 
199
- <img width="1275" height="763" alt="image" src="https://github.com/user-attachments/assets/7a35849b-46f8-4bdb-b4c1-01b03d02963b" />
199
+ <img width="1254" height="768" alt="image" src="https://github.com/user-attachments/assets/ae71c48a-69ad-4b01-801e-854d81848c2e" />
200
200
 
201
201
  <details>
202
202
  <img width="1318" height="927" alt="image" src="https://github.com/user-attachments/assets/0760056c-963d-48fb-a252-fd082862bb01" />
@@ -176,7 +176,7 @@ You may disable HTML dashboard generation via `--no-dashboard`.
176
176
  >[!CAUTION]
177
177
  > This is a beta feature. Displayed data may be falsely parsed or reported as issue. Take it with a grain of salt!
178
178
 
179
- <img width="1275" height="763" alt="image" src="https://github.com/user-attachments/assets/7a35849b-46f8-4bdb-b4c1-01b03d02963b" />
179
+ <img width="1254" height="768" alt="image" src="https://github.com/user-attachments/assets/ae71c48a-69ad-4b01-801e-854d81848c2e" />
180
180
 
181
181
  <details>
182
182
  <img width="1318" height="927" alt="image" src="https://github.com/user-attachments/assets/0760056c-963d-48fb-a252-fd082862bb01" />
@@ -379,7 +379,7 @@ class DashboardGenerator:
379
379
  <i class="fas fa-shield-virus"></i> Security Findings
380
380
  </h3>
381
381
  <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
382
- <div @click="navigateToSection('findings', 'adcs-templates-section')" class="stat-card bg-white dark:bg-gray-800 rounded-lg shadow p-6 cursor-pointer hover:shadow-lg transition-shadow">
382
+ <div v-if="vulnerableCertTemplates.length > 0" @click="navigateToSection('findings', 'adcs-templates-section')" class="stat-card bg-white dark:bg-gray-800 rounded-lg shadow p-6 cursor-pointer hover:shadow-lg transition-shadow">
383
383
  <div class="flex items-center">
384
384
  <div class="flex-shrink-0 bg-orange-100 dark:bg-orange-900/30 rounded-md p-3">
385
385
  <i class="fas fa-certificate text-orange-600 text-2xl"></i>
@@ -395,7 +395,7 @@ class DashboardGenerator:
395
395
  </div>
396
396
  </div>
397
397
  </div>
398
- <div @click="navigateToSection('findings', 'kerberoastable-section')" class="stat-card bg-white dark:bg-gray-800 rounded-lg shadow p-6 cursor-pointer hover:shadow-lg transition-shadow">
398
+ <div v-if="kerberoastable.length > 0" @click="navigateToSection('findings', 'kerberoastable-section')" class="stat-card bg-white dark:bg-gray-800 rounded-lg shadow p-6 cursor-pointer hover:shadow-lg transition-shadow">
399
399
  <div class="flex items-center">
400
400
  <div class="flex-shrink-0 bg-purple-100 dark:bg-purple-900/30 rounded-md p-3">
401
401
  <i class="fas fa-ticket text-purple-600 text-2xl"></i>
@@ -412,7 +412,7 @@ class DashboardGenerator:
412
412
  </div>
413
413
  </div>
414
414
 
415
- <div @click="navigateToSection('findings', 'asreproastable-section')" class="stat-card bg-white dark:bg-gray-800 rounded-lg shadow p-6 cursor-pointer hover:shadow-lg transition-shadow">
415
+ <div v-if="asreproastable.length > 0" @click="navigateToSection('findings', 'asreproastable-section')" class="stat-card bg-white dark:bg-gray-800 rounded-lg shadow p-6 cursor-pointer hover:shadow-lg transition-shadow">
416
416
  <div class="flex items-center">
417
417
  <div class="flex-shrink-0 bg-pink-100 dark:bg-pink-900/30 rounded-md p-3">
418
418
  <i class="fas fa-key text-pink-600 text-2xl"></i>
@@ -429,7 +429,7 @@ class DashboardGenerator:
429
429
  </div>
430
430
  </div>
431
431
 
432
- <div @click="navigateToSection('findings', 'passwords-section')" class="stat-card bg-white dark:bg-gray-800 rounded-lg shadow p-6 cursor-pointer hover:shadow-lg transition-shadow">
432
+ <div v-if="usersWithPasswordsInInfo.length > 0" @click="navigateToSection('findings', 'passwords-section')" class="stat-card bg-white dark:bg-gray-800 rounded-lg shadow p-6 cursor-pointer hover:shadow-lg transition-shadow">
433
433
  <div class="flex items-center">
434
434
  <div class="flex-shrink-0 bg-red-100 dark:bg-red-900/30 rounded-md p-3">
435
435
  <i class="fas fa-lock-open text-red-600 text-2xl"></i>
@@ -446,7 +446,7 @@ class DashboardGenerator:
446
446
  </div>
447
447
  </div>
448
448
 
449
- <div @click="navigateToSection('findings', 'laps-section')" class="stat-card bg-white dark:bg-gray-800 rounded-lg shadow p-6 cursor-pointer hover:shadow-lg transition-shadow">
449
+ <div v-if="lapsReadable.length > 0" @click="navigateToSection('findings', 'laps-section')" class="stat-card bg-white dark:bg-gray-800 rounded-lg shadow p-6 cursor-pointer hover:shadow-lg transition-shadow">
450
450
  <div class="flex items-center">
451
451
  <div class="flex-shrink-0 bg-indigo-100 dark:bg-indigo-900/30 rounded-md p-3">
452
452
  <i class="fas fa-user-shield text-indigo-600 text-2xl"></i>
@@ -463,7 +463,7 @@ class DashboardGenerator:
463
463
  </div>
464
464
  </div>
465
465
 
466
- <div @click="navigateToSection('findings', 'password-policy-section')" class="stat-card bg-white dark:bg-gray-800 rounded-lg shadow p-6 cursor-pointer hover:shadow-lg transition-shadow">
466
+ <div v-if="failedCISControls > 0" @click="navigateToSection('findings', 'password-policy-section')" class="stat-card bg-white dark:bg-gray-800 rounded-lg shadow p-6 cursor-pointer hover:shadow-lg transition-shadow">
467
467
  <div class="flex items-center">
468
468
  <div class="flex-shrink-0 bg-yellow-100 dark:bg-yellow-900/30 rounded-md p-3">
469
469
  <i class="fas fa-key text-yellow-600 text-2xl"></i>
@@ -513,6 +513,23 @@ class DashboardGenerator:
513
513
  </div>
514
514
  </div>
515
515
  </div>
516
+
517
+ <div v-if="machineAccountQuota > 0" @click="navigateToSection('findings', 'machine-quota-section')" class="stat-card bg-white dark:bg-gray-800 rounded-lg shadow p-6 cursor-pointer hover:shadow-lg transition-shadow">
518
+ <div class="flex items-center">
519
+ <div class="flex-shrink-0 bg-amber-100 dark:bg-amber-900/30 rounded-md p-3">
520
+ <i class="fas fa-server text-amber-600 text-2xl"></i>
521
+ </div>
522
+ <div class="ml-5 w-0 flex-1">
523
+ <dl>
524
+ <dt class="text-sm font-medium text-gray-500 dark:text-gray-400 truncate">Machine Account Quota</dt>
525
+ <dd class="text-3xl font-semibold text-gray-900 dark:text-white">{{{{ machineAccountQuota }}}}</dd>
526
+ <dd class="text-xs text-gray-500 dark:text-gray-400 mt-1">
527
+ computers can be added
528
+ </dd>
529
+ </dl>
530
+ </div>
531
+ </div>
532
+ </div>
516
533
  </div>
517
534
  </div>
518
535
 
@@ -1166,11 +1183,6 @@ class DashboardGenerator:
1166
1183
  <i v-if="lapsSortColumn === 'Enabled'" :class="lapsSortDirection === 'asc' ? 'fas fa-sort-up' : 'fas fa-sort-down'" class="ml-1"></i>
1167
1184
  <i v-else class="fas fa-sort ml-1 opacity-30"></i>
1168
1185
  </th>
1169
- <th @click="sortLaps('Stored')" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700">
1170
- Password Stored
1171
- <i v-if="lapsSortColumn === 'Stored'" :class="lapsSortDirection === 'asc' ? 'fas fa-sort-up' : 'fas fa-sort-down'" class="ml-1"></i>
1172
- <i v-else class="fas fa-sort ml-1 opacity-30"></i>
1173
- </th>
1174
1186
  <th @click="sortLaps('Readable')" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700">
1175
1187
  Readable
1176
1188
  <i v-if="lapsSortColumn === 'Readable'" :class="lapsSortDirection === 'asc' ? 'fas fa-sort-up' : 'fas fa-sort-down'" class="ml-1"></i>
@@ -1186,6 +1198,11 @@ class DashboardGenerator:
1186
1198
  <i v-if="lapsSortColumn === 'Expiration'" :class="lapsSortDirection === 'asc' ? 'fas fa-sort-up' : 'fas fa-sort-down'" class="ml-1"></i>
1187
1199
  <i v-else class="fas fa-sort ml-1 opacity-30"></i>
1188
1200
  </th>
1201
+ <th @click="sortLaps('Readers')" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700">
1202
+ Readers
1203
+ <i v-if="lapsSortColumn === 'Readers'" :class="lapsSortDirection === 'asc' ? 'fas fa-sort-up' : 'fas fa-sort-down'" class="ml-1"></i>
1204
+ <i v-else class="fas fa-sort ml-1 opacity-30"></i>
1205
+ </th>
1189
1206
  </tr>
1190
1207
  </thead>
1191
1208
  <tbody class="divide-y divide-gray-200 dark:divide-gray-700">
@@ -1195,10 +1212,6 @@ class DashboardGenerator:
1195
1212
  <span v-if="computer.Enabled === 'True'" class="badge badge-low">Yes</span>
1196
1213
  <span v-else class="badge badge-none">No</span>
1197
1214
  </td>
1198
- <td class="px-6 py-4">
1199
- <span v-if="computer.Stored === 'True'" class="badge badge-low">Yes</span>
1200
- <span v-else class="badge badge-none">No</span>
1201
- </td>
1202
1215
  <td class="px-6 py-4">
1203
1216
  <span v-if="computer.Readable === 'True'" class="badge badge-high">Yes</span>
1204
1217
  <span v-else class="badge badge-none">No</span>
@@ -1208,6 +1221,10 @@ class DashboardGenerator:
1208
1221
  <span v-else class="text-gray-400">-</span>
1209
1222
  </td>
1210
1223
  <td class="px-6 py-4 whitespace-nowrap">{{{{ computer.Expiration || 'N/A' }}}}</td>
1224
+ <td class="px-6 py-4 text-sm">
1225
+ <span v-if="computer.Readers" class="text-orange-600 dark:text-orange-400">{{{{ computer.Readers }}}}</span>
1226
+ <span v-else class="text-gray-400">-</span>
1227
+ </td>
1211
1228
  </tr>
1212
1229
  </tbody>
1213
1230
  </table>
@@ -1334,6 +1351,59 @@ class DashboardGenerator:
1334
1351
  </div>
1335
1352
  </div>
1336
1353
 
1354
+ <!-- Machine Account Quota -->
1355
+ <div id="machine-quota-section" v-if="machineAccountQuota > 0" class="bg-white dark:bg-gray-800 rounded-lg shadow p-6">
1356
+ <h2 class="text-2xl font-bold text-gray-900 dark:text-white mb-4">
1357
+ <i class="fas fa-server text-amber-600"></i> Machine Account Quota ({{{{ machineAccountQuota }}}})
1358
+ </h2>
1359
+ <div class="bg-amber-50 dark:bg-amber-900/20 border-l-4 border-amber-500 p-4 mb-6">
1360
+ <h3 class="font-semibold text-amber-800 dark:text-amber-200 mb-2">🎯 Issue & Impact</h3>
1361
+ <p class="text-amber-700 dark:text-amber-300 text-sm mb-3">
1362
+ The ms-DS-MachineAccountQuota attribute controls how many computer accounts an authenticated user can join to the domain. When set above 0 (default is 10), any domain user can add workstations to Active Directory without administrative privileges, creating unauthorized attack surfaces.
1363
+ </p>
1364
+ <h3 class="font-semibold text-amber-800 dark:text-amber-200 mb-2">⚔️ Attacker Benefit</h3>
1365
+ <p class="text-amber-700 dark:text-amber-300 text-sm mb-3">
1366
+ Attackers with low-privileged access can join rogue computers to the domain, enabling Resource-Based Constrained Delegation (RBCD) attacks, computer account password hash harvesting, Kerberos delegation abuse, and establishing persistent footholds. Rogue computers bypass network access controls and monitoring.
1367
+ </p>
1368
+ <h3 class="font-semibold text-amber-800 dark:text-amber-200 mb-2">🔓 Exploitation Method</h3>
1369
+ <p class="text-amber-700 dark:text-amber-300 text-sm mb-3">
1370
+ Use PowerShell (<code>New-MachineAccount</code>), Impacket's <a target="_blank" href="https://github.com/fortra/impacket/blob/master/examples/addcomputer.py" class="tool-link">addcomputer.py</a>, or StandIn to add computer accounts. Configure RBCD using PowerView/PowerMad to enable impersonation attacks. Computer accounts have SPNs enabling Silver Ticket attacks and can be used for lateral movement via unconstrained delegation abuse.
1371
+ </p>
1372
+ <h3 class="font-semibold text-amber-800 dark:text-amber-200 mb-2">💡 Remediation</h3>
1373
+ <p class="text-amber-700 dark:text-amber-300 text-sm">
1374
+ <strong>Set ms-DS-MachineAccountQuota to 0:</strong> Use PowerShell: <code>Set-ADDomain -Identity (Get-ADDomain) -Replace @{{"ms-DS-MachineAccountQuota"="0"}}</code> or ADSI Edit to modify the domain object. This prevents non-administrative users from joining computers. Implement controlled computer creation through IT helpdesk workflows with proper approval processes. Regularly audit computer accounts for unauthorized additions using the <code>whenCreated</code> and <code>creator</code> attributes.
1375
+ </p>
1376
+ </div>
1377
+ <div class="table-container">
1378
+ <table class="min-w-full divide-y divide-gray-200 dark:divide-gray-700">
1379
+ <thead>
1380
+ <tr>
1381
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase">Attribute</th>
1382
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase">Current Value</th>
1383
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase">Recommended</th>
1384
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase">Risk Level</th>
1385
+ </tr>
1386
+ </thead>
1387
+ <tbody class="divide-y divide-gray-200 dark:divide-gray-700">
1388
+ <tr>
1389
+ <td class="px-6 py-4 whitespace-nowrap font-medium">ms-DS-MachineAccountQuota</td>
1390
+ <td class="px-6 py-4">
1391
+ <span class="text-red-600 dark:text-red-400 font-bold text-lg">{{{{ machineAccountQuota }}}}</span>
1392
+ </td>
1393
+ <td class="px-6 py-4">
1394
+ <span class="badge badge-none">0</span>
1395
+ </td>
1396
+ <td class="px-6 py-4">
1397
+ <span v-if="machineAccountQuota >= 10" class="badge badge-high">HIGH</span>
1398
+ <span v-else-if="machineAccountQuota > 0" class="badge badge-medium">MEDIUM</span>
1399
+ <span v-else class="badge badge-none">NONE</span>
1400
+ </td>
1401
+ </tr>
1402
+ </tbody>
1403
+ </table>
1404
+ </div>
1405
+ </div>
1406
+
1337
1407
  <!-- Password Policy Analysis -->
1338
1408
  <div id="password-policy-section" v-if="passwordPolicy.length > 0" class="bg-white dark:bg-gray-800 rounded-lg shadow p-6">
1339
1409
  <h2 class="text-2xl font-bold text-gray-900 dark:text-white mb-4">
@@ -2065,6 +2135,18 @@ class DashboardGenerator:
2065
2135
  }});
2066
2136
  }},
2067
2137
 
2138
+ machineAccountQuota() {{
2139
+ if (this.domain.length > 0) {{
2140
+ // Domain.csv has Category/Value format
2141
+ const quotaEntry = this.domain.find(d => d.Category === 'ms-DS-MachineAccountQuota');
2142
+ if (quotaEntry) {{
2143
+ const quota = parseInt(quotaEntry.Value);
2144
+ return isNaN(quota) ? 0 : quota;
2145
+ }}
2146
+ }}
2147
+ return 0;
2148
+ }},
2149
+
2068
2150
  lapsEnabled() {{
2069
2151
  return this.laps.filter(l => l['LAPS Enabled'] === 'True' || l['LAPS Enabled'] === 'TRUE');
2070
2152
  }},
@@ -2124,6 +2206,7 @@ class DashboardGenerator:
2124
2206
  if (this.passwordPolicy.length > 0) count++; // Password Policy
2125
2207
  if (this.krbtgtOldPassword.length > 0) count++; // KRBTGT password rotation
2126
2208
  if (this.unprotectedPrivilegedUsers.length > 0) count++; // Protected Users group
2209
+ if (this.machineAccountQuota > 0) count++; // Machine Account Quota
2127
2210
  return count;
2128
2211
  }},
2129
2212
 
@@ -0,0 +1,3 @@
1
+ {
2
+ "version": "0.4.7"
3
+ }
@@ -77,7 +77,7 @@ except ImportError:
77
77
  DASHBOARD_AVAILABLE = False
78
78
 
79
79
  # Constants
80
- VERSION = "v0.4.5" # Automatically updated by CI/CD pipeline during release
80
+ VERSION = "v0.4.7" # Automatically updated by CI/CD pipeline during release
81
81
  BANNER = f"""
82
82
  ╔═══════════════════════════════════════════════════════════════════
83
83
  ║ PyADRecon-ADWS {VERSION} - Python AD Reconnaissance Tool (ADWS)
@@ -1,3 +0,0 @@
1
- {
2
- "version": "0.4.5"
3
- }
File without changes
File without changes