2022-10-04 14:55:04 +00:00
|
|
|
id: crypto-mining-malware
|
|
|
|
|
|
|
|
info:
|
2023-06-08 18:14:55 +00:00
|
|
|
name: Crypto Mining Malware - Detect
|
2022-10-04 14:55:04 +00:00
|
|
|
author: geeknik
|
|
|
|
severity: info
|
2023-05-10 19:44:44 +00:00
|
|
|
description: |
|
|
|
|
Checks websites for crypto-mining malware.
|
|
|
|
reference:
|
|
|
|
- https://github.com/xd4rker/MinerBlock/blob/master/assets/filters.txt
|
2023-06-21 21:03:53 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: miscellaneous,malware,crypto,mining,misc,generic
|
2022-10-04 14:55:04 +00:00
|
|
|
|
2023-05-10 19:44:44 +00:00
|
|
|
http:
|
2022-10-04 14:55:04 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
redirects: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-10-04 14:55:04 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- '(?mi)cryptonight\.wasm|deepMiner|proxy\=ws|coinhive\.min\.js|wpupdates\.github\.io\/ping|cryptonight\.asm\.js|coin-hive\.com|jsecoin\.com|cryptoloot\.pro'
|
2023-09-21 20:12:53 +00:00
|
|
|
- '(?mi)webassembly\.stream|monero\-miner|wasmminer|cn\-asmjs\.min\.js|aj(\-?)cryptominer|wp\-monero\-miner\-pro|crlt\.js|pool\/direct\.js|\.n\.2\.1\.(js|l.*)'
|
2022-10-04 14:55:04 +00:00
|
|
|
- '(?mi)ppoi\.org|xmrstudio|webmine\.pro|miner\.start|allfontshere\.press|upgraderservices\.cf|vuuwd\.com|gridcash\.js|worker\-asmjs\.min\.js|perfekt\=wss\:'
|
2023-06-06 04:11:18 +00:00
|
|
|
- '(?mi)coin\-hive\.com|coinhive|CoinHive|miner\.start|me0w\.js|web(x?)mr(4?)\.js|miner\.js|static\/js\/tpb\.js|lib\/crypta\.js'
|
2022-10-04 14:55:04 +00:00
|
|
|
- '(?mi)bitrix\/js\/main\/core\/core\_(tasker|loader)\.js'
|
2023-05-10 19:44:44 +00:00
|
|
|
condition: or
|
2022-10-04 14:55:04 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "<title>Access Denied</title>"
|
|
|
|
- "You don't have permission to access"
|
2023-05-10 19:44:44 +00:00
|
|
|
condition: or
|
|
|
|
negative: true
|
2024-01-26 08:31:11 +00:00
|
|
|
# digest: 4a0a00473045022013274d1cca1c8a093449d85f5adfffa31816cc0d3db3fed5734253771d3c74cd022100f4fd8ffad84640ec383b6b79a0153e0281ff4b6a5d710807b766ea4ad7c77ad8:922c64590222798bb761d5b6d8e72950
|