Name:
China shopping for Black Friday Gains
TTP:
T1071 Application Layer Protocol, T1140 Deobfuscate/Decode Files or Information, T1041 Exfiltration Over C2 Channel, T1027 Obfuscated Files or Information, T1566.001 Phishing: Spearphishing Attachment
Hypothesis:
SilkSpecter actors are targeting online shoppers during the Black Friday period with spearphishing emails containing malicious attachments. These attachments likely contain obfuscated malware designed to evade detection and exfiltrate sensitive information like credit card details.
Campaign Type:
Intel Driven
Data Sources:
- Email logs (including attachments)
- Endpoint security logs (e.g., Sysmon, EDR)
- Network traffic logs (e.g., firewall, proxy)
Tools:
Any tool to work with log tools
Scenario:
Initial Access: Attacker sends spearphishing emails to online shoppers with malicious attachments disguised as Black Friday deals or coupons.
Execution: When the victim opens the attachment, the obfuscated malware is executed.
Defense Evasion: The malware deobfuscates itself to avoid detection by security tools.
Command and Control: The malware establishes a connection to a command-and-control server controlled by SilkSpecter.
Exfiltration: The malware steals sensitive information such as credit card details and exfiltrates it to the attacker’s server.
Hunting Strategy:
- Analyze email logs: Search for emails with suspicious subject lines, senders, or attachments related to Black Friday deals.
- Inspect attachments: Analyze attachments for obfuscation techniques or known malicious patterns. Use sandbox environments to detonate suspicious attachments safely.
- Correlate events: Correlate email activity with endpoint and network logs to identify potential infections. Look for suspicious processes, network connections, and file system activity.
- Identify patterns: Identify any patterns in the observed activity, such as similar email content, attachment types, or network destinations.
- Investigate outliers: Investigate any outliers or anomalies in the data, such as unusual network traffic or unexpected process execution.
- Validate potential threats: Analyze suspicious files and network traffic for known SilkSpecter indicators of compromise (IOCs).
- Remediate: Isolate infected systems, remove malware, and reset compromised credentials.
- Report: Document findings, including IOCs, attack timeline, and remediation actions. Share information with relevant stakeholders and security communities.
False Positive Consideration:
- Legitimate Black Friday marketing emails with attachments
- Benign obfuscation techniques used in legitimate software
Recommendations:
- User education: Educate users about phishing threats and best practices for identifying suspicious emails and attachments.
- Email filtering: Implement robust email filtering to block or quarantine suspicious emails.
- Endpoint security: Deploy endpoint detection and response (EDR) solutions to monitor for malicious activity.
- Network security: Monitor network traffic for suspicious connections and implement intrusion detection/prevention systems (IDS/IPS).
- Threat intelligence: Stay up-to-date on the latest threat intelligence related to SilkSpecter and other financially motivated threat actors.
Step-by-Step Guide to Emulate a Threat Hunt
-
Prepare the Environment:
- Set up a virtual machine with Windows OS and common applications used by online shoppers.
- Install Sysmon and configure it to log relevant events (e.g., process creation, network connections, file system activity).
- Set up a centralized log management system, such as an ELK stack, to collect and store security events from the virtual machine.
-
Emulate the Attack Techniques:
- Craft a spearphishing email with a malicious attachment. Use a tool like Metasploit to generate a payload with obfuscation techniques.
- Deliver the email to the virtual machine.
- Open the attachment and allow the malware to execute.
-
Emulate Post-Compromise Activities:
- Use Metasploit or other tools to simulate command-and-control communication.
- Emulate data exfiltration by transferring files from the virtual machine to a remote server.
-
Collect and Analyze Logs:
- Collect Sysmon logs and other relevant security events from the centralized log management system.
- Use tools like Kibana or Splunk to search for events related to the emulated attack techniques.
- Filter events based on process names, command-line parameters, network connections, and file system activity.
-
Refine Detections:
- Analyze the collected logs to identify patterns and refine your detection rules.
- Consider using YARA or SIGMA to create more robust detection rules.
- Document your analysis and findings to improve future threat hunting efforts.
D3 Diagram: