Created the Tuesday 13 October 2020. Updated 4 months, 2 weeks ago.
Edit controls, including Rich Edit controls, are a common type of Windows control found in many applications. They can be embedded directly in the application or as subclassed windows.
When these controls display text in multiline mode, they use a callback function called
EditWordBreakProc. This function is called every time the control needs to do something related to word wrapping.
Additionally, when a Rich Edit control receives the
EM_STREAMIN message, it uses the information provided in an
EDITSTREAM structure to transfer data into or out of the control. The
pfnCallback field of this structure can be used to point to a payload in memory, allowing for the injection of malicious code.
The resources provided below are associated links that will give you even more detailed information and research on current evasion technique. It is important to note that, while these resources may be helpful, it is important to exercise caution when following external links. As always, be careful when clicking on links from unknown sources, as they may lead to malicious content.