Hacker News new | ask | show | jobs
by pedrosousa 6 days ago
how to protect against something like this?
1 comments

1. restrict outbound connections by binary.

2. restrict outbound connections to known malicious IPs or domains.

3. run untrusted code/apps:

   - under a different user
   - or inside a sandbox
   - or in a VM
4. remove exec permissions to temporary directories (/tmp, /var/tmp, /dev/shm)