---
schema_version: "1"
id: 87c3544cdb023fca6aef61717bf3b90b7e91a02b9a373a5024affdba1b846513
title: Detection Event Is Confirmed Malicious
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/real_time_em_threat_examples_malicious.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.real_time_em_threat_examples_malicious.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: dcab8105a86dd77901101ad6eb285e7b4e783c083f485969c7653fd51accabb9
description: John, a sales rep based in San Francisco, often travels for work. He regularly downloads reports of his leads for his weekly sales presentations. John has access to 500-1,000 leads and his weekly report downloads typically contain 500–1,000 rows.
products:
  - Salesforce Platform
  - Cross Cloud
release: "264"
---
# Detection Event Is Confirmed Malicious

John, a sales rep based in San Francisco, often travels for work. He regularly downloads reports of his leads for his weekly sales presentations. John has access to 500-1,000 leads and his weekly report downloads typically contain 500–1,000 rows.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Available in both Salesforce Classic (not available in all orgs) and Lightning
            Experience.</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p>Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong>
              Editions</p>
            <p style="margin-bottom:0;">Requires Salesforce Shield or Salesforce Event Monitoring add-on
              subscriptions.</p>
          </td>

        </tr>
      </tbody>
    </table>

On May 12, 2019, however, a report of 996,262 rows was downloaded using John’s account. Kate, the administrator for John’s org, noticed a ReportAnomalyEvent about this report generation activity. The event contained this information.

 
| ReportAnomalyEvent Field | Value |
| --- | --- |
| Score | 95.48515 |
| SourceIp | 96.43.144.26 |
| EventDate | 2019-05-12T12:22:10.298+00:00 |
| UserId | 00530000009M943 |
| Report | 00OD0000001leVCMAY |
| SecurityEventData | (see next table) |

The SecurityEventData field contained this information.

  
| featureName | featureValue | featureContribution |
| --- | --- | --- |
| rowCount | 996262 | 99.37% |
| autonomousSystem | Starbucks Coffee Company | 0.27% |
| dayOfWeek | Sunday | 0.13% |
| averageRowSize | 1507 | 0.06% |
| userAgent | \- | 0.02% |

Kate starts an investigation to dig deeper. She uses the UserId to determine that the report was downloaded using John’s account. She then searches the ReportEvent events for John and notices that he generates weekly reports, but they contain only 500–1,000 rows. The table shows that rowCount contributes nearly 100% to this anomaly. This feature contribution value is a numerical value that indicates the importance of rowCount in flagging this report generation activity as an anomaly. Because John has a consistent history of generating small reports (500–1,000 rows), a report with a million rows is a noticeable departure from that trend. This fact generates the high feature contribution value.

Upon further investigation, Kate discovers that John’s account was hacked and the attacker escalated John’s access privileges to access data for the entire sales team. As a result, the report contained sales leads for the entire sales team instead of only the sales leads assigned to John.

Kate concludes that this detection event is malicious and takes further threat mitigation actions.

#### See Also

- [_Platform Events Developer Guide_: ReportAnomalyEvent](https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/sforce_api_objects_reportanomalyevent.htm)
- [_Platform Events Developer Guide_: ReportEvent](https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/sforce_api_objects_reportevent.htm)