Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds 2 new IOK rules for Santander kits #55

Merged
merged 2 commits into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions indicators/santander-85b6cae.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
title: Santander Phishing Kit 85b6cae
description: |
Detects a Santander phishing kit targeting Spanish speaking users.

references:
- https://urlscan.io/result/56fb9b2c-e078-4d1d-b8a6-e6e5147e90d3
- https://urlscan.io/result/5ccf3cfc-cc1a-432d-a6e2-575f80742672

detection:

usernameLabelID:
html|contains: 'EB8236264AE3C04429B8F46076848E7B'

passwordLabelID:
html|contains: '85B6CAE065D33FEEEB4297826ECB9B2D'

exfilDestination:
html|contains: 'database_setup/routes/process_login.php'


condition: usernameLabelID and passwordLabelID and exfilDestination

tags:
- target.santander
27 changes: 27 additions & 0 deletions indicators/santander-951d27d.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
title: Santander Phishing Kit 951d27d
description: |
Detects a Santander phishing kit targeting Spanish speaking users.

references:
- https://urlscan.io/result/d7f3f389-d10b-4b83-a45c-ba7f8ec54035
- https://urlscan.io/result/1c849740-38f2-4442-94f8-bf2147cc587e

detection:

cloneTimestamp:
requests|contains: '?v=1655293257536'

usernameLabelID:
html|contains: '47563B2825160654ADB2CC97CE152AF3'
Copy link
Member

Choose a reason for hiding this comment

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

This is a good example of where #38 could be problematic. For these sites the HTML and DOM are very different

The HTML is the static stuff loaded from the server whereas it seems this kit builds most of the page dynamically using JS.

Let's add this rule for now, but I'll keep a note to update it once we've got DOM support

Copy link
Collaborator Author

@IlluminatiFish IlluminatiFish Aug 10, 2022

Choose a reason for hiding this comment

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

I'm not sure this kit is dynamically generated by JS as you have suggested, I see nothing to indicate such behaviour. Also managed to see why the 2nd reference did not flag, it is because the username & password label IDs are not present in the DOM, will adjust the rule accordingly now.


passwordLabelID:
html|contains: '951D27D1CD8413E25C1D61149F928D85'

exfilDestination:
html|contains: '/atualiza'


condition: cloneTimestamp and usernameLabelID and passwordLabelID and exfilDestination

tags:
- target.santander