Skip to content

Commit

Permalink
Prepare for release 4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelGrafnetter committed Oct 30, 2021
1 parent 7ba59c1 commit e144a21
Show file tree
Hide file tree
Showing 14 changed files with 50 additions and 28 deletions.
17 changes: 17 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,23 @@ Since PowerShell 5, you can install the DSInternals module directly from the off
Install-Module DSInternals -Force
```

Additional steps might be required on some freshly installed computers before DSInternals can be downloaded:

```powershell
# TLS 1.2 must be enabled on older versions of Windows.
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12
# Download the NuGet package manager binary.
Install-PackageProvider -Name NuGet -Force
# Register the PowerShell Gallery as package repository if it is missing for any reason.
if($null -eq (Get-PSRepository -Name PSGallery -ErrorAction SilentlyContinue)) { Register-PSRepository -Default }
# Download the DSInternals PowerShell module.
Install-Module -Name DSInternals -Force
```

### Chocolatey Package

The DSInternals PowerShell Module can also be installed using the official [Chocolatey package](https://chocolatey.org/packages/dsinternals-psmodule) by executing the following Chocolatey command:
Expand Down
11 changes: 8 additions & 3 deletions Documentation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,23 @@ All notable changes to this project will be documented in this file. The format

## [Unreleased]

### Changed
- The PowerShell module now advertizes `Desktop` as the required edition. Note that *PowerShell Core* is not supported because of heavy dependency on Win32 API.

## [4.7] - 2021-10-30

### Added

- The [Test-PasswordQuality](PowerShell/Test-PasswordQuality.md#test-passwordquality) cmdlet can now identify [kerberoastable](https://attack.mitre.org/techniques/T1558/003/) user accounts.
- The [DSAccount](../Src/DSInternals.Common/Data/Principals/DSAccount.cs) class now exposes the [msDs-supportedEncryptionTypes](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-adts/4f1f447a-4f35-49b1-a129-d76ea280a4c1) attribute in its `SupportedEncryptionTypes` property.

### Changed

- The PowerShell module now advertizes `Desktop` as the required edition. Note that *PowerShell Core* is not supported because of heavy dependency on Win32 API.
- DSInternals.Replication.Interop is targeting the latest Windows 10 SDK instead of a specific one.

### Fixed

- Computer accounts are now skipped when searching duplicate passwords.
- Computer accounts are now skipped when searching for duplicate passwords.
- Improved exception handling when opening read-only database files.

## [4.6] - 2021-10-19
Expand Down Expand Up @@ -435,7 +439,8 @@ This is a [Chocolatey](https://chocolatey.org/packages/dsinternals-psmodule)-onl
## 1.0 - 2015-01-20
Initial release!

[Unreleased]: https://github.com/MichaelGrafnetter/DSInternals/compare/v4.6...HEAD
[Unreleased]: https://github.com/MichaelGrafnetter/DSInternals/compare/v4.7...HEAD
[4.6]: https://github.com/MichaelGrafnetter/DSInternals/compare/v4.6...v4.7
[4.6]: https://github.com/MichaelGrafnetter/DSInternals/compare/v4.5...v4.6
[4.5]: https://github.com/MichaelGrafnetter/DSInternals/compare/v4.4.1...v4.5
[4.4.1]: https://github.com/MichaelGrafnetter/DSInternals/compare/v4.4...v4.4.1
Expand Down
4 changes: 1 addition & 3 deletions Src/DSInternals.Common/DSInternals.Common.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
<description>This package is shared between all other DSInternals packages. Its main features are Azure AD Graph API and ADSI clients for for retrieval of cryptographic material. It contains implementations of common hash functions used by Windows, including NT hash, LM hash and OrgId hash. It also contains methods for SysKey/BootKey retrieval.</description>
<summary>This package is shared between all other DSInternals packages.</summary>
<releaseNotes>
- Added the ability to modify FIDO2 and NGC keys registered in Azure Active Directory.
- Improved parsing of roaming CNG private keys.
- Updated the target .NET Framework to 4.7.2.
- Added the SupportedEncryptionTypes property to the DSAccount class. It exposes the msDs-supportedEncryptionTypes attribute.
</releaseNotes>
<copyright>Copyright (c) 2015-2021 Michael Grafnetter. All rights reserved.</copyright>
<tags>ActiveDirectory Security AD AAD Identity Active Directory</tags>
Expand Down
4 changes: 2 additions & 2 deletions Src/DSInternals.Common/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DSInternals Common Library")]
[assembly: AssemblyVersion("4.5")]
[assembly: AssemblyFileVersion("4.5")]
[assembly: AssemblyVersion("4.7")]
[assembly: AssemblyFileVersion("4.7")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
Expand Down
3 changes: 2 additions & 1 deletion Src/DSInternals.DataStore/DSInternals.DataStore.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
<description>DSInternals DataStore is an advanced framework for offline ntds.dit file manipulation. It can be used to extract password hashes from Active Directory backups or to modify the sIDHistory and primaryGroupId attributes.</description>
<summary>DSInternals DataStore is an advanced framework for offline ntds.dit file manipulation.</summary>
<releaseNotes>
- Added Windows Server 2022 support.
- The msDs-supportedEncryptionTypes attribute can now be retrieved from database files.
- Improved exception handling when opening read-only database files.
</releaseNotes>
<copyright>Copyright (c) 2015-2021 Michael Grafnetter. All rights reserved.</copyright>
<tags>ActiveDirectory Security NTDS AD Identity Active Directory</tags>
Expand Down
4 changes: 2 additions & 2 deletions Src/DSInternals.DataStore/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DSInternals DataStore Library")]
[assembly: AssemblyVersion("4.6")]
[assembly: AssemblyFileVersion("4.6")]
[assembly: AssemblyVersion("4.7")]
[assembly: AssemblyFileVersion("4.7")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>DSInternals-PSModule</id>
<version>4.6</version>
<version>4.7</version>
<packageSourceUrl>https://github.com/MichaelGrafnetter/DSInternals/tree/master/Src/DSInternals.PowerShell/Chocolatey</packageSourceUrl>
<owners>MichaelGrafnetter</owners>
<title>DSInternals PowerShell Module</title>
Expand Down Expand Up @@ -37,7 +37,8 @@
## Disclaimer
Features exposed through these tools are not supported by Microsoft. Improper use might cause irreversible damage to domain controllers or negatively impact domain security.</description>
<releaseNotes>
* Added Windows Server 2022 support.
* The Test-PasswordQuality cmdlet can now detect kerberoastable user accounts. Its performance has also been slightly improved.
* Objects returned by the Get-ADDBAccount, Get-ADReplAccount, and Get-ADSIAccount cmdlets now have the SupportedEncryptionTypes property.
</releaseNotes>
<dependencies>
<!-- Windows Management Framework 3+. For OS prior to Windows 8 and Windows Server 2012. -->
Expand Down
5 changes: 3 additions & 2 deletions Src/DSInternals.PowerShell/DSInternals.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
RootModule = 'DSInternals.Bootstrap.psm1'

# Version number of this module.
ModuleVersion = '4.6'
ModuleVersion = '4.7'

# Supported PSEditions
# CompatiblePSEditions = 'Desktop'
Expand Down Expand Up @@ -141,7 +141,8 @@ PrivateData = @{

# ReleaseNotes of this module
ReleaseNotes = @"
- Added Windows Server 2022 support.
- The Test-PasswordQuality cmdlet can now detect kerberoastable user accounts. Its performance has also been slightly improved.
- Objects returned by the Get-ADDBAccount, Get-ADReplAccount, and Get-ADSIAccount cmdlets now have the SupportedEncryptionTypes property.
"@
} # End of PSData hashtable

Expand Down
4 changes: 2 additions & 2 deletions Src/DSInternals.PowerShell/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DSInternals PowerShell Commands")]
[assembly: AssemblyVersion("4.6")]
[assembly: AssemblyFileVersion("4.6")]
[assembly: AssemblyVersion("4.7")]
[assembly: AssemblyFileVersion("4.7")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
Expand Down
2 changes: 1 addition & 1 deletion Src/DSInternals.Replication.Interop/AssemblyInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ using namespace System::Security::Permissions;
//
[assembly:AssemblyTitleAttribute(L"DSInternals Replication Interop Library")];
// Note: Do not forget to change the version in version.rc files.
[assembly:AssemblyVersionAttribute("4.5")];
[assembly:AssemblyVersionAttribute("4.7")];
[assembly:AssemblyDescriptionAttribute(L"")];
[assembly:AssemblyConfigurationAttribute(L"")];
[assembly:AssemblyCompanyAttribute(L"")];
Expand Down
8 changes: 4 additions & 4 deletions Src/DSInternals.Replication.Interop/version.rc
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,3,0,0
PRODUCTVERSION 4,3,0,0
FILEVERSION 4,7,0,0
PRODUCTVERSION 4,7,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -57,12 +57,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Michael Grafnetter"
VALUE "FileDescription", "DSInternals Replication Interop Library"
VALUE "FileVersion", "4.5.0.0"
VALUE "FileVersion", "4.7.0.0"
VALUE "InternalName", "DSInternals.Replication.Interop"
VALUE "LegalCopyright", "Copyright � 2015-2021 Michael Grafnetter"
VALUE "OriginalFilename", "DSInternals.Replication.Interop.dll"
VALUE "ProductName", "DSInternals PowerShell Module"
VALUE "ProductVersion", "4.5.0.0"
VALUE "ProductVersion", "4.7.0.0"
END
END
BLOCK "VarFileInfo"
Expand Down
4 changes: 2 additions & 2 deletions Src/DSInternals.Replication.Model/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DSInternals Replication Data Model")]
[assembly: AssemblyVersion("4.5")]
[assembly: AssemblyFileVersion("4.5")]
[assembly: AssemblyVersion("4.7")]
[assembly: AssemblyFileVersion("4.7")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
Expand Down
3 changes: 1 addition & 2 deletions Src/DSInternals.Replication/DSInternals.Replication.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
<description>DSInternals Replication implements a client for the Active Directory Replication Service Remote Protocol (DRS-R). It can be used to remotely extract password hashes from domain controllers.</description>
<summary>DSInternals Replication implements a client for the Active Directory Replication Service Remote Protocol (DRS-R).</summary>
<releaseNotes>
- Improved parsing of roaming CNG private keys.
- Updated the target .NET Framework to 4.7.2.
- The msDs-supportedEncryptionTypes attribute can now be read on replicated accounts.
</releaseNotes>
<copyright>Copyright (c) 2015-2021 Michael Grafnetter. All rights reserved.</copyright>
<tags>ActiveDirectory Security RPC DRSR</tags>
Expand Down
4 changes: 2 additions & 2 deletions Src/DSInternals.Replication/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DSInternals Replication Library")]
[assembly: AssemblyVersion("4.5")]
[assembly: AssemblyFileVersion("4.5")]
[assembly: AssemblyVersion("4.7")]
[assembly: AssemblyFileVersion("4.7")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
Expand Down

0 comments on commit e144a21

Please sign in to comment.