Query editor
with unique_logs as (selectblock_time, tx_hash, contract_address, topic0, tx_from, tx_to, regexp_extract(from_utf8(bytearray_rtrim (data)), '(https://.*)', 1) as controls_url, data, row_number() over (partition by tx_hash order by block_time desc) as row_numberfrombnb.logswheretopic0 = 0x5fe59a2368fee27e9e26aa8cd8be9beeaca5e8eaf9c1283b2512310be6a29282 and block_date > date '2024-11-28')selectblock_time, tx_hash, contract_address, topic0, tx_from, tx_to, controls_urlfromunique_logswhererow_number = 1order byblock_time desc-- query composed by: ℭ𝔦𝔭𝔥𝔢𝔯-- security query for monitoring of etherhiding bsc domains-- query based on research from: @crep1x and @mszustak-- references:-- https://infosec.exchange/@crep1x/114115093019498524-- https://security.szustak.pl/etherhide/etherhide.html-- https://github.com/PaloAltoNetworks/Unit42-timely-threat-intel/blob/main/2024-09-04-IOCs-for-EtherHiding-popups.txt-- etherhiding contract on bsc:-- https://app.dedaub.com/binance/address/0x9179dda8b285040bf381aabb8a1f4a1b8c37ed53/decompiled-- exact matching contract search:-- https://bscscan.com/find-similar-contracts?a=0x9179dda8b285040bf381aabb8a1f4a1b8c37ed53&m=exact