Hoplon InfoSec Logo

Hoplon Infosec · Threat Intelligence

MAS Windows Activation Malware-PowerShell Attacks

ByGazi Mahmud
Published24 Dec, 2025
MAS Windows Activation Malware-PowerShell Attacks
Gazi Mahmud24 Dec, 2025

Last Updated: September 3, 2026

MAS Windows Activation Malware: How the PowerShell Attack Works and What to Do

Yes. A real malware campaign targeted people trying to use Microsoft Activation Scripts, or MAS, in late December 2025.

The important detail is that the publicly reported incident did not show that the MAS project itself had been compromised. Attackers instead used a typosquatted domain that differed from the project's expected domain by a single letter. People who entered the wrong address in a PowerShell activation command could receive a malicious script instead of the expected content.

The malicious chain was linked to Cosmali Loader, which researchers reported delivering cryptocurrency-mining software and the XWorm remote access trojan (RAT). A RAT can give an attacker remote control over an infected computer, making this much more serious than an activation failure.

If you only read about MAS or visited an unrelated page, that does not mean your PC is infected. If you actually executed a PowerShell command that contacted the fake domain, however, the system should be treated as potentially compromised.

The 2025 campaign is confirmed. I did not find reliable evidence establishing that the same malicious infrastructure remains active as of September 3, 2026, so it would be misleading to describe the original domain as an ongoing active campaign without new evidence.

Key Findings

  • The fake MAS Windows activation malware campaign was publicly reported on December 24, 2025.
  • A look-alike domain removed a single letter from the expected MAS domain, creating an effective typosquatting attack.
  • Running the malicious PowerShell content could install Cosmali Loader.
  • Researchers linked the loader to XWorm RAT and cryptocurrency-mining utilities.
  • The published evidence does not prove that every infected PC suffered password theft, lateral movement, or data exfiltration.
  • Anyone who executed the malicious command should approach the incident as a real endpoint compromise, not simply delete an activation script and continue using the machine.
  • Businesses should consider account exposure, connected systems, logs, backups, and other endpoints before declaring the incident resolved.

The incident also follows a wider pattern in which trusted-looking software sources are impersonated. Hoplon Infosec has covered a similar source-verification problem involving fake open-source tool malware.

What Actually Happened in the Fake MAS Windows Activation Attack?

The attack relied on a very small mistake.

People attempting to use MAS expected content from one domain. Attackers registered a look-alike address with one letter missing. When a user entered that incorrect address as part of a PowerShell command, the malicious server could return malware instead.

BleepingComputer reported the campaign on December 24, 2025. Two days later, the ThaiCERT warning about the fake MAS domain also described the typosquatting technique, Cosmali Loader, XWorm, and cryptocurrency-mining activity.

This distinction matters:

A fake domain impersonated the MAS project. The available evidence does not show that attackers compromised the MAS project's original repository or infrastructure in this incident.

MAS itself is also not a Microsoft product. It is a third-party activation project. From a security standpoint, the safest approach is to use Microsoft's legitimate Windows licensing and activation mechanisms instead of relying on unofficial activation methods.

MAS Windows activation malware

Why the Attack Was So Effective

The campaign did not need a complicated exploit.

It took advantage of three ordinary behaviors:

  1. People search for quick Windows activation methods.
  2. Users often copy or manually type commands they do not fully inspect.
  3. PowerShell is already present on Windows and is commonly used by administrators.

That combination reduces the amount of persuasion an attacker needs.

Instead of sending a suspicious executable attachment, the attacker can try to make the victim run the first stage personally.

This is one reason modern endpoint protection needs to monitor processes and scripts as well as ordinary executable files. For more background, see Hoplon Infosec's guide to what endpoint security is and how modern protection works.

Why PowerShell Malware Can Be Dangerous

PowerShell itself is legitimate. It is an administrative and automation framework built for managing Windows environments.

The danger comes from what PowerShell is instructed to execute.

A malicious PowerShell command may retrieve additional content, launch another process, modify system settings, or act as one stage of a larger infection chain.

That does not mean PowerShell automatically bypasses security. Microsoft integrates PowerShell with Windows security features, and PowerShell activity can be logged and inspected.

Microsoft documents Script Block Logging, which records processed PowerShell commands and script blocks. When configured, relevant activity can appear in the Microsoft-Windows-PowerShell Operational log, including Event ID 4104.

Administrators can review Microsoft's PowerShell logging guidance when building monitoring and forensic procedures.

One limitation is important: if useful logging was not enabled before the incident, you cannot assume that every command will be available afterward.

Was This Specific Attack “Fileless”?

The original draft described techniques such as memory execution, obfuscation, and remote script loading.

Those are real techniques used by PowerShell-based malware in general, but the public sources reviewed for this specific MAS campaign do not document enough technical detail to confirm that every one of those techniques was used here.

The safer conclusion is this:

The campaign used malicious PowerShell content as part of its execution chain, but not every commonly associated PowerShell malware technique has been publicly confirmed for this particular incident.

A related example of Windows-native behavior being abused is Hoplon's analysis of a malware attack delivered through Windows screensaver files.

MAS Windows activation malware

Step by Step: How the MAS Windows Activation Malware Attack Worked

At a high level, the confirmed attack path looks like this:

  1. A user wants to activate Windows using MAS.
  2. The user enters or obtains an incorrect look-alike domain.
  3. The malicious domain resembles the expected MAS address.
  4. The user executes PowerShell content retrieved from that domain.
  5. The malicious content leads to Cosmali Loader infection.
  6. Cosmali Loader can deploy additional payloads.
  7. Reported secondary payloads included XWorm RAT and cryptocurrency-mining software.
  8. The endpoint may then require full incident investigation and recovery.

The dangerous part is the transition from step four to step five. The victim is no longer merely browsing a suspicious website. They have instructed a trusted Windows interpreter to execute content supplied by an attacker.

How Bad is the Risk?

The answer depends heavily on what you actually did.

The following table is a practical risk assessment, not a measured probability or published infection rate.

Situation

Practical Risk

Why

You only read about MAS

Very low from this campaign

No malicious content was executed

You visited a suspicious activation page but ran nothing

Lower

The reported campaign depended on command execution

You executed PowerShell content from the fake domain

High

Cosmali Loader infection was linked to this action

You ran the malicious content with elevated privileges

Very high

Elevated access can increase the potential impact

The affected PC contains business accounts or sensitive data

High to very high

Account, endpoint, and organizational exposure must be investigated

An administrator used the affected PC

Very high

Administrative sessions and credentials increase the possible scope

If the malicious PowerShell command was actually executed, treating the event as “probably harmless” is not a sound response.

What Damage Can Cosmali Loader and XWorm Cause?

Two follow-on activities were specifically reported: cryptocurrency mining and deployment of XWorm RAT.

Remote Access to the Computer

A remote access trojan is designed to let another party interact with an infected machine remotely.

ThaiCERT stated that XWorm deployment could allow attackers to take remote control of infected systems.

Remote access creates obvious secondary risks. Files, browser sessions, applications, local data, and connected services may become exposed depending on the privileges and capabilities available to the attacker.

That does not prove that every victim in this campaign had their passwords stolen or files exfiltrated.

Additional Malware

A loader's purpose is generally to help introduce additional software or payloads.

In this incident, researchers reported both XWorm and cryptomining utilities. That means discovering the first malicious script does not necessarily establish the full scope of the infection.

A similar issue appears with fileless and multi-stage malware chains discussed in Hoplon's guide to fileless Remcos RAT malware.

Cryptocurrency Mining

Cryptocurrency miners can consume processor or graphics resources for the attacker's benefit.

High CPU or GPU usage can therefore be relevant when combined with other indicators, although resource usage by itself is not proof of malware.

Possible Data and Credential Exposure

If an attacker obtains remote control of a Windows computer, credentials and sensitive data should be considered potentially exposed until the scope is understood.

However, the available reporting on the MAS campaign does not establish that credentials were stolen from every infected host.

For business environments, this difference matters. Incident responders should investigate what accounts were logged in, which sessions existed, what information the machine could access, and whether additional authentication controls need to be reset.

What Has Actually Been Confirmed?

Separating confirmed findings from plausible consequences prevents threat reporting from becoming exaggerated.

Finding

Status

Fake MAS look-alike domain existed

Confirmed

One-letter typosquatting technique

Confirmed

Malicious PowerShell delivery

Confirmed

Cosmali Loader infection

Confirmed

XWorm RAT delivery

Reported by researchers

Cryptocurrency-mining payload

Reported by researchers

Every victim lost passwords

Not established

Every infected PC experienced data theft

Not established

Specific scheduled-task persistence on every victim

Not established

Corporate lateral movement occurred in every case

Not established

Exact number of infected computers

Not publicly established

Same malicious infrastructure remains active in September 2026

Not confirmed by the sources reviewed

This is one of the biggest weaknesses in many summaries of the incident. Possible malware capabilities are sometimes presented as though investigators confirmed each one on every infected computer.

They did not.

How Can You Tell Whether the Malicious PowerShell Script Ran?

There is no single indicator that proves every infection.

Start by establishing what happened.

1. Check Whether You Executed the Suspicious Command

The most important question is not whether you visited a website.

It is whether PowerShell actually retrieved and executed content from the malicious look-alike domain.

If the answer is yes, treat the computer as potentially compromised.

2. Review PowerShell Event Logs

If Script Block Logging was already enabled, Event ID 4104 may contain processed PowerShell script blocks.

Microsoft documents this logging behavior officially.

Do not interpret an empty 4104 log as proof that nothing happened. Logging may not have been enabled.

3. Review Security Alerts

Check Microsoft Defender, your EDR platform, antivirus product, SIEM, and other monitoring systems for activity around the time the command was executed.

Do not dismiss a PowerShell detection simply because the original activation process appeared to work.

4. Look for Unexpected Processes and Network Activity

Users involved in the 2025 incident reportedly received warnings telling them to look for unusual PowerShell processes.

That can be useful, but Task Manager alone is not enough.

A process may already have terminated, changed form, launched another payload, or no longer be visible by the time you investigate.

5. Check Accounts Used on the Computer

Document which accounts were active after the suspected infection:

  • Email
  • Microsoft account
  • Cloud storage
  • Password managers
  • Administrative portals
  • Company VPN
  • Developer platforms
  • Remote-access tools
  • Financial or payment systems

This helps determine what credentials, tokens, or sessions may require action.

For a broader defensive framework, Hoplon's IT cyber security guide explains how endpoint monitoring, identity controls, and incident preparation fit together.

What Should You Do If You Ran the Fake MAS Command?

If the malicious command was executed, do not rely on a single quick antivirus scan.

Step 1: Isolate the Computer

Disconnect the affected endpoint from normal network access where doing so will not create a safety problem.

For a home PC, that normally means disconnecting Wi-Fi or Ethernet.

For a company endpoint, follow the organization's incident-response procedure or use the EDR platform's isolation feature if available.

Containment reduces the opportunity for continued remote communication or expansion of an incident.

NIST's current incident-response guidance treats containment, eradication, and recovery as core parts of handling a security incident.

Step 2: Do Not Immediately Destroy Evidence on a Business PC

If the computer belongs to a company, handles regulated information, or could be connected to a wider breach, involve the security team before wiping it.

Logs, memory, disk artifacts, authentication records, and network telemetry may be important for determining:

  • when the compromise occurred
  • what executed
  • what accounts were exposed
  • whether other endpoints were affected
  • whether data left the environment
  • how the attacker maintained access

Where that level of investigation is required, Hoplon Infosec's digital forensic investigation service explains the role of evidence preservation and forensic analysis.

Step 3: Run Updated Security Scans

Microsoft states that Microsoft Defender Offline can boot and scan from a trusted environment outside the normal Windows kernel and can be used when malware infection is suspected.

An offline scan is useful for investigation and detection, but a clean result should not automatically close a confirmed RAT incident.

Step 4: Reset Important Credentials From a Clean Device

Do not use the possibly infected computer to perform your first password reset.

Prioritize accounts that were logged in or accessible from that machine.

For business accounts, also consider:

  • revoking active sessions
  • reviewing authentication logs
  • resetting exposed administrative credentials
  • checking MFA changes
  • reviewing newly registered devices or authentication methods

These actions should be based on actual exposure rather than blindly resetting every account in the organization.

Step 5: Consider a Clean Windows Reinstallation

Both the original reporting and ThaiCERT's advisory described a complete Windows reinstall as the strongest remediation for people who executed the malicious activation command.

That recommendation makes sense when a RAT or unknown secondary payload may have been installed and you cannot confidently establish what changed.

For a business, forensic preservation may need to happen before reimaging.

Step 6: Validate Backups Before Restoring Them

Do not blindly restore an old system image or a collection of executables.

NIST recommends checking restoration assets for indicators of compromise, corruption, and integrity problems before using them during recovery.

Documents and personal files may be recoverable safely, but executable content, scripts, installers, system images, and configuration backups deserve closer review.

Step 7: Investigate the Wider Environment

For a personal computer, the scope may stop with the device and its accounts.

For a business computer, it may not.

Check whether the affected endpoint had access to:

  • file servers
  • shared drives
  • remote desktop systems
  • VPN resources
  • privileged accounts
  • cloud consoles
  • source-code repositories
  • backup systems
  • password vaults
  • administrative tools

There is no public evidence proving that this MAS campaign performed lateral movement in every infection. The reason for investigating is that an endpoint with remote-access malware may have had access to other valuable resources.

Organizations dealing with a confirmed infection can use a structured rather than treating the event as a routine malware scan.

MAS Windows activation malware

A Realistic Example

Consider a small design company using Windows PCs for client work.

An employee is setting up a test machine and searches for a quick activation method. They manually enter an address into a PowerShell command but miss one letter.

The command appears to run.

Nothing obvious happens.

Two days later, security monitoring detects unusual outbound traffic from that workstation.

At this point, the company should not assume that passwords were definitely stolen, nor should it assume the incident is harmless.

The useful questions are:

  • What process contacted the external server?
  • What PowerShell activity was recorded?
  • Which user was logged in?
  • Did the user have administrator privileges?
  • Which company services were accessible?
  • Were new processes or files created?
  • Did other endpoints contact the same infrastructure?
  • Do important sessions or credentials need to be revoked?
  • Should the computer be rebuilt?

That is the difference between guessing about malware and performing incident response.

Why Antivirus Alone May Not Be Enough

Traditional antivirus is still useful, but modern incidents often involve scripts, trusted Windows processes, authentication sessions, remote services, and multiple payload stages.

The goal is not merely to find one malicious file.

Security teams need enough telemetry to reconstruct the chain:

User action → PowerShell execution → network request → loader → secondary payload → account or system activity

That is why EDR, behavioral monitoring, central logging, and endpoint isolation can be useful in business environments.

Hoplon's covers that broader endpoint detection and response model.

How to Prevent Fake Windows Activation Malware

The simplest protection is also the most reliable: activate Windows through Microsoft's legitimate licensing methods.

Beyond that, several controls reduce the risk of this style of attack.

Do Not Execute Remote Scripts You Do Not Understand

A short command can hide a large amount of remote code.

Before allowing any script to run with administrative rights, verify its source and understand why it needs those permissions.

Avoid Manually Retyping Sensitive Command URLs

Typosquatting succeeds because people overlook tiny differences in domain names.

For legitimate administrative scripts, use approved documentation, internal repositories, or verified bookmarks rather than typing URLs from memory.

Use Standard User Accounts for Routine Work

Administrative access increases the potential impact of malicious software.

Users who do not need administrator rights for daily tasks should not operate permanently with elevated privileges.

Enable Useful PowerShell Logging

Organizations that rely heavily on PowerShell should consider script-block logging and appropriate central log collection.

Logging is not prevention by itself, but it can make investigation far easier after an incident.

Monitor Endpoints for Behavioral Signals

Watch for combinations such as:

  • unusual PowerShell execution
  • unexpected child processes
  • abnormal outbound connections
  • unauthorized startup behavior
  • security tools being disabled
  • unexplained administrative actions

A single signal may be harmless. Several related signals deserve investigation.

Use DNS and Web Filtering in Business Networks

Organizations can block known malicious domains and suspicious newly observed domains through managed DNS, secure web gateways, or security platforms.

This will not stop every typo domain, but it adds another layer between a typing error and a compromise.

Maintain Tested Backups

Backups are valuable only when you know they can be trusted and restored safely.

Include recovery testing in normal security operations rather than discovering backup problems after an incident.

Is MAS Itself Malware?

The 2025 evidence does not establish that the MAS project itself was malware.

The confirmed incident involved attackers impersonating the project through a look-alike domain.

That distinction does not make unofficial activation tools risk-free.

Using scripts from third-party sources requires trust in the source, hosting infrastructure, code, instructions, and any content retrieved at runtime. Microsoft does not provide MAS as an official Windows activation mechanism.

For the lowest security and licensing risk, use legitimate Microsoft activation.

Is It Safe to Use MAS for Windows Activation?

There is no responsible way to describe unofficial activation as equally safe as using Microsoft's supported licensing process.

This specific incident proves something narrower but important: people seeking MAS could be redirected into malware simply through a one-letter typing error.

The security problem was the malicious look-alike source, not evidence that every copy of MAS was infected.

Can PowerShell Malware Steal Data?

Yes, PowerShell can be used as part of malware capable of data theft, remote access, and additional payload delivery.

For this specific campaign, remote-access malware was reported, which creates a credible risk of data exposure.

What cannot be confirmed from the available evidence is that every Cosmali Loader victim had passwords or files stolen.

How Do I Know If My Windows PC Has Been Hacked?

No single symptom can confirm it.

Stronger indicators include:

  • confirmed execution of the malicious command
  • antivirus or EDR detections
  • suspicious PowerShell logs
  • unknown outbound connections
  • unexplained remote-access activity
  • unexpected account sessions
  • malicious files or processes identified during investigation

Slow performance by itself is not enough.

Is Cracked Windows Dangerous?

The Windows operating system does not automatically become infected simply because its activation status is unofficial.

The risk often comes from the activators, cracks, loaders, modified installers, scripts, and websites used to bypass normal licensing.

Those sources may be untrusted or impersonated, as the fake MAS campaign demonstrated.

Should I Reinstall Windows After Running the Fake MAS Script?

If you confirmed that the malicious typosquatted command was executed, a clean reinstall is the most conservative recovery option and was specifically recommended in reporting about this incident.

For corporate devices, preserve necessary forensic evidence before wiping the computer.

What If the Antivirus Scan Finds Nothing?

A clean scan is useful information, but it does not automatically prove that a machine previously exposed to a remote-access trojan is trustworthy.

Review the execution history, security telemetry, accounts, sessions, persistence indicators, and network activity.

If the infection cannot be confidently scoped, rebuilding the system may be safer than trying to prove that every malicious change has been removed.

The Main Lesson From the MAS Windows Activation Malware Incident

The most important part of this incident was not a sophisticated Windows zero-day.

It was trust.

A one-letter domain difference turned an activation command into a malware delivery mechanism.

That is why the best response is not simply “be more careful when typing.” Security needs multiple layers: verified software sources, limited privileges, endpoint monitoring, PowerShell visibility, account protection, tested backups, and a recovery process that assumes an attacker may have done more than leave one malicious file behind.

If you ran the suspicious command, treat the situation based on what actually happened rather than waiting for obvious symptoms.

For a personal device, isolation, account protection, scanning, and a clean rebuild may be enough.

For an organization, the question becomes larger: what did that endpoint have access to, what evidence exists, and how can you prove the environment is safe to return to service?

That is when malware cleanup becomes incident response.

If a single home computer was affected, rebuilding Windows and securing exposed accounts may be enough.

A business incident is different. If the affected endpoint contained sensitive information, privileged accounts, customer data, cloud access, or connections to other internal systems, the organization may need to determine the actual scope before returning the device to service.

Hoplon Infosec can support that process through endpoint investigation, containment, forensic analysis, recovery planning, and post-incident hardening.

The goal should not be to claim that every suspected infection is a major breach. It should be to establish what happened, determine what was exposed, remove attacker access, and restore systems to a known-good state.


You can also read these important cybersecurity news articles on our website.

·       Apple Update,

·       Windows Problem,

·       Chrome Warning,

·       Apple os update

 

Was this useful?

React, leave a note, or share it forward.

Leave a note

Share this article

Share this :

03Latest posts

Free · Weekly · No noise

Get the threats that matter, before they reach you.

One short email a week with the breaches, zero-days, and fixes worth your attention — written in plain English, no fear-mongering.