Simple OSX Malware Continued!
// February 1st, 2012 // No Comments » // Bash, C, OSX, PHP
So to go slightly deeper into OSX malware, let’s see if we can compile a custom binary and drop it into a pre-existing package…
I’m going to be compiling a simple IRC bot, you’ll see the random nick generation etc has been omitted however this could easily be modified in a real world scenario to perform pretty much anything you’d like it to. At the moment it will allow you to log in and op yourself on a channel.
Code below.
