CheckPointSandBlast

Uploads files using polling. The service supports Microsoft Office files, as well as PDF, SWF, archives, and executables. Active content will be cleaned from any documents that you upload (Microsoft Office and PDF files only). Queries on existing IOCs, file status, analysis, and reports. Downloads files from the database. Supports both appliance and cloud. Supported Threat Emulation versions are any R80x.

Forensics & Malware Analysis · Check Point Threat Emulation (SandBlast)

Details

IDCheckPointSandBlast
ProviderCheckPoint Software Technologies
CategoryForensics & Malware Analysis
From Version6.5.0
Docker Imagedemisto/python3:3.12.13.10116658
Supported ModulesAgentix XSIAM

README

Check Point Threat Emulation (SandBlast)

Threat Emulation performs remote analysis by uploading files to a virtual SandBox. Uploaded files are monitored in multiple OS and microsoft office application versions. Malicious files are saved in the ThreatCloud. Safe files are available for download after inspection.

Upload files using polling, the service supports Microsoft Office files, as well as PDF, SWF, archives and executables. Active content will be cleaned from any documents that you upload (Microsoft Office and PDF files only). Query on existing IOCs, file status, analysis, reports. Download files from the database. Supports both appliance and cloud. Supported Threat Emulation versions are any R80x.
This integration was integrated and tested with version v1 of CheckPointSandBlast

Configure Check Point Threat Emulation (SandBlast) in Cortex

Parameter Description Required
Server URL https://te.checkpoint.com True
Authorization - API Key   False
Trust any certificate (not secure)   False
Use system proxy settings   False
Source Reliability Reliability of the source providing the intelligence data. True

Commands

You can execute these commands from the CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.

file


Runs reputation on files.

Base Command

file

Input

Argument Name Description Required
file Hash of the file to query. Supports MD5, SHA1, and SHA256. Required

Context Output

Path Type Description
File.MD5 String The MD5 hash of the file.
File.SHA1 String The SHA1 hash of the file.
File.SHA256 String The SHA256 hash of the file.
File.Malicious.Vendor String The vendor that reported the file as malicious.
File.Malicious.Description String A description explaining why the file was determined to be malicious.
DBotScore.Indicator String The indicator that was tested.
DBotScore.Type String The indicator type.
DBotScore.Vendor String The vendor used to calculate the score.
DBotScore.Reliability String Reliability of the source providing the intelligence data.
DBotScore.Score Number The actual score.

Command example

!file file=e129988964fa250bc8186bfe6f399f12

Context Example

{
    "DBotScore": [
        {
            "Indicator": "e129988964fa250bc8186bfe6f399f12",
            "Reliability": "C - Fairly reliable",
            "Score": 0,
            "Type": "file",
            "Vendor": "VirusTotal"
        },
        {
            "Indicator": "e129988964fa250bc8186bfe6f399f12",
            "Reliability": "C - Fairly reliable",
            "Score": 1,
            "Type": "file",
            "Vendor": "CheckPointSandBlast"
        }
    ],
    "File": {
        "MD5": "e129988964fa250bc8186bfe6f399f12",
        "Malicious": {
            "Description": {
                "confidence": 0,
                "malware_family": 0,
                "malware_type": 0,
                "severity": 0,
                "signature_name": ""
            },
            "Vendor": "CheckPointSandBlast"
        },
        "SHA1": "a5e7aa50b66fdad3ae3b5e9ca66283a263bf7027",
        "SHA256": "7e1eeaa9ac04812ce89eabb824d65073a3a37a1600ad1e1b7748ae12e04bb168"
    }
}

Human Readable Output

Results of file hash: “e129988964fa250bc8186bfe6f399f12”

MD5 SHA1 SHA256 Malicious
e129988964fa250bc8186bfe6f399f12 a5e7aa50b66fdad3ae3b5e9ca66283a263bf7027 7e1eeaa9ac04812ce89eabb824d65073a3a37a1600ad1e1b7748ae12e04bb168 Vendor: CheckPointSandBlast
Description: {“signature_name”: “”, “malware_family”: 0, “malware_type”: 0, “severity”: 0, “confidence”: 0}

sandblast-query


Use the Query API to have a client application look for either the analysis report of a specific file on the Check Point Threat Prevention service databases or the status of a file, uploaded for analysis. It is recommended to add file_name.

Base Command

sandblast-query

Input

Argument Name Description Required
file_name Name of the file to query. Recommended to use, without it status will be “PARTIALLY_FOUND”. Optional
file_hash File hash to query, accepted digests are: md5, sha1 and sha256. Only md5 returns ‘FOUND’ status. Required
features Features to use on the file. Possible values are: Threat Emulation, Anti-Virus, Threat Extraction, All. Default is All. Optional
reports Comma separated list of supported report formats. Note - Requesting for PDF and summary reports simultaneously is not supported. Possible values are: pdf, xml, tar, summary. Default is xml, summary. Optional
method Threat extraction request method. Possible values are: clean, pdf. Default is pdf. Optional
extracted_parts Comma separated list of fields to be cleaned in the file. Only relevant if method = clean. Possible values are: Linked Objects, Macros and Code, Sensitive Hyperlinks, PDF GoToR Actions, PDF Launch Actions, PDF URI Actions, PDF Sound Actions, PDF Movie Actions, PDF JavaScript Actions, PDF Submit Form Actions, Database Queries, Embedded Objects, Fast Save Data, Custom Properties, Statistic Properties, Summary Properties. Default is Linked Objects, Macros and Code, Sensitive Hyperlinks, PDF GoToR Actions, PDF Launch Actions, PDF URI Actions, PDF Sound Actions, PDF Movie Actions, PDF JavaScript Actions, PDF Submit Form Actions, Database Queries, Embedded Objects, Fast Save Data. Optional

Context Output

Path Type Description  
SandBlast.Query.Status String Status of requested features.  
SandBlast.Query.MD5 String The file’s MD5.  
SandBlast.Query.SHA1 String The file’s SHA1.  
SandBlast.Query.SHA256 String The file’s SHA256.  
SandBlast.Query.FileType String File type can be different from the one sent in the query request (according to the type to identify).  
SandBlast.Query.FileName String Name of the file saved on Check Point databases.  
SandBlast.Query.Features String Features used.  
SandBlast.Query.AntiVirus.SignatureName String If the file is not detected by Anti-Virus, the signature name is empty.  
SandBlast.Query.AntiVirus.MalwareFamily Number ID for malware family, if available: {0-}.  
SandBlast.Query.AntiVirus.MalwareType Number ID for malware type, if available: {0-}.  
SandBlast.Query.AntiVirus.Severity Number 0 for benign files. Minimum: 0 Maximum: 4  
SandBlast.Query.AntiVirus.Confidence Number 0 for benign files. Minimum: 0 Maximum 5  
SandBlast.Query.AntiVirus.Status String Status of Anti-Virus on the requested file.  
SandBlast.Query.ThreatExtraction.Method String Method that was used.  
SandBlast.Query.ThreatExtraction.ExtractResult String CP_EXTRACT_RESULT_UNKNOWN (Default - returned if the POD did not receive an answer from the Threat Extraction engine in 60 seconds). CP_EXTRACT_RESULT_SUCCESS, CP_EXTRACT_RESULT_FAILURE, CP_EXTRACT_RESULT_TIMEOUT, CP_EXTRACT_RESULT_UNSUPPORTED_FILE, CP_EXTRACT_RESULT_NOT_SCRUBBED, CP_EXTRACT_RESULT_INTERNAL_ERROR, CP_EXTRACT_RESULT_DISK_LIMIT_REACHED, CP_EXTRACT_RESULT_ENCRYPTED_FILE, CP_EXTRACT_RESULT_DOCSEC_FILE, CP_EXTRACT_RESULT_OUT_OF_MEMORY  
SandBlast.Query.ThreatExtraction.ExtractedFileDownloadId String The download id of the extracted file, for download request. Only sent when extract_result = CP_EXTRACT_RESULT_SUCCESS  
SandBlast.Query.ThreatExtraction.OutputFileName String Clean file name.  
SandBlast.Query.ThreatExtraction.Time String Time for threat extraction completion.  
SandBlast.Query.ThreatExtraction.ExtractContent String Content of extracted file.  
SandBlast.Query.ThreatExtraction.TexProduct Boolean True if the queried file is already a Sandblast-safe copy.  
SandBlast.Query.ThreatExtraction.Status String Status of Threat Extraction on the requested file.  
SandBlast.Upload.ThreatExtraction.ExtractionData.InputExtension String Uploaded filename-extension as sent by the client.  
SandBlast.Query.ThreatExtraction.ExtractionData.InputRealExtension String Extension as resolved by Threat Extraction.  
SandBlast.Query.ThreatExtraction.ExtractionData.Message String Status message for scrub_result  
SandBlast.Query.ThreatExtraction.ExtractionData.ProtectionName String Potential malicious content extracted.  
SandBlast.Query.ThreatExtraction.ExtractionData.ProtectionType String Protection done for scrub_method: Conversion to PDF Content Removal
SandBlast.Query.ThreatExtraction.ExtractionData.ProtocolVersion String Protocol used.  
SandBlast.Query.ThreatExtraction.ExtractionData.RealExtension String Real extension as resolved by Threat Extraction  
SandBlast.Query.ThreatExtraction.ExtractionData.Risk Number Represents the risk of the part that was extracted from the document.  
SandBlast.Query.ThreatExtraction.ExtractionData.ScrubActivity String Readable result from Threat Extraction.  
SandBlast.Query.ThreatExtraction.ExtractionData.ScrubMethod String Convert to PDF Clean Document.
SandBlast.Query.ThreatExtraction.ExtractionData.ScrubResult Number Code result from Threat Extraction.  
SandBlast.Query.ThreatExtraction.ExtractionData.ScrubTime String Threat Extraction process time.  
SandBlast.Query.ThreatExtraction.ExtractionData.ScrubbedContent String Content that was removed  
SandBlast.Query.ThreatEmulation.Trust Number Rating of the threat data and its relevance to this instance. It is recommended to block threats with confidence medium and above.  
SandBlast.Query.ThreatEmulation.Score Number Threat Emulation score.  
SandBlast.Query.ThreatEmulation.CombinedVerdict String Combined verdict of all the images. Benign reports are not supported for local gateways.  
SandBlast.Query.ThreatEmulation.Severity Number Combined severity of threats found. In case threats are not found, this field is not given. 1 - low, 2 - medium, 3 - high, 4 - critical.  
SandBlast.Query.ThreatEmulation.Confidence Number Rating of the threat data and its relevance to this instance. It is recommended to block threats with confidence 2 and above. 1 - low, 2 - medium, 3 - high.  
SandBlast.Query.ThreatEmulation.Images String Sand boxes used in Threat Emulation. Information about image types can be found in https://sc1.checkpoint.com/documents/TPAPI/CP_1.0_ThreatPreventionAPI_APIRefGuide/html_frameset.htm under “Query API” -> “Query Response Format” -> “Images Object Format”.  
SandBlast.Query.ThreatEmulation.Status String Status of Threat Emulation on the requested file.  

Command example

!sandblast-query file_hash=e129988964fa250bc8186bfe6f399f12 file_name=HelloWorld.pdf

Context Example

{
    "SandBlast": {
        "Query": {
            "AntiVirus": {
                "Confidence": 0,
                "MalwareFamily": 0,
                "MalwareType": 0,
                "Severity": 0,
                "SignatureName": "",
                "Status": {
                    "code": 1001,
                    "label": "FOUND",
                    "message": "The request has been fully answered."
                }
            },
            "Features": [
                "te",
                "av",
                "extraction"
            ],
            "FileName": "HelloWorld.pdf",
            "FileType": "pdf",
            "MD5": "e129988964fa250bc8186bfe6f399f12",
            "SHA1": "a5e7aa50b66fdad3ae3b5e9ca66283a263bf7027",
            "SHA256": "7e1eeaa9ac04812ce89eabb824d65073a3a37a1600ad1e1b7748ae12e04bb168",
            "Status": {
                "code": 1001,
                "label": "FOUND",
                "message": "The request has been fully answered."
            },
            "ThreatEmulation": {
                "CombinedVerdict": "benign",
                "Images": [
                    {
                        "id": "e50e99f3-5963-4573-af9e-e3f4750b55e2",
                        "report": {
                            "verdict": "benign"
                        },
                        "revision": 1,
                        "status": "found"
                    },
                    {
                        "id": "3ff3ddae-e7fd-4969-818c-d5f1a2be336d",
                        "report": {
                            "verdict": "benign"
                        },
                        "revision": 1,
                        "status": "found"
                    }
                ],
                "Score": -2147483648,
                "Status": {
                    "code": 1001,
                    "label": "FOUND",
                    "message": "The request has been fully answered."
                },
                "Trust": 0
            },
            "ThreatExtraction": {
                "ExtractContent": "",
                "ExtractResult": "CP_EXTRACT_RESULT_SUCCESS",
                "ExtractedFileDownloadId": "11aa4b44-6699-43fe-b73a-d42435551b06",
                "ExtractionData": {
                    "InputExtension": "pdf",
                    "InputRealExtension": "pdf",
                    "Message": "OK",
                    "ProtectionName": "Extract potentially malicious content",
                    "ProtectionType": "Conversion to PDF",
                    "ProtocolVersion": "",
                    "RealExtension": "pdf",
                    "Risk": 0,
                    "ScrubActivity": "PDF file was converted to PDF",
                    "ScrubMethod": "Convert to PDF",
                    "ScrubResult": 0,
                    "ScrubTime": "0.114",
                    "ScrubbedContent": ""
                },
                "Method": "pdf",
                "OutputFileName": "HelloWorld.cleaned.pdf",
                "Status": {
                    "code": 1001,
                    "label": "FOUND",
                    "message": "The request has been fully answered."
                },
                "TexProduct": false,
                "Time": "0.114"
            }
        }
    }
}

Human Readable Output

Query Results

File Info

Filename Filetype Label Message Md5 Sha1 Sha256
HelloWorld.pdf pdf FOUND The request has been fully answered. e129988964fa250bc8186bfe6f399f12 a5e7aa50b66fdad3ae3b5e9ca66283a263bf7027 7e1eeaa9ac04812ce89eabb824d65073a3a37a1600ad1e1b7748ae12e04bb168

Threat Emulation

Combinedverdict
benign

Anti-Virus

Malwarefamily Malwaretype Confidence Severity
0 0 0 0

Threat Extraction

Extractresult Extractedfiledownloadid Risk
CP_EXTRACT_RESULT_SUCCESS 11aa4b44-6699-43fe-b73a-d42435551b06 0

sandblast-upload


Use the Upload API to have a client application request that Check Point Threat Prevention modules scan and analyze a file. When you upload a file to the service, the file is encrypted. It is un-encrypted during analysis, and then deleted. This command uses polling with query. The stages of polling are ‘UPLOAD_SUCCESS’, ‘PENDING’ and ends with ‘FOUND’ or ‘PARTIALLY_FOUND’. Once the command is done polling it will return analyzed information about the file.

Base Command

sandblast-upload

Input

Argument Name Description Required
interval_in_seconds Interval in seconds between each poll. Default is 60. Optional
timeout_in_seconds Time out in seconds till polling ends. Default is 600. Optional
file_id ID of the file to upload, which will be taken from the uploaded file to XSOAR. Required
file_name Rename the file to upload, if empty the uploaded file will keep its original name. Optional
features Features to use on the file. Possible values are: Threat Emulation, Anti-Virus, Threat Extraction, All. Default is All. Optional
image_ids ID of available OS images. An image is an operating system configuration. Inputs must be of same length as image_revisions and will be paired according to position. Information about image types can be found in https://sc1.checkpoint.com/documents/TPAPI/CP_1.0_ThreatPreventionAPI_APIRefGuide/html_frameset.htm under “Query API” -> “Query Response Format” -> “Images Object Format”. Possible values are: e50e99f3-5963-4573-af9e-e3f4750b55e2, 7e6fe36e-889e-4c25-8704-56378f0830df, 8d188031-1010-4466-828b-0cd13d4303ff, 5e5de275-a103-4f67-b55b-47532918fa59, 3ff3ddae-e7fd-4969-818c-d5f1a2be336d, 6c453c9b-20f7-471a-956c-3198a868dc92, 10b4a9c6-e414-425c-ae8b-fe4dd7b25244. Optional
image_revisions Revisions of available OS images. An image is an operating system configuration. Inputs must be of same length as image_ids and will be paired according to position. Optional
reports Comma separated list of supported report formats. Note - Requesting for PDF and summary reports simultaneously is not supported. Possible values are: pdf, xml, tar, summary. Default is xml, summary. Optional
method Threat extraction request method. Possible values are: clean, pdf. Default is pdf. Optional
extracted_parts Comma separated list of fields to be cleaned in the file. Only relevant if method = clean. Possible values are: Linked Objects, Macros and Code, Sensitive Hyperlinks, PDF GoToR Actions, PDF Launch Actions, PDF URI Actions, PDF Sound Actions, PDF Movie Actions, PDF JavaScript Actions, PDF Submit Form Actions, Database Queries, Embedded Objects, Fast Save Data, Custom Properties, Statistic Properties, Summary Properties. Default is Linked Objects, Macros and Code, Sensitive Hyperlinks, PDF GoToR Actions, PDF Launch Actions, PDF URI Actions, PDF Sound Actions, PDF Movie Actions, PDF JavaScript Actions, PDF Submit Form Actions, Database Queries, Embedded Objects, Fast Save Data. Optional

Context Output

Path Type Description  
SandBlast.Upload.Status String Status of requested features.  
SandBlast.Upload.MD5 String The file’s MD5.  
SandBlast.Upload.SHA1 String The file’s SHA1.  
SandBlast.Upload.SHA256 String The file’s SHA256.  
SandBlast.Upload.FileType String File type can be different from the one sent in the upload request (according to the type to identify).  
SandBlast.Upload.FileName String Name of the file saved on Check Point databases.  
SandBlast.Upload.Features String Features used.  
SandBlast.Upload.AntiVirus.SignatureName String If the file is not detected by Anti-Virus, the signature name is empty.  
SandBlast.Upload.AntiVirus.MalwareFamily Number ID for malware family, if available: {0-}.  
SandBlast.Upload.AntiVirus.MalwareType Number ID for malware type, if available: {0-}.  
SandBlast.Upload.AntiVirus.Severity Number 0 for benign files. Minimum: 0 Maximum: 4  
SandBlast.Upload.AntiVirus.Confidence Number 0 for benign files. Minimum: 0 Maximum 5  
SandBlast.Upload.AntiVirus.Status String Status of Anti-Virus on the requested file.  
SandBlast.Upload.ThreatExtraction.Method String Method that was used.  
SandBlast.Upload.ThreatExtraction.ExtractResult String CP_EXTRACT_RESULT_UNKNOWN (Default - returned if the POD did not receive an answer from the Threat Extraction engine in 60 seconds). CP_EXTRACT_RESULT_SUCCESS, CP_EXTRACT_RESULT_FAILURE, CP_EXTRACT_RESULT_TIMEOUT, CP_EXTRACT_RESULT_UNSUPPORTED_FILE, CP_EXTRACT_RESULT_NOT_SCRUBBED, CP_EXTRACT_RESULT_INTERNAL_ERROR, CP_EXTRACT_RESULT_DISK_LIMIT_REACHED, CP_EXTRACT_RESULT_ENCRYPTED_FILE, CP_EXTRACT_RESULT_DOCSEC_FILE, CP_EXTRACT_RESULT_OUT_OF_MEMORY  
SandBlast.Upload.ThreatExtraction.ExtractedFileDownloadId String The download id of the extracted file, for download request. Only sent when extract_result = CP_EXTRACT_RESULT_SUCCESS  
SandBlast.Upload.ThreatExtraction.OutputFileName String Clean file name.  
SandBlast.Upload.ThreatExtraction.Time String Time for threat extraction completion.  
SandBlast.Upload.ThreatExtraction.ExtractContent String Content of extracted file.  
SandBlast.Upload.ThreatExtraction.TexProduct Boolean True if the queried file is already a Sandblast-safe copy.  
SandBlast.Upload.ThreatExtraction.Status String Status of Threat Extraction on the requested file.  
SandBlast.Upload.ThreatExtraction.ExtractionData.InputExtension String Uploaded filename-extension as sent by the client.  
SandBlast.Upload.ThreatExtraction.ExtractionData.InputRealExtension String Extension as resolved by Threat Extraction.  
SandBlast.Upload.ThreatExtraction.ExtractionData.Message String Status message for scrub_result  
SandBlast.Upload.ThreatExtraction.ExtractionData.ProtectionName String Potential malicious content extracted.  
SandBlast.Upload.ThreatExtraction.ExtractionData.ProtectionType String Protection done for scrub_method: Conversion to PDF Content Removal
SandBlast.Upload.ThreatExtraction.ExtractionData.ProtocolVersion String Protocol used.  
SandBlast.Upload.ThreatExtraction.ExtractionData.RealExtension String Real extension as resolved by Threat Extraction  
SandBlast.Upload.ThreatExtraction.ExtractionData.Risk Number Represents the risk of the part that was extracted from the document.  
SandBlast.Upload.ThreatExtraction.ExtractionData.ScrubActivity String Readable result from Threat Extraction.  
SandBlast.Upload.ThreatExtraction.ExtractionData.ScrubMethod String Convert to PDF Clean Document.
SandBlast.Upload.ThreatExtraction.ExtractionData.ScrubResult Number Code result from Threat Extraction.  
SandBlast.Upload.ThreatExtraction.ExtractionData.ScrubTime String Threat Extraction process time.  
SandBlast.Upload.ThreatExtraction.ExtractionData.ScrubbedContent String Content that was removed  
SandBlast.Upload.ThreatEmulation.Trust Number Rating of the threat data and its relevance to this instance. It is recommended to block threats with confidence medium and above.  
SandBlast.Upload.ThreatEmulation.Score Number Threat Emulation score.  
SandBlast.Upload.ThreatEmulation.CombinedVerdict String Combined verdict of all the images. Benign reports are not supported for local gateways.  
SandBlast.Upload.ThreatEmulation.Severity Number Combined severity of threats found. In case threats are not found, this field is not given.  
SandBlast.Upload.ThreatEmulation.Images String Sand boxes used in Threat Emulation. Information about image types can be found in https://sc1.checkpoint.com/documents/TPAPI/CP_1.0_ThreatPreventionAPI_APIRefGuide/html_frameset.htm under “Query API” -> “Query Response Format” -> “Images Object Format”.  
SandBlast.Upload.ThreatEmulation.Status String Status of Threat Emulation on the requested file.  

Command example

!sandblast-upload file_id=252@117def34-6ca2-4db3-86eb-c9378ad46e65

Context Example

{
    "SandBlast": {
        "Upload": {
            "AntiVirus": {
                "Confidence": 0,
                "MalwareFamily": 0,
                "MalwareType": 0,
                "Severity": 0,
                "SignatureName": "",
                "Status": {
                    "code": 1001,
                    "label": "FOUND",
                    "message": "The request has been fully answered."
                }
            },
            "Features": [
                "te",
                "av",
                "extraction"
            ],
            "FileName": "HelloWorld.pdf",
            "FileType": ".pdf",
            "MD5": "e129988964fa250bc8186bfe6f399f12",
            "SHA1": "a5e7aa50b66fdad3ae3b5e9ca66283a263bf7027",
            "SHA256": "7e1eeaa9ac04812ce89eabb824d65073a3a37a1600ad1e1b7748ae12e04bb168",
            "Status": {
                "code": 1003,
                "label": "PENDING",
                "message": "The request is pending."
            },
            "ThreatEmulation": {
                "CombinedVerdict": "benign",
                "Images": [
                    {
                        "id": "3ff3ddae-e7fd-4969-818c-d5f1a2be336d",
                        "report": {
                            "verdict": "benign"
                        },
                        "revision": 1,
                        "status": "found"
                    },
                    {
                        "id": "e50e99f3-5963-4573-af9e-e3f4750b55e2",
                        "report": {
                            "verdict": "benign"
                        },
                        "revision": 1,
                        "status": "found"
                    }
                ],
                "Score": -2147483648,
                "Status": {
                    "code": 1001,
                    "label": "FOUND",
                    "message": "The request has been fully answered."
                },
                "Trust": 0
            },
            "ThreatExtraction": {
                "Method": "pdf",
                "Status": {
                    "code": 1003,
                    "label": "PENDING",
                    "message": "The request is pending."
                },
                "TexProduct": false
            }
        }
    }
}

Human Readable Output

Upload Results

File Info

Filename Filetype Label Message Md5 Sha1 Sha256
HelloWorld.pdf .pdf UPLOAD_SUCCESS The file was uploaded successfully. e129988964fa250bc8186bfe6f399f12 a5e7aa50b66fdad3ae3b5e9ca66283a263bf7027 7e1eeaa9ac04812ce89eabb824d65073a3a37a1600ad1e1b7748ae12e04bb168

sandblast-download


Use the Download API to download a scanned file from the ThreatCloud according to the file ID.

Base Command

sandblast-download

Input

Argument Name Description Required
file_id ID of the file to download, which will be taken from “Extractedfiledownloadid” from “Threat Extraction” results. Required

Context Output

Path Type Description
File.Size Number The size of the file.
File.SHA1 String The SHA1 hash of the file.
File.SHA256 String The SHA256 hash of the file.
File.Name String The name of the file.
File.SSDeep String The SSDeep hash of the file.
File.EntryID String The entry ID of the file.
File.Info String File information.
File.Type String The file type.
File.MD5 String The MD5 hash of the file.
File.Extension String The file extension.

Command example

!sandblast-download file_id=9dc066ec-ae77-4c96-b176-8dc88db515a9

Context Example

{
    "File": {
        "EntryID": "279@117def34-6ca2-4db3-86eb-c9378ad46e65",
        "Extension": "pdf",
        "Info": "application/pdf",
        "MD5": "63a6c12e9b7aa5fb8a1c758de8b87926",
        "Name": "HelloWorld.cleaned.pdf",
        "SHA1": "febf2e17da8f2d2264897069c6358c001f2fc62d",
        "SHA256": "63d3c65cef4eda67d58d81150a9295393990ad81cbc6607e62092d708b9973bb",
        "SHA512": "e7c5058ea2fbd6834fbcdb0699c713e58b54bd7f3e9e340cf48bd3feebe04ef52f9edf0876f051f15bb0f6d09c3b9ae685654267cc281279023e677e95a2c55e",
        "SSDeep": "384:DGW1n7dLCkC4Ta3ZyCJhpVgizPvth6irUABhcLk5JcRzcpnSMTxZYH06ZJWY:yMa3gCJai3ZHBc8SMTxY",
        "Size": 16228,
        "Type": "PDF document, version 1.5"
    }
}

Human Readable Output

sandblast-quota


Use the Quote API to have a client application get the current license and quota status of the API Key that you use in the authorization of the other APIs. For cloud services only.

Base Command

sandblast-quota

Input

There are no input arguments for this command.

Context Output

Path Type Description
SandBlast.Quota.RemainQuotaHour Number Remaining quota hours.
SandBlast.Quota.RemainQuotaMonth Number Remaining quota months.
SandBlast.Quota.AssignedQuotaHour Number Assigned quota hours.
SandBlast.Quota.AssignedQuotaMonth Number Assigned quota months.
SandBlast.Quota.HourlyQuotaNextReset String Hourly quota next reset.
SandBlast.Quota.MonthlyQuotaNextReset String Monthly quota next reset.
SandBlast.Quota.QuotaId String Quota ID.
SandBlast.Quota.CloudMonthlyQuotaPeriodStart String Cloud monthly quota period start.
SandBlast.Quota.CloudMonthlyQuotaUsageForThisGw Number Cloud monthly quota usage for this GW.
SandBlast.Quota.CloudHourlyQuotaUsageForThisGw Number Cloud hourly quota usage for this GW.
SandBlast.Quota.CloudMonthlyQuotaUsageForQuotaId Number Cloud monthly quota usage for QuotaID.
SandBlast.Quota.CloudHourlyQuotaUsageForQuotaId Number Cloud hourly quota usage for QuotaID.
SandBlast.Quota.MonthlyExceededQuota Number Monthly exceeded quota.
SandBlast.Quota.HourlyExceededQuota Number Hourly exceeded quota.
SandBlast.Quota.CloudQuotaMaxAllowToExceedPercentage Number Cloud quota max allowed to exceed percentage.
SandBlast.Quota.PodTimeGmt String Pod time GMT.
SandBlast.Quota.QuotaExpiration String Quota expiration.
SandBlast.Quota.Action String Quota action.

Command example


#### Context Example

```json
{
    "SandBlast": {
        "Quota": {
            "Action": "ALLOW",
            "AssignedQuotaHour": 500,
            "AssignedQuotaMonth": 10000,
            "CloudHourlyQuotaUsageForQuotaId": 2,
            "CloudHourlyQuotaUsageForThisGw": 2,
            "CloudMonthlyQuotaPeriodStart": "2022-08-01T00:00:00.000Z",
            "CloudMonthlyQuotaUsageForQuotaId": 4,
            "CloudMonthlyQuotaUsageForThisGw": 4,
            "CloudQuotaMaxAllowToExceedPercentage": 1000,
            "HourlyExceededQuota": 0,
            "HourlyQuotaNextReset": "2022-08-01T15:00:00.000Z",
            "MonthlyExceededQuota": 0,
            "MonthlyQuotaNextReset": "2022-09-01T00:00:00.000Z",
            "PodTimeGmt": "2022-08-01T14:42:44.000Z",
            "QuotaExpiration": "2022-09-22T00:00:00.000Z",
            "QuotaId": "D21T63R",
            "RemainQuotaHour": 498,
            "RemainQuotaMonth": 9996
        }
    }
}

Human Readable Output

Quota Information

Remainquotahour Remainquotamonth Assignedquotahour Assignedquotamonth Hourlyquotanextreset Monthlyquotanextreset Quotaid Cloudmonthlyquotaperiodstart Cloudmonthlyquotausageforthisgw Cloudhourlyquotausageforthisgw Cloudmonthlyquotausageforquotaid Cloudhourlyquotausageforquotaid Monthlyexceededquota Hourlyexceededquota Cloudquotamaxallowtoexceedpercentage Podtimegmt Quotaexpiration Action
498 9996 500 10000 2022-08-01T15:00:00.000Z 2022-09-01T00:00:00.000Z D21T63R 2022-08-01T00:00:00.000Z 4 2 4 2 0 0 1000 2022-08-01T14:42:44.000Z 2022-09-22T00:00:00.000Z ALLOW

Configuration parameters

  • url — Server URL (required)
  • credentials
  • insecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings
  • integrationReliability — Source Reliability

Commands (5)

  • file

    Runs reputation on files.

  • sandblast-download

    Uses the Download API to download a scanned file from the ThreatCloud according to the file ID.

  • sandblast-query

    Use the Query API to have a client application look for either a specific file's analysis report on the Check Point Threat Prevention service databases or the status of a file, uploaded for analysis. It is recommended to add file_name.

  • sandblast-quota

    Uses the Quota API to have a client application get the current license and quota status of the API key used in the authorization of the other APIs. For cloud services only.

  • sandblast-upload

    Uses the Upload API to have a client application request for Check Point Threat Prevention modules to scan and analyze a file. When you upload a file to the service, the file is encrypted. It is un-encrypted during analysis and then deleted. This command uses polling with query. The stages of polling are 'UPLOAD_SUCCESS', 'PENDING' and ends with 'FOUND' or 'PARTIALLY_FOUND'. Once the command is done polling, it returns analyzed information about the file.

category: Forensics & Malware Analysis
provider: CheckPoint Software Technologies
commonfields:
  id: CheckPointSandBlast
  version: -1
configuration:
- display: Server URL
  name: url
  required: true
  type: 0
  additionalinfo: https://te.checkpoint.com
- displaypassword: Authorization - API Key
  name: credentials
  type: 9
  hiddenusername: true
  required: false
- display: Trust any certificate (not secure)
  name: insecure
  type: 8
  required: false
- display: Use system proxy settings
  name: proxy
  type: 8
  required: false
- name: integrationReliability
  additionalinfo: Reliability of the source providing the intelligence data.
  defaultvalue: C - Fairly reliable
  display: Source Reliability
  options:
  - A+ - 3rd party enrichment
  - A - Completely reliable
  - B - Usually reliable
  - C - Fairly reliable
  - D - Not usually reliable
  - E - Unreliable
  - F - Reliability cannot be judged
  type: 15
  required: false
description: "Uploads files using polling. The service supports Microsoft Office files, as well as PDF, SWF, archives, and executables. Active content will be cleaned from any documents that you upload (Microsoft Office and PDF files only). Queries on existing IOCs, file status, analysis, and reports. Downloads files from the database. Supports both appliance and cloud. Supported Threat Emulation versions are any R80x."
display: Check Point Threat Emulation (SandBlast)
name: CheckPointSandBlast
script:
  commands:
  - name: file
    description: Runs reputation on files.
    arguments:
    - name: file
      required: true
      default: true
      description: Hash of the file to query. Supports MD5, SHA1, and SHA256.
      isArray: true
    outputs:
    - contextPath: File.MD5
      description: The MD5 hash of the file.
      type: String
    - contextPath: File.SHA1
      description: The SHA1 hash of the file.
      type: String
    - contextPath: File.SHA256
      description: The SHA256 hash of the file.
      type: String
    - contextPath: File.Malicious.Vendor
      description: The vendor that reported the file as malicious.
      type: String
    - contextPath: File.Malicious.Description
      description: A description explaining why the file was determined to be malicious.
      type: String
    - contextPath: DBotScore.Indicator
      description: The indicator that was tested.
      type: String
    - contextPath: DBotScore.Type
      description: The indicator type.
      type: String
    - contextPath: DBotScore.Vendor
      description: The vendor used to calculate the score.
      type: String
    - contextPath: DBotScore.Reliability
      description: Reliability of the source providing the intelligence data.
      type: String
    - contextPath: DBotScore.Score
      description: The actual score.
      type: Number
  - arguments:
    - description: Name of the file to query (recommend using). Without it, status will be "PARTIALLY_FOUND".
      name: file_name
    - description: "File hash to query. Accepted digests are: md5, sha1 and sha256. Only md5 returns FOUND status."
      name: file_hash
      required: true
    - auto: PREDEFINED
      defaultValue: All
      description: Features to use on the file.
      isArray: true
      name: features
      predefined:
      - Threat Emulation
      - Anti-Virus
      - Threat Extraction
      - All
    - auto: PREDEFINED
      defaultValue: xml, summary
      description: A comma-separated list of supported report formats. Note - Simultaneous requests for PDF and summary reports is not supported.
      isArray: true
      name: reports
      predefined:
      - pdf
      - xml
      - tar
      - summary
    - auto: PREDEFINED
      defaultValue: pdf
      description: Threat extraction request method.
      name: method
      predefined:
      - clean
      - pdf
    - auto: PREDEFINED
      defaultValue: Linked Objects, Macros and Code, Sensitive Hyperlinks, PDF GoToR Actions, PDF Launch Actions, PDF URI Actions, PDF Sound Actions, PDF Movie Actions, PDF JavaScript Actions, PDF Submit Form Actions, Database Queries, Embedded Objects, Fast Save Data
      description: A comma-separated list of fields to be cleaned in the file. Only relevant if method = clean.
      isArray: true
      name: extracted_parts
      predefined:
      - Linked Objects
      - Macros and Code
      - Sensitive Hyperlinks
      - PDF GoToR Actions
      - PDF Launch Actions
      - PDF URI Actions
      - PDF Sound Actions
      - PDF Movie Actions
      - PDF JavaScript Actions
      - PDF Submit Form Actions
      - Database Queries
      - Embedded Objects
      - Fast Save Data
      - Custom Properties
      - Statistic Properties
      - Summary Properties
    description: Use the Query API to have a client application look for either a specific file's analysis report on the Check Point Threat Prevention service databases or the status of a file, uploaded for analysis. It is recommended to add file_name.
    name: sandblast-query
    outputs:
    - contextPath: SandBlast.Query.Status
      description: The status of requested features.
      type: String
    - contextPath: SandBlast.Query.MD5
      description: The file MD5.
      type: String
    - contextPath: SandBlast.Query.SHA1
      description: The file SHA1.
      type: String
    - contextPath: SandBlast.Query.SHA256
      description: The file SHA256.
      type: String
    - contextPath: SandBlast.Query.FileType
      description: The file type, can be different from the one sent in the query request (according to the type to identify).
      type: String
    - contextPath: SandBlast.Query.FileName
      description: The name of the file saved on the Check Point databases.
      type: String
    - contextPath: SandBlast.Query.Features
      description: The features used.
      type: String
    - contextPath: SandBlast.Query.AntiVirus.SignatureName
      description: The signature name. If the file is not detected by Anti-Virus, the signature name is empty.
      type: String
    - contextPath: SandBlast.Query.AntiVirus.MalwareFamily
      description: 'The ID for the malware family, if available: {0-}.'
      type: Number
    - contextPath: SandBlast.Query.AntiVirus.MalwareType
      description: 'The ID for the malware type, if available: {0-}.'
      type: Number
    - contextPath: SandBlast.Query.AntiVirus.Severity
      description: 'The severity, 0 for benign files. Minimum: 0 Maximum: 4.'
      type: Number
    - contextPath: SandBlast.Query.AntiVirus.Confidence
      description: 'The confidence, 0 for benign files. Minimum: 0 Maximum 5.'
      type: Number
    - contextPath: SandBlast.Query.AntiVirus.Status
      description: The Anti-Virus status for the requested file.
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.Method
      description: The method that was used.
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractResult
      description: "The result from the Threat Extraction engine. Default is CP_EXTRACT_RESULT_UNKNOWN (returned if the POD did not receive an answer from the Threat Extraction engine in 60 seconds). Possible values: CP_EXTRACT_RESULT_UNKNOWN, CP_EXTRACT_RESULT_SUCCESS, CP_EXTRACT_RESULT_FAILURE, CP_EXTRACT_RESULT_TIMEOUT, CP_EXTRACT_RESULT_UNSUPPORTED_FILE, CP_EXTRACT_RESULT_NOT_SCRUBBED, CP_EXTRACT_RESULT_INTERNAL_ERROR, CP_EXTRACT_RESULT_DISK_LIMIT_REACHED, CP_EXTRACT_RESULT_ENCRYPTED_FILE, CP_EXTRACT_RESULT_DOCSEC_FILE, CP_EXTRACT_RESULT_OUT_OF_MEMORY."
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractedFileDownloadId
      description: The download ID of the extracted file, for download request. Only sent when extract_result = CP_EXTRACT_RESULT_SUCCESS.
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.OutputFileName
      description: The clean file name.
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.Time
      description: The time for threat extraction completion.
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractContent
      description: The content of the extracted file.
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.TexProduct
      description: True if the queried file is already a Sandblast-safe copy.
      type: Boolean
    - contextPath: SandBlast.Query.ThreatExtraction.Status
      description: The Threat Extraction status for the requested file.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractionData.InputExtension
      description: The uploaded filename extension as sent by the client.
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractionData.InputRealExtension
      description: The extension as resolved by Threat Extraction.
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractionData.Message
      description: The status message for scrub_result.
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractionData.ProtectionName
      description: The potentially malicious extracted content.
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractionData.ProtectionType
      description: 'The protection done for scrub_method: Conversion to PDF | Content Removal.'
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractionData.ProtocolVersion
      description: The protocol used.
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractionData.RealExtension
      description: The real extension as resolved by Threat Extraction.
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractionData.Risk
      description: The risk of the part that was extracted from the document.
      type: Number
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractionData.ScrubActivity
      description: The readable result from Threat Extraction.
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractionData.ScrubMethod
      description: 'The scrub_method: Convert to PDF | Clean Document.'
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractionData.ScrubResult
      description: The code result from the Threat Extraction.
      type: Number
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractionData.ScrubTime
      description: The Threat Extraction process time.
      type: String
    - contextPath: SandBlast.Query.ThreatExtraction.ExtractionData.ScrubbedContent
      description: The content that was removed.
      type: String
    - contextPath: SandBlast.Query.ThreatEmulation.Trust
      description: The rating of the threat data and its relevance to this instance. It is recommended to block threats with confidence medium and above.
      type: Number
    - contextPath: SandBlast.Query.ThreatEmulation.Score
      description: The Threat Emulation score.
      type: Number
    - contextPath: SandBlast.Query.ThreatEmulation.CombinedVerdict
      description: The combined verdict of all the images. Benign reports are not supported for local gateways.
      type: String
    - contextPath: SandBlast.Query.ThreatEmulation.Severity
      description: The combined severity of threats found. If threats are not found, this field is not shown.
      type: Number
    - contextPath: SandBlast.Query.ThreatEmulation.Images
      description: The sandboxes used in Threat Emulation. Information about image types can be found in https://sc1.checkpoint.com/documents/TPAPI/CP_1.0_ThreatPreventionAPI_APIRefGuide/html_frameset.htm under "Query API" -> "Query Response Format" -> "Images Object Format".
      type: String
    - contextPath: SandBlast.Query.ThreatEmulation.Confidence
      description: Rating of the threat data and its relevance to this instance. It is recommended to block threats with confidence 2 and above. 1 - low, 2 - medium, 3 - high.
      type: Number
    - contextPath: SandBlast.Query.ThreatEmulation.Status
      description: The status of Threat Emulation on the requested file.
      type: String
  - arguments:
    - description: The interval in seconds between each poll.
      name: interval_in_seconds
      defaultValue: '60'
    - description: The timeout in seconds until polling ends.
      name: timeout_in_seconds
      defaultValue: '600'
    - description: The ID of the file to upload, which will be taken from the uploaded file to Cortex XSOAR.
      name: file_id
      required: true
    - description: Rename the upload file. If empty, the uploaded file will keep its original name.
      name: file_name
    - description: 'File hash to query. Accepted digests are: md5, sha1 and sha256. Only md5 returns FOUND status.'
      deprecated: true
      name: file_hash
    - auto: PREDEFINED
      defaultValue: All
      description: The features to use on the file.
      isArray: true
      name: features
      predefined:
      - Threat Emulation
      - Anti-Virus
      - Threat Extraction
      - All
    - auto: PREDEFINED
      description: 'The ID of available OS images. An image is an operating system configuration. Inputs must be of same length as image_revisions and will be paired according to position. Information about image types can be found in https://sc1.checkpoint.com/documents/TPAPI/CP_1.0_ThreatPreventionAPI_APIRefGuide/html_frameset.htm under "Query API" -> "Query Response Format" -> "Images Object Format".'
      isArray: true
      name: image_ids
      predefined:
      - e50e99f3-5963-4573-af9e-e3f4750b55e2
      - 7e6fe36e-889e-4c25-8704-56378f0830df
      - 8d188031-1010-4466-828b-0cd13d4303ff
      - 5e5de275-a103-4f67-b55b-47532918fa59
      - 3ff3ddae-e7fd-4969-818c-d5f1a2be336d
      - 6c453c9b-20f7-471a-956c-3198a868dc92
      - 10b4a9c6-e414-425c-ae8b-fe4dd7b25244
    - description: The revisions of available OS images. An image is an operating system configuration. Inputs must be of same length as image_ids and will be paired according to position.
      isArray: true
      name: image_revisions
    - auto: PREDEFINED
      defaultValue: xml, summary
      description: A comma-separated list of supported report formats. Note - Simultaneous requests for PDF and summary reports is not supported.
      isArray: true
      name: reports
      predefined:
      - pdf
      - xml
      - tar
      - summary
    - auto: PREDEFINED
      defaultValue: pdf
      description: The threat extraction request method.
      name: method
      predefined:
      - clean
      - pdf
    - auto: PREDEFINED
      defaultValue: Linked Objects, Macros and Code, Sensitive Hyperlinks, PDF GoToR Actions, PDF Launch Actions, PDF URI Actions, PDF Sound Actions, PDF Movie Actions, PDF JavaScript Actions, PDF Submit Form Actions, Database Queries, Embedded Objects, Fast Save Data
      description: A comma-separated list of fields to be cleaned in the file. Only relevant if method = clean.
      isArray: true
      name: extracted_parts
      predefined:
      - Linked Objects
      - Macros and Code
      - Sensitive Hyperlinks
      - PDF GoToR Actions
      - PDF Launch Actions
      - PDF URI Actions
      - PDF Sound Actions
      - PDF Movie Actions
      - PDF JavaScript Actions
      - PDF Submit Form Actions
      - Database Queries
      - Embedded Objects
      - Fast Save Data
      - Custom Properties
      - Statistic Properties
      - Summary Properties
    description: "Uses the Upload API to have a client application request for Check Point Threat Prevention modules to scan and analyze a file. When you upload a file to the service, the file is encrypted. It is un-encrypted during analysis and then deleted. This command uses polling with query. The stages of polling are 'UPLOAD_SUCCESS', 'PENDING' and ends with 'FOUND' or 'PARTIALLY_FOUND'. Once the command is done polling, it returns analyzed information about the file."
    name: sandblast-upload
    polling: true
    outputs:
    - contextPath: SandBlast.Upload.Status
      description: The status of requested features.
      type: String
    - contextPath: SandBlast.Upload.MD5
      description: The file MD5.
      type: String
    - contextPath: SandBlast.Upload.SHA1
      description: The file SHA1.
      type: String
    - contextPath: SandBlast.Upload.SHA256
      description: The file SHA256.
      type: String
    - contextPath: SandBlast.Upload.FileType
      description: The file type can be different from the one sent in the upload request (according to the type to identify).
      type: String
    - contextPath: SandBlast.Upload.FileName
      description: The name of the file saved on Check Point databases.
      type: String
    - contextPath: SandBlast.Upload.Features
      description: The features used.
      type: String
    - contextPath: SandBlast.Upload.AntiVirus.SignatureName
      description: The signature name. If the file is not detected by Anti-Virus, the signature name is empty.
      type: String
    - contextPath: SandBlast.Upload.AntiVirus.MalwareFamily
      description: 'The ID for the malware family, if available: {0-}.'
      type: Number
    - contextPath: SandBlast.Upload.AntiVirus.MalwareType
      description: 'The ID for the malware type, if available: {0-}.'
      type: Number
    - contextPath: SandBlast.Upload.AntiVirus.Severity
      description: 'The severity, 0 for benign files. Minimum: 0 Maximum: 4.'
      type: Number
    - contextPath: SandBlast.Upload.AntiVirus.Confidence
      description: 'The confidence, 0 for benign files. Minimum: 0 Maximum 5.'
      type: Number
    - contextPath: SandBlast.Upload.AntiVirus.Status
      description: The Anti-Virus status for the requested file.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.Method
      description: The method that was used.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractResult
      description: 'The result from the Threat Extraction engine. Default is CP_EXTRACT_RESULT_UNKNOWN (returned if the POD did not receive an answer from the Threat Extraction engine in 60 seconds). Possible values: CP_EXTRACT_RESULT_UNKNOWN, CP_EXTRACT_RESULT_SUCCESS, CP_EXTRACT_RESULT_FAILURE, CP_EXTRACT_RESULT_TIMEOUT, CP_EXTRACT_RESULT_UNSUPPORTED_FILE, CP_EXTRACT_RESULT_NOT_SCRUBBED, CP_EXTRACT_RESULT_INTERNAL_ERROR, CP_EXTRACT_RESULT_DISK_LIMIT_REACHED, CP_EXTRACT_RESULT_ENCRYPTED_FILE, CP_EXTRACT_RESULT_DOCSEC_FILE, CP_EXTRACT_RESULT_OUT_OF_MEMORY.'
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractedFileDownloadId
      description: The download ID of the extracted file, for download request. Only sent when extract_result = CP_EXTRACT_RESULT_SUCCESS.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.OutputFileName
      description: The clean file name.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.Time
      description: The time for threat extraction completion.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractContent
      description: The content of the extracted file.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.TexProduct
      description: True if the queried file is already a Sandblast-safe copy.
      type: Boolean
    - contextPath: SandBlast.Upload.ThreatExtraction.Status
      description: The status of Threat Extraction on the requested file.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractionData.InputExtension
      description: The uploaded filename-extension as sent by the client.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractionData.InputRealExtension
      description: The extension as resolved by Threat Extraction.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractionData.Message
      description: The status message for scrub_result.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractionData.ProtectionName
      description: The potentially malicious extracted content.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractionData.ProtectionType
      description: 'The protection done for scrub_method: Conversion to PDF | Content Removal.'
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractionData.ProtocolVersion
      description: The protocol used.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractionData.RealExtension
      description: The real extension as resolved by Threat Extraction.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractionData.Risk
      description: The risk of the part that was extracted from the document.
      type: Number
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractionData.ScrubActivity
      description: The readable result from Threat Extraction.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractionData.ScrubMethod
      description: 'The scrub-method: Convert to PDF | Clean Document.'
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractionData.ScrubResult
      description: The code result from Threat Extraction.
      type: Number
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractionData.ScrubTime
      description: The Threat Extraction process time.
      type: String
    - contextPath: SandBlast.Upload.ThreatExtraction.ExtractionData.ScrubbedContent
      description: The content that was removed.
      type: String
    - contextPath: SandBlast.Upload.ThreatEmulation.Trust
      description: The rating of the threat data and its relevance to this instance. It is recommended to block threats with confidence medium and above.
      type: Number
    - contextPath: SandBlast.Upload.ThreatEmulation.Score
      description: The Threat Emulation score.
      type: Number
    - contextPath: SandBlast.Upload.ThreatEmulation.CombinedVerdict
      description: The combined verdict of all the images. Benign reports are not supported for local gateways.
      type: String
    - contextPath: SandBlast.Upload.ThreatEmulation.Severity
      description: The combined severity of threats found. If threats are not found, this field is not shown.
      type: Number
    - contextPath: SandBlast.Upload.ThreatEmulation.Images
      description: The sandboxes used in Threat Emulation. Information about image types can be found in https://sc1.checkpoint.com/documents/TPAPI/CP_1.0_ThreatPreventionAPI_APIRefGuide/html_frameset.htm under "Query API" -> "Query Response Format" -> "Images Object Format".
      type: String
    - contextPath: SandBlast.Upload.ThreatEmulation.Status
      description: The status of Threat Emulation on the requested file.
      type: String
  - arguments:
    - description: The ID of the file to download, taken from "Extractedfiledownloadid" from the "Threat Extraction" results.
      name: file_id
      required: true
    description: Uses the Download API to download a scanned file from the ThreatCloud according to the file ID.
    name: sandblast-download
    outputs:
    - contextPath: File.Size
      description: The size of the file.
      type: Number
    - contextPath: File.SHA1
      description: The SHA1 hash of the file.
      type: String
    - contextPath: File.SHA256
      description: The SHA256 hash of the file.
      type: String
    - contextPath: File.Name
      description: The name of the file.
      type: String
    - contextPath: File.SSDeep
      description: The SSDeep hash of the file.
      type: String
    - contextPath: File.EntryID
      description: The entry ID of the file.
      type: String
    - contextPath: File.Info
      description: File information.
      type: String
    - contextPath: File.Type
      description: The file type.
      type: String
    - contextPath: File.MD5
      description: The MD5 hash of the file.
      type: String
    - contextPath: File.Extension
      description: The file extension.
      type: String
  - description: Uses the Quota API to have a client application get the current license and quota status of the API key used in the authorization of the other APIs. For cloud services only.
    name: sandblast-quota
    outputs:
    - contextPath: SandBlast.Quota.RemainQuotaHour
      description: The remaining quota hours.
      type: Number
    - contextPath: SandBlast.Quota.RemainQuotaMonth
      description: The remaining quota months.
      type: Number
    - contextPath: SandBlast.Quota.AssignedQuotaHour
      description: The assigned quota hours.
      type: Number
    - contextPath: SandBlast.Quota.AssignedQuotaMonth
      description: The assigned quota months.
      type: Number
    - contextPath: SandBlast.Quota.HourlyQuotaNextReset
      description: The hourly quota next reset.
      type: String
    - contextPath: SandBlast.Quota.MonthlyQuotaNextReset
      description: The monthly quota next reset.
      type: String
    - contextPath: SandBlast.Quota.QuotaId
      description: The quota ID.
      type: String
    - contextPath: SandBlast.Quota.CloudMonthlyQuotaPeriodStart
      description: The cloud monthly quota period start.
      type: String
    - contextPath: SandBlast.Quota.CloudMonthlyQuotaUsageForThisGw
      description: The cloud monthly quota usage for this GW.
      type: Number
    - contextPath: SandBlast.Quota.CloudHourlyQuotaUsageForThisGw
      description: The cloud hourly quota usage for this GW.
      type: Number
    - contextPath: SandBlast.Quota.CloudMonthlyQuotaUsageForQuotaId
      description: The cloud monthly quota usage for the Quota ID.
      type: Number
    - contextPath: SandBlast.Quota.CloudHourlyQuotaUsageForQuotaId
      description: The cloud hourly quota usage for the Quota ID.
      type: Number
    - contextPath: SandBlast.Quota.MonthlyExceededQuota
      description: The monthly exceeded quota.
      type: Number
    - contextPath: SandBlast.Quota.HourlyExceededQuota
      description: The hourly exceeded quota.
      type: Number
    - contextPath: SandBlast.Quota.CloudQuotaMaxAllowToExceedPercentage
      description: The cloud quota max allowed to exceed percentage.
      type: Number
    - contextPath: SandBlast.Quota.PodTimeGmt
      description: The pod time GMT.
      type: String
    - contextPath: SandBlast.Quota.QuotaExpiration
      description: The quota expiration.
      type: String
    - contextPath: SandBlast.Quota.Action
      description: The quota action.
      type: String
  dockerimage: demisto/python3:3.12.13.10116658
  runonce: false
  script: '-'
  subtype: python3
  type: python
tests:
- playbook-CheckPointSandBlast_Test
fromversion: 6.5.0