Temporary Advertisements:
Ad
Ad
Ad
[BlackLotus] Bypassing AV & EDR: Sleep Obfuscation + API Unhooking
by BlackLotus - Wednesday March 26, 2025 at 01:25 AM
#1
Yo ghost hackers, BlackLotus here. Just joined the forum and wanted to share a technique I’ve been studying and testing lately to bypass modern AVs and EDRs: Sleep Obfuscation combined with API Unhooking. I’ve validated it against Windows Defender and CrowdStrike, and I’d love to get your feedback.

? Sleep Obfuscation

AVs monitor the Sleep() API to detect suspicious behavior, so we can swap it out with less suspicious alternatives like NtDelayExecution or system timers (SetTimer). This helps evade sandboxes that analyze executable behavior.

? API Unhooking

EDRs hook critical functions like WriteProcessMemory and CreateProcess to spot malware. To bypass this, here’s what I did:
1️⃣ Load a clean copy of ntdll.dll into memory.
2️⃣ Extract the original addresses of the targeted APIs.
3️⃣ Replace the hooked versions with the clean ones pulled straight from ntdll.

? Results

I tested this technique with a payload using process hollowing, and it flew under the radar of both Windows Defender and CrowdStrike. I haven’t tested it on more advanced EDRs like SentinelOne yet, but I think it could work with some tweaks.

? Next Steps

I’m planning to test this on SentinelOne and other advanced EDRs, and maybe add techniques like direct syscalls or ETW patching for even stealthier evasion. If you’ve got tips for those tests, I’m all ears!

What do you guys think? Have you used similar techniques to bypass AVs/EDRs? Got any tips for dealing with EDRs like SentinelOne or Carbon Black?
Reply
#2
cool thank you for this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Radware's DDoS Handbook - The Ultimate Guide to Everything You Need to Know about nitrogen 104 9,613 15 minutes ago
Last Post: dwr343f
  Forums and Telegrams channels Databases leak sites j4c1nt0 3,266 238,428 18 minutes ago
Last Post: dwr343f
  Full Piracy Guide - Find anything and everything fair 295 21,633 4 hours ago
Last Post: marloveo
  Google Dorking - Advanced Guide pokerface 830 64,083 9 hours ago
Last Post: aha2
  ⭐ ULTIMATE OPSEC GUIDE USED BY ISRAELI & CHINESE HACKER ⭐ Jimbo 3,624 237,363 Yesterday, 09:03 PM
Last Post: Falcon5432

Forum Jump:


 Users browsing this forum: 1 Guest(s)