Domain Detective

API Reference

Class

TyposquattingAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements

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

Accepted by parameters

Constructors

Methods

public async Task Analyze(String domainName, InternalLogger logger, CancellationToken ct = null) #
Returns: Task

Generates variants of domainName and enriches them with DNS evidence.

Parameters

domainName System.String requiredposition: 0
logger DomainDetective.InternalLogger requiredposition: 1
ct System.Threading.CancellationToken = null optionalposition: 2

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.

{{ include "footer" }}