Cortex XSOAR

You can find more information about XSOAR here.

Now, OPSWAT Filescan integration is available in XSOAR marketplace:

Installation

Step #1 - Search for OPSWAT Filescan in the marketplace

Step #2 - Click on the Install button in the top right corner.

Integration is then added to the basket. (The integration is free.)

Step #3 - Add an instance.

For that go to Settings -> Integrations, search for 'OPSWAT' and click on 'Add instance' at the right side.

A Filescan API key is required to use the integration.

You need to add your API key, and if you have on-prem version of OPSWAT Filescan, you can add your own server's URL. The default URL is Filescan Community.

You can validate it under the 'Test results':

Available commands

Scan URL

opswat-filescan-scan-url

Scan URL resource with Filescan POST - Scan URLAPI

Command Arguments

DescriptionDefault valueRequired
urlThe URL to submityes
timeoutThe timeout for the polling in seconds600
hide_polling_outputHide polling output.true
descriptionUploaded file/url description
tagsTags array to propagate
passwordCustom password, in case uploaded archive is protected
is_privateIf file should not be available for download by other usersfalse

Command example

!opswat-filescan-scan-url https://www.google.com

Output example

Scan File

opswat-filescan-scan-file

Scan file resource with Filescan POST - Scan FileAPI

Command Arguments

DescriptionDefault valueRequired
entry_idThe War Room entry ID of the file to submit.yes
timeoutThe timeout for the polling in seconds1200
hide_polling_outputHide polling output.true
descriptionUploaded file/url description
tagsTags array to propagate
passwordCustom password, in case uploaded archive is protected
is_privateIf file should not be available for download by other usersfalse

Command example

!opswat-filescan-scan-file entry_id=<paste your entry id here> retry-interval=1

Output example

opswat-filescan-search-query

Search for reports. Finds reports and uploaded files by various tokens. Use GET - Search ReportAPI endpoint.

Arguments

DescriptionDefault valueRequired
queryThe query stringyes
pagePage number, starting from 1
page_sizePage size. Can be 5, 10 or 20
limitNumber of total results. Maximum 50. (If page and page_size was also provided, then it will be ignored.)10

Command example

!opswat-filescan-search-query query=theuselessweb limit=3

Output example

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard