News for hackers. Stuff that matters.
Re:You can't copy code with memcpy by mox1 on Wednesday December 29, 2021 @08:54PM (#29732603)
Uhh yea, this is Running shellcode 101, works very well. My Red Team stuff at work all starts with a simple loader like this (with some encryption / obfuscation sprinkled in).

When I was first shown this I was like 'What non virus use case does this have!?!?'

Re:You can't copy code with memcpy by ssklash on Wednesday December 29, 2021 @10:38PM (#29733273)
Red teamer here too, and this was my exact thought. There's lots of legit uses for DLL injection, but straight up shellcode injection? Shady as hell. So of course it was an AV vendor...
Re:You can't copy code with memcpy by tptacek on Wednesday December 29, 2021 @08:54PM (#29732604)
Instrumenting and debugging live processes is the big one.
Re:You can't copy code with memcpy by dotancohen on Thursday December 30, 2021 @01:40AM (#29734276)
Which is not an end-user advantage but rather a tool to better understand end-user software - equally useful for improving said software or attacking it. Assuming GP meant "virus" as in "malware" then actually this supports his point.