LoJax
- Type
- Bootkit
- Capabilities
- PersistenceDefense evasionReconnaissanceByovdPost exploitation
- Platforms
- Windows
LoJax is a UEFI firmware bootkit associated with the Russian state-sponsored espionage group APT28, also known as Sednit and Fancy Bear. Publicly documented by ESET in 2018, it was the first UEFI firmware rootkit confirmed in use in the wild. It targets Windows systems and incorporates a modified agent derived from the legitimate LoJack anti-theft software.
Deployed after an initial system compromise, LoJax uses firmware reconnaissance tools to inspect platform configuration and flash-write protections. Its installation chain abuses the signed kernel driver supplied with RWEverything to access low-level hardware, read SPI flash, modify the firmware image, and write it back. Installation depends on inadequate firmware write protections or exploitable protection weaknesses. The implant consists of an unsigned DXE driver stored in SPI flash and executes through a ReadyToBoot event callback before the operating-system bootloader runs.
An embedded NTFS DXE driver enables access to Windows partitions so that the implant can place malicious components on disk. Windows startup registry modifications ensure execution of its payload, supporting a persistent command-and-control agent. Firmware-resident persistence allows LoJax to survive operating-system reinstallation and hard-drive replacement, restoring malicious components independently of the installed operating system. LoJax does not implement a Secure Boot bypass; properly enforced Secure Boot can block its unsigned firmware component.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Techniques & procedures
18 distinct techniques documented for this family, organized by ATT&CK tactic.
Persistence
9 techniques
Persistence
"LoJax has modified the Registry key ‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute’ ..."
[LoJax](https://attack.mitre.org/software/S0397) has modified the Registry key <code>‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute’</code> from <code>‘autocheck autochk *’</code> to <code>‘autocheck autoche *’</code>.(Citation: ESET LoJax Sept 2018)
Bootkits are a type of malware that infects the boot process of a computer, allowing attackers to gain persistent access and control over the system.
[LoJax](https://attack.mitre.org/software/S0397) is a UEFI BIOS rootkit deployed to persist remote access software on some targeted systems.(Citation: ESET LoJax Sept 2018)
На данный момент мы можем выделить два вектора атаки на UEFI-платформу: перепрошивка SPI и модификация менеджера загрузки.
The Service Control Manager is not directly abused; instead, it legitimately launches rpcnetp.exe during the normal service startup sequence initiated by wininit.exe, based on service registry configuration prepared earlier by autoche.exe.
LoJax has modified the Registry key ‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute’ from ‘autocheck autochk *’ to ‘autocheck autoche *’ in order to execute its payload during Windows startup. ... HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager autocheck autochk *
[LoJax](https://attack.mitre.org/software/S0397) has modified the Registry key <code>‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute’</code> from <code>‘autocheck autochk *’</code> to <code>‘autocheck autoche *’</code> in order to execute its payload during Windows startup.(Citation: ESET LoJax Sept 2018)
LoJax has modified the Registry key ‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute’ ... in order to execute its payload during Windows startup.
Privilege Escalation
6 techniques
Privilege Escalation
"LoJax has modified the Registry key ‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute’ ..."
В случае LoJax в основу подхода по компрометации легла эксплуатация уязвимости race condition.
The Service Control Manager is not directly abused; instead, it legitimately launches rpcnetp.exe during the normal service startup sequence initiated by wininit.exe, based on service registry configuration prepared earlier by autoche.exe.
LoJax has modified the Registry key ‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute’ from ‘autocheck autochk *’ to ‘autocheck autoche *’ in order to execute its payload during Windows startup. ... HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager autocheck autochk *
[LoJax](https://attack.mitre.org/software/S0397) has modified the Registry key <code>‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute’</code> from <code>‘autocheck autochk *’</code> to <code>‘autocheck autoche *’</code> in order to execute its payload during Windows startup.(Citation: ESET LoJax Sept 2018)
LoJax has modified the Registry key ‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute’ ... in order to execute its payload during Windows startup.
Stealth
7 techniques
Stealth
[LoJax](https://attack.mitre.org/software/S0397) is a UEFI BIOS rootkit deployed to persist remote access software on some targeted systems.(Citation: ESET LoJax Sept 2018)
ReSetfTA.efi : UEFI application resetting the infection marker for debug
Чтобы взаимодействовать c PCI-устройством, LoJax использует драйвер в составе утилиты Read & Write Everything ... она имеет подписанный легитимный драйвер, который как раз и использовали разработчики LoJax.
Bootkits are a type of malware that infects the boot process of a computer, allowing attackers to gain persistent access and control over the system.
[LoJax](https://attack.mitre.org/software/S0397) is a UEFI BIOS rootkit deployed to persist remote access software on some targeted systems.(Citation: ESET LoJax Sept 2018)
На данный момент мы можем выделить два вектора атаки на UEFI-платформу: перепрошивка SPI и модификация менеджера загрузки.
[LoJax](https://attack.mitre.org/software/S0397) has loaded an embedded NTFS DXE driver to be able to access and write to NTFS partitions.(Citation: ESET LoJax Sept 2018)
Defense Impairment
2 techniques
Defense Impairment
[LoJax](https://attack.mitre.org/software/S0397) has modified the Registry key <code>‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute’</code> from <code>‘autocheck autochk *’</code> to <code>‘autocheck autoche *’</code>.(Citation: ESET LoJax Sept 2018)
LoJax modified the Registry key 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute' from 'autocheck autochk' to 'autocheck autoche'.
Discovery
1 technique
Discovery
One of the user-mode applications (exe) collects UEFI firmware information such as BIOS write protection settings and SPI registers.
Command and Control
1 technique
Command and Control
rpcnetp.exe ... operates for the long-lived C2 agent.
Impact
1 technique
Impact
Compromising the Management Engine of a system would have considerable value on its own, but the leaks show that the group is using the unique privileges of the ME firmware as a way to gain indirect access to the UEFI/BIOS, drop additional payloads, and gain runtime control of the system below the operating system using System Management Mode (SMM).
Recent activity
37 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.