The short story of this is: - Gain access to the database itself - And the Postgres database should be vulnerable to various remote code execution - Once they're able to execute code remotely, they then download an image which has binary data tacked onto it - They then parse out the executable part of the image using dd - Then they're able to execute and mine away While an interesting read the shortest takeaway is: 1…
3. Don't let your DB engine execute random executable like wget/dd (Apparmor/SELinux) 4. Don't let your DB host make outbound connections (iptables/ip6tables)
Which can also be prevented with SELinux