abdullah2993 / go-runpe Goto Github PK
View Code? Open in Web Editor NEWexecute a PE in the address space of another PE aka process hollowing
License: MIT License
execute a PE in the address space of another PE aka process hollowing
License: MIT License
I checked out the project, and run it. There appears no error in the output, but also no notepad.exe.
C:\Repositories\go-runpe>go run cmd\exec\main.go
Creating process: C:\Windows\System32\calc.exe
Process created. Process: 364, Thread: 352
Getting thread context of 352
GetThreadContext[352]: [1] The operation completed successfully.
Address to PEB[Rdx]: a37a82f000
ReadProcessMemory[364 : a37a82f010]: [1] The operation completed successfully.
ReadProcessMemoryAsAddr[364 : a37a82f010]: [7ff771710000] <nil>
Base Address of Source Image from PEB[ImageBaseAddress]: 7ff771710000
Reading destination PE
Getting OptionalHeader of destination PE
ImageBase of destination PE[OptionalHeader.ImageBase]: 140000000
Unmapping view of section 7ff771710000
NtUnmapViewOfSection[364 : 7ff771710000]: [0] The operation completed successfully.
Allocating memory in process at 7ff771710000 (size: 233472)
VirtualAllocEx[364 : 7ff771710000]: [140700736880640] The operation completed successfully.
New base address 7ff771710000
Writing PE to memory in process at 7ff771710000 (size: 1024)
WriteProcessMemory[364 : 7ff771710000]: [1] The operation completed successfully.
Writing section[.text] to memory at 7ff771711000 (size: 155136)
WriteProcessMemory[364 : 7ff771711000]: [1] The operation completed successfully.
Writing section[.rdata] to memory at 7ff771737000 (size: 39424)
WriteProcessMemory[364 : 7ff771737000]: [1] The operation completed successfully.
Writing section[.data] to memory at 7ff771741000 (size: 3584)
WriteProcessMemory[364 : 7ff771741000]: [1] The operation completed successfully.
Writing section[.pdata] to memory at 7ff771744000 (size: 4608)
WriteProcessMemory[364 : 7ff771744000]: [1] The operation completed successfully.
Writing section[.didat] to memory at 7ff771746000 (size: 512)
WriteProcessMemory[364 : 7ff771746000]: [1] The operation completed successfully.
Writing section[.rsrc] to memory at 7ff771747000 (size: 3072)
WriteProcessMemory[364 : 7ff771747000]: [1] The operation completed successfully.
Writing section[.reloc] to memory at 7ff771748000 (size: 1024)
WriteProcessMemory[364 : 7ff771748000]: [1] The operation completed successfully.
Calcuating relocation delta
Relocation delta: -140695368171520
Writing new ImageBase to Rdx 7ff771710000
WriteProcessMemory[364 : a37a82f010]: [1] The operation completed successfully.
Setting new entrypoint to Rcx 7ff771735410
Setting thread context 352
SetThreadContext[352]: [1] The operation completed successfully.
Resuming thread 352
ResumeThread[352]: [1] The operation completed successfully.
C:\Repositories\go-runpe>
Relocation delta: -140695368171520
looks a it weird though.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.