SecurityBrief Australia logo
Australia's leading source of cybersecurity and cyber-attack news
Story image

How to go threat hunting: The thrill of the hunt

Tue 27 Jun 2017
FYI, this story is more than a year old

Let’s go threat-hunting. When the hunters and tools have been assembled, let us explore the thought processes that prepare them for a successful hunt, as well as a proven methodology called the hunt chain. This depicts the entire threat hunting process.  

The hunters may be familiar with operating system (OS) internals, and been inside the machine. Maybe they have written some of their own tools and exploits. They’re reading about cyber crime and are no longer going to take it! Time for the chase and putting cyber criminals on the defence.

The threat hunter knows how systems work, how attackers think and act, and how to use tools to find them and kick them out. An organisation has its weak spots and this might give cyber criminals an easy way in. But the hunter knows where they’ll strike and lie in wait for them.

The primary objective of threat hunting is asset and information protection through:

  • Knowledge of systems, networks and exploits
  • Knowledge of the enterprise applications, how they work, where the treasures are, and how the data flows
  • Knowledge of endpoints, how they work and how they’re used.

A threat hunter continues to stockpile his / her knowledge, skills and tools. With the right tools, each new query becomes another automatic threat detector, so the hunter slowly gains ground and denies attackers access to more and more attack surface. This way, a threat hunter never needs to hunt for the same thing twice. Yet attackers’ tools improve, and more exploits are discovered, so it’s a tug of war between threat hunters and their adversaries.

Constantly reading and learning about new exploits, threat hunters test out new hunches and see whether attackers are trying these new techniques and, if so, what they look like.

Planning the hunt At first a threat hunter becomes oriented to the environment and masters the tools used and how they’re configured. Soon it will be time to venture out on individual campaigns — probing deeper and further than before.

While threat hunting is continuous, it is broken up into individual missions called hunts. A hunt can last a few hours to several days, depending on the objectives. A hunt should have one or more objectives, narrowly focused at times but not too broad either. Hunt objectives might include:

  • Hunting for specific exploits: A threat hunter may have read about a specific new exploit such as Locky, and will look broadly in the environment for signs of it.
  • Attacks against specific vulnerabilities: A threat hunter dives into high‐value systems with one or more known unpatched vulnerabilities to see whether attackers are attempting to exploit them.
  • Attacks against specific high‐value targets (HVTs): Here the threat hunter dives deeply into the operation of a specific asset (or a small number of them), learning more about how it operates and looking for signs of reconnaissance or intrusion.

Threat hunters generally focus their attention on endpoints with tools that provide detailed forensic data on these. Depending on the hunt’s objective, the threat hunter may be triangulating attack evidence by using additional tools, such as an intrusion prevention system (IPS), web proxy filter, or next‐gen firewall to identify signs of compromise.

As well as detecting malware, threat hunting also tracks abnormal usage of legitimate tools (such as PowerShell and EMET) and accounts.

Keep notes on threat hunting experiences. Over time, hunts may become a blur, but with good records you can go back and familiarise yourself with past hunts. The records might be highly structured and include hunt objectives, logs, traffics, activities searched for, and analytics. Or they might be more like a narrative describing a hunt.

Launch a similar hunt in the future, and your records can be used as a springboard.

The hunt chain The hunt chain comprises a series of activities that constitute a formal threat hunt. The overall chain is depicted below.

Where to start A threat hunt starts with the collection of data that’s directly or indirectly related to its objective. When developing an objective, the threat hunter needs to know what data will be mined in order to achieve the hunt’s objective.

Define objectives and the scope for a hunt to quantify success and know when the hunt is completed. Without clear objectives, a hunt is more of a fishing trip that could go on and on.

As threat hunters begin observing the target environment, they begin noticing activities. By using their knowledge about the OS and application(s) in the target environment, they begin to filter out legitimate activity, leaving only anomalous activity to investigate. One by one, as those activities are explained, all that remains, if anything, are attackers and their actions.

Suspicious activity During the hunt, the threat hunter observes data and filters out known legitimate activity. Anything that remains could be suspicious. For example, an organisation might utilise PowerShell as a part of its endpoint management tools. PowerShell is a command line shell and scripting language; you could liken it to the new and improved version of command line and batch files.

A threat hunter can use this knowledge to filter out all the organisation’s legitimate use cases for PowerShell. If any uses of PowerShell remain, they either belong to additional legitimate use cases, or attacks. Remember that threat hunts don’t always turn up activity indicating intrusion.

Deeper investigation Activities that remain unexplained are investigated further. The threat hunter may need to seek help from experts on the OS, applications, data flows, use cases or other aspects of the anomalous activity. Often, the hunter discovers previously unknown aspects of legitimate activities.

Sometimes the threat hunter discovers aspects of an environment that represent improper implementation of a system. For example, he/she might find persistent temp files containing credit card numbers, where the files were supposed to be encrypted but weren’t. This may have been considered an artefact of an attacker scraping credit card numbers out of an application.

This portion of the hunt chain is iterative; as threat hunters investigate anomalies, they filter out legitimate activities and then resume hunting for illegitimate activities.

When anomalous activity is observed and confirmed as an attack, the threat hunter continues to investigate to see where and how the attack originated and proceeded. This is essentially a root cause analysis which, depending on the attack, may narrow into an initial intrusion, but it may also branch out into an investigation into what could be a broader attack on more systems.

Remediate After the full extent of an attack is known, the threat hunter, often together with appropriate colleagues (system engineers, network engineers, security engineers, software developers, and maybe others), contributes to the remediation effort. The specific activities vary, depending on the nature of the attack, but the general principles are:

Remove malware and restore all altered and removed files to their original state Update configurations, permissions, and software versions to prevent a similar attack in the future Apply security patches to prevent similar attacks Update defences.

The organisation needs to update its defences so that similar attacks require greater effort. Updating includes automating systems to look for what you found. The range of activities may include:

  • New or updated firewall and IPS rules
  • New or updated alerts in a security incident and event management (SIEM) system
  • Improved incident response procedures
  • Updates to infrastructure, application, or security architecture
  • Changes in application development, testing, quality assurance (QA) or quality control (QC) tools, and processes
  • New alerting rules in endpoint detection and response tools.

The investment in threat hunting tools and personnel is mostly wasted if there isn’t a feedback loop incorporated that illuminates lessons learned and updates defences. A threat hunt can discover inside threats as well as outside attackers.

Threat hunt results will give the hunter a pool of ideas for future hunts. If you’re fishing in a pond and find a spot where fish are biting, you will be going back to that spot next time.

Article by Brett Williams, senior regional security engineer, Carbon Black.

Related stories
Top stories
Story image
APAC organisations fail to disclose ransomware breaches
85% of organisations in APAC were breached by ransomware at least once in the past five years, but only 28% publicly disclosed the incident.
Story image
Cybersecurity prompts upgrade for 1.3 billion electricity meters
ABI Research finds Advanced Metering Infrastructure (AMI) and cybersecurity concerns are prompting the upgrade of 1.3 billion electricity meters by 2027.
Story image
Trojan cyber attacks hitting SMBs harder than ever - Kaspersky
In 2022 the number of Trojan-PSW detections increased by almost a quarter compared to the same period in 2021 to reach 4,003,323.
Story image
Comcast to use ThreatQuotient for cybersecurity operations
Comcast, the parent company of NBC Universal and SKY Group, has chosen ThreatQ Platform and ThreatQ Investigations to meet their cybersecurity needs.
Story image
Infoblox's State of Security Report spotlights Australian remote work hazards
Attackers exploit weak WiFi, remote endpoints, and the cloud, costing 50% of organisations over $1.3 million in breach damages.
Story image
Cloud Security
Aqua Security createa unified scanner for cloud native security
“By integrating more cloud native scanning targets into Trivy, such as Kubernetes, we are simplifying cloud native security."
Story image
Let’s clear the cloud visibility haze with app awareness
Increasingly, organisations are heading for the cloud, initiating new born-in-the-cloud architectures and migrating existing applications via ‘lift and shift’ or refactoring.
Story image
BlackBerry offers Kaspersky replacement cybersecurity for the channel
BlackBerry advises that users of Kaspersky software in Australia and New Zealand undertake a rigorous risk analysis of their current security posture.
Story image
Remote Working
Australia’s remote workers face connectivity and security issues
SOTI's new report finds better video conferencing technology and improved security measures are top concerns for remote workers in Australia.
Story image
Sift shares crucial advice for preventing serious ATO breaches
Are you or your business struggling with Account Takeover Fraud (ATO)? One of the latest ebooks from Sift can provide readers with the tools and expertise to help launch them into the new era of account security.
Story image
Supply chain
Jetstack promotes better security with supply chain toolkit
The web-based resource is designed to help organisations evaluate and plan the crucial steps they need to establish effective software supply chain security.
Story image
A third of companies paying ransom don’t recover data - report
Veeam's report finds 76% of businesses who are victims of cyberattacks paid the ransom to recover data, but a third were still unable to get their information back.
Story image
Amazon Web Services / AWS
RedShield leverages AWS to scale cybersecurity services
"Working with AWS gives RedShield the ability to mitigate significant application layer DDoS attacks, helping leaders adopt best practices and security architectures."
Story image
Alarming surge in Conti Ransomware Group activity - report
A new report has identified a 7.6 per cent increase in the number of vulnerabilities tied to ransomware in Q1 2022.
Story image
Tech job moves - Forcepoint, Malwarebytes, SolarWinds & VMware
We round up all job appointments from May 13-20, 2022, in one place to keep you updated with the latest from across the tech industries.
Story image
Qualys updates Cloud Platform solution with rapid remediation
The new update is designed to enable organisations to fix asset misconfigurations, patch OS and third-party applications, and deploy custom software.
Story image
Silver Peak
The path to an adaptive, modern network
Managing and securing the network looks different than it did just two years ago—especially given that most of these networks are made up of multi-generations of infrastructure stitched together over time.
Story image
Artificial Intelligence
AI-based email security platform Abnormal Security valued at $4B
"A new breed of cybersecurity solutions that leverage AI is required to change the game and stop the rising threat of sophisticated and targeted email attacks."
Story image
More than 40% of banks worried about cloud security - report
Publicis Sapient's new report finds security and the lack of cloud skills and internal understanding of business benefits are big obstacles for banks moving to the cloud.
Story image
Remote Working
How zero trust and SD-WANs can support productive remote working
The way people connect with applications and data has changed, users are remotely accessing resources that could be stored anywhere from a corporate data center to the cloud.
Story image
Managed service providers: effective scoping to avoid costly vendor pitfalls
Managed security services are outsourced services focusing on the security and resilience of business networks.
Story image
Artificial Intelligence
Updates from Google Workspace set to ease hybrid working troubles
Google Workspace has announced a variety of new features which will utilise Google AI capabilities to help make hybrid working situations more efficient and effective.
Story image
Cybersecurity starts with education
In 2021, 80% of Australian organisations responding to the Sophos State of Ransomware study reported being hit by ransomware. 
Story image
Artificial Intelligence
How to ensure ethical deployment of AI implementations
The increase in automation and machine technology such as AI and machine learning has unlocked a whole new level of scale and service to organisations. 
Story image
Absolute Software expands Secure Access product offering
Absolute Software is enhancing its Secure Access product portfolio, enabling minimised risk exposure and optimised user experiences in the hybrid working environment.
Story image
Remote Working
Successful digital transformation in the hybrid work era is about embracing shifting goalposts
As organisations embraced remote working, many discovered they lacked the infrastructure needed to support history’s first global load test of remote work capabilities.
Story image
Google reveals new safety and security measures for users
Google's new measures include automatic two step verification, virtual cards and making it easier to remove contact information on Google Search results.
Story image
Hard numbers: Why ambiguity in cybersecurity no longer adds up
As cybersecurity costs and risks continue to escalate, CEOs continue to struggle with what their investment in cyber protection buys. Getting rid of ambiguity becomes necessary.
Story image
Tech job moves
Tech job moves - Datacom, Micro Focus, SnapLogic and VMware
We round up all job appointments from May 6-12, 2022, in one place to keep you updated with the latest from across the tech industries.
Story image
Data backup plans inadequate, data still at risk - study
The Apricorn 2022 Global IT Security Survey revealed that while the majority organisations have data backup plans in place, data for many are at risk.
Story image
Ivanti and Lookout bring zero trust security to hybrid work
Ivanti and Lookout have joined forces to help organisations accelerate cloud adoption and mature their zero trust security posture in the everywhere workplace.
Story image
KnowBe4 celebrates reaching 50,000 customers worldwide
KnowBe4 has reached the milestone of 50,000 customers, adding nearly 2,500 in the first quarter of 2022 alone.
Story image
New Relic
New Relic launches vulnerability management platform
New Relic has introduced New Relic Vulnerability Management to help organisations find and address security risks faster and with greater precision.
Story image
Workato unveils enhancements to enterprise automation platform
"The extra layer of protection with EKM, zero-logging, and hourly key rotation gives customers a lot more visibility and control over more sensitive data."
Story image
The most common online scams in Australia
No one is safe from online scammers, and many of these scammers have capitalised on the pandemic, using this confusing time to attack more people than ever.
Story image
Vectra AI
Understanding the weight on security leader’s shoulders, and how to shift it
Millions of dollars of government funding and internal budgets are being funnelled into cybersecurity to build resilience against sophisticated threats, indicating how serious this issue has become.
Story image
Application Security
What are the DDoS attack trend predictions for 2022?
Mitigation and recovery are vital to ensuring brand reputation remains solid in the face of a Distributed Denial of Service (DDoS) attack and that business growth and innovation can continue.
Story image
New vulnerabilities found in Nuspire’s Q1 2022 Threat Report
“Threat actors are quickly adjusting their tactics and these exploits tend to get industry attention, but the threat posed by older and attacks still persists."
Story image
A10 Networks finds over 15 million DDoS weapons in 2021
A10 Networks notes that in the 2H 2021 reporting period, its security research team tracked more than 15.4 million Distributed Denial-of-Service (DDoS) weapons.
Story image
Data Protection
Barracuda launches new capabilities for API Protection
"Every business needs this type of critical protection against API vulnerabilities and automated bot attacks," Barracuda says.
Story image
Customer experience
Gartner recognises Okta for abilities in Access Management
Okta has announced it has been recognised as a Customers' Choice for the fourth time in a row in the Gartner Peer Insights "Voice of the Customer" report.
Story image
9/10 Aussies to stop spending if personal data compromised
"Based on the patterns we are seeing among Australian consumers, it is evident that trust in a brand is exceptionally important."
Story image
The 'A-B-C' of effective application security
Software applications have been a key tool for businesses for decades, but the way they are designed and operated has changed during the past few years.
Story image
Nozomi Networks
Nozomi Networks, Siemens reveal software integration
Nozomi Networks and Siemens have extended their partnership by embedding Nozomi Networks’ software into the Siemens Scalance LPE local processing engine.