This Torq workflow template, "Recorded Future Sandbox - File Analysis with Cache," automates the process of analyzing files for potential threats. It receives a file URL, optionally with a hash, and checks if the file's hash reputation has been previously analyzed within the last 24 hours. If cached data is available, it is returned immediately; otherwise, the file is submitted to Recorded Future Sandbox for a comprehensive analysis. This function enhances threat intelligence and speeds up incident response by utilizing cached results to avoid redundant analyses.
Optional Triggers
["This workflows is intended to be used as a function."]
Use Cases
Function , Threat Intelligence Enrichment
Workflow Breakdown
Receives an URL of a file and an optional hash of the file.
If no Hash is provided, then SHA256 is calculated from the file.
Lookup global variables to see if the hash reputation has been saved in the past 24 hours.
If analysis data is found on local cache, the saved data is returned to the parent workflow.
When file is not found on cache and there are not previous analysis, then the file is submitted to analysis.
A summary of the analysis data is created and saved with the original api data.
Vendors
Utils, Torq, Recorded Future Sandbox
Workflow Output
Output information contains Mitre TTPs Summary, related hashes, file properties, malware family and observable's type and subtype as used in Torq Cases.
Tips
Set "Provide Raw Data Analysis" to true or false to add or remove original vendor information to the output.