Skip to content

Commit

Permalink
Fresh Build
Browse files Browse the repository at this point in the history
  • Loading branch information
TrimarcJake committed Jan 20, 2024
1 parent 76e3c19 commit 56ef6f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 32 deletions.
34 changes: 2 additions & 32 deletions Invoke-Locksmith.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ function Find-ESC8 {
if ($_.CAEnrollmentEndpoint -like '^https*') {
$Issue['Issue'] = 'HTTPS enrollment is enabled.'
}
[PSCustomObject]$Issue
$Issue
}
}
}
Expand Down Expand Up @@ -1140,7 +1140,7 @@ function New-Dictionary {
[VulnerableConfigurationItem]@{
Name = 'ESC8'
Category = 'Escalation Path'
Subcategory = 'AD CS HTTP Endpoints vulnerable to NTLM Relay'
Subcategory = 'AD CS HTTP Endpoints Vulnerable to NTLM Relay'
Summary = ''
FindIt = { Find-ESC8 }
FixIt = { Write-Output 'Add code to fix the vulnerable configuration.' }
Expand Down Expand Up @@ -1317,36 +1317,6 @@ function Set-Severity {
}
}

function Show-RemediationInformation {
<#
.SYNOPSIS
Shows all important information about a remediation.
.PARAMETER Thing
Unsure yet
#>

[CmdletBinding()]
param (
$IssueObject
)


Write-Host 'ISSUE:' -ForegroundColor White
Write-Host "Auditing is not fully enabled on Certification Authority `"$($_.Name)`".`n"
Write-Host 'TECHNIQUE:' -ForegroundColor White
Write-Host "$($_.Technique)`n"
Write-Host 'ACTION TO BE PERFORMED:' -ForegroundColor White
Write-Host "Locksmith will attempt to fully enable auditing on Certification Authority `"$($_.Name)`".`n"
Write-Host 'COMMAND(S) TO BE RUN:'
Write-Host 'PS> ' -NoNewline
Write-Host "$($_.Fix)`n" -ForegroundColor Cyan
Write-Host 'OPERATIONAL IMPACT:' -ForegroundColor White
Write-Host "This change should have little to no impact on the AD CS environment.`n" -ForegroundColor Green
Write-Host "If you continue, Locksmith will attempt to fix this issue.`n" -ForegroundColor Yellow
}

function Test-IsADAdmin {
<#
.SYNOPSIS
Expand Down
1 change: 1 addition & 0 deletions Locksmith.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
PrivateData = @{
PSData = @{
ExternalModuleDependencies = @('ActiveDirectory', 'ServerManager', 'Microsoft.PowerShell.Utility', 'Microsoft.PowerShell.LocalAccounts', 'Microsoft.PowerShell.Management', 'CimCmdlets', 'Dism')
IconUri = 'https://github.com/TrimarcJake/Locksmith/Images/locksmith.ico'
ProjectUri = 'https://github.com/TrimarcJake/Locksmith'
Tags = @('Windows', 'Locksmith', 'CA', 'PKI', 'ActiveDirectory', 'CertificateServices', 'ADCS')
}
Expand Down

0 comments on commit 56ef6f9

Please sign in to comment.