PushWarden docs

Blocking C2 servers

pushwarden protect blocks the attackers’ servers (the “C2” servers) for the whole computer. Even if the malware runs, it cannot fetch its payload or send stolen data to the known servers.

Blocking is part of PushWarden Pro. It is also the only part of PushWarden that needs administrator rights.

With a key, pushwarden install sets it up and asks for your password once. You use protect to check, add or remove it. Checking (--status) and removing (--uninstall) are free.

pushwarden protect --status      # is it on?
pushwarden protect --install     # turn it on (asks for administrator rights)
pushwarden protect --uninstall   # turn it off

On Linux and macOS you can also run sudo pushwarden protect --install. On Windows, use an elevated terminal.

What it sets up

  • a firewall rule that drops traffic to the attackers’ addresses
  • entries in the hosts file that send their names nowhere
  • a small boot job that re-applies the block and refreshes the list every day

Read the status

status shows Meaning
active (persistent; ...) all good
active until reboot it will be gone after a restart. Run protect --install
not active never installed, or removed

Turn it off for good

pushwarden config --set block_c2=false

Or install with --no-block-c2. While it is on and missing, the guard reminds you once a day.

Remember

  • It is a second line of defence. Removing the malware is still the real fix.
  • A new attacker address is blocked within a day of being added to the indicator list.
  • The boot job keeps its own protected copy of the list, so malware running as you cannot change what it blocks.
  • Remove it together with the guard: pushwarden uninstall --unblock.