Skip to content

Conversation

not-a-rootkit
Copy link
Contributor

@not-a-rootkit not-a-rootkit commented Mar 3, 2025

Asana Task: https://app.asana.com/0/0/1209499937941767/f

We discovered that certain escape sequences may break our protections. After discussing with Netcraft, they confirmed that they make no attempt to URL decode before building regular expressions. Therefore, all URL encoding should be taken as is by the clients.

This PR introduces one such phishing sample page.

@@ -40,6 +40,7 @@ <h2>Redirects</h2>

<h2>Edge Cases</h2>
<ul>
<li><a href="./phishing badͮ.html">Phishing Page With Abnormal URL Escape Sequences</a></li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that cheeky "dͮ". Is that the only trick here? Or is that space a part of it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chat tells me the space is special (I was trying to see if we can get rid of it because I hate spaces in file names, but if this is part of the test I will have to live with it)

Copy link
Member

@kdzwinel kdzwinel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LǦTМ

@@ -40,6 +40,7 @@ <h2>Redirects</h2>

<h2>Edge Cases</h2>
<ul>
<li><a href="./phishing badͮ.html">Phishing Page With Abnormal URL Escape Sequences</a></li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chat tells me the space is special (I was trying to see if we can get rid of it because I hate spaces in file names, but if this is part of the test I will have to live with it)

@not-a-rootkit not-a-rootkit merged commit fb5a572 into main Jun 12, 2025
1 check passed
@not-a-rootkit not-a-rootkit deleted the tespach/add-encoded-phishing-url branch June 12, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants