Sec Note – Telegram
Sec Note
1.36K subscribers
83 photos
5 videos
31 files
155 links
Download Telegram
ByTe [ ]f Digital Life
Удаляем драйвер через smss.exe Кто-то меня спрашивал как удалить драйвер AV/EDR, потому что службу мы уже смогли и перезаписать и удалить, а с драйвером так сделать было невозможно. В общем я что то потыкал и удалил драйвер с перезагрузкой хоста. Открываем:…
Removing the driver via smss.exe

Someone asked me how to remove the AV/EDR driver because we were able to overwrite and delete the service, but the driver was impossible.

So, I tried some things and removed the driver by rebooting the host.

Open:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
And in the ExistingPageFiles parameter, enter the path to the AV/EDR driver (the beginning of the path is \??\C:\ or another disk label). Then reboot the machine and reap the benefits if smss.exe can gain uninstall permissions. For this reason, the effectiveness of this technique depends heavily on the architecture of the solution we're trying to remove.

Works on both Windows 10 and 11.
🔥4👾2
Forwarded from road to OSCP
[ Living Off the Land: Windows Post-Exploitation Without Tools ]

Blog about post-exploitation using only built-in, signed Microsoft tools (PowerShell, WMI, certutil, bitsadmin, and more), without uploading any custom binaries or dropping suspicious artifacts.

https://xbz0n.sh/blog/living-off-the-land-windows

(note from admin: don't forget that PS/WMIC and other things that are described in this article will also be detected)
1👾8🔥1
Forwarded from Source Byte
K7 Antivirus: Named pipe abuse, registry manipulation and privilege escalation

https://blog.quarkslab.com/k7-antivirus-named-pipe-abuse-registry-manipulation-and-privilege-escalation.html

#CVE-2024-36424
🔥5
Forwarded from Offensive-SEC
Trainsec - MAoS – Malware Analysis on Steroids Bundle

🔗 Download

Info : https://trainsec.net/courses/maos-malware-analysis-on-steroids-bundle/

@offenciveSec
👍8
CLR Unhooking Tool
Note: For this to have the effect of a clean CLR, you’d need to manually map the DLL from disk into memory. You cannot use LoadLibraryA/W, because antivirus solutions will detect the DLL load event and may hook it immediately. If you want this behavior, you can look up existing manual mappers on GitHub and integrate one into your codebase. I’m not including one here, as AV vendors generally don’t appreciate that
A native C++ utility that bypasses EDR/AV hooks in the .NET Common Language Runtime by restoring the original nLoadImage function implementation.

Matthew Graeber (@mattifestation) - Reverse engineering InternalCall methods and CLR internals


#clr #bypass #rev
👾3🕊1
LazyHook is a stealthy API hooking framework that bypasses Host Intrusion Prevention Systems (HIPS) through call stack spoofing. By leveraging CPU-level hardware breakpoints and Vectored Exception Handling, it executes arbitrary code as if it originated from trusted, Microsoft-signed modules—completely fooling behavioral analysis engines that rely on call stack inspection and module origin verification.

Evade behavioral analysis by executing malicious code within trusted Microsoft call stacks
Uses hardware breakpoints + VEH to hijack legitimate functions and spoof module origins

│ 1. Target Function Call
│ ↓
│ 2. CPU Debug Register Triggers (DR0-DR3) │
│ ↓
│ 3. EXCEPTION_SINGLE_STEP Raised │
│ ↓
│ 4. VEH Handler Intercepts Exception │
│ ↓
│ 5. Execution Redirected to Hook Function │
│ ↓
│ 6. CallOriginal() Temporarily Disables Breakpoint
│ ↓
│ 7. Original Function Executes │
│ ↓
│ 8. Breakpoint Re-enabled


#callstackspoofing #edr
👾5