Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by PVOID pQuery Context
9.2 运用API实现线程同步-阿里云开发者社区
2023-10-02 5 简介: Windows 线程同步是指多个线程一同访问共享资源时,为了避免资源的并发访问导致数据的不一致或程序崩溃等问题,需要对线程的访问进行协同和控制,以保证程序的正确性和稳定性。Windows提供了多种线程同步机制,以适应不同的并发编程场景。以上同步机制各有优缺点和适用场景,开发者应根据具体应用场景进行选择和使用。在线程同步的实现过程中,需要注意竞争条件和死锁的处理,以确保程序中的线程能协同工作,共享资源能够正确访问和修改。线程同步是并发编程中的重要基础,对于开发高效、稳定的并发应用至关重要。 Windows 线程同步是指多个线程一同访问共享资源时,为了避免资源的并发访问导致数据的不一致或程序崩溃等问题,需要对线程的访问进行协同和控制,以保证程序的正确性和稳定性。Windows提供了多种线程同步机制,以适应不同的并发编程场景。主要包括以下几种: 事件(Event):用于不同线程间的信号通知。包括单次通知事件和重复通知事件两种类型。 互斥量(Mutex):用于控制对共享资源的访问,具有独占性,可避免线程之间对共享资源的非法访问。...
玄 - 利用DLL通知回调函数注入shellcode(上)
序 偶然看到某国外大佬发布新技术-“Threadless”进程注入技术,据说可过EDR(确实可),总结该技术原理 - 在远程目标进程中利用DLL通知回调机制执行shellcode,项目地址在这里。 传统进程注入四步法: 获取远程进程句柄(OpenProcess函数) 在远程进程中分配内存(VirtualAllocEx函数) 将shellcode复制到远程进程中新分配的内存页中(WriteProcessMemory函数) 在远程进程中创建线程执行shellcode(CreateRemoteThread函数) 杀毒软件和EDR产品已经学会通过快速查找这四步操作来概括并检测进程注入。 针对第四步执行shellcode方式,@CCob与@Kudaes相继提出新加载技术 - ThreadlessInject。原理上基本一致,Hook并修改远程进程中线程创建与销毁过程中DLL加载的入口点,进而加载我们的shellcode。下面我们逐步剖析学习一下该技术手段。 什么是DLL Notification Callbacks? 在 Windows 操作系统中,当一个...
Proxying DLL Loads For Hiding ETWTI Stack Tracing
Posted on 26 Jan 2023 by Paranoid Ninja Been a while since I actually wrote any blog on Dark Vortex (not counting the Brute Ratel ones, just raw research), thus I decided to add the post here. This blog provides a high level overview on stack tracing, how EDR/AVs use it for detections, the usage of ETWTI telemetry and what can be done to evade it.
Web-Controlling a Win32 App using WebSockets
Code: https://github.com/WindowsNT/WebsocketControl Introduction Now that web applications are prevalent, it would seem very useful to be able to remotely control your Win32 application via a HTML application. Background When I visualized my now full-featured video and audio sequencer, Turbo Play, back in 2010, little was going over the remote control via a mobile device of a Windows app. Now this is a standard feature found in many audio and video related applications.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with PVOID pQuery
Contact PVOID pQuery, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack