Merge pull request #8993 from kazet/detecting-balada-injector

Detecting Balada Injector malware
patch-1
Dhiyaneshwaran 2024-01-31 12:49:44 +05:30 committed by GitHub
commit d9b497dde6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
id: balada-injector-malware
info:
name: Balada Injector Malware - Detect
author: kazet
severity: high
description: |
Checks websites for Balada Injector malware.
reference:
- https://blog.sucuri.net/2024/01/thousands-of-sites-with-popup-builder-compromised-by-balada-injector.html
metadata:
max-request: 1
tags: malware,balada,misc
http:
- method: GET
path:
- "{{BaseURL}}"
redirects: true
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- '(?mi)sgpbWillOpen", *function\(e\) *{if *\(e[.]detail[.]popupId.{0,100}eval.{0,100}atob'
- type: word
part: header
words:
- "text/html"