Course contents

Unit 6: Advanced securityLesson 6.11 (7 of 11 in this unit)9 of 25 in the Advanced Cisco SD-WAN course

Advanced Malware Protection (AMP)

File reputation and sandbox analysis on a WAN Edge: what it inspects, how verdicts are reached, retrospective alerts, and its dependencies.

Advanced · 11 min read

You'll learn to follow a file from download to verdict, explain retrospective alerts, and list what AMP needs and what it cannot analyse.

Technical definition

Advanced Malware Protection (AMP) on a WAN Edge is file-based malware protection. The router identifies a file in a supported protocol, calculates its hash (a short fingerprint of the file) and asks a cloud file-reputation service for a verdict. A malicious file can be blocked, and unknown files can be sent for analysis in a sandbox.

A download arrives at BR-02

A user at BR-02 (site 102, internet only) downloads a PDF from a website. The WAN Edge (cEdge/vEdge) is the only security device on the path. Antivirus on the laptop is a separate layer. AMP gives the branch its own check on files crossing the router, before a second copy of the same file reaches another user.

How a verdict is reached

  1. The edge recognises a file transfer in a supported protocol. Typical examples are an HTTP download or an email transfer. The supported protocols and file types depend on your release, so check the current list.
  2. It calculates a hash of the file. The hash is computed over the file content, so a changed file has a different hash.
  3. It asks the cloud file-reputation service about the hash. The reply is one of three verdicts: clean, malicious or unknown.
  4. For a malicious verdict, the policy blocks the file or raises an alert only, depending on the action configured.
  5. For an unknown verdict, the file passes unless the policy sends it for sandbox analysis. In that case the file is uploaded to a sandbox service where it is run in a controlled environment and its behaviour is recorded. Cisco's sandbox service has been called Threat Grid. Product names change, so check the current name.
  6. The sandbox verdict comes back later, which can take minutes. It is added to the cloud reputation data.

There are two lookups in this flow, a fast one by hash and a slow one by analysis. A well-known file is resolved in the first, a new or targeted one needs the second.

A download meets AMP on BR-02
A download meets AMP on BR-02A file arrives at BR-02. The edge computes a hash of the file and asks a cloud reputation service for a verdict. A clean verdict lets the file through. A malicious verdict blocks it. If the verdict is unknown, the file may be allowed and watched. When the service later learns the file is malicious, it raises a retrospective alert so you can find who received it.DownloadBR-02hash of the fileCloud reputation serviceCleanfile allowedMaliciousfile blockedUnknownallowed and watchedLater verdict changes to malicious: retrospective alert, so you can find everyone who received it.

On small screens, swipe sideways or focus the diagram and use the arrow keys.

AMP judges files by reputation and analysis, not by looking at every byte again. It covers files it can see, so encrypted downloads need the TLS proxy.

Retrospective detection

Reputation changes. A file that is unknown today may be recognised as malicious tomorrow, after more samples are seen. The cloud service keeps a record of the hashes it has judged. When a verdict changes from clean (or unknown) to malicious, the service tells the edge that handled the file, and an alert appears for it.

The edge cannot recall the file. It was delivered when the alert was raised, so the reaction is a manual or process-driven one: find who received it, check whether it was run, and clean the device.

Why not hold every unknown file until the sandbox answers?

That is possible in some designs, but it has a cost: users wait for downloads, sometimes for minutes. Many organisations let unknown files through with an alert and rely on retrospective detection and endpoint protection to catch the rest. Others hold files only for high-risk groups or file types. It is a trade between security and waiting, and the policy options available depend on your release.

What AMP needs to work

DependencyWhy it matters
Inspection service on the routerFile detection runs in the security function on the edge. The platform must support it and have the resources assigned. Check the current platform documentation
Licence or subscriptionSecurity features are often tied to a licence or subscription whose packaging changes. Check the current one before design
Connectivity to the AMP cloudThe edge needs an allowed path to the cloud service for hash lookups and, if used, uploads. Firewalls and proxies on the path must permit it, and DNS must resolve the service names
TLS proxy, for files over HTTPSMost downloads are HTTPS. Without decryption the edge sees no file. See the TLS proxy lesson
Platform resourcesHashing and inspecting files costs CPU and memory, in addition to other features on the same router

If the cloud service cannot be reached, the edge cannot get verdicts. As with URL filtering, what then happens (files pass, or are held) is a design decision. Test it.

What AMP does not cover

  • Unsupported protocols and file types. If the edge does not recognise the transfer or the type, the file passes unscanned.
  • Encrypted traffic without the TLS proxy. The edge sees no files.
  • Encrypted or password-protected archives. The content cannot be read, so the edge cannot judge it. Decide in policy how such files are treated.
  • Size limits. Very large files may be skipped. Check the limit for your release.
  • Files that do not cross the edge. Removable media, local copies and traffic that stays inside the branch LAN are not seen.

Privacy and policy for uploaded files

A hash lookup reveals only a fingerprint. A sandbox upload moves the file itself out of the network, to a service hosted by a third party in some region. For personal data, confidential documents and regulated content, that can conflict with company policy or local law. Decide before enabling uploads which file types are sent, which groups of users are covered, and whether the hosting region is acceptable. Ask the privacy or legal team. This page is not legal advice.

Running AMP day to day

  1. Send alerts to a place someone reads. An alert nobody sees has no value.
  2. Treat a retrospective alert as an incident: identify the recipient, check the endpoint, record the outcome.
  3. For a known-good file that is flagged (an internal tool, for example), add its hash to an allow list after review. Record who approved it and why.
  4. Review logs regularly for lookup failures, repeated blocks from one user and unusual file types.
  5. After changes to the cloud path, test with a safe test file that the vendor provides for the purpose, rather than real malware. Check the vendor documentation for the approved method.

When a file is not blocked, or a good file is

  1. Is the AMP policy attached to the service VPN that carries the traffic, and did the template push complete?
  2. Is the inspection service running on that router?
  3. Was the transfer visible to the edge? HTTPS without the TLS proxy hides the file. Check protocol, file type and size.
  4. Can the router reach the AMP cloud? Check the path, DNS resolution of the service name and firewall rules.
  5. What was the verdict and the action? A malicious verdict with an alert-only action will not block.
  6. Is the hash on a local list that overrides the verdict?
  7. For a false positive, check the file's reputation in the cloud console and follow the dispute process rather than exempting broadly.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-02#show utd engine standard statistics file-reputation
File Reputation Statistics
  Files inspected     : (example)
  Clean               : (example)
  Malicious           : (example)
  Unknown             : (example)
  Cloud lookup errors : (example)
Example only, with placeholders for numbers. The command and counter names vary by release: confirm them in the current documentation. A malicious count above zero with no block means the action is alert only, or the file was seen after delivery. Cloud lookup errors point at the connectivity dependency.

Test yourself on AMP

Predict · scenario 1

A file passes through BR-02 as clean. Two days later the cloud service reclassifies it as malicious. What does the edge do?

Predict · scenario 2

Users download files only over HTTPS and the TLS proxy is off. AMP shows zero files inspected. What is the most likely reason?

Predict · scenario 3

A policy sends unknown files to the sandbox. What is a data-protection concern to settle first?

Predict · scenario 4

AMP is enabled, but a malicious file was delivered once. The log shows verdict malicious, action alert. What should change?

FAQ

Does AMP replace antivirus on laptops?
No. The edge sees only files that cross it in supported protocols. A file that arrives on a USB stick, over an encrypted channel the edge cannot read, or from outside the branch does not reach it. Endpoint protection covers the device itself. AMP on the edge is one more layer.
What is a retrospective alert?
A file is judged clean when it passes through. Later, new analysis shows it was malicious. The cloud service then tells the edge, and an alert is raised. The edge cannot take the file back from the user, so the alert is a prompt to find and clean the device that received it.
Are my files sent to Cisco?
The hash lookup sends a fingerprint, not the file. If the policy allows sandbox analysis, unknown files can be uploaded to the analysis service. That is a data-protection decision. Check what your policy sends, where the service is hosted and what your own rules allow.