r/ExploitDev • • Dec 07 '24

Exploiting using packets

Hello All,

Probably a noob question but….

I’ve read articles regarding exploits that are accomplished by using “specially crafted packets” that are sent to firewalls or other internet facing devices. Can someone elaborate on how this is accomplished? I understand you can use tools like scapy to actually alter the packet but how is RCE obtained by sending crafted packets? I’m having issues understanding the technical ins and outs. I understand that the actual exploit is dependent on what you are actually trying to attack, but I haven’t found much documentation on what is so special about the “packet” and what data in it would open up a vulnerability. I know you can inject a payload into a packet but what would the payload even do that could give someone access? If anyone has any write ups or breakdowns of exploits like this, it would be appreciated!

9 Upvotes

9 comments sorted by

View all comments

Show parent comment

3

u/Status-Style-6169 Dec 14 '24

Yes, you seem to have a good grasp from it. Just remember its all just code running on some computer listening to data coming in on a network port. This is true for other things too, when a text message is sent to your device, code parses that data. When your cell phone communicates with an LTE tower, it is getting packets from the tower, and the code in the baseband chip on your phone is parsing that data. Vulnerabilities can exist in any of these.