Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Vulnerabilities / Threats

06:50 AM
Connect Directly

Microsoft Office 365 Accounts a Big Target for Attackers

Just as they did with PowerShell for Windows, threat actors are abusing native O365 capabilities for lateral movement, command-and-control communication, and other malicious activity.

With more than 258 million active users users per month, Microsoft's Office 365 environment — like several other Microsoft technologies — has become a popular target for attackers.

Vectra AI recently analyzed data gathered from over 4 million Office 365 accounts between June and August. The security vendor found attackers are widely using Office 365 accounts to move laterally to other users and accounts within an enterprise, to carry out command-and-control communications, and other malicious activities.

Related Content:

Office 365's Vast Attack Surface & All the Ways You Don't Know You're Being Exploited Through It

2020 State of Cybersecurity Operations and Incident Response

New on The Edge: What's Really Happening in Infosec Hiring Now?

According to Vectra, attackers are taking advantage of multiple useful capabilities available within Office 365, particularly Power Automate and eDiscovery, to orchestrate many of their malicious tasks — just as they did with PowerShell for Windows.

"Within the new work-from-home paradigm, user account takeover in Office 365 is the most effective way for an attacker to move laterally inside an organization's network," says Chris Morales, head of security analytics at Vectra. "And when there, attackers use the existing tools present to live off the land and avoid detection."  

Vectra's study found signs of lateral movement on 96% of the Office 365 customer accounts sampled. Seventy-one percent of the accounts exhibited suspicious Power Automate activity, and 56% exhibited similarly suspicious behavior with regard to the Office 365 eDiscovery capability. Vectra discovered that in addition to lateral movement and command-and-control communications, attackers are using breached Office 365 accounts to steal data and conduct reconnaissance.

The biggest threat to organizations lies in how attackers are exploiting legitimate Office 365 tools and features to bypass security controls and remain undetected on compromised accounts, according to the study.

Power Automate, for example, is designed to help users automate routine tasks in Office 365, such as saving email attachments to OneDrive for Business or to record responses in SharePoint. Power Automate is enabled by default in Office 365 and currently supports more than 350 application connectors, Vectra notes. Attackers have been abusing the feature to do things like automatically syncing files in OneDrive to an attacker-controlled Google Drive with every file update or to connect via HTTP and send data to a command-and-control system.

"Microsoft developed PowerShell to automate mundane tasks and configurations for Windows," Morales says. Its versatility has made PowerShell widely popular not just among administrators but attackers as well.

"Its unique capabilities have made PowerShell the poster child of living-off-the-land attacks," he says. Like PowerShell, Power Automate was built to automate mundane tasks. And like its predecessor, Power Automate is popular among attackers for the same reasons.

Similarly, Office 365 eDiscovery tools — which are used primarily to search for content in places like Exchange Online mailboxes, Microsoft Teams, OneDrive for Business sites, and SharePoint online — are another attacker favorite. Vectra found attackers are using eDiscovery to search for passwords and other sensitive data without raising suspicion.

Brendan O'Connor, CEO and co-founder at AppOmni, points to two reasons for the high-level of attacker interest in Office 365. One reasons is its high market share, which gives attackers more targets to go after.

"The more complex answer is that Office 365 has its roots as endpoint applications running on Windows OS," O'Connor says.

In other words, even though Office 365 is offered as a SaaS application, many continue to use it like it was running on a PC or laptop.

"The blurring of lines between the endpoint and SaaS application can be beneficial to enterprises offering additional flexibility to users," O'Connor says. "However, it also opens up additional attack vectors for hackers."

The complexity of the Office 365 environment makes securing it a challenge as well, according to O'Connor. In addition to emails and productivity apps such as Word and PowerPoint, Office 365 is also about online storage via OneDrive, collaboration via Teams, and integration with myriad other apps through scripts and connectors.

"The amount of configurations and settings involved is difficult for any IT team to maintain," O'Conner says.

Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year ... View Full Bio

Recommended Reading:

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
Inside the Ransomware Campaigns Targeting Exchange Servers
Kelly Sheridan, Staff Editor, Dark Reading,  4/2/2021
Beyond MITRE ATT&CK: The Case for a New Cyber Kill Chain
Rik Turner, Principal Analyst, Infrastructure Solutions, Omdia,  3/30/2021
Register for Dark Reading Newsletters
White Papers
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2021-04-10
Valve Steam through 2021-04-10, when a Source engine game is installed, allows remote authenticated users to execute arbitrary code because of a buffer overflow that occurs for a Steam invite after one click.
PUBLISHED: 2021-04-10
A command execution vulnerability in SonicWall GMS 9.3 allows a remote unauthenticated attacker to locally escalate privilege to root.
PUBLISHED: 2021-04-09
Zoom Chat through 2021-04-09 on Windows and macOS allows certain remote authenticated attackers to execute arbitrary code without user interaction. An attacker must be within the same organization, or an external party who has been accepted as a contact. NOTE: this is specific to the Zoom Chat softw...
PUBLISHED: 2021-04-09
Use after free in screen sharing in Google Chrome prior to 89.0.4389.114 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.
PUBLISHED: 2021-04-09
Use after free in V8 in Google Chrome prior to 89.0.4389.114 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.