Microsoft: Iranian hackers breached Albanian government more than a year before main hack
Investigation reveals how long Iran spent inside government systems and how little damage it actually did
An investigation into the hack on Albania's government has revealed the Iranian state-sponsored hackers responsible initially gained access to systems more than a year before the attack ended.
The hacking group that has been widely attributed to Iranian sponsorship by several organisations such as Microsoft, as well as the UK and US, is believed to have initially gained access in May 2021, 13 months before the 15 July 2022 hack that was widely reported this week.
It is believed the hackers gained initial access to the victim system by exploiting a vulnerability in a then-two-year-old unpatched Microsoft SharePoint server (CVE-2019-0604), before cementing access two months later through a misconfigured service.
Microsoft’s technical report on the hack was published this week and made several revelations about the incident, which it was brought in to investigate by the Albanian government.
In addition to the evidence of hackers being entrenched in Albania’s systems for longer than a year, Microsoft also found evidence of email data being exfiltrated as early as October 2021 and this persisted until January 2022.
Exchange logs also revealed the same Iran-linked hackers exfiltrated data from other victims between November 2021 and May 2022 that were consistent with Iran’s past interests, Microsoft said, such as Jordan, Kuwait, and UAE, among others.
The results of the investigation published this week showed how the main hack announced this week, which caused Albania to sever diplomatic ties with Iran, was just the climax of a year-long espionage campaign against it and other targets.
Sign up today and you will receive a free copy of our Future Focus 2025 report - the leading guidance on AI, cybersecurity and other IT challenges as per 700+ senior executives
Microsoft was also able to reveal that the attack consisted of four phases with each phase being assigned to a different state-sponsored hacking group.
One group was tasked with probing the victim's infrastructure and another for the exfiltration. A third actor was required to gain the initial access and complete some data theft, and a fourth group was tasked with deploying the ransomware and wiper malware payloads.
The data exfiltration was carried out, at least in part, with the Jason tool - an offensive security tool that’s consistent with activity from Iran-linked groups of the past, such as APT34.
RELATED RESOURCE
An EDR buyer's guide
How to pick the best endpoint detection and response solution for your business
The methods used in the climax of the attack were consistent with previous activity of Iran-linked state-sponsored hackers, too. Microsoft said ransomware was deployed on the victim’s system and then a wiper malware was used after that.
The increased use of wiper malware was among the most popular predictions of cyber security experts at the start of the year.
Speaking to IT Pro in January, Maya Horowitz, director of threat intelligence and research products at Check Point, predicted the increased use of wiper malware and it being especially popular among hacktivists.
The use of wipers has also been observed in the cyber war between Russia and Ukraine - Russia deployed such malware against Ukraine in the early stages of the conflict before stopping seemingly abruptly.
Microsoft said that despite the year-long campaign, the final stage of the attack - the deployment of ransomware and wiper malware - was ‘largely unsuccessful’ since the “attempt at destruction had less than a 10% total impact on the customer environment”.
The hackers went to great lengths to establish themselves in the Albanian government’s systems. Activity included exploitation of vulnerabilities to establish persistence, reconnaissance, credential harvesting, and evasive manoeuvres such as disabling security products.
Why did Iran hack Albania?
The messaging throughout the attack, combined with the target selection and the binaries signed with Iran-linked digital certificates helped to indicate that the culprit of the campaign was Iran.
The ransom note displayed on the Albanian systems made implications that the target of the attack was the Mujahedin-e Khalq (MEK) - the main political opposition in Iran that has been exiled to Albania.
The ransom note also depicted the symbol of the Predatory Sparrow hacking group which is believed to be responsible for several cyber attacks against Iran state-linked targets dating back to 2021.
Such incidents involved Iran’s transport network, its manufacturing companies, and payment systems which ultimately closed petrol stations around the country.
The MEK is believed to be affiliated with the Predatory Sparrow hacking group and most recently it was thought to be behind the attack on the Tehran municipality’s security cameras and the defacement of its website, according to local media.
Iran’s attack on 15 July, revealed earlier this week, followed a string of cyber attacks on Iran and one week before the planned MEK’s ‘Free Iran World Summit’ which was cancelled this year following fears of terrorist targeting.

Connor Jones has been at the forefront of global cyber security news coverage for the past few years, breaking developments on major stories such as LockBit’s ransomware attack on Royal Mail International, and many others. He has also made sporadic appearances on the ITPro Podcast discussing topics from home desk setups all the way to hacking systems using prosthetic limbs. He has a master’s degree in Magazine Journalism from the University of Sheffield, and has previously written for the likes of Red Bull Esports and UNILAD tech during his career that started in 2015.
-
Cyber resilience in the UK: learning to take the punchesColumn UK law now puts resilience at the centre of cybersecurity strategies – but is legislation simply catching up with enterprise understanding that resilience is more than just an IT issue?
-
CISPE claims European Commission gave Broadcom a ‘blank cheque to raise prices, lock-in, and squeeze customers’ with VMware dealNews Cloud providers have issued a formal response to the General Court of the European Union after the Commission defended its approval of the deal
-
15-year-old revealed as key player in Scattered LAPSUS$ HuntersNews 'Rey' says he's trying to leave Scattered LAPSUS$ Hunters and is prepared to cooperate with law enforcement
-
The Scattered Lapsus$ Hunters group is targeting Zendesk customers – here’s what you need to knowNews The group appears to be infecting support and help-desk personnel with remote access trojans and other forms of malware
-
Impact of Asahi cyber attack laid bare as company confirms 1.5 million customers exposedNews No ransom has been paid, said president and group CEO Atsushi Katsuki, and the company is restoring its systems
-
The US, UK, and Australia just imposed sanctions on a Russian cyber crime group – 'we are exposing their dark networks and going after those responsible'News Media Land offers 'bulletproof' hosting services used for ransomware and DDoS attacks around the world
-
A notorious ransomware group is spreading fake Microsoft Teams ads to snare victimsNews The Rhysida ransomware group is leveraging Trusted Signing from Microsoft to lend plausibility to its activities
-
Volkswagen confirms security ‘incident’ amid ransomware breach claimsNews Volkswagen has confirmed a security "incident" has occurred, but insists no IT systems have been compromised.
-
The number of ransomware groups rockets as new, smaller players emergeNews The good news is that the number of victims remains steady
-
Teens arrested over nursery chain Kido hacknews The ransom attack caused widespread shock when the hackers published children's personal data