Detecting Balada Injector malware

patch-1
Krzysztof Zając 2024-01-23 15:27:58 +01:00
parent 993e05ad24
commit c5fc786539
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"