kevmap

Techniques › T1140

T1140 Deobfuscate/Decode Files or Information

stealth — ESXi, Linux, macOS, Windows · attack.mitre.org · JSON

1
MITRE detection strategy
3
analytics
18
Sigma rules tagged attack.t1140
2
KEV CVEs mapped here
<p>Adversaries may use Obfuscated Files or Information to hide artifacts of an intrusion from analysis. They may require separate mechanisms to decode or deobfuscate that information depending on how they intend to use it. Methods for doing that include built-in functionality of malware or by using utilities present on the system.</p><p>One such example is the use of certutil to decode a remote access tool portable executable file that has been hidden inside a certificate file. Another example is using the Windows <code>copy /b</code> or <code>type</code> command to reassemble binary fragments into a malicious payload.</p><p>Sometimes a user's action may be required to open it for deobfuscation or decryption as part of User Execution. The user may also be required to input a password to open a password protected compressed/encrypted file that was provided by the adversary.</p>

KEV CVEs mapped to this technique · CTID Mappings Explorer

CVEVendor / productMapping typeStateAdded
CVE-2021-44077Zoho ManageEngine ServiceDesk Plus (SDP) / SupportCenter Plus secondary impact Mapped2021-12-01
CVE-2021-40539Zoho ManageEngine secondary impact Mapped2021-11-03

Detection strategy · ATT&CK Enterprise v19.2

Sigma rules · SigmaHQ da9bb07d64, tag attack.t1140

Author: Austin Songer · 2021-07-22 (modified 2023-08-17) · logsource: product=windows category=registry_set · 04b45a8a-d11d-49e4-9acc-4a1b524407a5
Detects when a user enables DNS-over-HTTPS. This can be used to hide internet activity or be used to hide the process of exfiltrating data. With this enabled organization will lose visibility into data such as query type, response and originating IP that are used to determine bad actors.
Techniques: T1140T1112
Author: Joseliyo Sanchez, @Joseliyo_Jstnk · 2023-12-20 · logsource: product=macos category=process_creation · 09a910bf-f71f-4737-9c40-88880ba5913d
Detects the use of tail to extract bytes at an offset from an image and then decode the base64 value to create a new file with the decoded content. The detected execution is a bash one-liner.
Techniques: T1140
Ping Hex IP hightest
Author: Florian Roth (Nextron Systems) · 2018-03-23 (modified 2025-10-17) · logsource: product=windows category=process_creation · 1a0d4aba-7668-4365-9ce4-6d79ab088dfd
Detects a ping command that uses a hex encoded IP address
Techniques: T1140T1027
Author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research) · 2020-05-02 (modified 2022-12-25) · logsource: product=windows category=ps_module · 1ddc1472-8e52-4f7d-9f11-eab14fc171f5
A General detection for specific decompress commands in PowerShell logs. This could be an adversary decompressing files.
Techniques: T1140
Author: Tim Rauch (rule), Elastic (idea) · 2022-10-17 · logsource: product=macos category=process_creation · 234dc5df-40b5-49d1-bf53-0d44ce778eca
Detects when a built-in utility is used to decode and decrypt a payload after a macOS disk image (DMG) is executed. Malware authors may attempt to evade detection and trick users into executing malicious code by encoding and encrypting their payload and placing it in a disk image file. This behavior is consistent with adware or malware families such as Bundlore and Shlayer.
Techniques: T1059T1204T1140
Author: Nasreddine Bencherchali (Nextron Systems) · 2023-06-16 · logsource: product=linux category=process_creation · 23835beb-ec38-4e74-a5d4-b99af6684e91
Detects execution of "wget" to download a "tar" from an IP address that doesn't have a trusted certificate. As seen used by UNC4841 during their Barracuda ESG zero day exploitation.
Techniques: T1140
Author: Nasreddine Bencherchali (Nextron Systems) · 2023-06-16 · logsource: product=linux category=process_creation · 60911c07-f989-4362-84af-c609828ef829
Detects the execution of "openssl" to connect to an IP address. This techniques was used by UNC4841 to exfiltrate SSL certificates and as a C2 channel with named pipes. Investigate commands executed in the temporal vicinity of this command.
Techniques: T1140
Author: Nasreddine Bencherchali (Nextron Systems) · 2023-06-16 · logsource: product=linux category=process_creation · 60d050c4-e253-4d9a-b673-5ac100cfddfb
Detects execution of "wget" to download a ".zip" or ".rar" files from "temp.sh". As seen used by UNC4841 during their Barracuda ESG zero day exploitation.
Techniques: T1140
Author: Florian Roth (Nextron Systems) · 2022-03-14 (modified 2022-07-26) · logsource: product=linux category=process_creation · 880973f3-9708-491c-a77b-2a35a1921158
Detects suspicious process command line that starts with a shell that executes something and finally gets piped into another shell
Techniques: T1140
Author: Florian Roth (Nextron Systems) · 2022-02-25 (modified 2023-02-08) · logsource: product=windows category=process_creation · 999e8307-a775-4d5f-addc-4855632335be
Detects command line patterns used by BlackByte ransomware in different operations
Author: pH-T (Nextron Systems) · 2022-07-26 (modified 2023-06-16) · logsource: product=linux category=process_creation · ba592c6d-6888-43c3-b8c6-689b8fe47337
Detects suspicious process command line that uses base64 encoded input for execution with a shell
Techniques: T1140
Author: Sami Ruohonen, Harish Segar, Tim Shelton, Teymur Kheirkhabarov, Vasiliy Burov, oscd.community, Nasreddine Bencherchali · 2018-09-05 (modified 2023-01-30) · logsource: product=windows category=process_creation · bb780e0c-16cf-4383-8383-1e5471db6cf9
Detects presence of a potentially xor encoded powershell command
Author: Diego Perez (@darkquassar), Markus Neis, Swisscom (Improve Rule), Swachchhanda Shrawan Poudel (Nextron Systems) · 2019-02-22 (modified 2025-05-12) · logsource: product=windows category=process_creation · cc7abbd0-762b-41e3-8a26-57ad50d2eea3
Detects execution of mshta.exe with file types that looks like they do not typically represent HTA (HTML Application) content, such as .png, .jpg, .zip, .pdf, and others, which are often polyglots. MSHTA is a legitimate Windows utility for executing HTML Applications containing VBScript or JScript. Threat actors often abuse this lolbin utility to download and execute malicious scripts disguised as benign files or hosted under misleading extensions to evade detection.
CVE tags: CVE-2020-1599
Author: Mark Morowczynski '@markmorow', Gloria Lee, '@gleeiamglo' · 2023-09-03 · logsource: product=azure service=riskdetection · ceb55fd0-726e-4656-bf4e-b585b7f7d572
Detects suspicious rules that delete or move messages or folders are set on a user's inbox.
Techniques: T1140
Author: Florian Roth (Nextron Systems) · 2020-01-29 (modified 2023-01-26) · logsource: product=windows category=process_creation · e32d4572-9826-4738-b651-95fa63747e8a
Detects usage of the "FromBase64String" function in the commandline which is used to decode a base64 encoded string
Author: juju4 · 2018-12-11 (modified 2023-03-03) · logsource: product=windows category=process_creation · f0cdd048-82dc-4f7a-8a7a-b87a52b6d0fd
Detects potential commandline obfuscation using known escape characters
Techniques: T1140
Author: Florian Roth (Nextron Systems) · 2019-08-24 (modified 2023-04-06) · logsource: product=windows category=process_creation · fdb62a13-9a81-4e5c-a38f-ea93a16f6d7c
Detects usage of a base64 encoded "FromBase64String" cmdlet in a process command line
Techniques: T1140T1059.001
Author: Nasreddine Bencherchali (Nextron Systems) · 2022-09-15 · logsource: product=linux category=process_creation · fe2f9663-41cb-47e2-b954-8a228f3b9dff
Detects the presence of a base64 version of the shebang in the commandline, which could indicate a malicious payload about to be decoded
Techniques: T1140