Configuring Box Connectors

Connectors allow Stellar Cyber to collect data from external sources and add it to the data lake. There can be any number of Box connectors active.

Connector Overview: Box

Capabilities

  • Collect: Yes

  • Respond: No

  • Native Alerts Mapped: No

  • Runs on: DP

  • Interval: Configurable

Collected Data

Content Type

Index

Locating Records

Events

Syslog

msg_class:

N/A

msg_origin.source:

box_content_cloud

msg_origin.vendor:

N/A

msg_origin.category:

saas

Domain

https://api.box.com

Response Actions

N/A

Third Party Native Alert Integration Details

N/A

Required Credentials

  • Client ID, Client Secret, Enterprise ID

               Let us know if you find the above overview useful.

Adding a Box Connector

To add a Box connector:

  1. Use the Box Developer Console to set up a new Custom App for Stellar Cyber
  2. Use the Box Admin Console to authorize the new app
  3. Use the Box Admin Console to obtain the Enterprise ID
  4. Add the connector in Stellar Cyber
  5. Test the connector
  6. Verify ingestion

    Use our example as a guideline, as you might be using a different software version.

Setting up New App in Box and Obtaining Client ID / Secret

Stellar Cyber must be added as a custom app in your Enterprise Box account. During this process you will need to make note of your Client ID and Client Secret.

  1. Log in to the Box Developer Console with administrative privileges (http://app.box.com/developers/console). If you logged in to box.com instead, select Dev Console from the navigation pane.

  2. Select the My Apps pane, and then click Create New App. Note that these instructions are based on creating a Custom App, not an Enterprise App.

    The Custom App dialog opens.

  3. Select the Server Authentication (Client Credentials Grant) option, supply an App Name, and click Create App.

  4. The new Box application appears in the My Apps pane. Open it.

  5. From the Configuration tab, copy the Client ID and save it to a temporary location for later use in the setup process (refer to the image in the next step).

  6. Click the Fetch Client Secret button to retrieve the client secret. Save it to the same temporary location where you copied the Client ID.

    Note that 2-Step Verification must be enabled for your account before you can use the Fetch Client Secret button. If it is not already enabled, you can turn it on on the Account Settings | Account tab, as illustrated below:

  7. Ensure that App Access Level is set to App + Enterprise Access.

  8. Click on the General Settings tab for your app and copy the Enterprise ID shown there to the same location where you stored the Client ID and Client Secret.

  9. Click on the Configuration tab, scroll down to Application Scopes, and enable each of the options found there:

  10. Navigate to the Authorization tab and click the Review and Submit button to send your request for application authorization to an Admin user.

  11. Exit the Box Developer Console.

Authorizing Stellar Cyber to Access the Box Account

Stellar Cyber must be authorized using the Client ID you obtained above.

Use the Box Admin Console to access your Box account.

  1. Log in to your Box Admin Portal as an administrative user.

  2. Select the menu option for Admin Console.

  3. Select the Apps entry in the left navigation panel and click on the Custom Apps Manager tab.

  4. Click the Add App button, enter the Client ID you created for Stellar Cyber application, and click Next.

  5. Review the information in the dialog that appears and click Authorize.

  6. Review the list of applications in the Custom Apps Manager and ensure your new application is displayed.

Obtaining the Box Enterprise ID

At this point, you have a Client Secret and Client ID. If you have not already noted the Enterprise ID for your Box account, use this procedure to obtain it.

  1. Still logged into your Box Admin Portal as an administrative user with Enterprise access rights, select Account & Billing on the navigation menu.

  2. Make note of the Enterprise ID listed in the displayed Account Information section.

Adding the Connector in Stellar Cyber

Now you are ready to add and configure the Box connector in Stellar Cyber:

  1. Log in to Stellar Cyber.

  2. Click System | Integration | Connectors. The Connector Overview appears.

  3. Click Create. The General tab of the Add Connector screen appears. The information on this tab cannot be changed after you add the connector.

  4. Choose SaaS from the Category drop-down.

  5. Choose Box from the Type drop-down.

  6. For this connector, the supported Function is Collect, which is enabled already.

  7. Enter a Name.

    This field does not accept multibyte characters.

  8. Choose a Tenant Name. The Interflow records created by this connector include this tenant name.

  9. Choose the device on which to run the connector.

    • Certain connectors can be run on either a Sensor or a Data Processor. The available devices are displayed in the Run On menu. If you want to associate your collector with a sensor, you must have configured that sensor prior to configuring the connector or you will not be able to select it during initial configuration. If you select Data Processor, you will need to associate the connector with a Data Analyzer profile as a separate step. That step is not required for a sensor, which is configured with only one possible profile.

    • If the device you're connecting to is on premises, we recommend you run on the local sensor. If you're connecting to a cloud service, we recommend you run on the DP.

  10. (Optional) When the Function is Collect, you can create Log Filters. For information, see Managing Log Filters.

  11. Click Next. The Configuration tab appears.

  12. Enter the Client ID you noted above.

  13. Enter the Client Secret you noted above.

  14. Enter the Enterprise ID you noted above.

  15. Choose the Interval (min). This is how often the logs are collected.

  16. Choose the Content Type you would like to collect. The logs for Events are supported.

  17. Click Next. The final confirmation tab appears.

  18. Click Submit.

    To pull data, a connector must be added to a Data Analyzer profile if it is running on the Data Processor.

  19. If you are adding rather than editing a connector with the Collect function enabled and you specified for it to run on a Data Processor, a dialog box now prompts you to add the connector to the default Data Analyzer profile. Click Cancel to leave it out of the default profile or click OK to add it to the default profile.

    • This prompt only occurs during the initial create connector process when Collect is enabled.

    • Certain connectors can be run on either a Sensor or a Data Processor, and some are best run on one versus the other. In any case, when the connector is run on a Data Processor, that connector must be included in a Data Analyzer profile. If you leave it out of the default profile, you must add it to another profile. You need the Administrator Root scope to add the connector to the Data Analyzer profile. If you do not have privileges to configure Data Analyzer profiles, a dialog displays recommending you ask your administrator to add it for you.

    • The first time you add a Collect connector to a profile, it pulls data immediately and then not again until the scheduled interval has elapsed. If the connector configuration dialog did not offer an option to set a specific interval, it is run every five minutes. Exceptions to this default interval are the Proofpoint on Demand (pulls data every 1 hour) and Azure Event Hub (continuously pulls data) connectors. The intervals for each connector are listed in the Connector Types & Functions topic.

    The Connector Overview appears.

Testing the Connector

When you add (or edit) a connector, we recommend that you run a test to validate the connectivity parameters you entered. (The test validates only the authentication / connectivity; it does not validate data flow).

  1. Click System | Integrations | Connectors. The Connector Overview appears.

  2. Locate the connector that you added, or modified, or that you want to test.

  3. Click Test at the right side of that row. The test runs immediately.

    Note that you may run only one test at a time.

Stellar Cyber conducts a basic connectivity test for the connector and reports a success or failure result. A successful test indicates that you entered all of the connector information correctly.

To aid troubleshooting your connector, the dialog remains open until you explicitly close it by using the X button. If the test fails, you can select the  button from the same row to review and correct issues.

The connector status is updated every five (5) minutes. A successful test clears the connector status, but if issues persist, the status reverts to failed after a minute.

Repeat the test as needed.

ClosedDisplay sample messages...

Success !

Failure with summary of issue:

Show More example detail:

 

Verifying Ingestion

To verify ingestion:

  1. Click Investigate | Threat Hunting. The Interflow Search tab appears.

  2. Select the Indices for Syslog. The table immediately updates to show ingested Interflow records.

For more information on working with events, refer to External Actions: Contain Host