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:
- Authorize SIEM (InsightIDR) to access your Box.com administrator account during this one time set up
- (Cloud collection method only) locate and securely record the Box enterprise ID
- (Cloud collection method only) create a Box Platform App and securely record the client ID and client secret
Configure the event source to send data to SIEM (InsightIDR)
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 |