Ransomware Defense Dig
Ransomware Defense Dig
Ransomware Defense Dig
Contents ............................................................................................................................................................ 2
Introduction ....................................................................................................................................................... 3
SAFE Introduction ............................................................................................................................................. 4
Ransomware Overview ..................................................................................................................................... 5
Ransomware Infection ................................................................................................................................... 6
Common vectors of infection into an organization ...................................................................................... 6
Ransomware Communications ................................................................................................................... 8
Ransomware Kill Chain .............................................................................................................................. 9
Ransomware Defense ................................................................................................................................. 10
Best Practices .............................................................................................................................................. 12
Things you can do .................................................................................................................................... 12
Recovery in the event that the worst has happened ................................................................................. 12
Solution Architecture ....................................................................................................................................... 13
Phase One—Validated Testing .................................................................................................................... 14
Email Security .......................................................................................................................................... 15
DNS Security ............................................................................................................................................ 17
Anti-Malware Security............................................................................................................................... 18
Threat Intelligence .................................................................................................................................... 19
Phase Two—Campus Reference Architecture ............................................................................................. 21
Advanced Web Security ........................................................................................................................... 21
Network Monitoring .................................................................................................................................. 22
Identity-based Segmentation .................................................................................................................... 22
Infrastructure Segmentation and Intrusion Prevention .............................................................................. 23
Architecture Summary ................................................................................................................................. 24
Implementation and Validation ........................................................................................................................ 25
Cisco Cloud Email Security .......................................................................................................................... 25
Cisco Umbrella DNS Security ...................................................................................................................... 34
Cisco Advanced Malware Protection for Endpoints (AMP) ........................................................................... 41
Validation Testing ............................................................................................................................................ 46
Summary ......................................................................................................................................................... 47
References ...................................................................................................................................................... 48
Appendix A ...................................................................................................................................................... 49
Lab Diagram ................................................................................................................................................ 49
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Introduction
Ransomware is the most profitable type of malware in history. In the past, malware typically did not deny access
to systems or destroy data. Attackers primarily tried to steal information and maintain long-term access to the
systems and resources of their victims. Ransomware has changed the game from stealthy undetected access to
extortion.
Every single business or person who pays to recover their files, makes this payment directly to the attackers. The
relatively new emergence of anonymous currencies such as Bitcoin and Ripple gives attackers an easy way to
profit with relatively low risk, making ransomware highly lucrative and funding the development of the next
generation of ransomware. As a result, ransomware is evolving at an alarming rate, as shown in Figure 1. It is
projected that future versions will propagate like worms, spreading throughout an organization in a coordinated
manner and aggregating the ransom demand.
Cyber-criminals collected $209 million in the first three months of 2016 by extorting businesses and institutions to
unlock computers. At that rate, ransomware is on pace to be a $1 billion a year criminal industry this year.
The Angler Exploit kit, which infects your system and deploys the ransomware, will be responsible for over $60
million this year alone1.
Cisco can help protect your business from the ransomware threat using a defense-in-depth architecture,
protecting your users both inside and outside the network.
1
Ransomware: Past, Present, and Future - http://blog.talosintel.com/2016/04/ransomware.html
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
SAFE Introduction
SAFE simplifies complexity across the enterprise by implementing a model that focuses on the areas that an
organization must secure. This model treats each area holistically, focusing on today’s threats and the capabilities
needed to secure each area against those threats, as shown in Figure 2. Cisco has deployed, tested, and
validated these critical business challenges.
The Key to SAFE organizes the complexity of holistic security into Places in the Network (PINs) and Secure Domains.
SAFE simplifies end-to-end security by using views of complexity depending on the audience needs, as shown in
Figure 3. Ranging from business flows and their respective threats to the corresponding security capabilities,
architectures, and designs, SAFE provides guidance that is holistic and understandable.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
More information about how Cisco SAFE simplifies security can be found here: www.cisco.com/go/safe
This design guide addresses a specific use case of ransomware under the SAFE Threat Defense domain. The
design validation for this solution use case includes Cloud services and offerings. Additionally, this guide includes
a recommended architecture for the Campus PIN, which is still undergoing validation testing.
Ransomware Overview
Businesses and individuals can be taken hostage by malware that locks up critical resources—ransomware.
Ransomware uses traditional malware attack vectors such as phishing emails and exploit kits to deliver the
ransomware to a desktop. Once established, it takes over systems and stored data, encrypting their contents,
denying access, and holding them hostage until a ransom is paid. Ransomware uses well-established
public/private key cryptography, so that the only way to recover the files is to either pay of the ransom or restore
files from backups. Typically, if the ransom demand is paid, the attacker often, but not always, provides the
decryption keys to restore access.
Ransomware Infection
Figure 4—Typical Ransomware Infection Steps
1. Ransomware is commonly delivered through mass phishing campaigns, malvertising, or targeted exploit
kits.
2. After delivery, ransomware takes control of your system and may try to communicate back to its command
and control infrastructure to create and transmit the public/private keys used to encrypt the files.
3. After the ransomware has the necessary keys, it identifies specific file types and directories to encrypt and
avoids many system and program directories, ensuring stability for delivery of the ransom after it finishes
running.
4. After encryption completes, a notification is left for the user with instructions on how to pay the ransom.
Email—Email is a one-to-many infection vector when used with distribution lists and mass mailings.
It is common for a single user to manage multiple email accounts, both personal and corporate. Every
account represents a security threat. For example, although IT organizations spend enormous time and
effort to select mail security services such as Cisco Email Security Appliance or Cloud, it is very common
for the users to check their personal email using public email services such as Hotmail and Gmail. These
private email accounts are easily accessed through web portals that bypass these email security services.
Accessing, downloading, and executing email attachments and phishing links from such accounts are a
major concern.
Web—Malvertising ads are criminally-controlled advertisements that intentionally infect systems installing
exploit kits or ransomware directly. These can be any ad on any site, and are often sites accessed on a
daily basis. When a user clicks on the ad, they are taken to a site that then infects their computer.
Malvertisement networks comprise thousands of network domain names, creating a shared infrastructure
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
that is constantly changing. These domain names can be random or semi-structured, but all have a
relatively short lifespan and are replaced frequently. These domains host the exploit kits, tools and
command and control services criminals use to infect, control, and disrupt systems. Almost all of these
communications are encrypted.
There are multiple ways that users can interact with malvertising, such as simply visiting a site that serves ads, or
clicking on a link in a page of search results or an e-mail2. Savvy web surfers often implement adblockers on their
systems for protection, but this can impact a site’s ad revenue, so there is a battle restricting content and requiring
adblocks to be disabled. Although major sites can limit access to their sites based on the use of an adblocker,
these publishers cannot guarantee that the ads served will not be malicious. These sites and services are prime
targets for compromise and redirection.
Ransomware is aggressively evolving to adopt the most invasive features of other malware (for example, Nimda,
Sasser, Code Red, SQL Slammer, Sality, Conficker), spreading into and infecting an entire enterprise network,
encrypting all the data they can access for a larger lump-sum payout. To prepare for this future, a defense-in-
depth architecture that includes deep network visibility will be critical in protecting the network.
2
http://blog.talosintel.com/2016/05/spin-to-win-malware.html
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Ransomware Communications
Ransomware communications include command and control (C2) callback methods for obtaining encryption keys
and payment messaging, as shown in Table 1.
Locky ✓ ✓ DNS
TeslaCrypt ✓ DNS
CryptoWall ✓ DNS
TorrentLocker ✓ DNS
CTB-Locker ✓ ✓ DNS
PayCrypt ✓ DNS
KeyRanger ✓ ✓ DNS
After a system is successfully compromised, the exploit kit analyzes its environment (for example, OS,
unpatched applications, and so on) to then retrieve and drop an effective ransomware variant. A callback is then
made to the ransomware infrastructure to retrieve the keys needed to encrypt the system. Many of the most
prevalent exploit kits and ransomware variants resolve a domain name to an IP address to initiate this callback.
Although some variants of ransomware behave differently—for example, SamSam uses a built-in encryption
key that does not require a C2 callback, and other variants use Tor-based Onion Routing or IP-only
callbacks that avoid DNS—there are many ways that the Ransomware Defense Solution can help.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
The first two steps of the infection process outlined above are most commonly broken down into seven stages of
an attack, as shown in Figure 5. Not all attacks use every stage, but these are the most common.
The term “kill chain” refers to the ability to block an attack at any of these specific stages if the correct capabilities
can be employed. Following is a brief description of these stages as they are commonly understood across the
security industry by similar names3.
RECON: The attacker gathers information to help them create seemingly trustworthy places and
messages to stage their malvertisements and phishing emails.
STAGE: Using information collected during RECON, the cybercriminals try to fool users into
opening e-mails or clicking on links.
LAUNCH: The staging sites redirect from trustworthy-looking sites to sites that launch the exploit kits
and/or other malicious content.
EXPLOIT: When a user is at the compromised site, their system is scanned for vulnerabilities that
are then exploited to take control of the user's system.
INSTALL: Once an exploit has taken control, the final dropped file/tool is installed that will infect and
encrypt the victim’s system—the ransomware payload. This stage may also include
additional executables to deliver other malware in the future.
CALLBACK: Once infected, the malware “calls home” to a command-and-control server (C2) where it
retrieves keys to perform the encryption or receive additional instructions.
PERSIST: The files on the hard disk, mapped network drives, and USB devices are encrypted and
a notice or splash screen pops up with instructions to pay the ransom to restore the
original files. This notice persists, and at times deletes files, as a timer counts down to
the expiration of being able to retrieve the unlock keys, putting extreme pressure on the
user. Additionally, the exploit kit can persist and pivot to other more critical systems.
3
http://www.cisco.com/c/en/us/products/security/annual_security_report.html
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Ransomware Defense
The Ransomware Defense Solution creates a defense-in-depth architecture with Cisco Security best practices,
products, and services to prevent, detect, and respond to ransomware attacks.
Cisco’s Ransomware Defense Solution is not a silver bullet or a guarantee, but it does help to:
● Prevent ransomware from getting into the enterprise wherever possible
● Stop it at the system level before it gains command and control
● Detect when it is present in the network
● Work to contain it from expanding to additional systems and network areas
● Perform incident response to fix the vulnerabilities and areas that were attacked
This solution helps to keep operations running, reducing the fear of being taken hostage and losing control of your
critical systems.
To defend against the ransomware kill chain, specific capabilities are necessary to build the appropriate layers of
defense. Table 2 identifies the SAFE methodology capabilities (as represented by the blue icons) best suited for
this defense.
DNS Security Block known malicious domains and break the C2 callback
Client Security Inspect files for ransomware and viruses, quarantine and remove
Identity-based Firewall Authenticate access, and separate traffic based on role and policy
Segmentation
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Each of these capabilities are then deployed to combat and defend against the seven stages of an attack, as
shown in Figure 6.
These capabilities work together to create several layers of defense, protecting the organization against the threat
and spread of ransomware.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Best Practices
For enterprises using backup solutions, there are a wide variety of backup methodologies; the SANS reading
room has a comprehensive document on tape rotation schemes that is very helpful. Typically, as a part of a tape
rotation policy, a portion of the tapes are delivered to an off-site storage facility. This is for disaster recovery
purposes; if there a catastrophic failure at the site hosting an organization's data, the tapes at the storage facility
are still there to recover from at a backup facility. In a scenario in which local backups are deleted, removed, or
otherwise made inaccessible by the attackers, off-site backups are often your only hope of restoring service
without paying the ransom. Depending on how often your backups are sent off-site determines how much data (if
any) would be inaccessible or lost.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Solution Architecture
The first step in developing a defense-in-depth architecture is to take all of the capabilities that can break the
ransomware kill chain and match them with the real-world business functions/flows as identified in the SAFE
model. Specific to ransomware, these are web browsing and email usage, because these are the highest risk
methods of infection. Also included as a third example are files on internal storage.
Each of these three business flows are shown in Figure 7, with the selected capabilities described above. Across
an organization, these capabilities may be duplicated in several network domains. All duplicates have been
removed, and the capabilities are not necessarily in any specific order. They are representations of the best ways
to protect the flows from and end-to-end perspective.
Because a comprehensive deployment of these capabilities can include significant costs and time to deploy, this
solution has been divided into two phases. Phase one includes several capabilities that can be rapidly deployed
with relatively low effort and achieve a great reduction in risk, as shown in Figure 8. Phase two adds the
remaining capabilities, and is shown on a sample Campus network architecture in Figure 15..
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Deploying these capabilities is crucial, and should be prioritized by group; admins, executives, key servers, and
then as broadly as possible.
Each of these offerings share the cloud-based services of Talos Threat intelligence, Threat Grid file analysis and
Umbrella Security Graph.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Email Security
Email security blocks a significant amount of ransomware attacks by pre-filtering all messages coming into (red
arrow) an organization before ever reaching a real person that may open or click on it. Messages are evaluated
through several policy enforcement inspection steps that must be enabled. These include content, virus checking,
malware checking, and spoofing.
Malware checking is performed using the Advanced Malware Protection (AMP) integrated service. Known bad
attachments (based on file hashes and other recognition abilities) can be stripped, but the best practice is to drop
or quarantine the entire message. For unknown attachments, messages are held in quarantine while the
attachments undergo file analysis in the Threat Grid file sandboxing service. Forwarding decisions are then
chosen based on the severity of the analysis report returned. Proper CES integration with mail systems can allow
retrospection to clean up infected e-mail before it is retrieved by other users. Figure 9 shows messages with
attachments stripped.
NOTE: On rare occasions, malicious files can initially be classified as “safe” due to their ability to change behavior
after analysis.
The email system also evaluates URLs to determine whether a message contains spam or phishing links, and
take an appropriate action based on the URL’s reputation. For enhanced protection against ransomware,
message modification and virus outbreak filters must also be enabled globally and added to the mail policies.
Outbreak filters defend against emerging threats and blended attacks. They can issue rules on any combination of
six parameters, including file type, file name, file size, and URLs in a message.
As Cisco’s Talos Threat Intelligence learns more about an outbreak, it can modify rules and release messages
from quarantine accordingly. Outbreak filters can also rewrite URLs in suspicious messages. This recipient
browsing activity can be tracked by enabling Web Interaction Tracking (WIT). When clicked, the new URLs
redirect the recipient through the Cisco Web Security proxy. The website content is then actively scanned, and
outbreak filters display a block screen to the user if the site contains malware or exploit kits that would drop
ransomware. If the content is unknown, a decision option is presented as shown in Figure 10.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
DNS Security
DNS Security enforces security at the domain name resolution step of converting a name to an IP address to
reach a server on the internet. Security at this DNS layer enables the ability to protect devices both on and off of
an organization's network for all communication types, not just web sites. In the case of the initial launch where a
URL would take a user to a seemingly trustworthy site, Umbrella would block the DNS request and replace it with
a safe destination before the user's browser connects to the malicious site—whether the user clicked on a link or if
there was a redirect from a compromised site, as shown in Figure 11.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
As shown in Figure 11, several different domain networks may exist for each of the kill-chain stages (blue arrows),
with differing levels of threat intelligence gathered for each. A new domain that is only hours or minutes old may
be used for the initial phishing site, whereas the subsequent malicious infrastructures may have days or weeks of
known bad history. Each stage offers an opportunity for DNS Security to block the communication before the
compromise occurs to protect the user from the infection. Additionally, Umbrella also stops C2 callbacks if an
infection does occur (yellow arrows), no matter what port or protocol is used. This can stop the ransomware file
drop or the C2 callback for encryption keys.
Anti-Malware Security
Host-based anti-malware is the last line of defense, and often the only defense for communications encrypted
end-to-end (password protected archives, https/sftp, chat file transfers, and so on). Cisco’s Advanced Malware
Protection (AMP) analyzes all files that reach the user's system. If the file is known to be malicious, it is
quarantined immediately, as shown in Figure 12.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
If the file is of low prevalence (files never seen before, and have no history), it is uploaded automatically to Threat
Grid for analysis (additional configuration and licensing required), which provides
retrospective security to detect malware that evaded initial inspection.
Using a combination of file signatures, file reputation, behavioral indicators, and sandboxing, AMP can stop the
initial exploit kit from executing on a user's system and can also stop the execution of the dropped ransomware
file and remove it.
Additionally, AMP continuously analyzes and records all file activity on a system, regardless of a file’s disposition.
If at a later date a file behaves suspiciously, AMP retrospectively detects it and sends an alert. AMP records a
detailed history of malware’s behavior over time, including where and how it entered the network, where else it
traveled, and what it is doing. Based on a set policy, AMP can then automatically or manually contain and
remediate the threat. Figure 13 shows how AMP tracks the actions of files on a system.
Threat Intelligence
Our Cisco Talos Group (Cisco Threat Intelligence Group) analyzes millions of malware samples and terabytes of
data per day, and pushes that intelligence to AMP to provide 24/7 protection. Also, advanced sandboxing
capabilities perform automated static and dynamic analysis of the unknown files against 500+ behavioral
indicators to uncover stealthy threats.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Through the combination of both Talos and Threat Grid threat analysis engines, suspicious email attachments
and files can be sandboxed, analyzed, and categorized as malware or ransomwares in as quickly as 20-30
minutes. However, low prevalence files may take a slightly longer time to analyze and identify, to minimize the
chance of false positives on the analysis. Figure 14 shows an analysis report of a ransomware sample used in the
solution validation testing.
Retrospective security intelligence for malware that evaded initial inspection, is shared via Talos Threat
Intelligence to both email and host anti-malware services. All current and future instances of these malicious files
are blocked or removed.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Outbreak intelligence runs webpage components in a highly secure virtual emulation to determine how each
component behaves, and blocks any malware or ransomware.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
The file reputation feature captures a fingerprint of each file as it traverses an organization's network. These
fingerprints are sent to AMP’s cloud-based intelligence network for a reputation verdict. After an attack, using file
retrospection, you can track a file’s disposition over time after it enters your environment. If it is found to be
malware, you can discover where the file entered and where it is currently located to mitigate future intrusions.
Additionally, Cisco’s Cognitive Threat Analytics (CTA) integrated feature helps reduce threat identification time by
actively identifying the symptoms of a malware infection through behavioral analysis, anomaly detection, and
machine learning.
Network Monitoring
Cisco Stealthwatch provides visibility and security intelligence across an entire organization before, during, and
after an attack. It continuously monitors the network and provides real-time threat detection and Incident response
forensics if a ransomware outbreak occurs.
Stealthwatch turns the network into a sensor, ingesting and analyzing NetFlow data from infrastructure and
workstations, creating a baseline of the normal communication of an organization and its users. From this
baseline, it is then much easier to identify when sophisticated attackers infiltrate the network trying to analyze and
deploy ransomware. It can identify malware, distributed denial-of-service (DDoS) attacks, advanced persistent
threats (APTs), and insider threats. It monitors both north-south and east-west (lateral) movements to detect the
widest range of attacks.
Stealthwatch works in tandem with the Cisco Identity Services Engine and Cisco TrustSec technology. Through
this integration you can identify users and systems, and appropriately segment critical network assets based on
system behavior automatically.
Identity-based Segmentation
To best defend against the spread of ransomware, users should be allowed access only to the resources and
system file shares they need to perform their duties. A system infected with ransomware tries to search the
network for other file share drives and vulnerable systems to encrypt or infect them using the credentials of the
current system user.
Cisco TrustSec with Cisco Identity Services Engine (ISE) is used to segment your network and enforce role-based
access control. With Cisco TrustSec technology, you can control access to network segments and resources
based on context, user, device, and location according to a specific security policy.
With Security Group Tags (SGT) enforcement, an infected user system with maintenance contractor credentials is
blocked from accessing finance data, regardless of network topology or whether this contractor was using wired
or wireless access to the network.
Through integration with Stealthwatch, if an infected system is identified based on abnormal behavior on the
network, the Identity Services Engine can institute a change of authorization based on this learned behavior and
apply a different SGT policy to quarantine them and immediately protect the rest of the network.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Each of these capabilities working in concert serves to thwart network reconnaissance when your organization is
targeted for a ransomware attack. Blocking communication between various network resources serves to
segment your infrastructure to the permitted users, systems, and protocols needed for business communications,
and block those used to infiltrate, exploit, exfiltrate data or retrieve encryption keys as well as persist in your
network.
Firepower NGFW enables comprehensive policy management that controls access, stops attacks, defends
against malware, and provides integrated tools to track, contain, and recover from attacks that do get through.
With the Cisco Firepower Management Center and Stealthwatch behavior analysis, you can share security
intelligence and automate threat containment through ISE.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Architecture Summary
Each of the products identified in the phases above fulfill the capability requirements necessary to defend against
an attack across the kill chain, as shown in Figure 16.
Umbrella Roaming and DNS Security for roaming users outside Cloud / Roaming client v2.0.189
Network-based DNS the organization. Network DNS for all
Protection internal devices and systems
Advanced Malware Host anti-malware protection for Cloud / Client endpoint v4.4.2.10200
Protection (AMP) endpoints
Within the incoming Mail Policies, we edit the Default Policy elements of Advanced Malware Protection, Content
Filters and Outbreak Filters.
Advanced Malware Protection protects against zero-day and targeted file-based threats in email attachments by:
● Obtaining the reputation of known files
● Analyzing behavior of certain files that are not yet known to the reputation service
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
● Continuously evaluating emerging threats as new information becomes available, and notifying you about
files that are determined to be threats after they have entered your network
These features are available only for incoming messages. Files attached to outgoing messages are not evaluated.
Step 1 Click the link in the Advanced Malware Protection column of the Default Policy to modify it.
It is a best practice to prepend the email message subject with an informative warning based on the status of the
messages attachments.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Step 2 Configure the Modified Message Subject for both Unscannable Attachments and File Analysis
Pending results.
Messages with malware attachments may have the attachments stripped, delivered with a warning, or dropped
altogether. The most common practice is to drop the entire message.
Messages with File Analysis Pending can be either delivered or quarantined. The best practice is to quarantine
these email messages until a result is received by the analysis engine. If the attachment is malicious, it will follow
the Attachments setting. If the result returned is unknown, the message will be delivered and the Message
Subject prepended with a warning.
By enabling Mailbox Auto Remediation (MAR), messages already delivered to a user's mailbox can be deleted
if the threat verdict later changes to malicious.
Step 5 Configure MAR by ticking Enable, and set the action to Delete.
File Reputation and Analysis Service implements the AMP engine for inspecting messages as enabled by the
policy above. File Analysis is enabled by default for new implementations and inspects Windows and DOS
executables, but you should also select additional file types for analysis.
Step 9 Enable additional file types as shown in Figure 19 above. Click Submit.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Content Filtering
Some ransomware and exploit kits are attached to messages as scripts and are not inspected by file analysis.
These scripts can run locally on the system if opened and bypass security in web browsers.
As a best practice, Cisco recommends using content filtering to remove the following types of script attachments:
.js
.wsf
.vbs
Create a new incoming content filter to drop messages with these attachments.
Step 12 Click Add Condition > Attachment File Info > Filename contains .js.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Step 14 Click Add Action > Strip Attachment by File Info > Filename contains .js.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Repeat Steps 12-15 for .wsf and .vbs file types as well. Your final filter should include all six, as shown in Figure
22.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Step 17 Select Mail Policies > Incoming Mail Policies > Disabled in the Content Filter column of the Default
Policy to modify it.
Step 18 Select Enable Content Filters in the dropdown, check the enable column for the newly created
filter.
Outbreak Filters
Outbreak Filters protects your network from large-scale virus outbreaks and smaller, non-viral attacks, such as
phishing scams and malware distribution, as they occur. Cisco gathers data on outbreaks as they spread and
updates the threat intelligence services in real-time to prevent these messages from reaching your users.
For new installations, the Outbreak Filter is enabled by default, but it is a best practice to also enable Message
Modification, which enables URL rewriting on messages. This feature informs users to use caution when opening
specific messages.
Step 20 Select Mail Policies > Incoming Mail Policies > Retention Time in the Outbreak Filter column of the
Default Policy to modify it.
By default, Web Interaction Tracking is disabled. To track URLs due to Outbreak Filter rewrites, you have to
enable Web Interaction Tracking.
Step 22 Select Security Services > Outbreak Filters > Edit Global Settings
Step 23 Check the Email Alerts and Web Interaction Tracking check boxes. Then click Submit.
To also track URLs due to policy rewrites, you must also enable Web Interaction Tracking in the URL filtering
settings.
Step 25 Check the Enable URL Category and Reputation Filters and Enable Web Interaction Tracking
checkboxes, and then click Submit.
When finished with all changes, you need to commit the changes for these new settings to take effect.
Step 26 Click the yellow Commit Changes button in the upper right corner, leave an appropriate comment,
then click Commit Changes to submit them.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Several scenarios include computers accessing the Internet through 3g/4g wireless carrier networks, untrusted
networks via Wi-Fi hotspots (for example, airport, café, hotel, home), and within office environments behind
trusted network gateways or Umbrella-protected networks.
There are no additional configuration steps needed to defend against ransomware. The procedure for
downloading and installing the roaming clients can be found here:
http://info.umbrella.com/rs/opendns/images/TD-Umbrella-Mobility-Roaming-Client-Guide.pdf
Cisco Umbrella
The complete Cisco Umbrella offering can protect network, roaming and mobile devices. It includes a more
comprehensive set of policies options, including restricting access to other categories of content, which may also
reduce the risk of being directed to domains were ransomware may be hosted (such as Gambling, P2P/File
sharing, Hate/Discrimination). Several pre-configured policies are available in addition to creating a custom policy.
Figure 28 shows the High-Policy that was used in our validation testing.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
For organizations that implement their own internal network DNS servers, Umbrella can be easily enabled for the
entire network. Configure your DNS server to use the Umbrella servers as forwarders instead of performing their
own Root lookups for external domains. This eliminates the need to deploy the Umbrella client on any internal
network system, making for a simple clientless implementation that protects everything on the network.
The following steps outline how to configure Windows DNS forwarding to use Umbrella as we did for part of our
validation testing.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Step 4 Enter the addresses for the Umbrella DNS servers; 208.67.220.220, 208.67.222.222 and then
Click OK.
Step 5 Click OK to commit the changes and close the configuration window.
Add the public IP address that your DNS server uses to the network identities in Umbrella.
Step 8 Enter the public IP address of the network along with the subnet mask, usually a /32 subnet, and
choose a descriptive name. Then click Save.
Now all systems that use the internal network DNS server are protected, and all activity reporting can be
attributed to requests from the internal DNS server.
The Activity report shows all DNS lookup actions, and clearly designates what destination domains were blocked
and the category that destination belonged to. Figure 36 shows the results of the blocked domain when trying to
download ransomware or access other category blocked sites. Identity information includes the Umbrella
Roaming Client system and lookups from the internal DNS server.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
The first time you log into the FireAMP console, you will be presented with the first-use wizard. This wizard can
walk you through some of the steps to quickly configure your FireAMP environment by creating exclusions for
antivirus products, setting up proxies, configuring a policy, and creating groups. These steps are covered in the
Quick Start Guide4 and not duplicated here.
The following additional configuration steps are needed to provide the best protection possible against
ransomware. Several settings are performed in the policy used by your system groups, others in the AMP account
settings. First, edit the policy settings; configure Execute Mode as appropriate for your organizations system
performance and acceptable risk level (Active mode blocks files from being run until their hash values have been
analyzed). Second, increase the maximum scan and archive file size limits as appropriate to fit your organization.
WARNING: Configuring Execute Mode as Active vs. the default Passive setting can have a significant
impact on system performance, especially for systems that have slow or intermittent Internet
connectivity, and/or use custom or non-mainstream applications. Every file must be checked or timeout
before they are permitted to run.
Of the 1600+ ransomware samples we collected for solution validation, 103 of them were larger than the default
5MB Maximum Scan File Size in the Protect Policy (the largest was 51MB).
NOTE: Larger file sizes for scanning will increase WAN utilization to the Internet, and may affect other
communications. For large organizations, an onsite scanning appliance may be a preferred option.
Step 1 After logging in to the AMP Console, select Management > Policies.
4
https://docs.amp.cisco.com/FireAMPQuickStartGuide.pdf
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Step 2 Select the appropriate Protect Policy you are deploying to your endpoints and click Edit.
Step 3 Change to the File tab of the policy, check the Execute Mode, and set Max file sizes.
Device Flow Correlation (DFC) can stop ransomware callback communications at the source and is especially
useful for remote endpoints outside the corporate network.
Step 4 Select the Network Tab, set DFC Action to Blocking, and check Terminate and Quarantine.
WARNING! Before enabling this feature make sure you have whitelisted any applications allowed in your
environment, particularly any proprietary or custom software.
The Cisco AMP Threat Grid API allows you to automatically submit files for analysis. Before configuring Auto
analysis, all users must have two-factor authentication enabled for their accounts to ensure the highest level of
privacy is maintained as all analyzed files are accessible by the administrative users configured in the console.
Once Two-Step Verification is enabled on your accounts, you can then edit the accounts business settings to
enable the file repository, API key, and submission settings.
Step 7 Under Features, enable “Request and store files from endpoints”, set your Threat Grid API key if
you have a separate account, slide the “Daily submissions for Automatic Analysis” to the desired level, and select
the VM image that best matches the majority of your endpoints. Then click Update Submission Settings.
Step 8 When finished, click Update at the top to update your account settings.
Now enable automatic analysis to send low prevalence executable files from specific groups to File Analysis.
Step 10 Select the system groups you want to enable Automatic Analysis for, and click Apply.
Once you have configured Automatic Analysis, low prevalence executable files are submitted every four hours.
FireAMP requests the file from the FireAMP Connector that observed it if it is available. Once the file has been
retrieved, it is submitted to File Analysis. You can then view the results of the analysis from the File Analysis
page. If the file is not retrieved for a period of time, you can check the file fetch status in the File Repository.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Validation Testing
Solution validation testing for the first phase of the design was accomplished by creating a representative
enterprise network of Windows servers and client workstations with full internet connectivity. The testing
implemented Cisco’s Cloud Email Security, DNS Security with Umbrella, and AMP for endpoints products.
Before testing the samples of ransomware, servers and workstations were deployed and joined to an Active
Directory domain. File shares were configured from the workstations to file servers, and mapped to a drive letter.
Microsoft Exchange was deployed for the email server, and email accounts were created for users unique to each
workstation deployed. Various software packages were installed on the systems to best represent several typical
generations of infrastructure deployments and upkeep as specified in Table 4.
Twenty-one families of ransomware samples were run on these systems to establish a baseline of what
ransomware would infect each system build, whether administrative user right were needed, and how quickly the
encryption completed for local and network shares. None of the working ransomware samples needed to perform
a DNS lookup before encrypting the system. It is believed that this is because the known samples used have had
their C2 domains already shut down or moved, so those samples did not function on the baseline systems, and
were removed from further testing.
As all test samples were obtained from the Threat Grid File analysis repository, they were immediately recognized
by AMP when the files were SHA-256 hashed by the connector and checked. To create unique versions of the
ransomware for testing, a re-hashing utility was used that modified the executable files and inserted innocuous
spaces or annotations, changing the resulting file hash without affecting the operation ability of the ransomware
samples. This allowed testing of automatic file analysis features for low prevalence files in all products.
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
Summary
Ransomware is a problem that will continue to grow and impact more organizations. If infection attacks are
successful, they create a significantly negative business impact on an organization.
This solution accomplishes the goal of keeping your organization up and running, with the peace of mind that
there is only a small chance of losing control of your critical systems and being held hostage.
The period of time from a new malicious campaign starting to Threat Intelligence-based protection is 30min-4hr
with the Cisco Ransomware Solution, which is significantly better than the industry average of 100 days5.
Cisco Ransomware Defense focuses on prevention where possible, quick detection, and rapid containment to
reduce the impact of a ransomware attack if one gets through your defenses.
For more information on Cisco Ransomware Defense solutions and products, please visit
www.cisco.com/go/ransomware.
5
http://www.cisco.com/c/m/en_us/offers/sc04/2016-annual-security-report/index.html?KeyCode=001031927
SAFE Design Guide Ransomware Defense Validated Design Guide September 2016
References
Cisco SAFE Simplifies Security:
www.cisco.com/go/safe
Network as a Sensor:
http://www.cisco.com/c/en/us/solutions/enterprise-networks/enterprise-network-security/net-sensor.html
Cisco Stealthwatch:
http://www.cisco.com/c/en/us/products/security/stealthwatch/index.html
Cisco Identity Services Engine with TrustSec (Network as an Enforcer):
http://www.cisco.com/c/en/us/solutions/enterprise-networks/enterprise-network-security/net-enforcer.html
Cisco Rapid Threat Containment Solution:
http://www.cisco.com/c/en/us/solutions/enterprise-networks/rapid-threat-containment/index.html
Appendix A
Lab Diagram
Figure 42—Lab Diagram
For more information on SAFE, see www.cisco.com/go/SAFE.
Cisco Systems, Inc. Cisco Systems (USA) Pte. Ltd. Cisco Systems International BV Amsterdam,
San Jose, CA Singapore The Netherlands
Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco Website at
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go
to this URL: www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply
a partnership relationship between Cisco and any other company. (1110R)