Spaeshill is a downloader that has been used in various targeted attacks. In this blogpost, we will discuss its network activity and how to detect it using RSA Security Analytics.
When it infects a system, Spaeshill starts collecting the following about the victim machine:
Operating system information
The collected information is sent to the C2 server as follows:
Spaeshill parses the response looking for the name of the executable to download from the server. That is the value between the two # in the EXE field of response body. If it is empty as in the screenshot above, Spaeshill will keep sending the same GET request with the collected system information. The directory name varies from one Spaeshill variant to another:
However, if the server responds with an executable name:
Then Spaeshill will use that name to download an executable from the server as follows:
Once the download is complete, the new executable will be launched.
Assuming the appropriate meta keys are enabled, the following query can be used to detect Spaeshill network activity: