A firewall generally protects networks from unauthorized access while permitting authorized communications to pass through the firewall. A firewall is typically a device or a set of devices, or software executed on a device, such as a computer, that provides a firewall function for network access. For example, firewalls can be integrated into operating systems of devices (e.g., computers, smart phones, or other types of network communication capable devices). Firewalls can also be integrated into or executed as software on computer servers, gateways, network/routing devices (e.g., network routers), or data appliances (e.g., security appliances or other types of special purpose devices).
Firewalls typically deny or permit network transmission based on a set of rules. These sets of rules are often referred to as policies. For example, a firewall can filter inbound traffic by applying a set of rules or policies. A firewall can also filter outbound traffic by applying a set of rules or policies. Firewalls can also be capable of performing basic routing functions.
Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.
The invention can be implemented in numerous ways, including as a process; an apparatus; a system; a computer program product embodied on a computer readable storage medium; and/or a processor, such as a processor configured to execute instructions stored on and/or provided by a memory coupled to the processor. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. Unless stated otherwise, a component such as a processor or a memory described as being configured to perform a task may be implemented as a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. As used herein, the term ‘processor’ refers to one or more devices, circuits, and/or processing cores configured to process data, such as computer program instructions.
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
A firewall generally protects networks from unauthorized access while permitting authorized communications to pass through the firewall. A firewall is typically a device, a set of devices, or software executed on a device that provides a firewall function for network access. For example, a firewall can be integrated into operating systems of devices (e.g., computers, smart phones, or other types of network communication capable devices). A firewall can also be integrated into or executed as software applications on various types of devices or security devices, such as computer servers, gateways, network/routing devices (e.g., network routers), or data appliances (e.g., security appliances or other types of special purpose devices).
Firewalls typically deny or permit network transmission based on a set of rules. These sets of rules are often referred to as policies (e.g., network policies or network security policies). For example, a firewall can filter inbound traffic by applying a set of rules or policies to prevent unwanted outside traffic from reaching protected devices. A firewall can also filter outbound traffic by applying a set of rules or policies (e.g., allow, block, monitor, notify or log, and/or other actions can be specified in firewall rules or firewall policies, which can be triggered based on various criteria, such as described herein).
Network devices (e.g., security appliances, security gateways, security services, and/or other security devices) can include various security functions (e.g., firewall, anti-malware, intrusion prevention/detection, Data Loss Prevention (DLP), and/or other security functions), networking functions (e.g., routing, Quality of Service (QoS), workload balancing of network related resources, and/or other networking functions), and/or other functions. For example, routing functions can be based on source information (e.g., IP address and port), destination information (e.g., IP address and port), and protocol information.
A basic packet filtering firewall filters network communication traffic by inspecting individual packets transmitted over a network (e.g., packet filtering firewalls or first generation firewalls, which are stateless packet filtering firewalls). Stateless packet filtering firewalls typically inspect the individual packets themselves and apply rules based on the inspected packets (e.g., using a combination of a packet's source and destination address information, protocol information, and a port number).
Application firewalls can also perform application layer filtering (e.g., application layer filtering firewalls or second generation firewalls, which work on the application level of the TCP/IP stack). Application layer filtering firewalls or application firewalls can generally identify certain applications and protocols (e.g., web browsing using HyperText Transfer Protocol (HTTP), a Domain Name System (DNS) request, a file transfer using File Transfer Protocol (FTP), and various other types of applications and other protocols, such as Telnet, DHCP, TCP, UDP, and TFTP (GSS)). For example, application firewalls can block unauthorized protocols that attempt to communicate over a standard port (e.g., an unauthorized/out of policy protocol attempting to sneak through by using a non-standard port for that protocol can generally be identified using application firewalls).
Stateful firewalls can also perform stateful-based packet inspection in which each packet is examined within the context of a series of packets associated with that network transmission's flow of packets/packet flow (e.g., stateful firewalls or third generation firewalls). This firewall technique is generally referred to as a stateful packet inspection as it maintains records of all connections passing through the firewall and is able to determine whether a packet is the start of a new connection, a part of an existing connection, or is an invalid packet. For example, the state of a connection can itself be one of the criteria that triggers a rule within a policy.
Advanced or next generation firewalls can perform stateless and stateful packet filtering and application layer filtering as discussed above. Next generation firewalls can also perform additional firewall techniques. For example, certain newer firewalls sometimes referred to as advanced or next generation firewalls can also identify users and content (e.g., next generation firewalls). In particular, certain next generation firewalls are expanding the list of applications that these firewalls can automatically identify to thousands of applications. Examples of such next generation firewalls are commercially available from Palo Alto Networks, Inc. located in Santa Clara, Calif. (e.g., Palo Alto Networks' PA Series firewalls). For example, Palo Alto Networks' next generation firewalls enable enterprises to identify and control applications, users, and content—not just ports, IP addresses, and packets—using various identification technologies, such as the following: APP-ID for accurate application identification, User-ID for user identification (e.g., by user or user group), and Content-ID for real-time content scanning (e.g., controls web surfing and limits data and file transfers). These identification technologies allow enterprises to securely enable application usage using business-relevant concepts, instead of following the traditional approach offered by traditional port-blocking firewalls. Also, special purpose hardware for next generation firewalls implemented, for example, as dedicated appliances generally provide higher performance levels for application inspection than software executed on general purpose hardware (e.g., such as security appliances provided by Palo Alto Networks, Inc., which utilize dedicated, function specific processing that is tightly integrated with a single-pass software engine to maximize network throughput while minimizing latency).
Advanced or next generation firewalls can also be implemented using virtualized firewalls. Examples of such next generation firewalls are commercially available from Palo Alto Networks, Inc. (e.g., Palo Alto Networks' VM Series firewalls, which support various commercial virtualized environments, including, for example, VMware® ESXi™ and NSX™, Citrix® Netscaler SDX™, KVM/OpenStack (Centos/RHEL, Ubuntu®), and Amazon Web Services (AWS)). For example, virtualized firewalls can support similar or the exact same next-generation firewall and advanced threat prevention features available in physical form factor appliances, allowing enterprises to safely enable applications flowing into, and across their private, public, and hybrid cloud computing environments. Automation features such as VM monitoring, dynamic address groups, and a REST-based API allow enterprises to proactively monitor VM changes dynamically feeding that context into security policies, thereby eliminating the policy lag that may occur when VMs change.
A significant challenge for security detection techniques is to identify threats (e.g., malware, which refers to malicious programs, such as programs attempting to perform malicious or undesired actions) attempting to use new exploits, such as zero-day threats that have not previously been identified (e.g., targeted and unknown threats). For example, a new zero-day threat and/or an advanced threat, such as an Advanced Persistent Threat (APT) (e.g., technically advanced adversaries that employ various techniques using malware to exploit vulnerabilities in systems and often using an external command and control (C&C) for continuously monitoring and extracting data from a specific target, often using stealthy, persistent methods that can evade traditional security measures, such as signature-based malware detection measures) that has not previously been identified (e.g., for which no signature yet exists) can exploit new or unresolved vulnerabilities in an application or operation system of a device (e.g., a client device, a server, an appliance, a networking device, a printer, and/or other types of computing devices).
However, existing technology-based security approaches fail to provide solutions made actionable that can adequately address the above-described problems. For example, existing approaches fail to provide a malware analysis platform that can facilitate viewing, analyzing, and acting upon attributes (e.g., high-risk attributes) associated with malware.
In particular, sophisticated attackers are increasingly using targeted and new unknown variants of malware to avoid detection by existing technology-based security approaches (e.g., traditional security products/solutions). For example, advanced security threats (e.g., advanced cyber-attacks) are employing stealthy, persistent methods to evade traditional security measures (e.g., APTs). Skilled adversaries (e.g., attackers) demand that modern security teams re-evaluate their basic assumptions that traditional intrusion prevention and DLP systems, antivirus, and single-purpose sandbox appliances are up to the task of defeating advanced security threats, such as APTs and other techniques utilized by insider threats to, for example, exfiltrate data from enterprise networks.
Overview of Techniques for a Malware Analysis Platform for Threat Intelligence Made Actionable
Thus, what are needed are new and improved techniques for technology-based security solutions that can provide a malware analysis platform for threat intelligence made actionable that can adequately address the above-described problems and/or the various other problems described herein.
Accordingly, techniques for a malware analysis platform for threat intelligence made actionable are disclosed. In one embodiment, the malware analysis platform for threat intelligence made actionable is disclosed that generates an enhanced view of malware analysis results. For example, the malware analysis platform can perform an ingestion and transformation process to process a set of log files including (e.g., selected/important) malware analysis results activity (e.g., such as static malware analysis results and/or dynamic malware analysis results, which can include mutex usages, network activities, registry changes, API calls, and/or various other selected/important malware analysis results activity) to facilitate an enhanced view of malware analysis results.
In addition, the significant amount and complex information that is generated by existing security analysis approaches presents a technical challenge to identify and/or determine the malicious activity a malware is performing and/or to associate patterns or relationships between malware samples and their features and/or behaviors. Accordingly, techniques for determining artifacts associated with malware, grayware, and benign samples are disclosed. In one embodiment, analysis of artifacts can be performed based on malware sample analysis results to generate an enhanced view of malware analysis results as further described herein.
In one embodiment, the malware analysis platform generates an enhanced view of malware analysis results using artifacts (e.g., based on analysis performed using line counting techniques, such as line counting or sub-line counting of log files of malware sample analysis results, such as further described below). For example, the malware analysis platform can perform the above-described ingestion and transformation process to generate a set of log files including (e.g., selected/important) malware analysis results activity (e.g., such as static malware analysis results and/or dynamic malware analysis results, which can include mutex usages, network activities, registry changes, API calls, and/or various other selected/important malware analysis results activity).
For example, line/sub-line counts can be performed on the malware analysis sample results (e.g., log files) to provide a statistical view of the malware analysis results data (e.g., across different enterprise networks of subscribers/customers to the malware analysis platform service, categories of customers/industries, etc.), such as including one or more of the following: (1) common actions/attributes that have been observed at least a threshold number of times in both benign and malware samples; (2) (malicious/suspicious) actions/attributes (e.g., suspicious artifacts) that have been observed at least a threshold number of times in malware samples and only observed a relatively lower threshold number of times in benign samples; and (3) actions/attributes (e.g., highly-suspicious artifacts) that have been observed at least a threshold number of times in benign samples and only observed a relatively lower threshold number of times in malware samples. The disclosed techniques can be performed to identify risky/high-risk artifacts (e.g., suspicious and/or highly-suspicious artifacts), which can then be utilized to perform analysis and/or perform actions based on these artifacts as further described below.
For example, the disclosed techniques can be performed to identify high-risk artifacts (e.g., artifacts determined to be most likely to be detected with malware as Suspicious or Highly Suspicious using various techniques disclosed herein) associated with lines/sub-lines in a log file for a given malware sample (e.g., by determining the lines/sub-lines in the log file that are associated with a high malware count and/or a low benign count, such as further described herein). In this example, the suspicious lines/sub-lines can then also be utilized to automatically generate a new signature for detecting malware for that malware sample to perform actions to block malware that includes the artifact(s) associated with these suspicious lines/sub-lines (e.g., by adding high-risk artifacts, such as high-risk artifacts for Domains, IP addresses, and/or URLs, to be used with a firewall block list or to support a security information and event management (SIEM) solution). In this example, the disclosed techniques can also be performed as a validation/proofing system to test and validate the new signature and examine the line count results.
In some embodiments, a system, process, and/or computer program product for a malware analysis platform for threat intelligence made actionable includes receiving a plurality of samples for performing automated malware analysis to generate log files based on the automated malware analysis (e.g., including results from a dynamic and/or static analysis); processing the log files to determine artifacts associated with malware; and performing an action based on an artifact. For example, if the artifact is determined to be associated with one or more malware samples based on the automated malware analysis, then the artifact can be deemed a high-risk artifact.
In one embodiment, a log file for a sample comprises one or more lines based on the automated malware analysis results for the sample, and a system, process, and/or computer program product for a malware analysis platform for threat intelligence made actionable further includes identifying distinct lines in the log file; and updating a line count for each of the distinct lines based on line counting performed for previously processed log files.
In one embodiment, a log file for a sample comprises one or more lines based on the automated malware analysis results for the sample, and a system, process, and/or computer program product for a malware analysis platform for threat intelligence made actionable further includes identifying distinct lines in the log file; and determining whether any of the distinct lines are suspicious.
In one embodiment, a system/process/computer program product for a malware analysis platform for threat intelligence made actionable includes generating a human readable format of malware analysis result log files (e.g., replacing numeric identifiers and removing not-interesting parameters, such as described herein); determining a first occurrence of each distinct line in each log file (e.g., and removing duplicate lines within the log file); and counting how many times each distinct line is observed in malware samples as compared with benign samples. In one embodiment, the disclosed line counting techniques are similarly applied to generate the sub-line counts, such as further described herein. For example, a subset of each line can be counted, such as to implement sub-line/attribute/parameter counting (e.g., based on a registry name, mutex, file name, and/or other attributes/parameters, rather than the entire/whole line). In one embodiment, the disclosed line counting techniques are similarly applied to generate the line/sub-line counts for a specified date range and/or a specified set of samples, such as further described herein.
In some embodiments, a system, process, and/or computer program product for tagging and alerting using a malware analysis platform for threat intelligence made actionable includes receiving a plurality of samples for performing automated malware analysis to generate log files based on the automated malware analysis (e.g., including results from a dynamic and/or static analysis); processing the log files to extract artifacts associated with the log files; determining whether a tag matches any of the plurality of samples based on the artifacts; and performing an action based on whether a tag matches any of the plurality of samples. For example, if the artifact is determined to be associated with malware based on the automated malware analysis, then the artifact can be deemed a high-risk artifact. In one embodiment, a log file for a sample comprises one or more lines based on the automated malware analysis results for the sample.
In one embodiment, a system, process, and/or computer program product for tagging and alerting using the malware analysis platform for threat intelligence made actionable further includes generating an alert based on the determination that the tag matches at least one of the plurality of samples. For example, an alert can be generated (e.g., for a customer/subscriber of the platform) when there is a matching tag, and there is network traffic for that sample in the monitored network (e.g., the subscriber's enterprise network, or for an alert if the tag is triggered based on a public sample that was detected in another subscriber's enterprise network, such as another subscriber that is in a same industry category).
In one embodiment, a system, process, and/or computer program product for tagging and alerting using the malware analysis platform for threat intelligence made actionable further includes configuring a tag based on a plurality of conditions associated with one or more artifacts; and determining whether the tag matches any of the plurality of samples based on the plurality of conditions associated with one or more artifacts.
As an example, the disclosed techniques can be performed to allow users to learn more information about samples that were found/detected on their network (e.g., enterprise network). Assume that a bank, ACME Bank, is a customer/subscriber of the malware analysis platform for threat intelligence made actionable, ACME Bank could then utilize the platform to determine that 40% of banking customers have found/detected that same malware on their networks. As another example, ACME Bank could utilize the platform to search analysis of malware samples results data that can include additional statistics based on automated analysis of the malware samples results data, which can facilitate identification of pervasive malware, high-risk artifacts associated with malware, and/or reveal connections/associations between malware (e.g., shared high-risk artifacts or other connections/associations). As another example, ACME Bank could utilize the platform to prioritize security events in their network environment by distinguishing between threats or campaigns with global impact (e.g., based on alerting tags) and less impactful threats that do not pose a direct or immediate security risk (e.g., based on informational tags). As such, ACME Bank could utilize the platform to quickly identify threats on their network, and to contextualize such events within an industry, global, and historical context (e.g., utilizing a dashboard interface of the platform to view the top activity for their network, for their industry, and on a global scale) and can also perform actions based on the threat intelligence information, such as further described below.
Accordingly, various techniques for providing a malware analysis platform for threat intelligence made actionable are disclosed. For example, various technical solutions for providing a malware analysis platform for threat intelligence made actionable are disclosed. As will be apparent to one skilled in the art in view of the various techniques and embodiments described herein, the various techniques described herein for providing a malware analysis platform for threat intelligence made actionable can similarly be performed using cloud-based security solutions, network device-based security solutions, host-based/agent-based security solutions, and/or virtualized/software-defined networking (SDN)-based security solutions, such as further described below with respect to various embodiments.
A System Architecture for a Malware Analysis Platform for Threat Intelligence Made Actionable
In one embodiment, one or more of client devices 104A-104C include a host agent (HA) 114 as shown. For example, HA 114 can be implemented as a host-based firewall and/or an agent, such as a network/security agent, executed on the client/host device (e.g., implemented in software that can be executed on a hardware processor of the client/host device) that can perform various functions in coordination with network device 102, firewall 112, and/or cloud security service 130 to facilitate endpoint protection (e.g., including providing malware samples to cloud security service 130 for further analysis, such as further described below). In an example implementation, HA 114 can be provided by a lightweight agent (e.g., a commercially available endpoint agent, such as the Palo Alto Networks® Traps™ agent available from Palo Alto Networks, Inc., which is a highly scalable, lightweight agent for endpoint security, or an endpoint agent from another security vendor can be utilized) that can be executed on, for example, a variety of different client/host device platforms (e.g., Microsoft® Windows® Operating System (OS) platforms and/or other platforms for clients and/or servers) to facilitate endpoint security in coordination with network device 102, firewall 112, and/or cloud security service 130, such as further described below.
For example, client devices 104A-C can include various computing devices that can access the Internet via wired and/or wireless communications, such as computers, laptops, tablets, smart phones, and/or various other types of computing devices with network communication capabilities. As also shown, servers 108A-C are in communication with the Internet 106. For example, a client device can access a service provided by a server via the Internet, such as a web-related service (e.g., web site, cloud-based services, streaming services, or email services, such as web-posting applications, email applications, peer-to-peer related services, and/or any other applications or services that perform network communications via the Internet).
As also shown in
In an example implementation, the enterprise network is subscribed to the cloud security service, and the network device can securely communicate with the cloud security service (e.g., using a commercially available cloud-based security service, such as provided by Palo Alto Networks that provides API support via the WildFire API, such as for submission of malware samples (e.g., files and/or other data/content can be submitted/uploaded for malware analysis; and after a submitted malware sample is analyzed, other data can be provided as an available download for further analysis, such as PCAP data and/or other data/content for further malware analysis). Another example is using a URL filtering subscription service (e.g., Palo Alto Networks PANdb URL filtering subscription service or another commercially available URL filtering subscription service) to submit one or more URLs (e.g., the submission of a URL, full or part of a web page, statistics/transformed version of a web page, which can include a list of form field names, types, default values, parameters, etc.) for cloud-based, asynchronous analysis. The results of the cloud-based, asynchronous analysis can then be provided back to the firewall and/or other network/filtering devices and/or agents for possible responsive actions. In one embodiment, the results of the cloud-based, asynchronous analysis can also be accessed using malware analysis platform 136, such as further described below.
In one embodiment, malware analysis platform 136 provides a platform for accessing results of the automated analysis of the malware samples generated by automated analysis of malware samples 134. For example, a subscriber can access, analyze, and/or perform actions based on results of the malware sample analysis, which can include results for malware samples provided from the subscriber's enterprise network and/or from other subscribers' enterprise networks (e.g., if such are associated with public or non-confidential samples). These and other aspects of malware analysis platform 136 will be further described below.
In one embodiment, malware analysis platform 136 is implemented as a cloud service. For example, malware analysis platform 136 can be implemented using an internal data center or can be implemented using a cloud-based computing/storage data center service (e.g., such as cloud-based computing services provided by Amazon (Amazon Web Services®), Google, IBM, Microsoft, or other commercially available cloud-based computing/storage services). In one embodiment, a customer (e.g., an enterprise with their own enterprise data center) can implement the disclosed malware analysis system executed in their own data center for their own malware data samples processed by the automated malware analysis system (e.g., utilizing a WF-500 WildFire™ appliance that is commercially available from Palo Alto Networks, Inc., which can be deployed within a subscriber's enterprise network to implement an on-premises WildFire™ private cloud, enabling customers/subscribers to analyze suspicious files in a sandbox environment without requiring the malware samples (e.g., files) to be sent outside of their network to the WildFire™ public cloud).
Sample Analysis Categories
In one embodiment, firewalls with subscriptions are configured to forward unknown samples to cloud security service 130, where the sample undergoes analysis in a sandbox environment. For example, static analysis can be performed based on properties of a sample that can be detected and observed without executing the sample. Dynamic analysis can be performed utilizing the sandbox environment to monitor activities associated with opening and/or executing the sample in a sandbox environment (e.g., using one or more instrumented virtual execution environments).
Example file analysis information determined using a static file analysis and/or a dynamic file analysis can be grouped into the following example categories: file property details, static analysis results, and dynamic analysis results. In this example, the file property details and the static analysis results can be determined based on observations of the sample during the static analysis, and the dynamic analysis results can be determined based on observations of the activities and behaviors seen when the sample was executed in the sandbox environment during the dynamic analysis.
In an example implementation, file property details can include one or more of the following: a verdict (e.g., an assignment of the sample to malware, grayware, or benign based on properties, behaviors, and activities observed for the file or email link during static and/or dynamic analysis, such as using the disclosed techniques); a hash value(s) (e.g., SHA256, MD5, or other hash algorithm can be utilized to generate unique cryptographic hashes of the sample); a type (e.g., sample file type, such as email link, Adobe Flash File, PDF file, or another file type); size (e.g., sample size in bytes); a created time stamp (e.g., a date and time that the sample was first forwarded or uploaded to the cloud security service); a finished time stamp (e.g., a date and time that the analysis of the sample was completed by the cloud security service); a digital signature; a VirusTotal hit (e.g., a number of times that this sample has been detected by VirtusTotal); and a MultiScanner hit (e.g., a number of other vendors that have also identified this sample as malware using multiscanners (e.g., antivirus engines running concurrently)).
In an example implementation, dynamic analysis results can include one or more of the following: observed behavior (e.g., lists behaviors seen for the sample in the sandbox environment, such as whether the sample created or modified files, started a process, spawned new processes, modified the registry, or installed browser help objects (BHOs), in which each behavior can also be assigned a risk level of high, medium, low, or informational); connection activity (e.g., lists processes that accessed other hosts on the network when the sample was executed in a sandbox environment, in which information listed can include the process that accessed other hosts on the network, the port through which the process connected, the protocol used for the connection, and the IP address and country of the host); DNS activity (e.g., lists DNS activity observed when the sample was executed in the sandbox environment, which can include the hostname that was translated (Query), the resolved domain name or IP address (Response), and the Type of DNS resource record used to resolve the DNS query); file activity (e.g., lists files that showed activity as a result of the sample being executed in the sandbox environment; information for each artifact can include the parent process that showed activity, the action the parent process performed, and the file which was altered (created, modified, deleted, etc.)); HTTP activity (e.g., lists the HTTP requests made when the sample was executed in the sandbox environment, in which information for each artifact can include the domain to which the HTTP request was sent, the HTTP method used by the host, the URL for the resource being requested, and the string originating the request (User Agent column)); Java API activity (e.g., lists Java runtime activity seen when the sample was executed in the sandbox environment); other API activity (e.g., lists API activity seen in the sandbox environment when the sample was executed, in which listed details can include the parent process that was active, the API calls made by the parent process, and the process that was modified); Mutex activity (e.g., a mutex (mutual exclusion object) allows programs to share the same resource, though the resource can only be used separately; if the sample generates other program threads when executed in the sandbox, the mutex created when the programs start is listed along with the parent process); process activity (e.g., lists processes that showed activity when the sample was executed, in which information listed can include the parent process that was active, the action that the parent process performed, and the process that was modified); registry activity (e.g., lists OS, such as Microsoft Windows, registry settings and options that showed activity when the sample was executed in the sandbox, in which information listed can include the parent process that was active, the registry method used by the parent process (Action), and the parameters column lists the registry key that was set, modified, or deleted); service activity (e.g., lists services that showed activity as a result of the sample being executed in the sandbox environment, in which information for each service activity can include the process that was active, the action the process performed, and the service that was created, modified, or deleted); and user agent string fragments (e.g., lists the user agent header for HTTP requests sent when the sample was executed in the sandbox environment).
In an example implementation, static analysis results can include one or more of the following: suspicious file properties (e.g., lists high-risk content found during a pre-screening analysis of the sample; examples of suspicious file properties can include a file belonging to a known malware family or a file signed with a known malicious certificate, or a file with source code that contains dangerous shell commands); and properties and activities observed for Android application package (APK) files (e.g., defined activity, defined intent filter, defined receiver, defined sensor, defined service, defined URL, requested permission, sensitive API call, suspicious API call, suspicious file, suspicious string, and/or other properties and activities). For example, static analysis results can also include compiler and compilation time of the sample, strings within the sample, icons, linked DLL files, a list of imported API functions, a number of sections/segments, and/or various other properties.
An example architecture of malware analysis platform 136 is shown in
As also shown in
In one embodiment, cloud security service 230 receives malware samples from a subscriber(s) of the cloud security service as shown at 250, which can be stored in malware samples data store 232 (e.g., including meta data associated with each of the malware samples, such as session table data that can include source, destination, and protocol data for malware samples sent from a firewall). The malware samples are sent to platform for automated analysis of malware samples 234 for processing as shown at 252. Platform for automated analysis of malware samples 234 logs results of the automated analysis of the malware samples as shown at 254, which can be stored in a data store for results of automated analysis of malware samples 244 (e.g., storing results of automated analysis of malware samples as log files). Results of automated analysis of malware samples 244 are ingested (e.g., periodically and/or on demand to ingest and process the log files of results of automated analysis of malware samples) by malware analysis platform 236 as shown at 256. As also shown, an interface for malware analysis platform 246 provides a user interface (e.g., a graphical user interface (GUI) or another type of user interface (UI)) that facilitates programmatic and/or end user interface access to malware analysis platform 236, such as further described below. For example, the malware analysis platform includes an interface (e.g., a graphical user interface (GUI)) and/or a programmatic interface (e.g., via an application programming interface (API)) that facilitates subscriber/user access to the malware analysis platform for viewing, analyzing, and/or performing actions based on the security data and results provided by the malware analysis platform.
For example, using the disclosed line counting techniques, the interface for the malware analysis platform provides a user interface that can be utilized to show logs of a selected malware sample and highlight the most suspicious lines in the log (e.g., lines with high malware count/low benign count). As another example, using the disclosed line counting techniques, a new signature can be automatically generated using the most suspicious lines in the log (e.g., lines with high malware count/low benign count), and the system can validate/test the new signature and examine the line counts based on that automated testing. These and other examples are facilitated by the disclosed line counting techniques to provide for enhanced threat intelligence using the malware analysis platform. As yet another example, using the disclosed line counting techniques, the interface for the malware analysis platform provides a user interface that can be utilized to select an artifact(s) (e.g., high-risk artifacts, such as suspicious and/or highly-suspicious artifacts as described herein) to be used with a firewall block list that can be exported using interface for malware analysis platform 246 of cloud security service 230 and then imported and implemented for processing network traffic on enterprise network 220 using firewall 212 of network device 202 (e.g., and/or using HA 114 as shown in
An example architecture for ingestion of the results of the automated analysis of the malware samples is shown in
A System Architecture for Ingestion of Results of Automated Analysis of Malware Samples
In one embodiment, ingestion architecture 302 is implemented using a pipeline of software programs executing over a distributed set of systems to ingest and process results of automated analysis of malware samples generated by the malware analysis platform to facilitate threat intelligence made actionable. For example, the results of automated analysis of malware samples generated by the malware analysis platform can be ingested to determine data of interest (e.g., relationships of malware samples, trends in malware samples, and/or other data of interest) based on the ingested and processed results of the malware analysis platform (e.g., as similarly described above, the malware analysis platform can include various malware sample (static/dynamic) analysis and/or URL filtering services). The results of the ingested and processed results of automated analysis of malware samples generated by the malware analysis platform can be indexed to facilitate search access for programmatic/user interface access to the malware analysis platform, such as further described below (e.g., published into an elastic search to facilitate search and analytics). The results of the ingested and processed results of automated analysis of malware samples generated by the malware analysis platform can also implement various analytics-based processing and programmatic/user interface access, such as further described below.
Overview of an Ingestion Architecture
In one embodiment, the system architecture as shown in
Referring to
In one embodiment, a producer (ES, HBase, HDFS) 308 sources its data from various SQL databases shown as malware analysis result databases (primary) 304 and replica databases (secondary) 306, to glean malware sample, task, and session data. Producer 308 then pushes the data to Rabbit MQ (RMQ) 316 for consumption by other components of the live ingestion system. In this example, the consumers include but are not limited to the following: HBase to facilitate map/reduce (M/R) jobs (e.g., HBase can be utilized to implement a key, value data database, such as for storing session data and malware analysis results data (including line counts determined using the disclosed line counting techniques), such as further described below); ElasticSearch (ES), shown as ElasticSearch 332, to provide a back-end to the UI data source; and Hadoop Distributed File System (HDFS) to provide a log file storage and compatible format for M/R. Each consumer of that data can have a dedicated producer process that pulls this information. In this example implementation, there is one producer associated due to the checkpointing methodology producers use to identify a last point of processing. Each consumer for a component, such as ES consumers, can have multiple instances executing independently from one another (e.g., and are only bound by the performance of the receiving system such as HBase and ES, as well as SQL DBs to achieve other tasks, such as tagging). Although the data is typically the same in most situations (e.g., ES and HBase are examples), in this implementation, a design choice of generating such data from producers separately rather than using a point to multipoint model can ensure that the slowest of the consumers does not starve/delay the other components.
In one embodiment, a backend of the live ingestion system is architected to process and massage the data to reduce a load on the UI and middleware that act as a simpler presentation layer of information. As such, in this example implementation, any changes in how the data is interpreted means that a re-seed of all the data into the corresponding components is performed to ensure correctness (e.g., and utilize M/R, shown as MapReduce 338, to ingest data in bulk for efficient processing of the re-seeded data and/or other bulk data ingestions).
In an example implementation, the data that is collected by producers 308 can be segmented into the following buckets: sample and its tasks, sessions, and multiscanner. The data can be collected in two forms: data can be collected by finish time; and another producer for the same set of data can monitor for update time and can then re-ingest that data. The effort can be repeated for the interested recipients, including the following producers: HBase, HDFS, and ES. This results in nine producers, as follows: HBASE for sample/task by finish and update time; HDFS for sample/task by finish time; and ES, six producers for each data type by finish and update time. In another example implementation, a feed of finished/analyzed samples is received from the automated analysis of malware samples (e.g., the WildFire™ cloud-based malware analysis environment).
Sample and Tasks
In an example implementation, to remove the probability of missing tasks for samples as they were historically generated separately, the effort can be combined into one where the system can first query for samples that are completed from a processing perspective (finish_date). The finish_date is a reliable indicator that no new tasks will come down the pipeline resulting in missed tasks. If a new task is generated (e.g., which is generally a low probability), the sample's update_date can be modified, which can then be consumed by a dedicated sample/task producer that re-processes the sample and all its tasks by update_date.
Checkpointing
In an example implementation, each producer can cache its last checkpoint of what it processed by a relevant ID and data into a file stored on the machine on which it is executing, such as shown at 310 in
Sample Data
In an example implementation, sample fields that can be collected for each malware sample from a malware sample table (e.g., unless otherwise specified) can include one or more of the following: mid, md5, sha1, sha256, platform, type, family, description, create date, update date, source, file name, file type, size, analysis, malware, digital signer, vt_hit, finish date, and generic (e.g., derived from the sample_filetype_desc which is used in collecting sample behavior data, which may not be sent to consumers).
Malware Analysis
In an example implementation, the automated analysis of malware samples can publish a 0, 1, or 2 for each sample indicating that the malware sample is either benign, malware, or grayware respectively. In another example implementation, the automated analysis of malware samples can publish a distinct value for each sample indicating that the malware sample is either benign, malware, grayware, and/or other categorizations based on the malware analysis. For example, when the malware sample is sent, the original malware verdict and the final malware verdict can both be published (e.g., HBase can utilize this knowledge for its analytics, while ES can store the final verdict).
Public/Private State of a Sample
In an example implementation, the automated analysis of malware samples can indicate whether the malware sample is public or private (e.g., some customers may allow their malware sample(s) to be deemed public while others may not and/or such can be configured on a sample-by-sample basis as well as a customer-by-customer basis).
If there is no field or configured value for a given malware sample and result of the analysis of that malware sample from the automated analysis of malware samples to indicate whether the sample should be treated as public or private, then such can be configured on a customer-by-customer basis (e.g., to ensure that one customer's data is not shown to another customer unless the sample is considered public). For example, a sample can be deemed private unless the following criteria is met: the malware sample exists in other public malware data collections (e.g., if the virustotal_hit>=0, it is public); and if the malware sample is not associated with a private source.
Tasks for a Sample
In an example implementation, task fields that can be collected for each task from a task table (e.g., unless otherwise specified) and pushed up along with sample data can include one or more of the following: task ID, file name, URL, md5, submitted time, start time, finish time, status, VM_ID, score, family, summary, report, and VM_platform table (e.g., including a platform ID, description, static, and malware).
Malware Sample Reports Based on Static Analysis
In an example implementation, a report is provided for malware samples that were analyzed based on static analysis techniques by the automated analysis of malware samples. For example, the report can be an XML file (e.g., compressed and hex encoded that indicates the results of the static analysis, such as using a PDF static analyzer, DOC/CDF static analyzer, Java/JAR static analyzer, Microsoft Office Open XML static analyzer, Adobe Flash static analyzer, Android static analyzer, iOS static analyzer, or another static analyzer).
Malware Sample Reports Based on Dynamic Analysis: Behavior Data
In an example implementation, a report is provided for malware samples that were analyzed based on dynamic analysis techniques by the automated analysis of malware samples (e.g., executing/opening the malware samples in an instrumented virtual machine (VM) environment, which can be performed in one or more OS/version environments, such as a Microsoft Windows XP operating system environment, a Microsoft Windows 7×64 SP1 operating system environment, and/or other OS/version environments, and monitoring the behavior for a period of time, such as 30 seconds to five minutes or some other time interval or until an event is detected, such as detection of malware behavior(s)). For example, each task can have interesting behavior identified during a dynamic analysis phase performed by the automated analysis of the malware samples that can be conveyed to the user (e.g., the behaviors can be collected based on a task_id from a behavior table and fetch the following fields to send). Example fields that can be extracted from such a dynamic analysis phase of the malware samples (e.g., from the behavior table) can include one or more of the following: ID, type, description, risk, category, details, and score.
Session Data
In an example implementation, there are two types of producers for session data. A first type of producer for session data is driven by the ES consumer: once it ingests a sample, it stores a hash of the sample (e.g., using SHA or another hash algorithm) in a sample_ready table, and the session producer can query that table and publish all sessions for that hash value (e.g., if sessions are processed first, and then the sample is received, then the sessions can be reprocessed to generate alerts). A second type of producer uses dates and session IDs as checkpoints to process sessions as they come along in the automated analysis of malware samples system (e.g., if the sample has already been processed, then the sessions can be processed to generate alerts). The following fields can be collected for each session from the session table including one or more of the following: id, sha256, create time, source IP, source port, destination IP, destination port, file URL, file name, device ID, user name, app, vsys, malware, host name, URI, device host name, session ID, and sample table.
Multiscanner Data
In one embodiment, one or more producers are provided that produce malware analysis data from one or more malware scanners. For example, malware scanner data can include dynamic analysis malware scanner results data and static analysis malware scanner results. As another example, malware scanner data can also include malware analysis results data from one or more third-party sources, such as commercially available or publicly available/open malware analysis data sources (e.g., third-party feeds including closed and/or open-source threat intelligence feeds). Examples of third party, commercially available or publicly available/open malware analysis data sources include Cyber Threat Alliance, Defense Industrial Base Cyber Security Information Assurance (DIB CS/IA), Financial Services Information Sharing and Analysis Center (FS-ISAC), and others.
In one embodiment, one or more producers are provided that produce malware analysis data from the automated analysis of malware samples (e.g., dynamic and/or static analysis results), which can be stored in a database, such as malware analysis result databases (primary) 304 and replica databases (secondary) 306 as shown in
RabbitMQ Processing from the Producers
In an example implementation, RabbitMQ 316 includes multiple queues for live ingestion, including a queue for each of the producers 308, including: ES, HBase, and HDFS. The queue limits can be defined by the producer configuration and the physical limit of the queues is bound by disk and memory of a given physical machine. For example, rate limiting configuration and data production techniques can also be implemented to reduce/avoid starvation due to a high volume of session messages and rate limiting.
Consumers
In an example implementation, HBase consumer 322 and HDFS consumer 328 can be implemented to ingest data published by their respective producers, including from RabbitMQ 316 and log files 326 as shown, and push it into their corresponding components, HBase 330 and log storage 336, respectively. Additional processing can be performed for ES consumer 324 to consume data from the ES producer. For example, log parsing can be performed to glean interesting data that can be utilized for presentation to a user and further analytics for threat intelligence as further described below, and alerting, tagging, and additional queries that take place on the consumer side for sample and session data due to an ability to parallelize the processing relative to the producer.
In this example implementation, in order to keep up with an incoming rate of data, running 128 ES consumers over several machines for Elastic Search, with up to 32 per machine, can be utilized to perform the disclosed live ingestion techniques when live ingestion is processing older data and needs to catch up quickly, and 96 ES consumers can suffice when it is caught up and is just processing incoming data from the ES producer(s). For HBase, five instances of the HBase consumers can suffice when live ingestion is caught up and is just processing incoming data from the HBase producer(s); otherwise, 16 instances of the HBase consumers can be executed to catch up when it is processing older data from the HBase producer(s).
Elastic Search
In an example implementation, to facilitate tagging session and sample data for alerts, the consumer can interface with a MySQL database 334 to facilitate this functionality. In addition, to remove the bottleneck of one producer with the ability to execute multiple consumers, read queries are relatively cheap and can be parallelized to improve overall ingestion performance. For example, the ES consumer can loop through three sub consumers: sample/task, MultiScanner (MS), and session consumers. Multiple consumers can run on the same machine only bound by CPU and Memory. Each consumer can read messages from RMQ 316 and store them locally. The consumers can process messages in batches (e.g., ten messages at a time or some other number of messages).
Task Data
In an example implementation, a bulk of the ingestion intelligence lies within the task data parsing. The fields produced by the producer can be ingested as is and embedded in a task document. Example fields embedded in ES can include one or more of the following: task ID, platform, malware, behavior, JAPI, HTTP, DNS, connection, process, file, registry, mutex, service, information, miscellaneous, user agent, APK defined activity, APK defined service, APK defined intent filter, APK defined receiver, APK requested permission, APK sensitive API call, APK defined sensor, APK embedded URL, APK suspicious string, APK suspicious API call, APK suspicious file, and summary.
Index the Consumed ES Data
In one embodiment, the consumed ES data is indexed to facilitate a searchable set of ES data. In an example implementation, the consumed ES data can be indexed and searchable after being processed for each task.
Log File Parsing
In one embodiment, the malware sample analysis data can be generated as log files (e.g., the log files can include lines in the file with different meta data and/or results of the automated analysis related to the malware sample, or another data format can be utilized).
In an example implementation, log parsing is performed for each task for a sample. For example, it can be provided the following information: malware sample's SHA; task ID; sample's MD5 (e.g., used for validation); platform that the task ran on (e.g., OS/version of the platform of the sandbox environment, such as Windows XP or Windows 7, to determine how a log file should be parsed); a file type associated with the sample; a list of log files copied over for that sample; and/or a path of the log file location. A task can have various log files for parsing (e.g., using a log parser process that is configured to parse each type of log file, which are raw log files from the automated malware analysis of a sample(s) that can be processed using a log parser to generate processed log files for each type of log file that can be consumed by the malware analysis system using the disclosed techniques), such as one or more of the following types of log files: Java API (JAPI) log, event log, API log, and XML report. For example, the log file parsing can be configured to maintain much of the original information (e.g., when a line, such as a mutex line, registry line, file line, connections line, process line, information line, miscellaneous line, and/or another type of line is broken down into fields, preserve as much of the original information, annotating obscure ones and removing distracting elements such as memory addresses that can vary from sample run to sample run); obfuscate elements that can assist a malware developer to attempt to reverse engineer and defeat the malware analysis system; improve user readability by removing non-essential fields and mapping obscure fields to well-known descriptors; preserve as much of the numbers that occur in a line as possible with the exception of process IDs (PIDs) and memory addresses to improve readability for researchers (e.g., PIDs can be mapped to process names such as using a dictionary mapping for such an operation, and memory addresses can be removed, but if a file or a mutex only consists of numbers as a name, it can be preserved); and/or remove non-ASCII characters that can break live ingestions and the third party tools it uses.
Example excerpts from raw log files are provided below, including example excerpts from the following types of log files: a raw event log, a raw API log, and a raw XML, report. As described above and further described herein, the log file parsing operations can be performed to process each of these raw log files to generate processed log files that can be consumed by the malware analysis platform using the disclosed techniques.
Below is an example excerpt from a raw log file for monitored API activities of a sample during the automated analysis of the sample, which is an example excerpt of a raw API log.
Below is an example excerpt from a raw log file for monitored events of a sample during the automated analysis of the sample, which is an example excerpt of a raw event log.
Below is an example of excerpts of an XML, report generated as an output from the automated analysis of a sample.
Tag Processing
In an example implementation, elastic search percolation can be utilized to determine if the sample document that is being added matches any configured queries (e.g., tags, such as further described below) in the system. If it is, a list of tags is returned which are parsed into tag categories (e.g., support_id (C#), tag_definition_id (T#), and tag_definitions search_id (S#)). The tag list can then be pushed into MySQL DB 334 in a sample_tag table based on the sample's SHA. In addition, if the sample is public (is_public), an alert can be triggered (e.g., by calling a stored procedure AlertOnPublicSample). Samples that are newly tagged or whose tags have been changed since the last time they were added have their SHA stored in a sample_ready table in MySQL DB 334. The sample_ready table can be used by the session from the sample producer to produce all the sessions for that SHA.
For example, tagging data can also be added to ES for efficient queries. In an example implementation, to improve performance, the tag data can be embedded as a standalone child document keyed by the sample's SHA rather than as part of the sample document itself. This approach facilitates efficient updating of the tags on a sample in ES without impacting the larger document itself.
Session Data
In an example implementation, a session document is implemented as a child document of the sample document. The fields produced by the session producer can be ingested as is and embedded in the task document. Example session fields can include one or more of the following: app, device.acctname, device.country, device.countrycode, device.industry, device.ip, device.lob, device.model, device.serial, device.support_id, device.swver, device.hostname, src.country, src.countrycode, src.ip, src.port, src.isprivateip, dst.country, dst.countrycode, dst.ip, dst.port, dst.isprivateip, emailrecipient, emailsender, emailsubject, emailsbjcharset, filename, sha256, tstamp, user_id, vsys, session_id, file_url, and isuploaded.
SHA Trackers
Documents that are children of others can upsert their parent in case they do not exist. This can add an overhead impacting overall performance. In an example case, the session document can be affected by this potential scenario. In order to avoid unnecessarily upserting the parent document which may already exist while also not incurring the overhead of querying ES, in an example implementation, each ES consumer can maintain a SHA tracker table of seen SHAs that are populated by sample/task and session consumers as shown in
Generating an Enhanced View of Malware Analysis Results Using Line Counts
As similarly described above, the significant amount and complex information that is generated by the automated malware analysis presents a technical challenge to identify and/or determine the malicious activity a malware is performing and/or to associate patterns or relationships between malware samples and their features and/or behaviors. Accordingly, techniques for performing line counting are disclosed for generating an enhanced view of malware analysis results using line counts as further described herein.
In one embodiment, the malware analysis platform generates an enhanced view of malware analysis results using line counts of distinct lines in log files that are results of the automated malware analysis. For example, the malware analysis platform can perform the above-described ingestion and transformation to process a set of log files including (e.g., selected/important) malware analysis results activity (e.g., such as static malware analysis results and/or dynamic malware analysis results, which can include mutex usages, network activities, registry changes, API calls, and/or various other selected/important malware analysis results activity).
For example, the disclosed line counting techniques can be performed to provide a statistical view of the malware analysis results data (e.g., across different enterprise networks of subscribers/customers to the malware analysis platform service, categories of customers/industries, etc.), such as including one or more of the following: (1) common actions/attributes that have been observed at least a threshold number of times in both benign and malware samples; (2) (malicious/suspicious) actions/attributes (e.g., suspicious artifacts) that have been observed at least a threshold number of times in malware samples and only observed a relatively lower threshold number of times in benign samples; and (3) actions/attributes (e.g., highly-suspicious artifacts) that have been observed at least a threshold number of times in benign samples and only observed a relatively lower threshold number of times in malware samples.
In one embodiment, a system/process/computer program product for a malware analysis platform for threat intelligence made actionable includes generating a human readable format of malware analysis result log files (e.g., replacing numeric identifiers and removing not-interesting parameters, such as described herein); determining a first occurrence of each distinct line in each log file (e.g., and removing duplicate lines within the log file); and counting how many times each distinct line is observed in malware samples as compared with benign samples.
In one embodiment, the disclosed line counting techniques are similarly applied to generate sub-line counts, such as further described herein. For example, a subset of each line can be counted, such as to implement sub-line/attribute/parameter counting (e.g., based on a registry name, mutex, file name, and/or other attributes/parameters, rather than the entire/whole line).
In one embodiment, the disclosed line counting techniques are similarly applied to generate the line/sub-line counts for a specified date range and/or a specified set of samples, such as further described herein.
For example, the disclosed line counting techniques can be performed to identify the suspicious and/or highly-suspicious lines/sub-lines in a log file for a given malware sample (e.g., by determining the lines/sub-lines in the log file that are associated with a high malware count and/or a low benign count, such as further described herein). In this example, the suspicious and/or highly-suspicious lines/sub-lines can then also be utilized to automatically generate a new signature for detecting malware for that malware sample. In this example, the disclosed line counting techniques can also be performed as a validation/proofing system to test and validate the new signature and examine the line count results.
Performing Data Ingestion of Malware Analysis Results to Generate and/or Update Line Counts Associated with Analyzed Malware Samples
At 402, data ingestion to process and consume (e.g., transform) automated malware analysis results is performed. In one embodiment, the data ingestion process is performed using techniques similarly described above with respect to
At 404, line counts for the consumed automated malware analysis results are determined. In one embodiment, lines are generated based on a dynamic malware analysis (e.g., dynamic analyzer(s)) and/or a static malware analysis (e.g., static analysis artifacts), performed by the automated malware analysis system, such as similarly described above. For example, the performance of the data ingestion process can process any new and/or updated malware sample analysis results from the automated malware analysis system to determine verdicts and/or verdict changes for every line associated with a given sample (e.g., a line can include an observation that was identified during the static or dynamic malware analysis, such as a call to a given API, a request for a given URL, a call to a given library, and/or various other information/observations, such as further described herein) to determine if the sample is malware, benign, or grayware (e.g., adware or another type of grayware).
At 406, line counts are updated based on the consumed automated malware analysis results. In an example implementation, the processing of any new and/or updated malware sample analysis results from the automated malware analysis system can be implemented by performing a MapReduce (M/R) job(s) to update a table of verdict changes/updates in a Key Value (KV) database (e.g., an incremental table for updated line counts can be stored in HBase 330 to keep track of the key, such as a SHA value of the whole line for compressed data storage for efficiency, old verdict, and new verdict to facilitate incremental/update data based on malware sample processing since a last time the M/R job was executed). In this example, a M/R job can then be performed to update the historic counts in the KV database (e.g., a historic table for line counts in HBase 330) based on the new/incremental data in the incremental table of verdict changes/updates. As a result, the updated line counts are then stored in the updated historic table for line counts in the KV database based on the new line counts computed based on incremental data values from the incremental table to the historic table data for each line to update their respective line counts (e.g., the line counts can increase or decrease based on verdicts/verdict changes). In one embodiment, the disclosed process can include detecting a newly executed malware analysis for a given malware sample and replacing one or more lines associated with the results for that sample in the KV database (e.g., remove existing lines and/or add new lines).
Referring to
Line count results are stored in a line counts table 506. As similarly described above, log files of malware analysis results can be de-duplicated to identify distinct lines and then parsed to determine line counts for the consumed automated malware analysis results. In one embodiment, lines are generated based on a dynamic malware analysis (e.g., dynamic analyzer(s)) and/or a static malware analysis (e.g., static analysis artifacts, which can be processed using a M/R job to update the KV database), performed by the automated malware analysis system, such as similarly described above. For example, the performance of the data ingestion process can process any new and/or updated malware sample analysis results from the automated malware analysis system to determine verdicts and/or verdict changes for every line associated with a given sample to determine if the sample is malware, benign, or grayware (e.g., adware or another type of grayware).
At 508, line counts are updated in an updated line counts table 510. At 512, the processing of any new and/or updated malware sample analysis results from the automated malware analysis system can be implemented by performing a MapReduce (M/R) job(s) to update a table of verdict changes/updates in a Key Value (KV) database 526 (e.g., which can be implemented using HBase 330 as shown in
At 516, a historic line counts table 518 is updated based on the incremental line counts table for any lines with incremental value changes. In an example implementation, the historic line counts table can be used for maintaining historic line counts (e.g., based on a last time the M/R job was executed) and can include key values, such as a SHA value of the whole line (e.g., for compressed data storage for efficiency) and the historic line count. In this example, the above-described M/R job can be performed to update the historic line counts in the KV database (e.g., using the incremental line counts table and the historic line counts table) based on the new/incremental data in the incremental table of verdict changes/updates. As a result, the updated line counts are then stored in the updated historic table for line counts in the KV database based on the new line counts computed based on incremental data values from the incremental table to the historic table data for each line to update their respective line counts (e.g., the line counts can increase or decrease based on verdicts/verdict changes). In one embodiment, the disclosed process can include detecting a newly executed malware analysis for a given malware sample and replacing one or more lines associated with the results for that sample in the KV database (e.g., remove existing lines and/or add new lines).
At 520, new verdicts are determined to update a KV database table 522 for storing verdict changes 524 in KV database 526. In an example implementation, the KV database table includes key values, such as a SHA value of the whole line (e.g., for compressed data storage for efficiency), an old verdict value (e.g., a line count value based on a last time the M/R job was executed), and a new verdict value (e.g., a new line count value based on the verdict changes (if any)) to facilitate incremental/update data based on malware sample processing since a last time the M/R job was executed.
As will now be apparent, the above-described techniques and process can similarly be performed for ingestion and processing of results of automated analysis of malware samples to update sub-line counts in accordance with some embodiments as further described below.
Performing Sub-Line (Attribute/Parameter) Counts Associated with Analyzed Malware Samples
In one embodiment, the above-described line counting techniques can similarly be applied to a subset of a line. For example, the disclosed line counting techniques can similarly be applied to a subset of a whole line, such as for a given attribute and/or parameter in the line to facilitate attribute and/or parameter counting (e.g., counts can be determined and maintained/updated for calls to a specific URL, API, library, etc. based on the ingestion/transforming and processing of the automated malware analysis results). In this example, the above-described techniques and process for line counting can be similarly applied to sub-line/artifact counting, in which the input is different (e.g., input is a selected sub-line/artifact, such as for DNS data, the sub-line/artifact can be an FQDN, for file data, the sub-line/artifact can be a file name, and so forth). As such, the above-described line counting techniques can be applied to both whole lines as well as to subsets of whole lines as similarly described above.
Performing Line Counts Associated with Analyzed Malware Samples Per Customer or Other Categorizations of Customers
In one embodiment, the above-described line counting techniques can similarly be processed by customer or other categorizations of customers (e.g., subscribers of the cloud security service that submit malware samples for automated malware analysis and also subscribe to/utilize the malware analysis platform). For example, line/sub-line counts can also be computed based on customer identifier (e.g., a unique customer ID/serial number(s) that can be associated with samples) or other categorizations of customers (e.g., a categorization by industry, such as government, defense contractors, banks, high tech, retail, etc.). In an example implementation, performing line counts associated with analyzed malware samples per customer can be implemented using the above-described ingestion process as part of the in-take/consumer process and using a set of line/sub-line counting tables per customer, per industry, and/or other categorization(s) of customers (e.g., in which customers can be preclassified into a given category such that their malware samples can be associated with the given category, which can then be extracted and utilized during the ingestion process to implement the above-described line/sub-line counting techniques to be processed by customers or other categorizations of customers).
In one embodiment, a tag (e.g., based on the version of analyzer(s) used for the automated malware analysis for the sample results being processed) is associated with processed malware analysis results for a given line based on the analysis of a given malware sample. For example, a search based on the tag can be performed and/or lines/counts based on the tag can be subsequently removed if that analyzer/version is deemed to be no longer reliable/accurate and/or is replaced with a new version/analyzer.
Interface for a Malware Analysis Platform for Threat Intelligence Made Actionable
In one embodiment, an interface is provided for users to interact with the malware analysis platform for threat intelligence. For example, a portal/GUI interface can be provided for users to interact with the malware analysis platform for threat intelligence, such as further described below. As another example, a programmatic/API interface can be provided for users to interact with the malware analysis platform for threat intelligence, such as further described below.
Samples
In one embodiment, for both the automated malware analysis system and the malware analysis platform for threat intelligence made actionable, a sample refers to a file (e.g., a PDF or PE file) or a link included in an email. As similarly described herein, a firewall can send samples (e.g., unknown samples) to the automated malware analysis system for analysis. Different artifacts can then be determined to be associated with the sample as it is executed and observed in the sandbox environment performed by the automated malware analysis system as similarly described above. As further described herein, the malware analysis platform for threat intelligence made actionable allows a user to search for other samples (e.g., submitted by the same customer/subscriber or other customers/subscribers) based on the sample (e.g., based on a hash value of the sample or artifacts associated with the sample based on the processed results of the automated malware analysis for that sample). For example, when a user performs a search in the malware analysis platform for threat intelligence, the search conditions are compared against all historical and new samples as will be further described below.
Artifacts
In one embodiment, an artifact is an item, property, activity, or behavior shown to be associated with a sample through both the automated malware analysis of the sample and through the malware analysis platform statistics. For example, types of artifacts can include file attributes, IP addresses, domains, URLs, applications, processes, hashes, and/or email addresses. In the disclosed malware analysis platform for threat intelligence, artifacts are highlighted both on the dashboard and within search results (e.g., search results spotlight significant artifacts that are identified according to risk; and the dashboard and search editor both can allow a user to add an artifact directly to an ongoing search or to an export list, such as further described below).
Tags
In one embodiment, a tag can be defined based on a collection of search criteria that together indicate a known or possible threat. Both historical and new samples that match to the conditions defined for a tag are associated with that tag. A user can perform searches and create alerts based on tags, such as will be further described below.
In one embodiment, a tag class can be defined to associate a tag with a known actor, targeted campaign, malware family, malicious behavior, or an exploit. For example, using the interface for the malware analysis platform for threat intelligence made actionable as further described below, users can search for tags based on the tag class and/or can also search for tags that do not have a specified tag class.
Public Tags and Samples
In one embodiment, public tags and samples in the malware analysis platform are tags and samples that are visible to all users of the malware analysis platform. For tags created by a given user, the user can set the status to be public, so that the tag is visible to users of the malware analysis platform (e.g., and the user can also revert the tag to be private).
Private Tags and Samples
In one embodiment, private tags and samples in the malware analysis platform are tags and samples that are visible only to users associated with the subscriber (e.g., with the same support account to the cloud security service and service for the malware analysis platform). Private tags and samples can be made public (e.g., with the option to revert the tag or sample back to a private status).
Suspicious Artifacts
In one embodiment, suspicious artifacts are artifacts that are determined to have been widely detected across large numbers of samples and are most frequently detected with malware. Though the artifact is often also detected with grayware and benign samples, it is relatively less than the frequency with which it is found with malware. In an example implementation, suspicious artifacts can be determined using line counting techniques based on a line count calculation that the artifact (e.g., line or sub-line) is associated with malware samples at least a threshold value more times than it is associated with benign samples (e.g., a threshold value of three times, such as malware line counts (m#)>3×benign line counts (b#), or some other threshold value or calculation can be applied). Techniques for determining whether artifacts are suspicious artifacts are further described below.
Highly Suspicious Artifacts
In one embodiment, highly suspicious artifacts are artifacts that are determined to have been detected in very few samples (e.g., a lack of distribution of these types of artifacts could indicate an attack crafted to target a specific organization) and are most frequently detected with malware. In some cases, these artifacts have been exclusively seen with malware, and not observed (or rarely observed) with grayware or benign samples. In an example implementation, highly suspicious artifacts can also be determined using line counting techniques based on a line count calculation that the artifact (e.g., line or sub-line) is associated with malware samples at least a threshold value more times than it is associated with benign samples and is found in a threshold number of malware samples (e.g., a threshold value of three times, such as m#>3×b#, and the artifact (e.g., line or sub-line) is associated with fewer than a threshold number of malware samples (e.g., m#<500 samples); or some other threshold values or calculations can be applied). Techniques for determining whether artifacts are highly suspicious artifacts are further described below.
Actor
In one embodiment, an actor is an individual or group that instigates malicious activity. In an example implementation of the malware analysis platform, a user can perform a search for malware that is indicative of a threat actor (e.g., using the interface to select search and searching on the condition Tag Class>is>Actor). A user can also create a tag to indicate that samples matched to that tag are related to an actor.
Campaign
In one embodiment, a campaign is a targeted attack which might include several incidents or sets of activities. In an example implementation of the malware analysis platform, a user can perform a search for malware that has been classified as belonging to a campaign (e.g., using the interface to select search and searching on the condition Tag Class>is>Campaign). A user can also create a tag to indicate that samples matched to that tag are part of a campaign.
Family
In one embodiment, malware is grouped into a malware family. Malware might be considered related based on shared properties or a common function. In an example implementation of the malware analysis platform, a user can perform a search for malware that has been identified as belonging to a malware family (e.g., using the interface to select search and searching on the condition Tag Class>is>Malware Family). A user can also create a tag to indicate that samples matched to that tag are part of a malware family.
Dashboard for a Malware Analysis Platform for Threat Intelligence Made Actionable
In one embodiment, a user can set a context of the dashboard to display activity and artifacts for their organization only, or to instead view data at an industry or global level. A user can also expand or narrow the time range of the data displayed to view threat activity for a broad or limited time frame, respectively. In this example, the dashboard widgets can be implemented to be interactive, such that the user can hover a cursor over an artifact to view artifact details or click an artifact to add it to a search.
In one embodiment, the dashboard is configured to visually weight a subscriber's network data alongside industry and global data, in order to provide both a context for their network activity and a window into threats targeting similar organizations. In one embodiment, the dashboard is configured to facilitate a focus on pervasive threat activity and add top artifacts directly to the search editor. These and other aspects and features of the dashboard will be further described below.
Referring to
In one embodiment, a user can select a dashboard tab, as shown at 604, to set the context for the data displayed: My Organization, My Industry, or All. In this example, threat data and activity is displayed on the dashboard widgets updates to reflect the context selected. The widgets are interactive and can be used to drill down and investigate malware or event details. Users can also hover over artifacts displayed on the dashboard to reveal additional details, or click on an artifact to add the artifact to the search editor. The dashboard displays data for a period of time (e.g., a default period of time can be the last seven days or another period of time). Also, the data displayed on the dashboard can be filtered by context (e.g., move between the tabs to set the dashboard context, displaying the varying threat landscapes for network, industry, or globally) and/or filtered by date (e.g., set the dashboard to display data for the last 7, 30, 90, 180 days, all time, or another time period).
In one embodiment, a user can utilize a navigation pane, as shown at 606, to navigate between features (e.g., including search, alerts, tags, and export list features that can be accessed by selecting the respective features in the navigation pane as shown) that allow the user to search global and historical threat data and to manage malware tags and alerts (e.g., techniques for smart tagging and alerting of analyzed malware sample results using the disclosed malware analysis platform for threat intelligence made actionable is further described below). In this example, a search editor is provided that allows users to perform free form searches using Boolean logic. For example, a user can set up a search based on threat artifacts gathered from their enterprise network environment, or from viewing industry or global data on the dashboard (e.g., to drill down on search results to find, for example, high-risk artifacts, including the number of times that artifacts, such as an IP address, have been detected with malware, benign, and grayware samples). As another example, a user can set up alerts based on tags, such as using public tags and/or private tags to generate alerts when matched to public and/or private samples (e.g., depending on alert settings, including prioritized alert notifications for certain types of tags, such as further described below). In an example implementation, a tag is a set of conditions compared against historical and new samples analyzed using the malware analysis platform for threat intelligence. In this example, users can also publish tags in the malware analysis platform for threat intelligence made actionable to identify and help users detect known threats (e.g., select tags in the navigation pane to view private tags and public tags shared by other users). As yet another example, a user can select the export list feature in the navigation pane to export artifacts, such as IP addresses, URLs, and domains to an export data format (e.g., a CSV file or another file format). In this example, users can use the exported artifacts (e.g., CSV file) to import the data to security information and event management (SIEM) tools or to support a firewall block list (e.g., a Palo Alto Networks firewall Dynamic Block List or a firewall block list supported by another commercially available firewall solution). As also shown in this example, the settings feature can be selected to configure various portal settings (e.g., preferred hash type used by default as the sample or session identifier for search results: SHA-1, SHA-256, MD-5, or another hash algorithm; share public tags anonymously; API key for API access to the malware analysis platform, and/or other settings).
In one embodiment, the dashboard displays a malware download sessions histogram (e.g., a graph or chart) as shown at 608. In this example, the malware download sessions histogram displays the malware sessions for samples detected for the first time in the selected time range. Sessions with known malware (e.g., malware that was first seen before the selected time range) are not reflected in this example. A user can adjust the histogram sliders to narrow or broaden the date range. Dashboard widgets are also filtered according to the time range that is selected.
In one embodiment, the dashboard includes dashboard widgets as shown at 610. In this example, the dashboard widgets highlight the top ten artifacts depending on the context (e.g., organization, industry, or all) and time range selected, including the following: Top Applications (e.g., displays the ten most used applications); Top Malware (e.g., displays the ten malware samples with the most hits); Top Firewalls (e.g., displays ten firewalls with the most sessions where malware samples were detected; a user can select the Organization tab on the dashboard to display the Top Firewalls in their network); and Target Industries (e.g., displays the ten industries with the highest counts of malware detected; a user can select the All tab on the dashboard to display target industries on a global scale). In an example implementation, a user can also click a single bar in any widget to drill down on dashboard widgets. The artifact can be added to the search editor as a search condition, which allows the user to then search on the artifact and/or to tag it (e.g., generate a tag based on the artifact and/or conditions associated with the artifact).
In one embodiment, the dashboard includes a map of source/destination geographies (e.g., countries) as shown at 612. In this example, the dashboard allows a user to view malware hot spots geographically. The user can select Source to display countries with high rates of malware sessions originating from those countries, or select Destination to display countries with high rates of targeted attacks. Larger bubbles can be displayed on the map to indicate higher rates of activity as shown in this example. A user can also zoom in to more closely examine the number of malware sessions by source or destination country.
In one embodiment, the dashboard includes a Top Tags chart as shown at 614. In this example, a user can view the tags (e.g., smart tags) matched to the highest number of samples (e.g., including a user/subscriber's private tags, platform service provider alerting tags that are configured/defined by threat intelligence experts associated with the platform service provider—Palo Alto Networks in this example (shown as Unit 42 tags in this example), and public tags, which can be shown as distinguished based on the type of the tags—private, Unit 42, and/or public). As shown, the Top Tags list is sorted according to the number of samples matched to the tag in the date range selected on the malware sessions histogram (e.g., as shown at the top of the dashboard). For each tag, the list also displays the total number of samples that have been matched to the tag and the date and time that the most recent matching sample was detected. In an example implementation, a Top Tags Widget is provided such that a user can choose Tag Types to display the Top 20 private tags, Unit 42 alerting tags, Unit 42 informational tags, and/or public tags, and the user can select a tag to view tag details, including a description of the condition or set of conditions that the tag identifies, or to add the tag to a search.
In one embodiment, the dashboard includes an Alerts Log as shown at 616. In this example, a user can view the latest set of alerts (e.g., the most recent 20 alerts or some other number of recent alerts) on malware matching enabled public, private, or Unit 42 tags. In an example implementation, prioritized alerts can be configured to be automatically pushed to subscribers/users (e.g., delivered through email or over HTTP to selected network/security admins for the subscribing customer).
In one embodiment, the dashboard includes a list of Recent Unit 42 Research as shown at 618. In this example, a user can browse quick links to the latest research, news, and resources from Unit 42, the threat intelligence experts associated with the platform service provider—Palo Alto Networks in this example.
Search on the Malware Analysis Platform for Threat Intelligence Made Actionable
In one embodiment, the interface for the malware analysis platform for threat intelligence made actionable includes a search feature (e.g., as similarly described above with respect to
In one embodiment, the platform includes a search editor to perform complex searches, with conditions that allow users to narrow or broaden the scope of a search. In this example, users can toggle their view of search results to find: the samples matched to the selected search conditions (e.g., using a Samples tab); the sessions during which the samples were detected (e.g., using a Sessions tab); the top artifacts associated with the returned samples (e.g., using a Statistics tab); and/or the passive DNS history and categorization of the results (e.g., using a Domain, URL & IP Address Information tab). After performing a search, users can drill down in sample results to find artifacts seen with that sample. For each artifact associated with a sample, the platform lists the number of times the artifact has been detected with benign (#B), grayware (#G), and malware (#M) samples. Artifacts that are seen disproportionately with malware are indicated to be Suspicious or Highly Suspicious, such as using various techniques described herein for determining whether the samples are suspicious or highly suspicious.
Referring to
As shown at 704, users can add one or more search conditions using the search editor that can be processed for generating search results based on the one or more search conditions. For example, to create a search condition, a user can add the category for which the user wants to search and define the scope and value of the category. First, the user can select a category from the drop-down menu to perform a search of global threat data based on that category, such as the category shown as “verdict” in this example (e.g., categories can include hash value (MD5, SHA-256, etc.), verdict, and/or other categories). Second, the user can select an operator for the search condition, such as the operator shown as “is” in this example (e.g., operators can include is, is not, is in the list, is not in the list, has no value, has any value, and/or other operators). The operator determines the scope of search results; the user can use the operator to limit or expand potential results, or to return exact match results. The operators available can vary depending on the search category selected. Third, the user can enter or select a value to define the search condition. Depending on the category and operator selected, predefined values may be available to choose from, or users may be requested to enter a unique value to perform the search. As shown at 706, the user can select whether the search is performed with respect to all samples, public samples, or the samples associated with the user's account/entity (e.g., shown as My Samples in this example).
Referring to
In one embodiment, searches can be saved. For example, users can save searches that the users may be performing on a regular basis, or in order to quickly recreate useful search settings.
As shown at 804, a sample can be shared as a public sample to share the sample with other security experts. In this example, a user can also revert a public tag created by the user's organization to private.
As shown at 806, a Network Sessions tab lists the sessions during which the sample was detected. The sessions displayed are all sessions submitted from firewalls to the malware analysis system as similarly described above. A user can select a single session for session details (e.g., users can also navigate back to the File Analysis tab for the sample, or click on, for example, a Related Sessions tab—related sessions are sessions where samples with the same hash value, such as the same SHA-256 hash value, were detected).
As shown at 808, a File Analysis tab lists properties, behaviors, and activities observed for the sample during the automated analysis performed by the malware analysis system, as similarly described above. For each activity artifact, the total number of times the artifact has been found with benign (#B), grayware (#G), and (#M) malware samples is listed. High risk artifacts are highlighted as Suspicious or Highly Suspicious, and users can add these artifacts directly to an existing search or add them to an export list as shown at 810, as similarly described herein.
In one embodiment, the search editor supports exporting a search. For example, a search can be exported in order to share the search between support accounts or with another security expert.
In one embodiment, the search editor supports importing a search. For example, a search can be imported in order to import a search shared by another security expert.
As an example, the search editor can be utilized to perform a search using the malware analysis platform for threat intelligence made actionable to view samples matched to the selected search conditions (e.g., and can also be configured to search a specified scope of samples, such as Private/Subscriber Samples, Public Samples, and/or to All Samples as similarly described herein). The Samples, Sessions, Statistics, and Domain, URL & IP Address Information tabs can then be selected to drill down in the search results different contexts, and allow you to drill down in to the results to find correlation among artifacts, to narrow the search by adding artifacts to the search, and to add high-risk artifacts to the Export Artifacts feature, as similarly described herein. Users can then assess the artifacts identified in the search results. Users can also export the artifacts identified in the search results, as similarly described herein.
As shown at 902, session details include a Session Summary, from which users can add artifacts to a search using the search editor as similarly described above.
As shown at 904, a File Analysis tab displays details for the sample that was detected during the session.
As shown at 906, Sessions details also include a list of Related Sessions, which are sessions where the same sample was detected.
As shown at 1002, users can view statistics on artifacts associated with My Samples, Public Samples, or All Samples.
As shown at 1004, users can click the Top Applications, Top Malware, Top Firewalls, or Target Industries widgets to add artifacts to their search; the Statistics tab widgets are filtered based on the added search condition. For example, users can click a web-browsing bar on the Top Applications widget. Web-browsing is added as a search condition and the widgets, including the Source Countries malware map, are then updated to reflect the new web-browsing filter.
Referring to
Referring to
As shown at 1112, users can review domain to IP address mappings found for samples that match their search condition(s).
Search Based on Observed Behavior
In one embodiment, the interface for the malware analysis platform for threat intelligence made actionable includes a search feature (e.g., as similarly described above with respect to
In an example implementation, users can search for samples that created and modified files, started processes, spawned new processes, modified the registry, and/or installed browser help objects (BHOs). The user can utilize the interface to select to initiate a search using the platform, select the search category of observed behavior, and then browse a list of possible behaviors to select one or more behaviors to search for samples for which that behavior was seen when executed in the sandbox environment.
Share Links to Saved Searches
In one embodiment, the interface for the malware analysis platform for threat intelligence made actionable includes a search feature (e.g., as similarly described above with respect to
Smart Tagging and Alerting Based on Artifacts Using the Malware Analysis Platform for Threat Intelligence Made Actionable
As similarly discussed above, network/security administrators (admins) are typically inundated with a significant number of, and often too many, alerts and messages from the security devices and security services for their enterprise network(s). Moreover, such security devices and security services typically fail to provide relevant context and prioritization for such alerts and messages to be effective and/or efficient to facilitate performing responsive action(s).
Thus, improved techniques for filtering and identifying relevant threat intelligence information are needed.
Accordingly, in one embodiment, tagging and alerting based on artifacts is provided using the malware analysis platform for threat intelligence.
For example, the above-described malware analysis platform can extract various static and behavioral artifacts, which can then be selected as artifacts to define tags based on a set of one or more attributes/behaviors (and/or conditions based on one or more attributes/behaviors) identified by the malware analysis platform during analysis of samples, as further described below. In this example, these tags when created apply to the existing set of samples and are smart such that if any new sample is received by the malware analysis platform for threat intelligence made actionable that exhibits the same set of one or more attributes/behaviors, then the new sample is automatically tagged and a notification can be communicated to the users that configures an alert based on the tag. Further, this tagging and alerting capability allows network/security admins to define specific artifacts that they are interested in monitoring, such as domains, IP addresses, URLs, mutexes, and/or other attributes, so that when any event occurs in their network that targets (e.g., matches) such artifacts, they can then be notified to allow them to effectively and efficiently perform appropriate actions to mitigate the security threat.
In one embodiment, tags are applied as part of the intake processing for newly processed samples/sessions by the malware analysis platform for threat intelligence made actionable as similarly described above. In one embodiment, a newly defined tag can be applied to (e.g., associated with) existing processed samples in a so-called lazy fashion as described herein.
For example, a network/security admin user for ACME Corporation can define a new tag and specify an alert based on the new tag using the disclosed techniques. The user can then receive an alert if a sample from their enterprise network matches the tag. In this example, the new tag can be a new tag that the user configured using the malware analysis platform for threat intelligence, or the tag can be an existing tag previously configured by the security vendor of the malware analysis platform for threat intelligence made actionable or by another user of the malware analysis platform for threat intelligence.
In one embodiment, clustering techniques described below can be applied to automatically generate tags (e.g., malware families can be associated with a smart tag). For example, a tag can be automatically generated using the disclosed attribute and/or clustering based analysis techniques as further described below.
In one embodiment, a tag can be a high priority tag. For example, if a malware sample is detected/received that matches a tag that is a high priority tag (e.g., a tag that is associated with a serious threat can be identified as a high profile tag, such as by the security vendor for the malware analysis platform for threat intelligence), then an alert can be sent to a network/security admin for ACME Corporation that their network is being targeted based on an alert that a malware sample matching the high profile tag was identified as having penetrated their network.
In one embodiment, a tag can be based on a set of one or more attributes. In one embodiment, an attribute can be based on a line and/or a sub-line (e.g., a subset of content extracted from a line) of the malware analysis results output from the malware analysis platform for a sample, such as similarly described above. For example, a tag can be based on a set of attributes (e.g., lines 1, 3, 7, and/or other lines or sub-lines). As another example, the tags can be generated based on the below described automated/semi-supervised techniques for automatically generating tags for the malware analysis platform for threat intelligence.
These and other aspects associated with smart tagging and alerting based on artifacts provided using the malware analysis platform for threat intelligence made actionable will now be further described below.
Alerts on the Malware Analysis Platform for Threat Intelligence Made Actionable
In one embodiment, the interface for the malware analysis platform for threat intelligence made actionable includes an alerts feature (e.g., as similarly described above with respect to
In one embodiment, alerts can be configured to be communicated to users over HTTP and/or email alerts (e.g., or other notification mechanisms) to receive such alerts as email notifications or to include alerts in a web portal or a feed. In one embodiment, an Alerts Log on the dashboard displays alerts depending on the dashboard context, and users can also view the complete set of alerts by selecting Alerts on the navigation pane.
Referring to
For example, users can enable HTTP and email alerts based on Tag Types. Users can choose for all samples matched to the tag type to generate an alert, or narrow the alert criteria so that only private or public samples generate alerts. Additionally, the alerts feature can include an option to create an alert exception that allows users the flexibility to specify either prioritized alerts based on a specific tag, or to exclude a specific tag from triggering an alert. Also, users can set the scope of the alert (e.g., for each tag type, users can select My Samples to be alerted only when a firewall associated with the user's support account is matched to the tag; users can select Public Samples to be alerted only when public samples are matched to the tag; and users can select both My Samples and Public Samples to be alerted when any sample is matched to the tag).
Referring to
Referring to
In one embodiment, to search on the latest sample to trigger an alert, users can select the sample on the Alerts Log widget.
Referring to
Smart Tagging and Alerting of Analyzed Malware Sample Results Using the Malware Analysis Platform for Threat Intelligence
As similarly discussed above, the significant amount and complex information that is generated by various security systems and services presents a technical challenge to network/security admins. For example, network/security admins are typically inundated with a significant and often overwhelming number of alerts and messages from the security devices and services. Moreover, such alerts and messages from the security devices and services typically lack prioritization and relevant context to facilitate efficient processing and to facilitate performing appropriate actions based on certain alerts and messages.
Accordingly, techniques for smart tagging and alerting of analyzed malware sample results using the malware analysis platform for threat intelligence are disclosed. In one embodiment, the malware analysis platform for threat intelligence made actionable includes a capability to extract and uniquely name an artifact(s) (e.g., sets of behaviors or other attributes) associated with malware (e.g., or grayware), which are referred to herein as tags (e.g., smart tags), such as further described below. For example, these tags when created can apply to existing sets of samples and can be viewed as smart in the way that if any new sample is analyzed and the malware analysis results are processed by the platform, and the platform determines that the new sample exhibits the same artifact(s), then the new sample is automatically tagged and an alert can be triggered (e.g., based on a configuration of alert parameters associated with the tag, such as further described below).
In one embodiment, the interface for the malware analysis platform for threat intelligence made actionable includes a tagging feature as similarly described above. For example, the interface for the malware analysis platform for threat intelligence made actionable allows users to tag a set of conditions. As similarly discussed above, users can then search and alert based on the defined tag. In an example implementation, historical and future samples can be automatically matched by the platform to the conditions defined for a tag (e.g., conditions based on one or more artifacts). Historical samples matched to the tag can also be searched to provide context and insight into surrounding events. In addition, new samples matched to the tag can be processed by the platform to automatically generate an alert (e.g., a prioritized alert) to allow users to perform appropriate and timely action(s) to remediate the security threat.
As an example, a new tag can be created by tagging a sample (e.g., the hash for the sample can be tagged, such as similarly described herein). As another example, a set of search conditions can be tagged. In an example implementation, when a tag is created, the past and incoming samples matched to the search conditions are tagged by the malware analysis platform for threat intelligence made actionable using the disclosed techniques; and sample details display the tags to which the sample is matched. Also, users can then perform a search using the search editor and/or receive alerts based on the new tag.
As an example, assume that a bank, ACME Bank, is a customer of the malware analysis platform for threat intelligence made actionable. ACME Bank can utilize the platform to configure tags and alerts to facilitate their network/security admins based on specific artifacts that are of interest to the network/security admins for ACME Bank. Examples of artifacts that can be defined to configure such tags and alerts based on the tags can include domain names, IP addresses, URLs, and/or various other artifacts as similarly described herein. In this example, assume that a new sample was detected on the ACME Bank enterprise network and was sent for cloud security malware analysis using the automated malware analysis and the sample analysis result (e.g., log file) was then processed by the malware analysis platform for threat intelligence as similarly described above. If the malware analysis platform for threat intelligence determines that the sample is associated with (e.g., targets) any of these artifacts based on the processing of the sample analysis result (e.g., log file), then the sample is automatically tagged by the platform, and an alert can be generated (e.g., the network/security admins for ACME Bank can be notified based on a prioritized alert notification that includes relevant contextual information based on the tag that is defined based on the one or more artifacts, which facilitates remedial/corrective actions to be timely performed using the platform and/or other security devices/services, such as further described herein).
In one embodiment, a dashboard for the platform is provided that displays threat intelligence information based on the tags, such as similarly described above with respect to
As shown at 1402, to open a search based on the tag, users can select the Search icon. As shown at 1404, users can edit private tag details. In this example, for private tags, users can edit tag details, including the scope of the tag to be private, public, or anonymously public. As shown at 1406, users can select a delete/trash icon to permanently delete a previously generated tag (e.g., based on user access controls, such as for tags that were previously created by that user or the enterprise account associated with that user). For example, deleted tags can show a Tag Status of removing after being deleted until the deletion is complete (e.g., when the deletion is complete, the tag status can display as disabled).
As shown at 1408, users can share a tag with security experts by making the tag Public (e.g., to share the tag with other network/security admin users of the platform and/or the security service provider associated with the platform). Also, as similarly described above, users can also revert a tag previously made public back to a private tag. For example, tags can be shared anonymously, or the organization can be identified as the owner of the tag if the user does not want to share the tag anonymously.
As shown at 1410, users can Vote for, Comment on, and Report tags. For example, users can vote up for helpful tags and down-vote tags that they believe are misleading or are too general to be meaningful. As another example, users can comment on tags, such as to provide feedback on tags or share additional, relevant information with the threat intelligence/security community users of the platform. As yet another example, users can report tags that are offensive or reveal sensitive information. In this example, private tags would not show these options, as such options would only be applicable to publicly accessible/shared tags.
As shown at 1412, users can search based on a single tag condition or delete a single tag condition. For example, a user can select the Search icon in the Actions column, to the right of the condition for which the user wants to open a search (e.g., this option can be used to add conditions from an existing tag to the search editor, modify the conditions, and/or create a new tag).
Artifacts of Analyzed Malware Sample Results
In one embodiment, the interface for the malware analysis platform for threat intelligence made actionable identifies artifacts that are extracted from and/or determined to be associated with analyzed samples (e.g., attributes, such as behaviors, features, and/or other artifacts, as similarly described above). In an example implementation, the malware analysis platform includes an automated analysis of malware samples (e.g., the WildFire™ cloud security service provided by Palo Alto Networks, Inc., or another malware analysis platform/service) that classifies previously unknown samples as either malware, grayware, or benign, so that a firewall can be configured to then block or enforce the newly-identified malware or grayware according to a security policy (e.g., an enterprise security policy or other security policy). As also similarly described above, when the automated analysis of malware samples observes and executes a sample in the sandbox environment during a dynamic analysis phase and/or determines attributes during a static analysis phase, the malware analysis platform can process the results to automatically identify artifacts of the analyzed malware sample results (e.g., file properties and/or behaviors including observed behavior, process activity, connection activity, service activity, and/or other behaviors/activities, such as registry activity, file activity, other API activity, mutex activity, DNS activity, and/or static analysis including suspicious file properties and/or other static analysis properties) that can be accessed, analyzed, and/or made actionable utilizing the interface or the malware analysis platform for threat intelligence made actionable as will now be further described below with respect to
In one embodiment, the malware analysis platform for threat intelligence made actionable includes various analysis and statistics for the artifacts. In an example implementation, layers statistics over artifacts found to be associated with a sample can be provided to show the number of times a given artifact has been determined/detected with other malware, grayware, or benign samples using various techniques described herein. For example, high-risk artifacts that are frequently observed with malware can be determined to be Suspicious or Highly Suspicious using various techniques described herein.
In one embodiment, the high-risk artifacts can be determined, viewed, analyzed, and acted upon using the disclosed platform and techniques. In an example implementation, the malware analysis platform for threat intelligence made actionable identifies high-risk artifacts included in file analysis details for a sample. In this example, an interface of the malware analysis platform for threat intelligence made actionable can include a File Analysis tab that groups similar artifacts into Analysis Categories for easy reference, such as similarly described herein. As similarly described above, a user can utilize the interface to add high-risk artifacts to a search, or use them to generate an export list for configuring a network/security device (e.g., a firewall or another network/security device) to perform actions (e.g., block, alert, or other actions) based on the high-risk artifacts using various techniques described herein.
Referring to
Referring to
Referring to
Referring to
Processes for the Malware Analysis Platform for Threat Intelligence Made Actionable
At 1602, a plurality of samples is received for performing automated malware analysis to generate log files based on the automated malware analysis. For example, the automated malware analysis can include dynamic and/or static analysis as similarly described above.
At 1604, processing the log files is performed to determine artifacts associated with malware. For example, if the artifact is determined to be associated with malware based on the automated malware analysis, then the artifact can be deemed a high-risk artifact as similarly described above.
At 1606, an action is performed based on an artifact. For example, the artifact(s) can be imported to security information and event management (SIEM) tools or to support a firewall block list to perform security enforcement on an enterprise network as similarly described above.
At 1702, a plurality of samples is received for performing automated malware analysis to generate log files based on the automated malware analysis. For example, the automated malware analysis can include dynamic and/or static analysis as similarly described above.
At 1704, processing the log files is performed to determine artifacts associated with malware. For example, a log file for a sample comprises one or more lines based on the automated malware analysis results for the sample as similarly described above.
At 1706, identifying distinct lines in the processed log files is performed. For example, duplicate lines in the log file can be de-duplicated to generate a processed log file that includes only distinct lines as similarly described above.
At 1708, updating a line count for each of the distinct lines based on line counting performed for previously processed log files is performed. For example, line counts can be utilized to generate statistics and analysis for the malware sample results that can be presented in a dashboard and facilitate user access and analysis of the malware sample results and statistics overlay as similarly described above. As another example, line counts can be processed to determine whether any of the distinct lines can be correlated with malware (e.g., and not likely associated with benign samples), which can be utilized to identify high-risk artifacts as similarly described above.
At 1708, updating a line count for each of the distinct lines based on line counting performed for previously processed log files is performed. For example, a line/sub-line can be updated as similarly described above.
At 1710, an action is performed based on a high-risk artifact. For example, the artifact(s) can be imported to security information and event management (SIEM) tools or to support a firewall block list to perform security enforcement on an enterprise network as similarly described above.
At 1802, a plurality of samples is received for performing automated malware analysis to generate log files based on the automated malware analysis. For example, the automated malware analysis can include dynamic and/or static analysis as similarly described above.
At 1804, processing the log files is performed to determine artifacts associated with malware. For example, a log file for a sample comprises one or more lines based on the automated malware analysis results for the sample.
At 1806, identifying distinct lines in the processed log files is performed. For example, duplicate lines in the log file can be de-duplicated to generate a log file that includes only distinct lines as similarly described above.
At 1808, determining whether any of the distinct lines are suspicious is performed. For example, if a line/sub-line is determined to be associated with malware, then such can be deemed a high-risk artifact and can be made actionable as similarly described above.
At 1810, an action is performed based on a high-risk artifact. For example, the artifact(s) can be imported to security information and event management (SIEM) tools or to support a firewall block list to perform security enforcement on an enterprise network as similarly described above.
Processes for Tagging and Alerting Using the Malware Analysis Platform for Threat Intelligence Made Actionable
At 1902, a plurality of samples is received for performing automated malware analysis to generate log files based on the automated malware analysis. For example, the automated malware analysis can include dynamic and/or static analysis as similarly described above.
At 1904, processing the log files is performed to extract artifacts associated with the log files. For example, a log file for a sample comprises one or more lines based on the automated malware analysis results for the sample as similarly described above.
At 1906, determining whether a tag matches any of the plurality of samples based on the artifacts is performed. As an example, a new tag can be created by tagging a sample (e.g., the hash for the sample can be tagged, such as similarly described herein). As another example, a set of search conditions can be tagged.
At 1908, an action is performed based on whether a tag matches any of the plurality of samples. For example, an alert can be triggered based on whether a tag matches any of the plurality of samples as similarly described above.
At 2002, a plurality of samples is received for performing automated malware analysis to generate log files based on the automated malware analysis. For example, the automated malware analysis can include dynamic and/or static analysis as similarly described above.
At 2004, processing the log files is performed to extract artifacts associated with the log files. For example, a log file for a sample comprises one or more lines based on the automated malware analysis results for the sample as similarly described above.
At 2006, a tag is configured based on a plurality of conditions associated with one or more artifacts. For example, a set of search conditions can be tagged as similarly described above.
At 2008, determining whether the tag matches any of the plurality of samples based on the plurality of conditions associated with one or more artifacts is performed. For example, the platform can determine such tag matches for new and historical samples as similarly described above.
At 2010, an alert is generated based on the determination that the tag matches at least one of the plurality of samples. For example, a prioritized alert can be generated as similarly described above.
Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.
Number | Name | Date | Kind |
---|---|---|---|
8032489 | Villella | Oct 2011 | B2 |
8555385 | Bhatkar | Oct 2013 | B1 |
8955120 | Antonov | Feb 2015 | B2 |
9197665 | Cabot | Nov 2015 | B1 |
9245114 | Thomas | Jan 2016 | B2 |
9838410 | Muddu | Dec 2017 | B2 |
20110041179 | St Hlberg | Feb 2011 | A1 |
20110209196 | Kennedy | Aug 2011 | A1 |
20120079596 | Thomas | Mar 2012 | A1 |
20120304244 | Xie | Nov 2012 | A1 |
20130091571 | Lu | Apr 2013 | A1 |
20130097706 | Titonis | Apr 2013 | A1 |
20130263266 | Bojaxhi | Oct 2013 | A1 |
20140047544 | Jakobsson | Feb 2014 | A1 |
20140201208 | Satish | Jul 2014 | A1 |
20150244730 | Vu | Aug 2015 | A1 |
20150244733 | Mohaisen | Aug 2015 | A1 |
20150295945 | Canzanese, Jr. | Oct 2015 | A1 |
20160127388 | Cabot | May 2016 | A1 |
20160337388 | Hu | Nov 2016 | A1 |
20170063886 | Muddu | Mar 2017 | A1 |
20170063904 | Muddu | Mar 2017 | A1 |
20170093771 | Gatti | Mar 2017 | A1 |
Entry |
---|
Author Unknown, About VirusTotal, downloaded from https_www.virustotal.com_en_about on Feb. 17, 2016. |
Canto et al., Large scale malware collection: lessons learned, downloaded from http_www.iseclab.netpaperssrds.pdf on Feb. 17, 2016. |
Author Unknown, Advanced features & tools, VirusTotal, downloaded from https_www.virustotal.com_en_documentation on Feb. 17, 2016. |
Author Unknown, Frequently Asked Questions, VirusTotal, downloaded from https_www.virustotal.com_en_faq on Feb. 17, 2016. |
Author Unknown, File statistics during last 7 days, VirusTotal, downloaded from https_www.virustotal.com_en_statistics on Feb. 17, 2016. |
Bailey et al., Automated Classification and Analysis of Internet Malware, Electrical Engineering and Computer Science Department, University of Michigan, Apr. 26, 2007. |
Jang et al., BitShred: Feature Hashing Malware for Scalable Triage and Semantic Analysis, Oct. 2011. |
Kinable et al., Malware Classification based on Call Graph Clustering, Aalto University, Department of Information and Computer Science, Aug. 27, 2010. |
Perdisci et al., Behavior Clustering of HTTP-Based Malware and Signature Generation Using Malicious Network Traces, College of Computing, Georgia Institute of Technology, Apr. 2010. |
Ye et al., Automatic Malware Categorization Using Cluster Ensemble, Proceedings of the 16th ACM SIGKDD international conference on Knowledge discovery and data mining, Jul. 2010. |
Number | Date | Country | |
---|---|---|---|
20170250997 A1 | Aug 2017 | US |