API Reference
TyposquattingAnalysis
Generates common typosquatting variants and checks if they resolve.
Inheritance
- Object
- TyposquattingAnalysis
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property DomainHealthCheck.TyposquattingAnalysis
- Property TyposquattingInfo.Raw
Accepted by parameters
- Method TyposquattingNarrative.Build
- Method Converters.Convert
Constructors
public TyposquattingAnalysis() #Methods
public async Task Analyze(String domainName, InternalLogger logger, CancellationToken ct = null) #TaskGenerates variants of domainName and enriches them with DNS evidence.
Parameters
- domainName System.String
- logger DomainDetective.InternalLogger
- ct System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String Subject { get; set; } #Domain under analysis.
public DnsConfiguration DnsConfiguration { get; set; } #DNS configuration for lookups.
public Func<String, DnsRecordType, Task<DnsAnswer[]>> QueryDnsOverride { get; set; } #Override DNS query logic.
public List<String> Variants { get; set; } #All generated variants.
public List<String> ActiveDomains { get; set; } #Variants that resolve in DNS.
public List<String> RegisteredDomains { get; set; } #Variants that appear registered based on DNS footprint.
public IReadOnlyList<TyposquattingCandidate> Candidates { get; set; } #Structured candidate details for generated variants.
public List<String> BrandKeywords { get; } #Protected brand keywords for impersonation detection.
public List<String> DictionaryWords { get; } #Additional dictionary words used for candidate generation.
public List<String> AlternativeTlds { get; } #Alternative TLDs used for TLD swap generation.
public TyposquattingEnrichmentOptions EnrichmentOptions { get; } #Optional downstream enrichment for promising candidates.
public TyposquattingOwnershipProfileOptions OwnershipProfileOptions { get; } #Optional ownership profile comparison against the source domain.
public TyposquattingContentSimilarityOptions ContentSimilarityOptions { get; } #Optional content similarity comparison against the source domain.
public TyposquattingVisualSimilarityOptions VisualSimilarityOptions { get; } #Optional visual similarity comparison against the source domain.
public Int32 LevenshteinThreshold { get; set; } #Maximum allowed Levenshtein distance when generating variants.
public Boolean DetectHomoglyphs { get; set; } #Flag to detect homoglyph characters in input.
public Boolean ContainsHomoglyphs { get; set; } #Indicates whether input contains homoglyph characters.
public Boolean IncludeNsAndMxChecks { get; set; } #When true, candidate enrichment includes NS and MX record checks.
public TyposquattingOwnershipProfile SourceOwnershipProfile { get; set; } #Ownership baseline built for the analyzed source domain.
public TyposquattingSourceContentProfile SourceContentProfile { get; set; } #Source-domain content fingerprint used for similarity comparison.
public TyposquattingSourceVisualProfile SourceVisualProfile { get; set; } #Source-domain visual fingerprint used for screenshot-style comparison.
public IReadOnlyList<TyposquattingInfrastructureCluster> InfrastructureClusters { get; set; } #Shared external infrastructure clusters across generated candidates.
public IReadOnlyList<TyposquattingInfrastructureCampaign> InfrastructureCampaigns { get; set; } #Campaign-level rollups for shared suspicious infrastructure.
public virtual List<Assessment> Assessments { get; } #Gets the assessments value.
public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #Represents the recommendations value.