Box.com
Page updated for EA release
We’re introducing cloud collection for the Box.com event source, now available in Early Access (EA).
Box.com is a cloud storage service for enterprises. You can configure a Box.com event source for an enterprise subscription only, not for an individual or business subscription.
Box.com uses Open Authentication (OAuth) to authorize SIEM (InsightIDR) to collect activity logs from their servers. In order to read Box.com logs, the collector needs to be able to connect to https://api.box.com .
In the Box.com integration, SIEM (InsightIDR) polls on a regular basis for the following information:
- Box.com “users” to map them back to domain users and tie ActiveDirectory and Box.com activity together
- Recent Box.com “events” to pull authentication and administrative activity
In SIEM (InsightIDR), you will see:
- Ingress activity to Box.com on your “Locations” map as if the users were logging into your internal network
- Admin activity on your “Administrators” page (typically account change activity—new account created, account deleted, etc)
- Users who are seen doing Admin activity get a “Box admin” tag in SIEM (InsightIDR)
- Several incidents might get generated:
- Ingress from disabled account (the user is no longer part of the company but still logging into Box.com)
- Harvested credentials
- Multiple country authentications
- Ingress from threat
- Third-party alert activity from Box Shield alerts
If you are running SIEM (InsightIDR) in Firefox, be sure to enable pop-up windows before configuring a Box.com event source.
To set up Box.com:
- Read the requirements and complete ant prerequisite steps.
- Configure the event source to send data to SIEM (InsightIDR).
- Configure SIEM (InsightIDR) to collect data from the event source.
You can also:
Requirements
Before you configure the Box.com event source, you must have:
- Access to the Box Developer Console
- A Box administrator available to approve the application
Configure the event source to send data to SIEM (InsightIDR)
To configure Box.com to send data to SIEM (InsightIDR) you must create and authorize a Box platform app and enable alert publishing to successfully ingest Box Shield alerts.
Visit the third-party vendor's documentation
For the most accurate information on configuring this event source, we recommend that you visit Box’s documentation on creating a platform app , platform app approval , and enabling alert publishing .
Create a Box platform app
Set up a Box platform app and authorize it to access your enterprise data. This process generates the credentials required for log ingestion.
To create a Box platform app:
- In Box, go to the Developer Console.
- Click Create Platform App.
- Provide a name for your app.
- Select Client Credentials Grant as the App Type.
- Click Create App.
- Open the Configuration tab.
- Set App Access Level to App + Enterprise Access.
- Configure the following permissions:
- Content Actions
- Read all files and folders stored in Box
- Administrative Actions
- Manage users
- Manage enterprise properties
- Developer Actions
- Manage webhooks
- Content Actions
- Click Save changes.
To obtain the client ID, client secret and Enterprise ID:
- In the Configuration tab, record:
- Client ID
- Client Secret
- In the General Settings tab, record:
- Enterprise ID
You will need these values when configuring the event source in SIEM (InsightIDR). Store these credentials securely.
To submit the authorization request:
- Go to the Authorization tab.
- Click Review and Submit.
This will send a notification and email to your company’s Box Admin.
A Box administrator must approve and enable the app before it can send data to SIEM (InsightIDR).
Option 1: Approve from email:
- Open the approval email from Box.
- Click Review App Details.
- Review the requested permissions.
- Select the appropriate enablement options.
- Click Apply.
Option 2: Approve from the Box Admin Console:
- Open the Admin Console in Box.
- Go to Integrations.
- Select Platform Apps Manager.
- Click Server Authentication Apps.
- Locate the application and click View.
- Review the authorization and enablement settings.
- Click Apply.
Enable alert publishing
If you are configuring the Box.com event source in SIEM (insightIDR), you must enable alert publishing in Box.com to successfully ingest Box Shield alerts into SIEM (InsightIDR).
To do this, you must select Publish Alert to Box Event Stream when you create or edit a Shield detection rule in Box.com. Read Box.com’s documentation on how to create, edit and delete a Threat Detection Rule to learn how to navigate to Detection Rules in the Box.com admin console and enable Publish Alert to Box Event Stream for new and existing rules.
If you already have Shield detection rules configured, review each rule and confirm that Publish Alert to Box Event Stream is enabled. You may need to recreate rules that were originally created without this option selected. SIEM (InsightIDR) cannot retroactively collect Shield alerts that were not published to the Event Stream.
Configure SIEM (InsightIDR) to collect data from the event source
After you complete the prerequisite steps and configure the event source to send data, you must add the event source in SIEM (InsightIDR).
Task 1: Select Box.com
- From the left menu, go to Data Collection and click Setup Event Source > Add Event Source.
- Do one of the following:
- Search for Box.com in the event sources search bar.
- In the Product Type filter, select Cloud Service.
- Select the Box.com event source tile.
Task 2: Set up your collection method
There are two methods of collecting data from Box.com: through a cloud connection or through a collector.
Use the Cloud Connection method
- In the Add Event Source panel, select Run On Cloud.
- Name the event source. This will be the name of the log that contains the event data in Log Search.
- Click Add a New Connection.
- In the Create a Cloud Connection screen, enter a name for the new connection.
- In the Enterprise ID field, enter the enterprise ID that you obtained in the requirements.
- In the Client ID field, enter the client ID that you obtained in the requirements.
- In the Client Secret field, enter the client secret that you obtained in the requirements.
- Click Save & Test Connection.
- Optionally, select the option to send unparsed data.
- Select your Account Attribution preference:
- Use short name attribution: The system first attempts to attribute data by email address, for example,
jsmith@myorg.example.com. If the first attempt is unsuccessful, attribution is attempted by short name, for example,jsmith. If the short name is unsuccessful, attribution is attempted by a user’s first and last name, for example,John Smith. - Use fully qualified domain name attribution: The system first attempts to attribute data by email address, for example,
jsmith@myorg.example.com. If the first attempt is unsuccessful, attribution is attempted by a user’s first and last name, for example,John Smith. This option is best if your environment has collisions with short names.
- Use short name attribution: The system first attempts to attribute data by email address, for example,
- Optionally, specify the Active Directory Domain for Multi-domain Environments.
- Select an attribution source.
- Click Save.
Use the Collector method
- In the Add Event Source panel, select Run On Collector.
- Enter the name of your event source.
- Select your collector.
- Select Box.com API from the Collection Method dropdown.
- Click Begin to set up OAUTH and start the authorization process.
- A new window or tab will open for you to perform an authorization grant with Box.
- Login to Box.com and click Allow.
- Close the window/tab to return to SIEM (InsightIDR).
- Optionally choose to send unparsed logs.
- Select an attribution source.
- Configure your default domain and any Advanced Event Source Settings.
- Click Save.
Connect apps to Box.com
Applications use OAuth, an open source authentication standard, to connect to Box. There are also Box SDKs that include implementations of the OAuth2 grants used by Box, or client libraries available in a number of languages that you might find useful.
Read this link for more information: https://developer.box.com/reference#oauth-2-overview .
Troubleshooting
If you experience issues with Box.com, refer to these steps to troubleshoot.
Error: App Disabled by Administrator
If you attempt to connect SIEM (InsightIDR) to Box.com but encounter an error message, you may need to allowlist SIEM (InsightIDR) as an application.
How to allowlist SIEM (InsightIDR) in Box.com
Follow these instructions to allowlist SIEM (InsightIDR) in Box.com: https://support.box.com/hc/en-us/articles/360044195053-Disabled-by-Administrator-Cannot-Use-Application#:~:text=access%20the%20integration.-,Platform%20Apps,-If%20the%20app
You will be asked to enter a Client ID that is specific to your AWS region. Use the following table to identify the correct Client ID based on the AWS region your environment is hosted in.
To find your AWS region:
-
Multi-org users: Open the Org Switcher in the top-left corner of the Command Platform navigation bar. From the dropdown, locate your current organization. The AWS region for that organization is displayed next to the organization name.
-
Single-org users: Ask your Platform Administrator to provide your AWS region.
| AWS Region | Client ID |
|---|---|
| ap-northeast-1 | jagp21q41s40x5bvo5larljhnjwphdj6 |
| ap-southeast-2 | y0bdup7juwzqtoyda0axbmhsnt087m32 |
| ca-central-1 | esik4v7swbos3c19zyydw9o7rgzaz79q |
| eu-central-1 | crtn5kpjd9zc2vl28avyptne9oif42r5 |
| us-east-1 | uqsuj6rhwxz7ia3ucjrn8xb0px4l84i8 |
| us-east-2 | agws64mbmu46mme9kymvcmkdivwqvk18 |
| us-west-2 | 234xyq68h81iinhxpise7ccyuhmb7cks |