# trustedsec/CS-Situational-Awareness-BOF

Situational Awareness commands implemented using Beacon Object Files

Repository: https://github.com/trustedsec/CS-Situational-Awareness-BOF
Canonical: https://ross.abutalabs.com/products/cs-situational-awareness-bof
Language: C
License: GPL-2.0
License Family: copyleft
Topics: bof, cna, c
Last push: 2026-08-17T18:13:05+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 95, longevity 100
- inputs: {"age_days": 2240, "days_push": 16, "days_rel": 37, "gap_med": 9, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1868, forks 296 (observed 2026-08-28T04:05:46.424775+00:00)

## What it is
A collection of situational awareness commands implemented as Cobalt Strike Beacon Object Files (BOFs) in C, letting operators run low-footprint host checks before more invasive actions. It also serves as a reference workflow and template for developing new BOFs.

## Use cases
- enumerate AD CS certificate authorities and templates from a beacon
- check for AV/EDR drivers by signing certificates on a host
- list ARP table, sessions, and environment variables during post-exploitation recon
- learn how to write and build Beacon Object Files for Cobalt Strike
- read files and enumerate directories with wildcards from a beacon
- check Active Directory Recycle Bin status and deleted objects

## When to choose
- you run Cobalt Strike and want low-overhead host enumeration without spawning processes
- you need a starting template and workflow for developing your own BOFs
- you want quick situational awareness checks like EDR detection or AD CS enumeration

## When to avoid
- you use a C2 framework other than Cobalt Strike that lacks BOF support
- you need a standalone GUI or general-purpose pentesting toolkit rather than beacon-integrated commands
- you are looking for defensive/blue-team tooling

## Facets
- artifact type: library
- maturity: active
- function: security, cli, developer-tools
- domain: security, penetration-testing, developer-tools
- platform: windows, cli
- tags: beacon-object-files, cobalt-strike, red-team, offensive-security, situational-awareness, post-exploitation, cna, command-line

## Member repositories
- trustedsec/CS-Situational-Awareness-BOF (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:46.424775+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:15:16.821878+00:00, confidence not recorded.
  - readme: https://github.com/trustedsec/CS-Situational-Awareness-BOF (fetched 2026-08-28T04:05:46.424775+00:00, sha 0602692be301)
- Data as of 2026-08-30T08:39:29.467469+00:00.
