This document describes the ampverdict section in the INFO and DEBUG log level of the Advanced Malware Protection engine of the Secure Web Appliance.
Cisco recommends that you have knowledge of these topics:
This document is not restricted to specific software and hardware versions.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, ensure that you understand the potential impact of any command.
SWA offers integration with AMP for endpoints and a local AMP engine. AMP provides malware protection against zero-day malware through the File Reputation and File Analysis features. The SWA includes a pre-classification engine that is responsible for file scans internally before public cloud checks. The logs described in the next section are related to the AMP engine on SWA, not to the AMP cloud or Threat Grid.
Access the AMP logs. Log in via CLI and tail or grep the amp logs:
1. Log in to the CLI through the SSH Client.
2. Run the grep command, then press Enter.
3. Enter the number for amp_logs as listed.
4. Answer the prompts. If you are running live traffic, choose the option to tail the logs.
5. Press the Enter key.
6. The logs are displayed.
The SWA AMP logs are available at different levels of detail. You can select the INFO or DEBUG level. The results have slight differences, which are explained in the next section
AMP INFO level logs:
Wed Apr 27 12:21:26 2022 Info: Txn 18210 Binary scan on instance[0] Id[1345]: AMP allocated memory = 0, AMP used memory = 0, Scans in flight = 1, Active faster connections = 1, Active slower connections = 0
Wed Apr 27 12:21:35 2022 Info: Binary scan on instance[0] id[1345]: filename[npp.8.4.Installer.x64.exe] filemime[application/x-dosexec] file_extension[exe] length[4493047b] ampverdict[(1, 1, 'amp', '', 0, 0, True)] scanverdict[0] malwareverdict[0] spyname[] SHA256[ecdcf497418a1988ebf20c647acadc9eca7bc8569fd980713582acd0de011ba1] From[Cloud] uploadreason[Enqueued in the local queue for submission to upload] verdict_str[FILE UNKNOWN] is_slow[0] scans_in_flight[0] Active faster connections[0] Active slower connections[0]
Wed Apr 27 12:22:28 2022 Info: File uploaded for analysis. Server: https://panacea.threatgrid.com, SHA256: ecdcf497418a1988ebf20c647acadc9eca7bc8569fd980713582acd0de011ba1, Filename: npp.8.4.Installer.x64.exeTimestamp: 1651044116 sampleid[]
AMP INFO level logs (ampverdict):
ampverdict[(1, 1, 'amp', '', 0, 0, True)]
(analysis_Action, scan_verdict, ‘verdict_source', ‘spyname’, malware_verdict, file_reputation, upload_action)]
AMP DEBUG level logs:
Fri Apr 29 01:38:40 2022 Debug: Binary scan: proxid[3951] filename[favicon.ico] len[41566b] readtime[109.721680ms] scantime[2.205322ms] ampverdict[(1, 1, 'amp', '', 0, 0, False)] scanverdict[0] malwareverdict[0] SHA256[e7a2345c75a03e63202b12301c29bb8b6bae7cef9e191ed58797ec028def7c4f] From[Cloud] FileName[favicon.ico] FileMime[application/octet-stream]
AMP DEBUG level logs (ampverdict):
ampverdict[(1, 1, 'amp', '', 0, 0, False)]
ampverdict[(analysis_action, scan_verdict,disposition, ‘spyname: policy name if amp registered with console’, file_reputation, upload_action, ‘sha256', ‘threat_name’)]
Detailed Field vs Value options:
| Field |
Value |
| Analysis_action |
"0": Indicates the Advanced Malware Protection did not request the upload of the file for analysis. "1": Indicates the Advanced Malware Protection did request the upload of the file for analysis. |
| Scan_verdict |
"0": The file is not malicious. |
| Verdict_source |
amp: File analysis. |
| Disposition |
"1": Unknown. |
| Spyname |
Empty: If the AMP outbreak policy is not used. |
| Upload_action |
True: file is set to sandbox. |
| Sha256 |
SHA256 of the file. |
| Threat_name |
Threat name based on AMP threat types. |
| Revision | Publish Date | Comments |
|---|---|---|
2.0 |
22-Oct-2026
|
Updated Introduction, spelling, grammar, spacing, inserted horizontal lines to separate sections for readability, fixed URLs to open in new page. |
1.0 |
18-May-2022
|
Initial Release |