| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Disclaimer: These scripts are to help you audit your machines or machines you're authorized to audit. Don't use these on anything you don't have the owner's explicit permission to test on. That's mean. Also illegal.
Find targets where you're local admin and list users who logged in within the last 90 days.
Like Chris King's (raikiasec) CredNinja but less fancy. And in Aggressor. (See also: https://github.com/Raikia/CredNinja)
Usage:
1. To scan a list of targets > Select all hosts in the Targets tab, right click, add note "cdolla" > From the beacon with the correct token: cdolla [-users] 2. To scan a single target > cdolla 10.10.10.10 [-users]
Notes:
This report generates an appendix with tables of all hosts where a beacon was spawned and all users that were compromised/added to the "Credentials" tab.
Usage:
1. Import by clicking Cobalt Strike > Preferences > Reporting > Select template 2. Generate by clicking Reporting > 1. Compromise Log
Notes on "Affected Hosts":
Notes on "Affected Users":
Monitor beacons and pick off users as they log in. Set the time interval (default 5m) and Credpocalypse will watch your beacons for new users in the running processes. If they aren't in the Credentials tab already, Credpocalypse will run logonpasswords.
Pro Tip: Load/run with ./agscript to watch all beacons headlessly. Output will include timestamp/beacon IDs to track when logonpasswords was run.
NOTE: Your beacon will only be interrupted if logonpasswords is run. There's no callback, so I can't smother the output. :-/
NOTE AGAIN: In the Watchlist and Script Console you'll see "Running on PIDs: x". X is the PID of the beacon process on the remote system (what you see on the right side of your beacon list). In the background, it's actually using the beacon IDs assigned by Cobalt. I just print the PID to make it easier for you to glance at beacons and know where Credpocalypse is running.
Usage:
begin_credpocalypse - watch current beacon end_credpocalypse [all] - stop watching current/all beacon/s credpocalypse_interval [time] - 1m, 5m (default), 10m, 30m, 60m
begin_credpocalypse - watch *all* beacons end_credpocalypse [all] - stop watching all beacons credpocalypse_interval [time] - 1m, 5m (default), 10m, 30m, 60m
Use to export command output, so you don't have to grep beacon logs for info.
Usage:
start_log [commands] stop_log
Output: cobaltstrike/saved_logs/[beacon id]_yyyyMMdd_HHmmssSSS.log
[2017-12-27 11:36:24 EST] BID: 12345 Tasked beacon to run: whoami received output: WORKSTATION\Administrator
A collection of "sub" functions to do random things. Copy into your CNAs and refer to the "alias" functions at the bottom of the file for examples on how to call each utility.
Included:
get_env COMSPEC - print value of env variable get_pid explorer - print 1st PID for given proc name get_users - return array of logged on users lower C:\Users\Public\Downloads\tmp.txt - lc() without breaking on \'s parse_args -arg1 val1 -arg2 val2 -switch1 - easier than positional arguments upper C:\Users\Public\Downloads\tmp.txt - uc() without breaking on \'s
Note: Raffi wrote the get_pid function (https://www.cobaltstrike.com/aggressor-script/functions.html#bppid). Included here for easy reference.
| Back | FazBrowse Home | New Git URL |