Blackhat SEO is a malicious technique used to manipulate the search engine results in order to benefit a website in terms of relevance. The payload is PHP based, thus intended for server-side use and the payload is executed directly on the server, while the site is loaded. Only the payload result (such as malicious iframe, or redirect) is visible in the browser, not the malicious code itself.Spam-seo injectors are pieces of PHP code, usually appended to the end of the theme's header and footer files, which actively downloads spam content from other compromised sites to insert into the victim site. They use obfuscation and encoding techniques to prevent to be detected by regular users or automated tools.

Affecting

Any vulnerable Joomla based website. Outdated software or compromised passwords can act as an infection vector.

Cleanup

Inspect your site's files, specially theme related, to find for code you don't recognize. Look for any encoded or obfuscated PHP code. Also, you can contact Sucuri to help you with the infection removal.