Dissecting Of Non-Malicious Artifacts: One IP At A Time
Dani Goland, Ido Naor (Senior Security Researcher · Kaspersky Lab GReAT)
BruCON 0x0A · Day 3
Overview
This talk, presented by Ido Naor and Dani Goland at BruCON, delves into a pervasive yet often overlooked security vulnerability: the unintentional exfiltration of sensitive, non-malicious data by security solutions themselves. Titled "Dissecting Of Non-Malicious Artifacts: One IP At A Time," the presentation clarifies that "IP" here refers to Intellectual Property, not Internet Protocol. Naor and Goland, both co-founders of VirusBay and seasoned security researchers, illuminate how systems designed to defend organizations—such as spam filters, online sandboxes, and antivirus products—inadvertently transmit confidential data from client environments to cloud services or public repositories.

Key moments
- 0:00 Introduction and the core problem statement
- 3:50 Research motive: security solutions exfiltrating client data
- 6:00 Discovering non-malicious 'gold' in zero-detection files
- 7:30 Concrete example: finding confidential data on Hybrid Analysis
- 10:00 Using YARA rules to filter non-malicious binaries
- 12:40 Detailed explanation of the automated data processing pipeline
- 15:20 Research findings: data leaks are a global problem
Dissecting Of Non-Malicious Artifacts: One IP At A Time
Speakers: Dani Goland, Ido Naor (Senior Security Researcher, Kaspersky Lab GReAT)
Conference: BruCON
YouTube: https://www.youtube.com/watch?v=eV4OL0svu7M
Overview
This talk, presented by Ido Naor and Dani Goland at BruCON, delves into a pervasive yet often overlooked security vulnerability: the unintentional exfiltration of sensitive, non-malicious data by security solutions themselves. Titled "Dissecting Of Non-Malicious Artifacts: One IP At A Time," the presentation clarifies that "IP" here refers to Intellectual Property, not Internet Protocol. Naor and Goland, both co-founders of VirusBay and seasoned security researchers, illuminate how systems designed to defend organizations—such as spam filters, online sandboxes, and antivirus products—inadvertently transmit confidential data from client environments to cloud services or public repositories.
The core premise of their research is that a significant volume of proprietary and personal information, ranging from internal communications and financial documents to source code, is being exposed online without the explicit consent or even knowledge of the originating companies. This isn't the result of malicious attacks or employee negligence, but rather a byproduct of how certain security tools are configured or operate, often sending samples or telemetry to external services for analysis or threat intelligence gathering.
The talk is critically important for several reasons. Firstly, it challenges the fundamental assumption that security solutions are always net positives, revealing a hidden risk vector. Secondly, it highlights a global problem affecting numerous organizations across various industries, transcending specific products or geographical boundaries. Finally, it provides both a methodology for detecting such leaks and practical implications for defenders to mitigate this subtle yet significant threat to data privacy and corporate intellectual property.
Background
▶ Watch: Introduction and the core problem statement (0:00)
The genesis of this research stemmed from an initial, seemingly isolated incident: the discovery of a password reset email originating from a Swedish company, found online and mistakenly flagged as spam by a well-known spam filter. This anomaly sparked curiosity, prompting the researchers to investigate whether this was a singular occurrence or indicative of a broader systemic issue. Leveraging machine learning expertise, particularly from Dani Goland, they soon uncovered tens of thousands of similar instances, not just from the initial spam filter but across a multitude of other security solutions and vendors. This revelation transformed a curious observation into a full-scale research project aimed at understanding the scope and mechanisms of this unintended data exfiltration.
The problem, as articulated by the speakers, stems from several potential vectors of data leakage, including negligent employees, third-party vendors, and malicious hackers. However, their specific focus for this talk was unequivocally on the security solutions themselves. These tools, in their pursuit of enhanced detection capabilities or continuous improvement, often upload suspicious or unknown files to cloud-based analysis engines, shared threat intelligence platforms, or vendor-controlled repositories. While intended to boost security posture, this process can inadvertently expose legitimate, sensitive, and non-malicious data.
A key insight driving their investigation was the concept of "zero detection." In their routine malware research, Naor and Goland often found that files with zero detections by security products were either benign "garbage" or, conversely, highly sophisticated and targeted attacks from advanced persistent threat (APT) groups like Fancy Bear or Lazarus. However, within this "garbage" category, they began to discover a third, unexpected type of content: valuable, sensitive data that was not malware but was nevertheless exposed online. This "gold" in the garbage, unrelated to APTs, became the primary focus. Initial starting points for their data collection included popular online malware sandboxes and scanners like Hybrid Analysis, as well as repositories for code and "paste" sites where various textual data is shared. The co-founder of Hybrid Analysis, Jan Miller, even acknowledged the phenomenon, stating that "sometimes people upload stuff they think it's malware and it's not," and encouraged their continued research, leading to collaborative efforts to remove such mistakenly uploaded information.
Key Findings
▶ Watch: Discovering non-malicious 'gold' in zero-detection files (6:00)
The research undertaken by Ido Naor and Dani Goland uncovered a significant and widespread issue: the unintentional exfiltration of sensitive, non-malicious data by security solutions. Their primary findings revealed that this problem is not isolated but systemic, affecting a multitude of organizations globally. They identified over ten companies whose data was inadvertently exposed, with evidence pointing to a global problem rather than an issue confined to a single product or country. This suggests a fundamental flaw in how some security tools handle unknown or suspicious files.
A crucial discovery was the sheer volume of leaked information. What began as a single instance of an exposed password reset email quickly escalated to the identification of tens of thousands of similar origins traceable to various spam filters and other security products. This indicates that the mechanisms causing these leaks are often automated and pervasive, rather than sporadic human errors. The data being exfiltrated was diverse and highly sensitive, encompassing a wide range of corporate and personal information. Examples cited included:
- Personal and confidential information: General sensitive documents and files.
- Internal communications: Specifically, threads between VPs of Fortune 500 companies discussing "interesting information," highlighting the exposure of high-level corporate dialogue.
- Financial data: Information related to monetary values and transactions, potentially exposing sensitive financial operations.
- Trade secrets and intellectual property: While not explicitly detailed due to redactions, the nature of the "IP" in the talk title suggests this category.
- Code repositories and open-source projects: Snippets or full codebases uploaded inadvertently.
The researchers emphasized that the problem is not limited to emails; it extends to various file types and data formats. The fact that many of the leaked attachments were password-protected further underscores the sensitive nature of the information, even if the researchers did not attempt to decrypt them. The pervasive nature of these leaks across multiple product categories and geographical regions underscores the need for a comprehensive re-evaluation of data handling practices within the security industry and by organizations deploying these solutions.
Technical Deep Dive
▶ Watch: Concrete example: finding confidential data on Hybrid Analysis (7:30)
The technical core of Naor and Goland's research lies in their robust methodology for identifying, collecting, and analyzing these inadvertently exfiltrated non-malicious artifacts. Their approach combined malware research expertise, data science, and a custom-built automated pipeline.
The initial phase involved data collection from a variety of public and private sources where such artifacts might reside. These included:
- Paid services, online scanners, and sandboxes: Platforms like Hybrid Analysis were crucial, as they are designed to analyze suspicious files, often leading to the public exposure of benign but sensitive submissions.
- Malware repositories: While primarily for malware, these often contain misclassified or unintentionally uploaded legitimate files.
- Script and paste repositories: Websites where users share code snippets or text, some of which require payment for access.
- Code repositories: Open-source platforms that might inadvertently host proprietary code.
- Social platforms: Less common, but still a potential source.
To manage the vast influx of data, the researchers developed sophisticated filtering mechanisms. For binaries, they extensively utilized YARA rules, a pattern matching language commonly used by malware researchers. An example YARA rule for filtering emails was provided:
This rule specifically targets email files (.eml) containing attachments, indicated by specific MIME types and content dispositions. The condition filesize > 300KB was crucial for identifying emails with substantial attachments or lengthy threads, as these were found to often contain rich, sensitive discussions, including those between high-level executives. For non-textual formats like Outlook files, they crafted YARA rules leveraging opcodes—numerical codes representing instructions—allowing for more precise binary pattern matching. For plain text files, standard regular expressions were employed.
The core of their analytical capability was an automated pipeline, designed for scalability and continuous monitoring:
- Feed Aggregation: The pipeline began by aggregating data from various RSS and JSON feeds obtained from the identified data sources (paid and free). An AWS Lambda function was configured to pull these feeds twice daily, ensuring a constant stream of new artifacts.
- Hash Queuing: Hashes of newly identified interesting artifacts were extracted and pushed into a queue.
- Sample Download: Worker instances then pulled these hashes from the queue and downloaded the corresponding samples (binaries, text files, pastes) from their respective sources.
- Data Storage and Cleaning: Downloaded data was stored, and an EMR (Elastic MapReduce) cluster with Apache Spark scripts was used to clean the raw data, removing noise such as HTTP/HTML tags to isolate the core textual content.
- Custom Email Parser: A specialized email queue was implemented with a custom parser. This component was designed to extract critical metadata from emails, including:
- Subject: The email's subject line.
- Language: The detected language of the email content.
- Geolocation: Potential geographical indicators from headers or content.
- Attachments: Identification and handling of attachments, notably recognizing password-protected attachments even if their contents weren't decrypted.
- Spam Filtering: A secondary spam filter was integrated, capable of categorizing and filtering out common spam (e.g., "Viagra spam," which accounted for approximately 70% of detected spam). This helped to reduce noise and focus on genuinely interesting non-malicious content.
- Apache Tika Integration: For comprehensive content extraction, the pipeline incorporated Apache Tika, a powerful Java-based library capable of extracting text and metadata from almost any file type, ensuring that content from diverse document formats (PDFs, Word documents, spreadsheets, etc.) could be processed.
- Natural Language Processing (NLP) Pipeline: The extracted text then flowed into a basic NLP pipeline. This stage performed several key analyses:
- Stop Word Removal: Eliminating common words (e.g., "the," "a," "is") that carry little semantic value.
- Named Entity Detection: Identifying and categorizing entities such as names of people, roles, companies, and monetary values.
- Topic Modeling: Determining the main topics or themes of each email or document (e.g., "financial," "trade," "health").
- Data Storage and Visualization: All processed and enriched data was then stored in Kibana, providing a powerful platform for visualization and interactive analysis of the leaked artifacts, including interactions between companies and the global distribution of leaks.
This sophisticated pipeline allowed the researchers to move beyond anecdotal evidence, providing a scalable and systematic way to demonstrate the widespread nature and technical characteristics of unintended data exfiltration by security solutions.
Demo / Proof of Concept
▶ Watch: Detailed explanation of the automated data processing pipeline (12:40)
The speakers acknowledged that a live demonstration of their findings was originally planned but had to be significantly redacted due to external pressures. During prior presentations of their research, one of the implicated vendors directly contacted them, requesting the removal of specific details that exposed company names, product information, or the exact data that had been exfiltrated.
Consequently, the live demonstration at BruCON was not performed as initially conceived. Instead, Ido Naor and Dani Goland stated their intention to upload the full, unredacted demo at a later time, allowing interested parties to review the proof of concept independently. This situation, while preventing a live showcase, inadvertently underscored the sensitivity and real-world impact of their research, highlighting the very issue of data exposure they were investigating. The fact that vendors actively sought redaction confirms the tangible nature of these leaks and the potential reputational and security ramifications for affected organizations.
Defensive Implications
▶ Watch: Research findings: data leaks are a global problem (15:20)
The findings presented by Naor and Goland carry profound implications for organizations and security defenders. The core message is clear: security solutions, while essential, are not infallible and can themselves introduce new, subtle risks. Defenders must adopt a more critical and proactive stance regarding how their security infrastructure handles sensitive data.
Firstly, organizations must conduct a thorough audit of all deployed security solutions—including spam filters, endpoint detection and response (EDR) agents, network proxies, and online sandboxes—to understand their data exfiltration policies. This involves scrutinizing vendor documentation, particularly clauses related to sample submission, telemetry, and cloud-based analysis. It is crucial to determine what data is being sent, where it is being sent, and under what circumstances.
Secondly, data governance policies need to be updated to specifically address the risks posed by security solutions. This includes classifying sensitive data and implementing strict controls over its handling, even by internal security tools. Organizations should explore options for on-premise or private cloud deployments of security solutions where possible, or ensure that any cloud-based analysis adheres to stringent data residency and privacy regulations. If public cloud services are used, ensure that data is adequately anonymized or scrubbed of sensitive information before submission.
Thirdly, defenders should proactively monitor public repositories and online sandboxes for inadvertently exposed organizational data. While their research team built an automated pipeline, organizations can start with manual searches using keywords, company names, or specific document identifiers. This can help identify existing leaks and prompt remediation efforts, such as contacting platform administrators for data removal. The speakers mentioned their collaboration with Hybrid Analysis to remove mistakenly uploaded data as an example of such remediation.
Furthermore, security teams should implement robust data loss prevention (DLP) strategies that extend beyond traditional malicious exfiltration attempts. DLP solutions should be configured to detect and alert on sensitive data being uploaded to unauthorized cloud services, even if those services are part of a legitimate security vendor's infrastructure. This requires careful tuning to avoid false positives but is essential for catching unintended leaks.
Finally, organizations should engage in vendor due diligence that specifically questions data handling practices. When evaluating new security products, inquiries should extend to how samples are processed, stored, and shared, and whether there are options to opt-out of certain data submission features or to restrict data to specific geographical regions. This proactive engagement can help select solutions that align with the organization's risk tolerance and compliance requirements, ultimately bolstering overall data security posture against these subtle, yet significant, threats.
Key Takeaways
- Security Solutions Can Inadvertently Exfiltrate Data: Tools designed to protect, such as spam filters, sandboxes, and AVs, can unintentionally upload sensitive, non-malicious corporate and personal data to public or cloud-based repositories.
- Widespread and Global Problem: The issue is systemic, affecting numerous companies across various industries and geographical locations, highlighting a pervasive flaw in current security solution data handling.
- Rich, Sensitive Data is Exposed: Leaked information includes internal communications (e.g., VP threads from Fortune 500 companies), financial data, and other confidential documents, often from attachments or lengthy email threads.
- Automated Detection is Possible: Researchers demonstrated a scalable, automated pipeline combining YARA rules, NLP, and data aggregation from public feeds to identify and analyze these unintended leaks.
- Proactive Configuration and Auditing are Crucial: Organizations must audit their security solutions' data submission policies, enforce stricter data governance, and consider options for on-premise or private cloud deployments to minimize exposure.
- Monitor Public Repositories: Defenders should actively monitor online sandboxes, paste sites, and code repositories for inadvertently exposed organizational data to facilitate timely remediation.
About the Speaker(s)
Ido Naor is a Senior Security Researcher at Kaspersky Lab's Global Research and Analysis Team (GReAT). He is also a co-founder of VirusBay, a collaborative hub for malware researchers. Naor is an alumnus of a college in Israel and volunteers as a computer science lecturer. In his personal life, he is a father of three daughters.
Dani Goland is also a co-founder of VirusBay. At the time of the talk, he was a student at Berkeley. Goland is noted for his expertise in machine learning, which was instrumental in scaling the research on non-malicious artifact detection. The speakers humorously mentioned his activity on Tinder "for research purposes."