Skip to content

Commit 2171b22

Browse files
update: description
1 parent 3d79a1b commit 2171b22

2 files changed

Lines changed: 21 additions & 16 deletions

File tree

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
title: Potential HTML Phishing Attachment Clicked
22
id: 538c5851-8c03-4724-8ec4-623bc7aadaea
33
status: experimental
4-
description: The rule is Created Based On Observed Phishing Campaigns Where a HTML Attachment Is Delivered To a User It Attempts To Catch Successful Clicks Or Opening Of The Attachment.
4+
description: |
5+
Detects potential HTML phishing attachment click. Threat actors often use HTML attachments in phishing campaigns to deliver malicious payloads or redirect users to harmful websites.
6+
When a user clicks on the HTML attachment, it can lead to the execution of scripts or the download of malware, compromising the user's system.
7+
During investigation, analyze the HTML file for embedded scripts or links, check for any subsequent downloads or process executions, and investigate the source of the email or message containing the attachment.
58
references:
69
- https://app.any.run/tasks/ae3c4ded-fd6a-43ed-8215-ba0ba574ad33
710
- https://app.any.run/tasks/8901e2d5-0c5a-48ba-a8e9-10b5ed7e06f4
@@ -17,16 +20,16 @@ logsource:
1720
detection:
1821
selection:
1922
Image|endswith:
20-
- \msedge.exe
21-
- \firefox.exe
22-
- \chrome.exe
23-
- \brave.exe
24-
- \vivaldi.exe
25-
- \opera.exe
23+
- '\msedge.exe'
24+
- '\firefox.exe'
25+
- '\chrome.exe'
26+
- '\brave.exe'
27+
- '\vivaldi.exe'
28+
- '\opera.exe'
2629
CommandLine|contains|all:
27-
- :\users\
28-
- .htm
30+
- 'C:\users\'
31+
- '.htm'
2932
condition: selection
3033
falsepositives:
31-
-Opening of random HTML files via browsers.
34+
- Opening of random HTML files via browsers.
3235
level: medium

rules-threat-hunting/windows/process_creation/proc_creation_win_potential_hex_staging_attack.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
title: Potential Hex Staging Attack
22
id: 647c1b89-d717-4a0a-816b-2f129500f76f
33
status: experimental
4-
description: This Rule Hex Staging Whereby a Threat Actor Delivers Malicious Executable Payload in Hexadecimal Chunks By Writing The Data To a Temporary File Using Cmd.exe.The /p Parameter Takes The Hexadecimal Payload as Input.
5-
The Encoded Payload Is Later Decoded Using Inbuilt Tools e.g certutil For Further Execution.
4+
description: |
5+
Detects potential hex staging attack. Threat Actor often delivers malicious executable payload in hexadecimal chunks by writing the data to a temporary file using cmd.exe.
6+
The /p parameter takes the hexadecimal payload as input. The encoded payload is later decoded using inbuilt tools e.g certutil for further execution.
7+
During investigation, examine the temporary files created, analyze the hex content for malicious patterns, check for subsequent process executions (particularly certutil), and investigate the source of the command execution and the parent process.
68
references:
79
- https://unit42.paloaltonetworks.com/espionage-campaign-targets-south-asian-entities
810
author: Joseph Kamau
@@ -16,11 +18,11 @@ logsource:
1618
category: process_creation
1719
detection:
1820
selection:
19-
Image|endswith: \cmd.exe
21+
Image|endswith: '\cmd.exe'
2022
CommandLine|contains|all:
21-
- set
22-
- /p=
23-
- .tmp
23+
- 'set'
24+
- '/p='
25+
- '.tmp'
2426
condition: selection
2527
falsepositives:
2628
- Legitimate Use Of The Listed Parameters To Encode Data.

0 commit comments

Comments
 (0)