What happened
AWS-hosted servers
- 1
The search service accepts internet traffic
At discoveryKromtech inspected publicly accessible Elasticsearch servers that accepted requests without authentication. It found unexpected index names associated with two point-of-sale malware families.
- 2
The servers host malware packages
At discoveryThe researchers identified malware packages hosted on the servers and found multiple packages on some hosts. They attributed nearly 99 percent of the affected servers to Amazon infrastructure.
Impact
Kromtech found nearly 4,000 affected servers, almost all on Amazon infrastructure. Its report gives no count of compromised payment terminals or stolen cards.
Could this have been prevented?
Require authentication on the search service
Kromtech identified missing authentication on the exposed search services. Operators can restrict service access to intended clients and verify who controls the network boundary for each deployment. Once malware has been found, each affected host also needs investigation and recovery.
Incident control assessments
- 0
- Prevented
- 0
- Contained
- 2
- Not covered
How it could have been prevented
The same replay with the controls in place. Green marks where a step is refused, blue where it is bounded, and red where no control reaches it. Open a row to read the control, why it acts, and its caveat.
AWS-hosted servers
1 · The search service accepts internet traffic
1 Not covered2 · The servers host malware packages
1 Not coveredKey facts
- Kromtech reported nearly 4,000 affected Elasticsearch servers.
- About 99 percent of the identified servers were hosted on Amazon infrastructure.
- Some servers held more than one malware package.
- The report did not count affected retailers or stolen payment cards.
Sources
Every fact in this breakdown comes from the public reporting below. The replay is a model of that reporting, not a reconstruction of the environment it describes.
- 1.Kromtech Discovers Massive Elasticsearch Infected Malware BotnetKromtech Security Center, Bob Diachenko · Sep 12, 2017 · ResearchOriginal investigator describes inspecting exposed Elasticsearch nodes, finding malware packages and attributing most measured hosts to AWS.
- 2.Elasticsearch Servers Hijacked to Host PoS MalwareNHS England Digital · Sep 21, 2017 · AdvisoryNational health-sector alert relaying the campaign findings and urging access restrictions.
- 3.Security group rulesAmazon Web Services · undated · Vendor reportSource ranges, rule aggregation and inbound reachability.
The estate in the replay is illustrative and drawn at the level of attack stages; the victim's real environment is not public. Verdicts describe what a control does when it is in place before the incident. They are not an assessment of the victim's security program.