Skip to main content

file-enrichment

This Script is part of the Aggregated Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.10.0 and later.

This script gathers file reputation data from multiple integrations and returns a "FileEnrichment" object with consolidated information to the context output.

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version6.10.0

Inputs#


Argument NameDescription
file_hashHash of the file. Supported types are: MD5, SHA1, SHA256, and SHA512. For multiple values, provide a comma-separated list of file hashes.
enrichment_brandsIntegrations brands to use for running external enrichment. If not provided, the command will run for all available integrations that implement the file reputation command.
For multiple values, provide a comma-separated list of integration IDs. For example: "VirusTotal (API v3),WildFire-v2, Cortex Core - IR". Specifying enrichment_brands will force enable external_enrichment.
verboseWhether to retrieve a human-readable entry for every command. When set to false, human-readable will only summarize the final result and suppress error entries from commands. Default is false.
external_enrichmentWhether to run additional external indicator enrichment commands. Set to true to enrich with information from the specified source brands. If set to false, only existing indicators in the Threat Intelligence Module (TIM) will be retrieved. Default is false.
additional_fieldsWhether to return unmapped (secondary) fields to the context output under the "FileEnrichment.AdditionalFields" path. Default is false.

Outputs#


PathDescriptionType
DBotScore.IndicatorThe value of the file indicator.String
DBotScore.ScoreThe risk score associated with the file.Number
DBotScore.ReliabilityThe reliability level of the score, for example, "C - Fairly Reliable".String
DBotScore.TypeThe type of the indicator.String
DBotScore.VendorThe vendor (source brand) that provided the score.String
FileEnrichment.BrandThe enrichment vendor (source brand).String
FileEnrichment.ScoreThe risk score associated with the file.Number
FileEnrichment.NameThe name of the file including its extension.String
FileEnrichment.EntryIDThe identifier used to locate the file in the Incident War Room.String
FileEnrichment.SizeThe file size measured in bytes.Number
FileEnrichment.MD5The MD5 hash of the file.String
FileEnrichment.SHA1The SHA1 hash of the file.String
FileEnrichment.SHA256The SHA256 hash of the file.String
FileEnrichment.SHA512The SHA512 hash of the file.String
FileEnrichment.SSDeepThe ssdeep hash of the file, used to track versions or alterations.String
FileEnrichment.ExtensionThe file extension, indicating the type of file format, for example, 'exe'.String
FileEnrichment.TypeThe file type determined by libmagic.String
FileEnrichment.HostnameThe hostname of the device where the file was found.String
FileEnrichment.PathThe directory path where the file is located.String
FileEnrichment.CompanyThe name of the company that released a binary.String
FileEnrichment.ProductNameThe product title to which the file belongs.String
FileEnrichment.DigitalSignature.PublisherThe entity that issued the digital signature of the file.String
FileEnrichment.ActorThe threat actor associated with the file, if applicable.String
FileEnrichment.TagsTags assigned to the file for categorization or identification.Array
FileEnrichment.FeedRelatedIndicators.valueShows other indicators associated with the file.String
FileEnrichment.FeedRelatedIndicators.typeIdentifies the types of associated indicators.String
FileEnrichment.FeedRelatedIndicators.descriptionDescribes the associated indicators providing context or relevance.String
FileEnrichment.MalwareFamilyNames the malware family associated with the file, if known.String
FileEnrichment.Signature.AuthentihashThe Authentihash, a cryptographic hash, used for verifying the file's authenticity.String
FileEnrichment.Signature.DescriptionDescribes the file signature data relevant to identification.String
FileEnrichment.Signature.FileVersionIndicates the version number of the file.String
FileEnrichment.Signature.InternalNameThe internal name of the file as designated by the creators.String
FileEnrichment.Signature.OriginalNameThe original name of the file before any changes or renames.String
FileEnrichment.Malicious.VendorSpecifies the vendor that identified the file as malicious.String
FileEnrichment.Malicious.DescriptionProvides details on why the file was deemed malicious.String
FileEnrichment.Relationships.EntityAThe initiating entity in a relationship involving the file.String
FileEnrichment.Relationships.EntityBThe recipient or target entity in a relationship involving the file.String
FileEnrichment.Relationships.RelationshipDefines the type or nature of the relationship between entities.String
FileEnrichment.Relationships.EntityATypeThe type or classification of the initiating entity.String
FileEnrichment.Relationships.EntityBTypeThe type or classification of the recipient entity.String
FileEnrichment.CampaignThe identified campaign associated with the file, if applicable.String
FileEnrichment.TrafficLightProtocolSpecifies the TLP color designation suitable for handling the file.String
FileEnrichment.CommunityNotes.noteCommunity-contributed notes regarding observations or findings related to the file.String
FileEnrichment.CommunityNotes.timestampThe timestamp when the community note was added.Date
FileEnrichment.Publications.sourceIdentifies the publishing source of an article relating to the file.String
FileEnrichment.Publications.titleThe title of the publication discussing aspects of the file.String
FileEnrichment.Publications.linkProvides a hyperlink to the full article or publication for detailed information.String
FileEnrichment.Publications.timestampThe publication date and time of the related article.Date
FileEnrichment.Behavior.detailsDetailed technical information describing the file's behavior.String
FileEnrichment.Behavior.titleA brief description of the behavior exhibited by the file.String
FileEnrichment.ImphashThe import hash (imphash) of the file, specific to the imports used within an executable.String
FileEnrichment.QuarantinedIndicates whether the file has been quarantined to prevent potential harm.Bool
FileEnrichment.OrganizationThe organization to which the file is attributed.String
FileEnrichment.AssociatedFileNamesThe names of other files associated with this file.Array
FileEnrichment.GlobalPrevalenceThe global prevalence of the file hash.Number
FileEnrichment.LocalPrevalenceThe local prevalence of the file hash.Number
FileEnrichment.AdditionalFieldsUnmapped (secondary) fields. Only available if the additional_fields argument is set to true.Object