<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>AMP — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/amp/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata — refreshed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 03 Jan 2024 15:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/amp/feed.xml" rel="self" type="application/rss+xml"/><item><title>Suspicious Process Access via Direct System Call</title><link>https://feed.craftedsignal.io/briefs/2024-01-direct-syscall-process-access/</link><pubDate>Wed, 03 Jan 2024 15:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-direct-syscall-process-access/</guid><description>Detects suspicious process access events where the call trace does not originate from known Windows system DLLs, indicating potential defense evasion by bypassing hooked APIs via direct syscalls.</description><content:encoded><![CDATA[<p>This detection identifies suspicious process access events on Windows systems where a process attempts to access another process&rsquo;s memory via direct system calls, bypassing standard Windows API calls. Endpoint security solutions often hook userland Windows APIs to detect malicious code execution. Attackers can evade these hooks by directly invoking syscalls, which are lower-level instructions that interact directly with the operating system kernel. The rule specifically looks for process access events (Sysmon Event ID 10) where the call trace does not originate from known Windows system DLLs like ntdll.dll, indicating a potential attempt to bypass security measures. The rule excludes certain legitimate applications, such as Malwarebytes Anti-Exploit, Cisco AMP, Microsoft EdgeWebView, and Adobe Acrobat DC, to reduce false positives. This technique is often employed by advanced malware and red teams to evade detection.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>A malicious process is executed on the system, either through user interaction or exploitation of a vulnerability.</li>
<li>The process attempts to gain access to another process&rsquo;s memory space (Target Process).</li>
<li>Instead of using standard Windows API calls, the malicious process directly invokes system calls (syscalls) to access the target process&rsquo;s memory.</li>
<li>The <code>CallTrace</code> in the Sysmon event does not originate from expected system DLLs like <code>ntdll.dll</code>, <code>sysfer.dll</code>, <code>wow64cpu.dll</code>, <code>wow64win.dll</code>, or <code>win32u.dll</code>, indicating a direct syscall.</li>
<li>The process might attempt to read sensitive information such as credentials, inject malicious code, or manipulate the target process&rsquo;s behavior.</li>
<li>The malicious process performs actions within the context of the target process, such as executing injected code or accessing sensitive data.</li>
<li>The attacker leverages the compromised process to achieve their objectives, such as data exfiltration, lateral movement, or privilege escalation.</li>
<li>The attacker cleans up any traces of their activity and attempts to maintain persistence on the compromised system.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation can lead to the compromise of sensitive data, the injection of malicious code into legitimate processes, and the complete takeover of the affected system. This can result in data breaches, financial loss, and reputational damage. The impact is especially significant if the target process holds sensitive credentials, browser secrets, or has security-product context.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable Sysmon process access logging (Event ID 10) with call tracing and ingest the logs into your SIEM to activate the rules above (<a href="https://ela.st/sysmon-event-10-setup">https://ela.st/sysmon-event-10-setup</a>).</li>
<li>Deploy the Sigma rules provided in this brief to your SIEM and tune them for your environment to detect direct syscall process access.</li>
<li>Investigate any alerts generated by these rules, focusing on the <code>SourceImage</code>, <code>TargetImage</code>, <code>GrantedAccess</code>, and <code>CallTrace</code> fields in the Sysmon event to determine the legitimacy of the process access attempt.</li>
<li>Prioritize investigation of alerts where the target process is <code>lsass.exe</code> or other security-sensitive processes.</li>
<li>Implement robust endpoint detection and response (EDR) solutions to detect and prevent malicious activity on endpoints.</li>
<li>Monitor for suspicious process creation events originating from the flagged processes.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>defense-evasion</category><category>execution</category><category>windows</category></item></channel></rss>