> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xdr-agent-ios-guide/8.1-agent-ios-guide/install-and-connect-cortex-xdr-agent-app-for-ios/add-a-malware-security-profile-administrator-task.md).

# Add a Malware Security Profile (Administrator Task)

From the Cortex XDR management console, administrators can configure what action Cortex XDR agents on iOS devices take for known malicious URLs and spam numbers.

Malware security profiles allow you to configure the actions Cortex XDR agents take when they detect known malicious URLs or spam numbers.

By default, the Cortex XDR agent will receive the default profile that contains a predefined configuration for each malware protection capability supported by the platform.

1. Add a new profile.
   1. From the Cortex XDR tenant, select Endpoints → Policy Management → Prevention → Profiles → **+ Add Profile** and select whether to **Create New** or **Import from File** a new profile.

      <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><h3>Note</h3><p>New imported profiles are added, not replaced.</p></div>
   2. Select **iOS**, and then the **Malware** profile type.
   3. Click **Next**.
2. Configure the Malware profile.
   1. Enter a meaningful **Profile Name** and a **description**.
   2. Configure **SMS, MMS and Safari Malicious URL Filtering** by adding allowed URLs to the **Allow List**, and by adding known malicious URLs to the **Block List**.
   3. Configure reporting of spam calls and messages to XDR analysts by selecting a **Spam Report** option.
   4. Configure **Call and Messages Blocking** by adding allowed numbers to the **Allow List**, and known spam numbers to the **Add Known Spam Numbers** list.

      <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><h3>Note</h3><p>Ensure that the same numbers are not added multiple times with different leading zeros.</p></div>
3. Click **Create**.
4. Assign the profile to a Prevention Policy Rule. Select Endpoints → Policy Management → Prevention → Policy Rules.
   1. Do one of the following:

      * To create a new policy or import a policy, click **+Add Policy** and select whether to **Create New** or **Import from File**. Enter a meaningful **Policy Name** and **Description**.
      * Edit an existing policy rule.

      <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><h3>Note</h3><p>New imported policies are added, not replaced.</p></div>
   2. For **Platform**, select **iOS**, and then for **Malware**, select the profile that you created.
   3. Click **Next**.
   4. Select the iOS devices to which you want to assign the policy.
   5. Click **Done**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xdr-agent-ios-guide/8.1-agent-ios-guide/install-and-connect-cortex-xdr-agent-app-for-ios/add-a-malware-security-profile-administrator-task.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
