Skip to content

How was created the payload? #11

@yepgogogo

Description

@yepgogogo

I created an X86 payload executable using Visual Studio 2022 (v143) with CFG disabled, targeting C:\Windows\SysWOW64\mstsc.exe. The prompt shows [+] Done!, but no popup appears. However, when I use your demo.bin file, it works. Why is that?

my payload code:

#pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"")
//

#include <windows.h>
#include <fstream>
#include "resource.h"
#include <iostream>


int main()
{
	MessageBoxA(NULL,"1","1",1);
	return 0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions