Modified version of https://github.com/jaimeblasco/AlienvaultLabs/blob/master/yarad