public/cisa/exchange/Get-MailAuthenticationRecord.ps1

<#
.SYNOPSIS
    Obtains and converts the mail authentication records of a domain
 
.DESCRIPTION
    Adapted from:
    - https://cloudbrothers.info/en/powershell-tip-resolve-spf/
    - https://github.com/cisagov/ScubaGear/blob/main/PowerShell/ScubaGear/Modules/Providers/ExportEXOProvider.psm1
    - https://xkln.net/blog/getting-mx-spf-dmarc-dkim-and-smtp-banners-with-powershell/
    - SPF https://datatracker.ietf.org/doc/html/rfc7208
    - DMARC https://datatracker.ietf.org/doc/html/rfc7489
    - DKIM https://datatracker.ietf.org/doc/html/rfc6376
 
.EXAMPLE
    Get-MailAuthenticationRecord -DomainName "microsoft.com"
 
    Returns an object containing the structured mail authentication objects
 
.LINK
    https://maester.dev/docs/commands/Get-MailAuthenticationRecord
#>

function Get-MailAuthenticationRecord {
    [OutputType([pscustomobject])]
    [cmdletbinding()]
    param(
        [Parameter(Mandatory)]
        # Domain name to check.
        [string]$DomainName,

        # DNS-server to use for lookup.
        [ipaddress]$DnsServerIpAddress = "1.1.1.1",

        # Selector-name for the DKIM record to retrieve.
        [string]$DkimSelector = "selector1",

        [ValidateSet("All", "DKIM", "DMARC", "MX", "SPF")]
        # Specify which records should be retrieved. Accepted values are 'All', 'DKIM', 'DMARC', 'MX' and/or 'SPF'.
        [string[]]$Records = "All",

        # Use a shorter timeout value for the DNS lookup.
        [switch]$QuickTimeout,

        # Ignore hosts file for domain lookup.
        [switch]$NoHostsFile
    )

    begin {
        if ($Records -contains "All") {
            $all = $dkim = $dmarc = $mx = $spf = $true
        } else {
            foreach ($record in $Records) {
                Set-Variable -Name $record -Value $true
            }
        }
    }

    process {
        $recordSet = [pscustomobject]@{
            domain      = $DomainName
            mxRecords   = $null
            spfRecord   = $null
            spfLookups  = $null
            dmarcRecord = $null
            dkimRecord  = $null
        }

        if (($__MtSession.DnsCache | Where-Object { $_.domain -eq $DomainName } | Measure-Object).Count -eq 0) {
            $__MtSession.DnsCache += $recordSet
            $mtDnsCache = $recordSet
        } else {
            $mtDnsCache = $__MtSession.DnsCache | Where-Object { $_.domain -eq $DomainName }
        }

        $splat = @{
            DomainName         = $DomainName
            DnsServerIpAddress = $DnsServerIpAddress
            QuickTimeout       = $QuickTimeout
            NoHostsFile        = $NoHostsFile
        }

        if ($mx -or $all) {
            if ($null -ne $mtDnsCache.mxRecords) {
                Write-Verbose "MX records exist in cache - Use Clear-MtDnsCache to reset"
                $recordSet.mxRecords = $mtDnsCache.mxRecords
            } else {
                $recordSet.mxRecords = ConvertFrom-MailAuthenticationRecordMx @splat
                ($__MtSession.DnsCache | Where-Object { $_.domain -eq $DomainName }).mxRecords = $recordSet.mxRecords
            }
        }

        if ($spf -or $all) {
            if ($null -ne $mtDnsCache.spfRecord) {
                Write-Verbose "SPF record exist in cache - Use Clear-MtDnsCache to reset"
                $recordSet.spfRecord = $mtDnsCache.spfRecord
                Write-Verbose "SPF record exist in cache - Skipping SPF Lookups"
                $recordSet.spfLookups = $mtDnsCache.spfLookups
            } else {
                $recordSet.spfRecord = ConvertFrom-MailAuthenticationRecordSpf @splat
                if ($recordSet.spfRecord.GetType() -ne "SPFRecord") {
                    if ($recordSet.spfRecord.terms.modifier -contains "redirect") {
                        Write-Verbose "SPF redirect modifier found, recursing"
                        $redirect = ($recordSet.spfRecord.terms | Where-Object {`
                                    $_.modifier -eq "redirect"
                            }).modifierTarget
                        Get-MailAuthenticationRecord -DomainName $redirect
                    }

                    Write-Verbose "SPF record resolved, checking lookups"
                    if ($null -ne $mtDnsCache.spfLookups) {
                        Write-Verbose "SPF Lookups records exist in cache - Use Clear-MtDnsCache to reset"
                        $recordSet.spfLookups = $mtDnsCache.spfLookups
                    } else {
                        Write-Verbose "SPF Lookups records not in cache, querying"
                        $recordSet.spfLookups = Resolve-SPFRecord -Name $DomainName -Server $DnsServerIpAddress
                        ($__MtSession.DnsCache | Where-Object { $_.domain -eq $DomainName }).spfLookups = $recordSet.spfLookups
                    }
                }
                ($__MtSession.DnsCache | Where-Object { $_.domain -eq $DomainName }).spfRecord = $recordSet.spfRecord
            }
        }

        if ($dkim -or $all) {
            if ($null -ne $mtDnsCache.dkimRecord) {
                Write-Verbose "DKIM record exist in cache - Use Clear-MtDnsCache to reset"
                $recordSet.dkimRecord = $mtDnsCache.dkimRecord
            } else {
                $recordSet.dkimRecord = ConvertFrom-MailAuthenticationRecordDkim @splat -DkimSelector $DkimSelector
                ($__MtSession.DnsCache | Where-Object { $_.domain -eq $DomainName }).dkimRecord = $recordSet.dkimRecord
            }
        }

        if ($dmarc -or $all) {
            if ($null -ne $mtDnsCache.dmarcRecord) {
                Write-Verbose "DMARC record exist in cache - Use Clear-MtDnsCache to reset"
                $recordSet.dmarcRecord = $mtDnsCache.dmarcRecord
            } else {
                $recordSet.dmarcRecord = ConvertFrom-MailAuthenticationRecordDmarc @splat
                ($__MtSession.DnsCache | Where-Object { $_.domain -eq $DomainName }).dmarcRecord = $recordSet.dmarcRecord
            }
        }

        return $recordSet
    }
}
# SIG # Begin signature block
# MIIusQYJKoZIhvcNAQcCoIIuojCCLp4CAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDuXykViJUTRuUn
# LkIu4cmEcedP+KD+g4jqcA2Gq5r1m6CCE5QwggWQMIIDeKADAgECAhAFmxtXno4h
# MuI5B72nd3VcMA0GCSqGSIb3DQEBDAUAMGIxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xITAfBgNV
# BAMTGERpZ2lDZXJ0IFRydXN0ZWQgUm9vdCBHNDAeFw0xMzA4MDExMjAwMDBaFw0z
# ODAxMTUxMjAwMDBaMGIxCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJ
# bmMxG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