The Cloud Consultancy Europe Ltd.
+44 (0) 203 637 6667 [email protected]

Executive summary

AT&T Alien Labs™ has observed new activity that has been attributed to the Lazarus adversary group potentially targeting engineering job candidates and/or employees in classified engineering roles within the U.S. and Europe. This assessment is based on malicious documents believed to have been delivered by Lazarus during the last few months (spring 2021). However, historical analysis shows the lures used in this campaign to be in line with others used to target these groups.

The purpose of this blog is to share the new technical intelligence and provide detection options for defenders. Alien Labs will continue to report on any noteworthy changes.

Key Takeaways:

  • Lazarus has been identified targeting defense contractors with malicious documents.
  • There is a high emphasis on renaming system utilities (Certutil and Explorer) to obfuscate the adversary’s activities (T1036.003).


Since 2009, the known tools and capabilities believed to have been used by the Lazarus Group include DDoS botnets, keyloggers, remote access tools (RATs), and drive wiper malware. The most publicly documented malware and tools used by the group actors include Destover, Duuzer, and Hangman.


Several documents identified from May to June 2021 by Twitter users were identified as being linked to the Lazarus group. Documents observed in previous campaigns lured victims with job opportunities for Boeing and BAE systems. These new documents include:

  • Rheinmetall_job_requirements.doc: identified by ESET Research.
  • General_motors_cars.doc: identified by Twitter user @1nternaut.
  • Airbus_job_opportunity_confidential.doc: identified by 360CoreSec.

The documents attempted to impersonate new defense contractors and engineering companies like Airbus, General Motors (GM), and Rheinmetall. All of these documents contain macro malware, which has been developed and improved during the course of this campaign and from one target to another. The core techniques for the three malicious documents are the same, but the attackers attempted to reduce the potential detections and increase the faculties of the macros.

First iteration: Rheinmetall

The first two documents from early May 2021 were related to a German Engineering company focused on the defense and automotive industries, Rheinmetall. The second malicious document appears to include more elaborate content, which may have resulted in the documents going unnoticed by victims.

The Macro has base64 encoded files, which are extracted and decoded during execution. Some of the files are split inside the Macro and are not combined until the time of decoding. One of the most distinctive characteristics of this Macro is how it evades detections of a MZ header encoded in base64 (TVoA, TVpB, TVpQ, TVqA, TVqQ or TVro), by separating the first two characters from the rest of the content, as seen in Figure 1.

MZ header conceal

Figure 1: Concealing of MZ header, as captured by Alien Labs.

The rest of the content is kept together in lines of 64 characters, and because of this, YARA rules can be used to detect other, typical executable content encoded in base64 aside of the MZ header. In this case, up to nine different YARA rules alerted to suspicious encoded strings in our Alien Labs analysis, like VirtualProtect, GetProcAddress, IsDebuggerPresent, GetCurrentProcessId, etc.

YARA detections

Figure 2: YARA rules detections listed in the AT&T Alien Labs Open Threat Exchange, OTX.

All files created by the executable and used by the different Macros are located in a new folder C:/Drivers with the purpose of masquerading their activity. The Macro copies and renames the Microsoft legitimate executable Certutil.exe into this folder. The reason for this copy is to avoid endpoint detection and response (EDR) signatures based on system utilities executed from non-standard sources (a Microsoft Office document in this case). Additionally, the copy of Certutil is disguised to avoid using the full string, by partially replacing it with an asterisk %systemroot%\system32\certut*.exe. As seen in later iterations, this technique was slightly modified to further reduce the number of detections.

Certutil is used to decode the previously mentioned file, doing it within the same folder and with a different executable name. Once the necessary files have been decoded, the encoded files are removed from the system.

The script queries WMI to list all the explorer.exe processes, where it will try to inject the malicious payload. For the injection, the attackers used Mavinject (a legitimate Windows component that can be used and abused) to perform arbitrary code injections inside any running process. Mavinject.exe has been abused for several years, as indicated in this blog from 2017.


Figure 3: Mavinject injection to explorer, as captured by Alien Labs.

malicious document execution

Figure 4: Malicious Document execution tree listed in the AT&T Alien Labs OTX.

The payload is in fact a downloader, which requests the next stage to a hardcoded Command and Control (C&C) server and saves it to a new file. This request is made through HTTPS with hardcoded headers. In this case, the domain used as C&C has been registered for several years, and the domain continues to have a long expiration date. For these reasons, this domain was assessed as a compromised domain, leveraged by Lazarus as C&C.

hardcoded HTTP headers

Figure 5: Hardcoded HTTP headers, as captured by Alien Labs.

Second iteration: General Motors

A few weeks after the Rheinmetall document was observed, a very similar document emerged targeting General Motors. The characteristics of this document were very similar to the previous one, but with minor updates in the C&C communication process.

After attempting to execute all its code, the Macro reports back to the C&C server with the status of the infection. In the code, a variable is updated from 1 to 3, signaling the status of the execution. The C&C is capable of tracking where its execution is failing, or encountering unexpected behavior, based on the requests made to the different documents in the C&C. This includes:

  1. During copying, decoding, renaming and executing the payload
  2. After successfully executing the payload
  3. After (and if) the payload was able to contact the C&C and download a file which is saved in the C:\Drivers folder with the inf extension.

The status report to the C&C also requests the lure document, which at this moment is downloaded from the same C&C and opened.

C&C beacon

Figure 6: C&C beacon to report execution status, as captured by Alien Labs.

The domain used in this document and payload allgraphicart[.]com is no longer a compromised domain. It was first registered on April 1, 2021. However, it did not have any noteworthy activity until these malicious documents showed up, at least a month after the domain was registered. The domain was registered with Porkbun LLC, who offers domains with the free option of protecting the whois information.

Third iteration: Airbus

In early June, a month after the first document of this campaign was observed, a new document was identified targeting Airbus. This time, the C&C communications were very similar to the previous iteration of the document; however, the execution and injection processes were different.

This document continues utilizing and masquerading Certutil, but the copy command had the minor addition of another asterisk to reduce the detection risk: %systemroot%\system32\*ertut*.exe. In addition to Certutil, the legitimate explorer executable is copied to the C:\Drivers folder through a similar method %systemroot%\exp*.exe. As previously mentioned, these files will be copied and renamed to avoid EDR signature-based detections, but this time the destination filenames were carefully chosen. If alphabetically ordered, the first two files will correspond to legitimate software, followed by the malicious files, which could mislead investigators on their first peak on the C:\Drivers folder.

This Macro contains three files encoded with base64 which are copied to disk and decoded during execution:

  • The first .tmp file will become a .lnk file after decoding. This lnk file is executed with Explorer and performs the next decoding.
  • The second tmp file is concatenated (linked) with a third one, from the next-stage payload after decoding.

After the actions, the Macro executes the mentioned payload with an updated technique. The attackers are no longer using Mavinject, but directly executing the payload with explorer.exe, significantly modifying the resulting execution tree as seen in Figure 10. Once the payload has been executed, the Macro waits for three seconds before creating of an .inf file in the same folder. Whether it was successfully executed or not, the Macro will proceed to send the beacon to the C&C with the execution status and delete all the temporary files, attempting to clean their tracks. The only files left in C:\Drivers\ at this point are the payload and the .inf file.

Execution tree

Figure 7: Malicious Document execution tree, as captured by AT&T Alien Labs.

The new C&C shopweblive[.]com follows the same pattern and characteristics of the one used in the second iteration.


The reported activity remains in line with the Lazarus’ past campaigns and is not expected to be the last. Attack lures, potentially targeting engineering professionals in government organizations, showcase the importance of tracking Lazarus and their evolution. We continue to see Lazarus using the same tactic, techniques, and procedures that we have observed in the past, such as using Microsoft Office documents that download remote templates, Microsoft Office Macros, and compromised third party infrastructure to host the payloads and proxy C&C traffic through. AT&T Alien Labs will continue to monitor and report on any noteworthy changes.

Detection Methods

The following associated detection methods are in use by Alien Labs. They can be used by readers to tune or deploy detections in their own environments or for aiding additional research.

2033135: ET TROJAN Observed Lazarus Maldoc CnC Domain (shopweblive .com in TLS SNI)


Malicious activity detected after Certutil.exe file decoding
Windows renamed binary
Suspicious Process Created by Microsoft Office Application
Windows MavInject DLL Injection


rule LazarusCampaign_MacroDoc_Jun2021 : WindowsMalware {


      author = "AlienLabs"

      description = "Detects Lazarus campaign macro document Jun2021."

      reference = ""

      SHA256 = "294acafed42c6a4f546486636b4859c074e53d74be049df99932804be048f42c"


      $a1 = "ZSBydW4gaW4gRE9TIG1vZGUuDQ0KJA" ascii //run in DOS mode. - base64 encoded

      $a2 = "c:\\Drivers"

      $a3 = "AAAAAAAAAA=" ascii // base64 content

      $a4 = "CreateObject(\"Scripting.FileSystemObject\").CreateTextFile"

      $a5 = "cmd /c copy"

      $a6 = {73 79 73 74 65 6d 33 32 5c 2a 65 72 74 75 74 2a 2e 65 78 65} // system32\*ertut*.exe

      $a7 = {25 73 79 73 74 65 6d 72 6f 6f 74 25 5c 65 78 70 2a 2e 65 78 65} // %systemroot%\exp*.exe

      $a8 = "sleep 1000"

      $a9 = "cmd /c explorer.exe /root"

      $a10 = "-decode "

      $b = "tAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5v" ascii //This program cannot - base64 encoded


      uint16(0) == 0xCFD0 and

        filesize < 2000KB and

        $b and

        5 of ($a*)

rule LazarusCampaign_Payload_Jun2021 : WindowsMalware {


      author = "AlienLabs"

      description = "Detects Lazarus campaign downloader Jun2021."

      reference = ""

      SHA256 = "f5563f0e63d9deed90b683a15ebd2a1fda6b72987742afb40a1202ddb9e867d0"


      $a1 = "Office ClickToRun" wide ascii

      $a2 = "C:\\Drivers\\"


      uint16(0) == 0x5A4D and all of them


Associated indicators (IOCs)

The following technical indicators are associated with the reported intelligence. A list of indicators is also available in the OTX Pulse. Please note, the pulse may include other activities related but out of the scope of the report.

SHA256 e6dff9a5f74fff3a95e2dcb48b81b05af5cf5be73823d56c10eee80c8f17c845 Malicious Rheinmetall Document 1
SHA256 ffec6e6d4e314f64f5d31c62024252abde7f77acdd63991cb16923ff17828885 Malicious Rheinmetall Document 2
SHA256 8e1746829851d28c555c143ce62283bc011bbd2acfa60909566339118c9c5c97 Malicious GM Document
SHA256 294acafed42c6a4f546486636b4859c074e53d74be049df99932804be048f42c Malicious Airbus Document
SHA256 65f7211c3d7fde25154b4226a7bef0712579e0093020510f6a4bb4912a674695 Malicious Rheinmetall Document 3
SHA256 ebd6663d1df8228684a0b2146b68ce10169fc41c5e91c443fdf6f844f5ffeb62 Malicious Rheinmetall Document 4
SHA256 97515b70184f4553e5ae6b51d06a148b30d0a6632c077b98ad320e3c27cfd96f Malicious Rheinmetall Document 5
DOMAIN shopweblive[.]com Airbus CnC domain
URL shopweblive[.]com/image_slider.png CnC beacon
URL shopweblive[.]com/airbus_job_vacancies.doc CnC beacon
URL shopweblive[.]com/airbus_job_vacancie.doc CnC beacon
URL shopweblive[.]com/airbus_job_vacancy.doc CnC beacon
DOMAIN allgraphicart[.]com GM CnC domain
URL allgraphicart[.]com/general_motors_car.doc CnC beacon
URL allgraphicart[.]com/general_motors_car.docx CnC beacon
URL allgraphicart[.]com/general_motors_car.rtf CnC beacon
URL allgraphicart[.]com/logo.png CnC beacon
SHA256 f5563f0e63d9deed90b683a15ebd2a1fda6b72987742afb40a1202ddb9e867d0 Payload
SHA256 3b33b0739107411b978c3cbafb312a44b7488bd7adabae3e7b02059240b6dc83 Payload
SHA256 f53d4b3eb76851e88c6f30f1ecc67796bbd6678b8e2e9bc0a8f2582c42a467c6 Payload
SHA256 9362425ae690b5bf74782eafe959195f25ac8bad370794efd4a08048141efb32 Payload
SHA256 5c206b4dc2d3a25205176da9a1129c9f814c030a7bac245e3aaf7dd5d3ca4fbe Payload
SHA256 1690ce43530acf725f33aa30f715855d226d63276557d0e33fbcaf9b5ff9b84c Payload
URL wicall[.]ir/logo.png CnC beacon

Mapped to MITRE ATT&CK

The findings of this report are mapped to the following MITRE ATT&CK Matrix techniques:

  • TA0001: Initial Access
    • T1566: Phishing
      • T1566.001: Spearphishing Attachment
  • TA0002: Execution
    • T1204: User Execution
      • T1204.002: Malicious File
    • T1059: Command and Scripting Interpreter
  • TA0005: Defense Evasion
    • T1140: Deobfuscate/Decode Files or Information
    • T1036: Masquerading
      • T1036.003: Rename System Utilities
  • TA0011: Command and Control
    • T1132: Data Encoding


Source: AT&T Alien Labs™

Written by: Fernando Martinez

Protect your environment from Ransomware attacks.

Educating yourself and your employees with Cyber Security Awareness Training is the best way to start ensuring your business is protected from cyber-attacks.

Learn more about how The Cloud Consultancy can address and manage your businesses Cyber Security headaches. We can now provision boutique, pro-active, IT support services 24/7/365