New Delphi-based Packer Used to Avoid AV Detection
This content has been archived
This article no longer conforms to NHS Digital's standards for cyber alerts, and may contain outdated or inaccurate information. Use of this information contained in this page is at your own risk
Summary
Affected platforms
The following platforms are known to be affected:
Threat details
The packer is written in Delphi, a programming language that can be used to rapidly create native applications for most popular computing platforms. Many Delphi applications make use of standard Windows API functionality, with some malware authors including default libraries to prevent analysis. The packer uses several of these APIs to verify it is not installed on a virtual machine. The GetForegroundWindow, GetCursorPos and Sleep APIs are used to check for user activity; while the GetLastInputInfo and GetTickCount APIs check the system idle state.
Payloads using this packer will be split into multiple encrypted binary sections within the new file in order to prevent detection by AV applications. When executed, the packer uses a hard-coded ID to generate an XOR key, which it will then use to locate and decrypt the payload sections before reassembling and executing it.
At the time of publication, all payloads using this packer have been distributed via spam campaigns, although it is possible other delivery vectors are being used.
Remediation advice
To prevent and detect an infection, ensure that:Remediation steps
| Type | Step |
|---|---|
|
Last edited: 17 February 2020 12:50 pm