Original Issue Date:-
December 04, 2018
A targeted attack campaign is reported using compromised sites and crafted documents to infect victim machines with a remote Administrator Tool called DNSpionage. The RAT is capable of building connection to C2 through DNS tunnelling so that it remain undetected in victim machine for long time by avoiding proxies or web filtering. The malware build connection to C2 by generating the request in the below mentioned form i.e. random no[.]0ffice36o[.]com where it contains random no, ID of victim.
- The malware creates different folder which contains its own data in the location of %UserProfile%\.oracleServices/ with name of files as log.txt for logs, Downloads for storing additional scripts and tools downloaded from the C2server,Uploads directory for temporarily storing the files before exfiltration them to the C2 server.
- On first communication with C2, malware send the victim basic information like username, hostname, system info etc. Based upon that information C2 decide the payload to send on victim machine which it stored in Download folder location. Malware also has the capability of detecting sandboxing environment and redirecting the legitimate site to malicious site which is under controlled by attacker to increase the coverage of victim.
Indicators of Compromise:
- 9ea577a 4b3faaf04a3bddbfcb934c9752bed0d0fc579f2152751c5f6923f7e14
- Don't open attachments in unsolicited e-mails, even if they come from people in your contact list, and never click on a URL contained in an unsolicited e-mail, even if the link seems benign. In cases of genuine URLs close out the e-mail and go to the organization’s website directly through browser.
- Block the attachments of file types: exe|pif|tmp|url|vb|vbe|scr|reg|cer|pst|cmd|com|bat|dll|dat|hlp|hta|js|wsf
- Enforce application whitelisting on all endpoint workstations. This will prevent droppers or unauthorized software from gaining execution on endpoints.
- Disable macros in Microsoft Office products. Some Office products allow for disabling of macros that originate from outside of an organization and can provide a hybrid approach for the organization depends on the legitimate use of macros. For Windows, specific settings can block macros originating from the Internet from running.
- Restrict execution of Power shell /WSCRIPT in enterprise environment. Ensure installation and use of the latest version (currently v5.0) of PowerShell, with enhanced logging enabled script block logging and transcription enabled. Send the associated logs to a centralized log repository for monitoring and analysis.