Home>Spin.AI Blog>SaaS Security>Microsoft 365>Microsoft 365 Ransomware Recovery for Businesses

Microsoft 365 Ransomware Recovery for Businesses

Apr 11, 2024 | Reading time 5 minutes
Author:
Profile image of Davit Asatryan related to SpinOne for Salesforce

Vice President of Product

Microsoft 365 is one of the key SaaS solutions in a business’ tech stack. Losing this data can damage operations, and cause downtime and financial losses. In this post, we talk about Microsoft 365 ransomware recovery.

Understanding Ransomware Attacks in Microsoft 365

The number of ransomware attacks has been steadily growing over the past decade. In Q1 2023, we’ve seen a surge in reported attacks on businesses reaching as high as 45 per month. Many companies and governmental organizations were in havoc after these incidents. What is ransomware and why is it so devastating to business?

Ransomware is a type of malware that encrypts the information stored in an IT environment. The hackers then trade this information for the decryption key, and some organizations and individuals decide to pay ransom to get their data back.

Can ransomware infect the Microsoft 365 environment?

In general, Microsoft 365 is believed to be a secure SaaS application. And it indeed has many security features to protect the environment from a ransomware attack on several levels:

  • Tenant level.
  • Service level.
  • The level of developers & service infrastructure.

However, it can be targeted and successfully hit by a ransomware attack. Cloud ransomware usually disguises itself as a legitimate third-party application. Once it gets OAuth access to the victim’s environment along with the editing permissions, it begins encrypting the local files.

Microsoft 365 and Shared Responsibility Model

Not only is Microsoft 365 vulnerable to ransomware, but the developer will hold no responsibility for the incident leaving it entirely on the mistake of your security team and your employees.

Similarly to Google Workspace™, Microsoft 365 has a shared responsibility model. This means that the tool’s developer is not responsible for the incidents that happened due to the mistake or malicious action of the client’s users.

Unfortunately, a ransomware attack in most cases is the result of a successful social engineering attack on the victim.

Learn more about Microsoft 365 security from our MSO 365 Security Checklist.

Steps for Microsoft 365 Ransomware Recovery

If you do not have a ransomware protection tools that detects ransomware, stops the attack, and recovers automatically, you will have to take the following steps:

1. Stop the attack

Once you have detected the attack on your environment you need to find the source of the ransomware attack and revoke its access to your Microsft 365. Usually, it’s some risky OAuth application with editing permission. Go to Microsoft 365 Admin Center, find the app, and revoke its access.

2. Take legal action

Inform law enforcement of your country and your legal department. We strongly suggest against paying the ransom. First, it’s illegal in some countries. Second, you reinforce the criminal behavior. Third, criminals understand that you can be easily coerced into paying and will target you again. Up to 50% of victims who paid ransom were targeted for the second time. Fourth, after paying ransom and getting a decryption key, most organizations fail to fully recover their files.

3. Study the ransomware

Chances are low but you might be lucky to get infected by some old strain that doesn’t encrypt the file versions. As a result, your employees can recover the previous versions of their files.

Next, search for the decryption key online. Once again chances are slow that you are infected by an old strain. However, it’s always worth trying your luck. There are white hat hacker organizations that provide decryption keys online. They’ll need a file and a part of a decrypted text to identify the strain.

4. Initiate the investigation

You need to understand how ransomware infected your Microsoft 365 environment. Most likely it was a mistake made by an employee who fell for a social engineering attack. However, it can be the result of a lack of control over Shadow IT, a zero-day attack on the authorized app, or a man-in-the-middle attack.

5. Check your environment

Many hackers prefer to spend some time in your environment to leave the “back doors” they could use to repeat their attack. Remember, that social engineering steals the credentials from your employees, so your attacker might be controlling the user account. You need to make sure that all the entry points are closed.

6. Start data recovery

Restore your data from your backup. It will take a while, as Microsoft 365 has API call limitations. Depending on the amount of data you store there, it can take days, weeks, or even months. Usually 2-3 weeks. 

7. Acquire ransomware protection

Ransomware protection is the best way to defend your Microsoft 365 against ransomware.

Ransomware Protection for Microsoft 365

Ransomware protection is the best way to address the issue of rampaging ransomware incidents. This is a category of tools that automate attack detection, termination, and recovery.

There are two main types of ransomware protection:

1. The legacy solutions that use historical data about previous attacks for detection and recovery. Unfortunately, ransomware is a type of malware that can easily be designed. As a result, new strains emerge every several months and most legacy solutions cannot keep up with this pace.

2. AI-based tools that analyze traffic or data behavior to detect the attack. The best method is to detect data behavior, as traffic analysis has too many false positives, especially at the peak of a business day.

SpinOne is a ransomware protection tool that uses the data analysis method. The in-built AI can detect and stop a ransomware attack within minutes after it has begun. As a result, the majority of cloud data in the environment remains intact. 

After the attack termination, SpinOne initiates the recovery of the files that have been decrypted from its own remote backup. The downtime with this ransomware protection lasts only a couple of hours. This is 99% faster than a several weeks-long recovery after the attack on the unprotected Microsoft 365 environment.

FAQs

Disable all the applications that have access to your Microsoft environment, inform law enforcement and begin recovery from backup or with the help of a decryption key.

The steps involved in containing the spread of a ransomware attack within my Microsoft 365 environment are: 

  • Stop the attack
  • Take legal action
  • Study the ransomware
  • Initiate the investigation
  • Check your environment
  • Start data recovery
  • Acquire ransomware protection
Was this helpful?

Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

  • NecessaryAlways Active

    Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

    Show 14 cookies
    CookieDurationDescription
    spinai_consent1 yearSpin.AI: stores your cookie consent choices for this site.
    cookieyes-consent1 yearSpin.AI: copy of your consent choices in the format of the earlier consent tool, for tools that still read it.
    __hssrcSessionHubSpot: tells whether the browser was restarted, to count a new session.
    _GRECAPTCHA6 monthsGoogle reCAPTCHA: tells people from bots to protect forms from spam.
    rc::aNever expiresGoogle reCAPTCHA: tells people from bots to protect forms from spam.
    rc::bSessionGoogle reCAPTCHA: tells people from bots to protect forms from spam.
    rc::cSessionGoogle reCAPTCHA: tells people from bots to protect forms from spam.
    rc::fNever expiresGoogle reCAPTCHA: tells people from bots to protect forms from spam.
    intercom-id-*9 monthsIntercom: lets you see your earlier conversations in the support chat.
    intercom-session-*7 daysIntercom: keeps your support chat session.
    intercom-device-id-*9 monthsIntercom: identifies the device for the support chat.
    gtm_id1 yearIntercom: set on intercom.com when the support chat loads.
    cookietestSessionChecks whether the browser accepts cookies.
    spinai_disclosure_clientSessionSpin.AI: keeps the state of the responsible disclosure form.
  • Functional

    Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

    Show 3 cookies
    CookieDurationDescription
    __cf_bm1 hourCloudflare (for HubSpot scripts): bot management.
    __hssc1 hourHubSpot: keeps track of the session, to decide when to count a new one.
    ytidb::LAST_RESULT_ENTRY_KEYNever expiresYouTube: remembers the last search result clicked in an embedded video.
  • Analytics

    Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

    Show 13 cookies
    CookieDurationDescription
    _ga1 year 1 monthGoogle Analytics: tells visitors apart and counts visits and campaigns.
    _ga_*1 year 1 monthGoogle Analytics: keeps the state of a session and counts page views.
    _gcl_au3 monthsGoogle Tag Manager: measures the effect of ads.
    __hstc6 monthsHubSpot: the main visitor tracking cookie (first and last visit, session count).
    hubspotutk6 monthsHubSpot: recognises the visitor when a form is sent.
    _clck1 yearMicrosoft Clarity: keeps the Clarity visitor ID and settings for this site.
    _clsk1 dayMicrosoft Clarity: joins page views into one session recording.
    SMSessionMicrosoft Clarity: syncs the Microsoft browser ID across Microsoft domains.
    MR7 daysBing: collects visit information for analytics.
    events_distinct_idSessionG2: set by embedded G2 content such as review widgets.
    _g2_session_idSessionG2: identifies the session of embedded G2 content.
    va_sidenav_open1 yearG2: remembers whether the side navigation of embedded G2 content is open.
    ph_phc_*1 yearPostHog: anonymous visitor ID and session data for A/B testing and analytics.
  • Performance

    Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

    Show 1 cookie
    CookieDurationDescription
    SRM_B1 year 1 monthMicrosoft Advertising: a unique visitor ID.
  • Advertisement

    Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

    Show 10 cookies
    CookieDurationDescription
    MUID1 year 1 monthMicrosoft (Bing): recognises the browser across Microsoft sites, for advertising.
    ANONCHK10 minutesMicrosoft (Bing, Clarity): checks ad clicks.
    test_cookie15 minutesGoogle (doubleclick.net): checks whether the browser accepts cookies.
    _zitok1 yearZoomInfo: recognises returning visitors for business visitor identification.
    YSCSessionYouTube: counts views of embedded videos.
    VISITOR_INFO1_LIVE6 monthsYouTube: measures bandwidth to choose the video player.
    VISITOR_PRIVACY_METADATA6 monthsYouTube: stores the cookie consent state for YouTube.
    __Secure-ROLLOUT_TOKEN6 monthsYouTube: manages the rollout of new features.
    __Secure-YECSessionYouTube: set by embedded videos.
    __Secure-YNID6 monthsYouTube: set by embedded videos.
  • Others

    Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.