Eskenzi PR ad banner Eskenzi PR ad banner
  • About Us
Wednesday, 3 June, 2026
IT Security Guru
Eskenzi PR banner
  • Home
  • Features
  • Insight
  • Channel News
  • Events
    • Most Inspiring Women in Cyber 2026
  • Topics
    • Cloud Security
    • Cyber Crime
    • Cyber Warfare
    • Data Protection
    • DDoS
    • Hacking
    • Malware, Phishing and Ransomware
    • Mobile Security
    • Network Security
    • Regulation
    • Skills Gap
    • The Internet of Things
    • Threat Detection
    • AI and Machine Learning
    • Industrial Internet of Things
  • Multimedia
  • Product Reviews
  • About Us
No Result
View All Result
  • Home
  • Features
  • Insight
  • Channel News
  • Events
    • Most Inspiring Women in Cyber 2026
  • Topics
    • Cloud Security
    • Cyber Crime
    • Cyber Warfare
    • Data Protection
    • DDoS
    • Hacking
    • Malware, Phishing and Ransomware
    • Mobile Security
    • Network Security
    • Regulation
    • Skills Gap
    • The Internet of Things
    • Threat Detection
    • AI and Machine Learning
    • Industrial Internet of Things
  • Multimedia
  • Product Reviews
  • About Us
No Result
View All Result
IT Security Guru
No Result
View All Result

Utilising Threat Hunting techniques to detect and defend against malware attacks

by The Gurus
September 21, 2017
in This Week's Gurus
Threat Detection
Share on FacebookShare on Twitter

Since the outbreak of Petya, there have been many articles analysing and dissecting the malware, to determine its purpose, and who is ultimately responsible. Reverse engineering and malware analysis to conduct post incident analysis has provided the basis for the conclusions drawn in these features. Instead, Anomali, in collaboration with threat hunting experts Vector8, viewed the Petya outbreak differently by leveraging threat hunting techniques.
 
A Microsoft Windows Sysinternals tool called Sysmon was used as a data source for analysis. Sysmon acts to link all observable activity on that system back to the responsible processes, making it an authoritative source of what’s happening on a computer. This means that conventional follow-on data collection to obtain such details is no longer required, which is beneficial for real-time threat hunting as well as forensic analysis.
 
The analysis of Petya was limited only by speed of thought, not tooling or data gaps as Sysmon events were sent to an aggregation point for further querying and historical analysis. In this case, the aggregation point is Elastic’s open source “Elastic Stack,” which consists of a Logstash aggregator, Elasticsearch cluster backend, and Kibana web user interface frontend.
 
The test environment consisted of:

  • Windows 10 install on a Virtual Machine, preloaded with Sysmon v6, a custom configuration, and
  • A logger that feeds events to Vector8’s analysis platform (Sysmon + Elastic Stack).

 
A confirmed sample of the Petya malware was then copied to the machine and the malicious DLL via rundll32.exe was manually run on the command line with the flag “#1” to activate the malware.
The events below were recorded by Sysmon and forwarded to the Vector8 cloud platform for analysis. This details how the malware behaves and provides insights into how to detect or prevent similar malware from executing in the future.
 

  1. Firstly, Rundll32.exe (the parent process) writes a copy of the DLL to ‘C:\Windows\’. This activity is unusual, but not necessarily malicious on its own.

 

  1. exe then accesses raw disk several times, presumably to modify the MBR. Accessing raw disk is abnormal, as it bypasses the filesystem structure to access the disk sectors directly. This level of disk access is not normal operations and is very suspicious, especially by Rundll32.

 

  1. exe schedules a task to force reboot of the system 60 minutes from time of execution. Rundll32 creating a scheduled task is a suspicious pattern that should trigger a hunter to investigate.

 

  1. exe writes a .tmp file in the user’s Local\Temp directory. Temp files created in this directory would not normally cause alarm, unless linked to another more suspicious event.

 

  1. exe kicks off the .tmp file it wrote earlier and directs it to a named pipe. As referenced above, since this .tmp file is now communicating with another process over a named pipe, a hunter would want to investigate the .tmp file as this is unusual behaviour as well.

 

  1. exe writes a file called dllhost.dat to C:\Windows\, which is a very suspicious event as data files are not normally written to that directory.

 

  1. The tmp file accesses another running process, lsass.exe. This event could be a solid candidate for a hunting trigger as it could be indicative of credential harvesting or some other abuse of Windows’ security authority service (lsass.exe). It is not unusual for lsass.exe to be accessed, but a .tmp file doing so is highly unusual.

 
Crucial insights into the behaviours this malware exhibits can be gleaned from the results this type of analysis provides. These behaviours can then be examined and turned into defensive measures such as hunting triggers or even preventative measures through endpoint tools, network tools, or system policies.
 
For this example, there are a number of behaviour patterns we can act as markers for suspicious behaviour:

  • Process writes a .tmp file, and that .tmp file is later run as a process
  • A .tmp file accesses lsass.exe
  • A schtasks.exe process command line includes the “shutdown” switch
  • Rundll32.exe writes files
  • The string “pipe” is found in a process’ command line
  • A .dat file is written to c:\windows\
  • Raw access reads to DR0 volume

 
It is important to note that these patterns are all based on endpoint process metadata, like Sysmon output. In addition, the fidelity of each of these patterns depends on what is normal in your environment.
 
Threat hunting can be used as a powerful tool not only to detect malicious behaviour missed by other security measures, but also drive a deeper understanding of how malicious software, actor tools, and behaviours work. Threat intelligence is also a valuable weapon when combined with retrospective analysis, allowing the hunter to uncover previously unknown indicators in historical data. Only with detailed and complete knowledge can an intelligent strategy be implemented to proactively detect, respond or prevent attacks.
By Justin Swisher, Threat Analyst at Anomali and Kris Merritt, Co-Founder at Vector 8

Tags: CybersecurityTechnology
ShareTweet
Previous Post

Next-Gen Cloud Sandboxing Improves Malware Detection and Remediation

Next Post

Iranian hacking group APT33 creators of destructive malware

Recent News

Nagomi Control Brings CTEM Into Action

IT Security Guru picks for Infosecurity Europe 2026

June 1, 2026
Nine in Ten Security Leaders Concerned About AI-Generated Code Risks as Salt Security Launches New Governance Tool

Nine in Ten Security Leaders Concerned About AI-Generated Code Risks as Salt Security Launches New Governance Tool

June 1, 2026
Acumen Cyber and AttackIQ Partner to Strengthen Cyber Defense Validation

Acumen Cyber and AttackIQ Partner to Strengthen Cyber Defense Validation

May 29, 2026
Check Point Launches AI Agents That Think Like Attackers as Autonomous Exploitation Reaches Critical Threat Level

Check Point Launches AI Agents That Think Like Attackers as Autonomous Exploitation Reaches Critical Threat Level

May 28, 2026

The IT Security Guru offers a daily news digest of all the best breaking IT security news stories first thing in the morning! Rather than you having to trawl through all the news feeds to find out what’s cooking, you can quickly get everything you need from this site!

Our Address: 10 London Mews, London, W2 1HY

Follow Us

© 2015 - 2024 IT Security Guru - Website Managed by Dessol

  • About Us
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}
No Result
View All Result
  • Home
  • Features
  • Insight
  • Channel News
  • Events
    • Most Inspiring Women in Cyber 2026
  • Topics
    • Cloud Security
    • Cyber Crime
    • Cyber Warfare
    • Data Protection
    • DDoS
    • Hacking
    • Malware, Phishing and Ransomware
    • Mobile Security
    • Network Security
    • Regulation
    • Skills Gap
    • The Internet of Things
    • Threat Detection
    • AI and Machine Learning
    • Industrial Internet of Things
  • Multimedia
  • Product Reviews
  • About Us

© 2015 - 2024 IT Security Guru - Website Managed by Dessol