FunWithMacros
Companion content for my 'Fun with Office Macros' webcast.
Install / Use
/learn @aut0m8r/FunWithMacrosREADME
Fun with Office Macros
This repository contains companion content that accompanied my 'Fun with Office Macros' BHIS webcast. The slides used for the presentation are contained in the root of this repository. The subfolders contain contents as described below:
- directpersistence - Example scripts to create restricted SSH users and macro content to use that SSH access to establish direct persistence.
- reconnaissance - Contains two macros for gathering useful information from an Active Directory client system under the context of a compromised user.
- Reconnaissance_Simple.vba - This macro has most subroutines marked as private to provide simple operation of the underlying collection mechanism. The user is presented with the minimal number of macro subroutines to execute reconnaissance against a system or user.
- Reconnaissance_Granular.vba - This macro has all subroutines marked public. This allows the operator to selectively execute various functionality at will rather than collecting all information from the environment in one shot.
When using the macros for document poisoning, I often remove unnecessary subroutines and focus on only the details that I need to collect. For instance, I would independently run the BuildReconWorksheets, HideReconWorksheets, and UnHideReconWorksheets subroutines on the poisoned document to create the collection infrastructure. Then I would only include the functionality that makes sense in the context of the given scenario. Long running subroutines (Active Directory User, Group, and Computer collection) may raise suspicion or frustrate users, as Ecxcel will be unusable until collection is complete. Subroutines that might not be OPSEC safe (Domain Trust Enumeration) may also need to be omitted, depending on the circumstances of execution.
Please consider expanding the suite of tooling that uses native Microsoft 365 product features.
Related Skills
qqbot-channel
347.2kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.1k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
347.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Design
Campus Second-Hand Trading Platform \- General Design Document (v5.0 \- React Architecture \- Complete Final Version)1\. System Overall Design 1.1. Project Overview This project aims t
