Microsoft Attributes Mastra AI Supply Chain Attack to North Korea
Microsoft said North Korean hackers attacked Mastra, an open-source tool for building AI applications, with high confidence.
Overview
Microsoft researchers determined with high confidence that North Korean hackersA person who explores and manipulates computer systems, either as a criminal intruder or a security researcher named Sapphire Sleet carried out a supply chain attackBreaking into a software maker or vendor so their trusted product or update infects their customers against Mastra, an open-sourceSoftware whose source code is publicly available for anyone to inspect, use, modify, and share tool for building AI applications. The attackers took over a maintainerThe developer or small team responsible for reviewing changes and publishing releases for an open-source project account on the npm registryA central database of system settings on a computer or a public catalog that hosts software packages, the largest open-source databaseAn organized digital store of structured records, such as customer accounts, orders, or messages, queried by software of JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers code, to publish 140 poisoned packages containing a malicious dependencyAn external code library or package that a software project relies on to do part of its work called easy-day-js. This malicious code disabled TLS certificateA file that ties a public key to a name, signed by a certificate authority verification and connected to an attacker-controlled server to deliver malwareSoftware built to steal data, spy on users, lock files, or take control of a computer to Windows, MacOS, and Linux systems. The malware was designed to steal from 166 cryptocurrencyDigital money tracked on a public ledger using cryptography instead of a central bank wallet browser extensions, including MetaMask, Phantom, Coinbase Wallet, Binance Wallet, and TronLink. It also gathered information on browser history and system details like hostnameThe human-readable label assigned to a computer or server on a local network or the internet, architecture, and running processes. Developers who installed these packages are now at risk of having their cryptocurrency stolen and their system information exposed.
Terms in this story
- hackers
- A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
- Supply Chain Attack
- Breaking into a software maker or vendor so their trusted product or update infects their customers. Instead of attacking a hundred companies one by one, an intruder compromises a single software library or update server that all of those companies already trust. Security+ objective 2.2 lists the term
- open-source
- Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
- maintainer
- The developer or small team responsible for reviewing changes and publishing releases for an open-source project. Supply chain attackers often target a volunteer maintainer with phishing emails or offers to help, hoping to gain publishing rights over a popular code library.
- registry
- A central database of system settings on a computer or a public catalog that hosts software packages. In security news, the registry means either the operating system settings database where malware adds startup entries or a public package registry where developers download code libraries.
- database
- An organized digital store of structured records, such as customer accounts, orders, or messages, queried by software. Behind almost every website and mobile app sits a database, and attackers target misconfigured or unpatched databases to copy millions of user records at once.
- JavaScript
- The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
- dependency
- An external code library or package that a software project relies on to do part of its work. When a popular open-source dependency has a security bug or gets hijacked by an attacker, every application that imports that package inherits the risk.
- certificate
- A file that ties a public key to a name, signed by a certificate authority. Web browsers check a site's certificate on every secure visit, and news stories report when an expired or stolen certificate causes outages or lets an attacker impersonate a domain. From the CYBR 101 room CYBR 101: What is a hash?; Security+ objective 1.4 lists the term
- malware
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
- cryptocurrency
- Digital money tracked on a public ledger using cryptography instead of a central bank. Cryptocurrency appears constantly in cybersecurity news because ransomware gangs demand payment in digital coins and hackers target online exchanges and digital wallets directly.
- hostname
- The human-readable label assigned to a computer or server on a local network or the internet. During an intrusion investigation, logs often identify which employee laptop or internal server was accessed by its hostname alongside its IP address.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Infosecurity Magazine website. Cite the article, not this page.
Read the full article on Infosecurity Magazine (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Security+ 2.1 Compare and contrast common threat actors and motivations.
"North Korean threat actor Sapphire Sleet has been linked to a..." Found in the opening sentences - Security+ 2.2 Explain common threat vectors and attack surfaces.
"Microsoft Attributes Mastra AI Supply Chain Attack to North Korea..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"Microsoft Attributes Mastra AI Supply Chain Attack to North Korea..." Found in the headline - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"Microsoft Attributes Mastra AI Supply Chain Attack to North Korea..." Found in the headline - CYBR 101 week 11: penetration testing, OSINT, MITRE ATT&CK and hacking back
"......chain attack targeting Mastra, according to Microsoft security researchers..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"North Korean threat actor Sapphire Sleet has been linked to a..." Found in the opening sentences - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"Microsoft Attributes Mastra AI Supply Chain Attack to North Korea..." Found in the headline
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- Microsoft links Mastra AI supply chain attack to North Korean hackers
- From package to postinstall payload: Inside the Mastra npm supply chain compromise
- 144 Mastra npm Packages Compromised via Hijacked Contributor Account