Microsoft

WikipediaVerified

Breach Date

December 5, 2019

Records Affected

250,000,000

Verified

Yes

Source

wikipedia

Summary

In December 2019, security researcher Bob Diachenko of Comparitech discovered five misconfigured Elasticsearch servers belonging to Microsoft that exposed approximately 250 million customer service and support records spanning 14 years (2005-2019). All five servers contained identical copies of the same dataset, and each was publicly accessible without any authentication. The exposed records included customer email addresses, IP addresses, geographic locations, support case descriptions, Microsoft agent email addresses, case numbers, resolution notes, and internal annotations marked as "confidential."

The exposure was caused by a misconfiguration of Network Security Group rules on December 5, 2019, during a routine server migration. This change inadvertently removed access controls from the Elasticsearch cluster, leaving 250 million records accessible to anyone on the internet for 26 days. Diachenko discovered the exposure on December 28, 2019, and immediately notified Microsoft. The company's security team responded swiftly, securing all five servers by December 31, 2019 — within three days of notification.

Microsoft stated that the majority of personally identifiable information had been redacted from the database through automated tools prior to the exposure, but acknowledged that some records contained unredacted PII due to inconsistencies in the data pipeline — particularly records from earlier years when redaction processes were less mature. The company launched an investigation, notified affected customers whose PII was exposed in plain text, and implemented additional safeguards including automated alerts for security group misconfigurations, expanded redaction scope, and enhanced access auditing for internal support databases.

Breach Details

Breach Date
December 5, 2019
Records Affected
250,000,000
Source
Wikipedia
Verified
Verified
Industry
Technology
Type
Poor Security

Impact Analysis

Scale of Impact

  • 250 million customer service records exposed across five Elasticsearch servers
  • 14 years of data — support conversations from 2005 through 2019
  • 26 days of exposure — from December 5 to December 31, 2019
  • Five identical copies — misconfiguration replicated across the entire cluster

Data Types Exposed

  • Customer email addresses
  • Customer IP addresses
  • Customer geographic locations
  • Support case descriptions (detailed technical issues)
  • Microsoft support agent email addresses
  • Case numbers and resolution status
  • Internal notes marked "confidential"
  • Backend system logs

Risk Assessment

Risk CategorySeverityDescription
Technical support scamsCriticalDetailed case histories enable convincing impersonation of Microsoft support
Targeted phishingHighEmail addresses + specific technical issues enable highly personalized phishing
Social engineeringHighKnowledge of past support interactions creates trust with victims
Corporate espionageMediumInternal notes and case data could reveal corporate infrastructure details
Agent impersonationMediumExposed agent emails allow attackers to pose as real Microsoft employees
IP-based trackingLowIP addresses and locations provide geolocation data for targeted attacks

Downstream Effects

  • Exposed support case details could be used to craft tech support scams indistinguishable from legitimate Microsoft communications
  • Internal "confidential" notes may have contained sensitive information about customer environments, vulnerabilities, or configurations
  • Microsoft support agent email addresses could be used for internal phishing campaigns
  • The 14-year time span means many affected customers may no longer use the associated email addresses, complicating notification efforts
  • Records from earlier years (2005-2012) were more likely to contain unredacted PII due to less mature data handling practices

Timeline

  • 2005-2019: Microsoft accumulates 14 years of customer service and support records in an internal Elasticsearch cluster
  • December 5, 2019: A change to Network Security Group rules during server migration inadvertently removes access controls from five Elasticsearch servers
  • December 5-28, 2019: The misconfigured servers remain publicly accessible with no authentication required — 250 million records exposed
  • December 28, 2019: Security researcher Bob Diachenko (Comparitech) discovers the exposed Elasticsearch instances during routine internet scanning
  • December 28, 2019: Diachenko notifies Microsoft's Security Response Center (MSRC) of the exposure
  • December 29-30, 2019: Microsoft's security team begins investigation and remediation
  • December 31, 2019: All five Elasticsearch servers are secured and public access is removed
  • January 22, 2020: Microsoft publishes a public blog post acknowledging the incident and detailing remediation steps
  • January 2020: Microsoft begins notifying customers whose PII was exposed in unredacted form
  • January 2020: Microsoft implements additional safeguards: automated misconfiguration alerts, expanded PII redaction rules, and enhanced access auditing

Lessons Learned

1. Configuration Management in Server Migrations Is Critical

The exposure was caused by a single misconfigured security rule during a routine migration — a common operational task that introduced a catastrophic vulnerability. Organizations must treat infrastructure changes as high-risk operations requiring change management processes, pre-deployment security validation, and automated configuration drift detection.

2. Redundancy Without Independent Security Is a Risk Multiplier

All five Elasticsearch servers contained identical data and were all misconfigured in the same way. The replication that was designed for availability and fault tolerance instead amplified the exposure. Each replica should have independent security controls, and cluster-wide configuration changes should be validated on a single node before propagation.

3. Data Minimization Reduces Breach Impact

Microsoft's automated PII redaction limited the damage from this exposure — most records had sensitive fields masked. However, inconsistencies in the redaction pipeline meant some records retained plain-text PII. This demonstrates both the value of data minimization and the need for comprehensive testing of redaction systems, especially across data spanning different eras with different formats.

4. Rapid Incident Response Matters

Microsoft's three-day remediation — from notification on December 28 to full closure on December 31 — is a model for incident response speed. The company's transparent disclosure, public blog post, and proactive customer notification demonstrated mature incident handling. This stands in contrast to organizations that delay disclosure for months or years.

5. Internal Data Deserves Production-Grade Security

The exposed database was an internal support system, not a customer-facing product. Organizations often apply weaker security controls to internal tools, but these systems frequently contain the most sensitive data. Internal databases should receive the same security rigor as production systems — including network segmentation, authentication, encryption at rest, and access monitoring.

6. Automated Security Guardrails Prevent Human Error

Following the incident, Microsoft implemented automated alerts for security group misconfigurations. The lesson: security controls that depend entirely on human configuration will eventually fail. Automated guardrails — such as policies that prevent public network exposure of databases, mandatory authentication enforcement, and drift detection — catch errors before they become breaches.

Technical Details

Exposure Vector: Misconfigured Elasticsearch Cluster

The exposure resulted from a change to Azure Network Security Group (NSG) rules on December 5, 2019:

  1. Infrastructure: Five Elasticsearch servers running in Microsoft's Azure cloud, used to store customer support interaction logs
  2. Migration context: The NSG rules were modified during a planned server migration
  3. Misconfiguration: The updated rules removed IP restrictions, allowing inbound connections from any source (0.0.0.0/0) to the Elasticsearch ports
  4. No authentication layer: The Elasticsearch instances did not have their own authentication configured (relying solely on network-level access controls)
  5. Full replication: All five servers contained identical datasets — the misconfiguration affected the entire cluster simultaneously

Elasticsearch Exposure Pattern

This incident follows a well-documented pattern of Elasticsearch exposure:

  • Elasticsearch, by default, does not require authentication (versions prior to 8.0)
  • Organizations commonly rely on network-level security (firewalls, security groups) as the sole access control
  • When network-level controls are misconfigured or removed, the entire database becomes publicly accessible
  • Elasticsearch's REST API makes data easily browsable and downloadable once accessible

Data Structure and Redaction

The database contained structured support case records with fields including:

- Customer email (partially redacted in most records)
- Customer IP address
- Customer location (country, state/region)
- Case description (free-text, detailed technical issues)
- Agent email (Microsoft support engineer)
- Case number and status
- Resolution notes
- Internal annotations (marked "confidential")
- Timestamps (case creation, updates, resolution)

Microsoft's automated redaction system had processed the majority of records, replacing PII with masked values. However, records from earlier years and certain edge cases in the data pipeline retained unredacted PII — email addresses, names, and other identifiers in plain text within free-text fields like case descriptions and internal notes.

Discovery Method

Bob Diachenko discovered the exposed servers using BinaryEdge, a threat intelligence platform that indexes internet-facing services:

  1. Internet scanning: BinaryEdge identified Elasticsearch instances responding on standard ports (9200/9300)
  2. Authentication check: The instances responded to unauthenticated requests, returning cluster metadata
  3. Data assessment: Diachenko queried the indices and identified the data as Microsoft customer support records based on content and structure
  4. Responsible disclosure: Diachenko notified Microsoft's Security Response Center (MSRC) on December 28, 2019

Remediation Actions

Microsoft's response included both immediate and long-term measures:

  • Immediate: Re-applied proper NSG rules to restrict network access to all five servers
  • Short-term: Audited all Elasticsearch deployments across the organization for similar misconfigurations
  • Long-term: Deployed automated alerts for NSG rule changes that could expose internal services, expanded PII redaction rules for support databases, and implemented additional access auditing for internal support tools

Frequently Asked Questions

How many records were exposed in the Microsoft breach?

Approximately 250 million customer service and support records were exposed across five Elasticsearch servers. The records spanned 14 years, from 2005 through 2019, covering support interactions with Microsoft customers worldwide.

What data was exposed?

The exposed records included customer email addresses, IP addresses, geographic locations, detailed support case descriptions, Microsoft support agent email addresses, case numbers, resolution notes, and internal annotations marked as "confidential." Microsoft stated that most PII had been automatically redacted, but some records — particularly older ones — contained unredacted personal information.

How did the breach happen?

On December 5, 2019, during a routine server migration, a change to Azure Network Security Group rules inadvertently removed access restrictions from five Elasticsearch servers. This misconfiguration made the servers publicly accessible without any authentication for 26 days until the issue was discovered and remediated on December 31, 2019.

Who discovered the breach?

Security researcher Bob Diachenko, working with the privacy research firm Comparitech, discovered the exposed Elasticsearch servers on December 28, 2019, during routine internet scanning for misconfigured databases. He immediately notified Microsoft's Security Response Center.

How quickly did Microsoft respond?

Microsoft responded within three days. After notification on December 28, 2019, the security team began investigation and secured all five servers by December 31, 2019. Microsoft published a public acknowledgment on January 22, 2020, and began notifying affected customers whose PII was found in unredacted form.

Was any personal data actually exposed in plain text?

Yes, although Microsoft emphasized that the majority of records had been processed by automated PII redaction tools. However, some records contained unredacted email addresses, names, and other personal information — particularly records from earlier years (2005-2012) when redaction processes were less comprehensive. Free-text fields like case descriptions and internal notes were especially prone to containing unmasked PII.

Could this data be used for scams?

Yes. The most significant risk is tech support scams. Detailed knowledge of past Microsoft support interactions — including specific case numbers, technical issues, and resolution details — could enable attackers to craft convincing fake support calls or emails that reference real incidents. Victims are far more likely to trust a caller who knows the specifics of their previous Microsoft support case.

Were any fines or penalties issued?

No significant regulatory fines were publicly reported for this incident. Microsoft's rapid response, transparent disclosure, and proactive remediation likely mitigated regulatory action. The incident occurred before several stricter data protection enforcement actions and was treated as a misconfiguration rather than a malicious breach.

Back to Breach Database
Breach data sourced from Wikipedia: List of data breaches, licensed under CC BY-SA 3.0.

Protect Your Organization From Data Breaches

Our security experts can help you identify vulnerabilities and strengthen your defenses.