Raised This Month: $51 Target: $400
 12% 

LoadFromAddress and StoreToAddress


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SigScanner
New Member
Join Date: Sep 2018
Old 09-09-2018 , 07:59   LoadFromAddress and StoreToAddress
Reply With Quote #1

Why SourceMod have functions like StoreToAddress? Is default function set is not enough? Allowing people write anywhere like placing shellcodes and executing them is bad idea. I think it's huge security hole
SigScanner is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 09-09-2018 , 09:42   Re: LoadFromAddress and StoreToAddress
Reply With Quote #2

They're sometimes used to bytepatch functions to modify the game behaviour, so they do have a real use-case in the context of being able to write in executable sections. I do think you are right about the risk of people using it for writing malicious code though.

Last edited by hmmmmm; 09-09-2018 at 09:43.
hmmmmm is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 09-09-2018 , 09:50   Re: LoadFromAddress and StoreToAddress
Reply With Quote #3

We already can load DLLs (extensions) which potentially could do much more harm if misued (just use __asm or memcpy/memset and you get same behavior too!), and besides that, SourceMod license requires you to provide source code along with .smx, same goes for extensions.
Its like calling windows 10's ability to run executables a security hole.

Just don't run shady plugins without .sp or extensions without source code the same way you wouldn't run unknown .exe files on your pc. And besides those would be violating SM License.
__________________
...

Last edited by Oshizu; 09-09-2018 at 09:54.
Oshizu is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode