Beacon Script for Ops

so i finished a prototype for a beacon script we could use in ops.
it’s a small compiled C binary that reports back with:

  • external IP
  • hostname
  • total filesystem size
  • physical memory

didn’t point it at our C2 yet — just tested it internally on one of the shared lab boxes.
beacon behavior looks stable. thinking of adding a jitter interval and maybe a XOR-encoded payload option?

Filesystem size reporting — are you pulling from / or mounting points individually?

bro i ran ur bin and thought i got ratted for a sec :sob: had Wireshark open and saw it hit 127.0.0.1 like it was ABOUT to snitch

Consider logging runtime errors to stderr and implementing a kill switch.

If this will be deployed in the wild, we’ll need the ability to remotely deactivate it under certain conditions (e.g., analyst sandbox, specific user behavior).

Otherwise, solid start.

yooo this thing told me how small my RAM is :face_with_steam_from_nose: rude

fr tho how you grabbing memory stats? is it from /proc/meminfo or u doing some C-level syscalls?

Add system uptime and last reboot timestamp.
Good for profiling.

Also suggest randomized sleep + junk loop if detected in VM.

:brain::laptop: smart code, creepy vibes lol

could we make it play dial-up noises before reporting out or is that “too much”? :smiling_face_with_horns:

one suggestion: add an optional DNS callback mode

easy way to exfil lite data without raising flags in egress-monitored environments. i can help build the infra if you want.

@d34th kill switch sounds good — maybe bind it to a keyword file check? like if /tmp/nope.txt exists, it bails

i’ve done that in some of my sneakier stuff. not elegant, but effective.

@spookyboi agreed — jitter + junk loop in VMs would up the stealth game

maybe even time-based behavior, like don’t beacon during known AV scan windows

dang y’all came in HOT :fire:

@d34th @daem0n – kill switch via file or ENV var makes sense. will implement in a future version

@spookyboi @mort1cia – VM detection + jitter loop is now on my TODO list

@lilith – DNS callback is dope, let’s collab on that

dfcheckalive_v2 incoming soon… :saluting_face: