Hacking Articles Tips Tricks Videos Tutorials
470 subscribers
66K photos
15 videos
157 files
132K links
Exploit
Pentesting
Hacking
Red Team
Blue Team
Kali Linux
Bug Bounty
Black Hat
Cyber security etc

@Hacking_Video
@Hacking_attack
Download Telegram
hacking: security in practice
Closed-source C++ DLL read buffer value when exported function is called by application

Hi there,

I trying to reverse engineer a DLL which is closed source. Out of the about 150 exported functions of this C++ DLL I was able to reverse engiener the header. I am now stuck on one function called: VNL_SetBridgeState(byte* buffer, uint bufferLen). I know the first parameter is a pointer to an byte array with a length of 0x855c. Unfortunatly I currently dont know the exact data set in the buffer (first parameter).

This DLL is also within the application, so I tried debugging the application using Ghidra and Cutter. But without any luck (breakpoints are not triggered for some reason). Now my idea is that I could try to 'override' the exported function and log the data in the buffer (to registry or some file on the disk). So this means I somehow need to override this function.

After some research I found out that this shouls be possible somehow with DLL injection or function hot patching.

Any ideas how I can read the paramter passed to this function for the application?

submitted by /u/Stogoh
[link] [comments]

___________________________
@hacking_Attack
@Hacking_Video
Enterprise: Active Directory Room From TryHackMe

You just landed in an internal network. You scan the network and there’s only the Domain Controller…Continue reading on InfoSec Write-ups »
Read more...