> 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/7.9/install-and-connect-cortex-xdr-agent-app-for-ios/add-a-malware-security-profile-administrator-task.md).

# Add a Malware Security Profile (Administrator Task)

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 management console, 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 and not replaced.</p></div>
   2. Select **iOS**, and then the **Malware** profile type.
   3. Select **Next**.
2. Configure the Malware profile.
   1. Enter a **Profile Name** and a **description**.
   2. Configure **SMS and MMS 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. **Create** the profile.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
