Attachment: HTML smuggling with embedded base64-encoded executable

HTML attachmemt contains a base-64 encoded executable.

Sublime rule (View on GitHub)

 1name: "Attachment: HTML smuggling with embedded base64-encoded executable"
 2description: |
 3    HTML attachmemt contains a base-64 encoded executable.
 4references:
 5  - "https://delivr.to/payloads?id=739e977c-8e8f-4ba8-940a-c53ba77cecca"
 6  - "https://www.microsoft.com/en-us/security/blog/2021/05/27/new-sophisticated-email-based-attack-from-nobelium"
 7  - "https://sandbox.sublimesecurity.com?id=28fe5e67-2dec-4072-a263-24ee53cc54c3"
 8type: "rule"
 9severity: "high"
10source: |
11  type.inbound
12  and any(attachments,
13          (
14            .file_extension in~ ("html", "htm", "shtml", "dhtml")
15            or .file_extension in~ $file_extensions_common_archives
16            or .file_type == "html"
17          )
18          and any(file.explode(.), any(.flavors.yara, . == 'base64_pe'))
19  )  
20attack_types:
21  - "Malware/Ransomware"
22tactics_and_techniques:
23  - "Evasion"
24  - "HTML smuggling"
25detection_methods:
26  - "Archive analysis"
27  - "File analysis"
28  - "HTML analysis"
29  - "YARA"
30id: "b00c4527-957c-53ba-9eee-c5ef555b24e3"
to-top