Malware Analyst's Cookbook and DVD by Michael Ligh & Steven Adair & Blake Hartstein & Matthew Richard
Author:Michael Ligh & Steven Adair & Blake Hartstein & Matthew Richard
Language: eng
Format: epub, mobi
Publisher: Wiley Publishing, Inc.
Published: 2010-09-28T04:00:00+00:00
HANDLE hDupHandle;
BOOL bStatus = FALSE;
HANDLE hProc = OpenProcess(PROCESS_DUP_HANDLE, FALSE, dwPid);
if (hProc != NULL) {
if (DuplicateHandle(hProc,
(HANDLE)dwHval,
GetCurrentProcess(),
&hDupHandle,
0, FALSE,
DUPLICATE_SAME_ACCESS|DUPLICATE_CLOSE_SOURCE))
{
if (CloseHandle(hDupHandle)) {
bStatus = TRUE;
}
}
CloseHandle(hProc);
}
if (bStatus) {
_tprintf(_T("Cannot close the remote handle!\n"));
} else {
_tprintf(_T("Remote handle close succeeded!\n"));
}
return 0;
}
To use the program, you pass it the PID of the owning process (1592 for Explorer in this case) and the handle value for the object you want to access. The following commands show how it closes Explorer’s handle to toli.exe, which then allows you to copy it and/or delete it.
F:\>closehandle.exe 1592 0x204
Remote handle close succeeded!
Download
Malware Analyst's Cookbook and DVD by Michael Ligh & Steven Adair & Blake Hartstein & Matthew Richard.mobi
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Effective Threat Investigation for SOC Analysts by Yahia Mostafa;(6620)
Practical Memory Forensics by Svetlana Ostrovskaya & Oleg Skulkin(6344)
Machine Learning Security Principles by John Paul Mueller(6310)
Attacking and Exploiting Modern Web Applications by Simone Onofri & Donato Onofri(5985)
Operationalizing Threat Intelligence by Kyle Wilhoit & Joseph Opacki(5944)
Solidity Programming Essentials by Ritesh Modi(4061)
Microsoft 365 Security, Compliance, and Identity Administration by Peter Rising(3703)
Operationalizing Threat Intelligence by Joseph Opacki Kyle Wilhoit(3431)
Mastering Python for Networking and Security by José Manuel Ortega(3359)
Future Crimes by Marc Goodman(3351)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3337)
Blockchain Basics by Daniel Drescher(3308)
Learn Computer Forensics - Second Edition by William Oettinger(3190)
Incident Response with Threat Intelligence by Roberto Martínez(2919)
Mobile App Reverse Engineering by Abhinav Mishra(2889)
Mastering Bitcoin: Programming the Open Blockchain by Andreas M. Antonopoulos(2873)
The Code Book by Simon Singh(2832)
Building a Next-Gen SOC with IBM QRadar: Accelerate your security operations and detect cyber threats effectively by Ashish M Kothekar(2801)
From CIA to APT: An Introduction to Cyber Security by Edward G. Amoroso & Matthew E. Amoroso(2785)
