{"id":13538374,"url":"https://github.com/threatexpress/red-team-scripts","last_synced_at":"2026-10-19T15:19:47.775Z","repository":{"id":50659290,"uuid":"89928069","full_name":"threatexpress/red-team-scripts","owner":"threatexpress","description":"A collection of Red Team focused tools, scripts, and notes","archived":false,"fork":false,"pushed_at":"2024-11-19T19:39:01.000Z","size":160,"stargazers_count":1126,"open_issues_count":0,"forks_count":195,"subscribers_count":53,"default_branch":"master","last_synced_at":"2025-05-28T20:48:21.927Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/threatexpress.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-01T13:53:05.000Z","updated_at":"2025-05-27T09:46:21.000Z","dependencies_parsed_at":"2024-12-20T05:01:49.279Z","dependency_job_id":"af8ee34f-0fda-4219-9f43-4d9fa7941985","html_url":"https://github.com/threatexpress/red-team-scripts","commit_stats":{"total_commits":22,"total_committers":8,"mean_commits":2.75,"dds":0.4545454545454546,"last_synced_commit":"547cff04e9754e2d86b941c7942eb04fe253c402"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/threatexpress/red-team-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threatexpress%2Fred-team-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threatexpress%2Fred-team-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threatexpress%2Fred-team-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threatexpress%2Fred-team-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threatexpress","download_url":"https://codeload.github.com/threatexpress/red-team-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threatexpress%2Fred-team-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38358918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-19T02:00:06.414Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T09:01:11.072Z","updated_at":"2026-10-19T15:19:47.452Z","avatar_url":"https://github.com/threatexpress.png","language":"PowerShell","funding_links":[],"categories":["\u003ca id=\"a4ee2f4d4a944b54b2246c72c037cd2e\"\u003e\u003c/a\u003e收集\u0026\u0026集合","\u003ca id=\"8c5a692b5d26527ef346687e047c5c21\"\u003e\u003c/a\u003e收集","PowerShell","PowerShell (153)","\u003ca id=\"8088e46fc533286d88b945f1d472bf57\"\u003e\u003c/a\u003e笔记\u0026\u0026Tips\u0026\u0026Tricks"],"sub_categories":["\u003ca id=\"8088e46fc533286d88b945f1d472bf57\"\u003e\u003c/a\u003e笔记\u0026\u0026Tips\u0026\u0026Tricks\u0026\u0026Talk\u0026\u0026Conference","\u003ca id=\"f57ccaab4279b60c17a03f90d96b815c\"\u003e\u003c/a\u003e未分类"],"readme":"# Red Team Scripts\n---\nRed Team Scripts is a collection of red teaming related tools, scripts, techniques, and notes developed or discovered over time during engagements. \nRelated tool release blog posts can be found at [Threat Express](http://threatexpress.com) an Information Security and Red Teaming Blog\n\n## Situational Awareness\n\n**Perform situational awareness on a local host or domain upon initial compromise.**\n\n### `enumerate.cna`\n\nCobalt Strike Aggressor script function and alias to perform some rudimentary Windows host enumeration with Beacon built-in commands (i.e. no Powershell, binary calls, or process injection). Additionally, adds a basic `enumerate` alias for Linux based systems in SSH sessions.\n\n\n### `Invoke-HostEnum`\n\n**Author:** Andrew Chiles (@andrewchiles) with code by harmj0y, Joe Bialek, rvrsh3ll, Beau Bullock, Tim Medin\n\nA PowerShell v2.0 compatible script comprised of multiple system enumeration / situational awareness techniques collected over time. If system is a member of a Windows domain, it can also perform limited domain enumeration with the -Domain switch. However, domain enumeration is significantly limited with the intention that PowerView or BoodHound could also be used.\n\n**Enumerated Information:**\n    \n- OS Details, Hostname, Uptime, Installdate\n- Installed Applications and Patches\n- Network Adapter Configuration, Network Shares, Connections, Routing Table, DNS Cache\n- Running Processes and Installed Services\n- Interesting Registry Entries\n- Local Users, Groups, Administrators\n- Personal Security Product Status\n- Interesting file locations and keyword searches via file indexing\n- Interesting Windows Logs (User logins)\n- Basic Domain enumeration (users, groups, trusts, domain controllers, account policy, SPNs)\n\n**Privilege Escalation**\n\nOptionally performs Privilege Escalation functions from PowerUp in the PowerSploit project.\n\n**Empire 2.0 Integration**\n\nUse the accompanying hostenum.py script to include Invoke-HostEnum as post-exploitation situational awarness module in Empire. Both files need to be copied to the appropriate locations in Empire.\n\n**Credits:**\n\nSeveral functions are inspired or pulled directly from the following projects and are referenced in the code where applicable:\n\n- [Invoke-HostRecon](https://raw.githubusercontent.com/dafthack/HostRecon/master/HostRecon.ps1) by Beau Bullock \n- [Get-ComputerDetails](https://github.com/PowerShellMafia/PowerSploit/blob/master/Recon/Get-ComputerDetails.ps1) from Joe Bialek in PowerSploit \n- [Get-BrowserInformation](https://github.com/rvrsh3ll/Misc-Powershell-Scripts/blob/master/Get-BrowserData.ps1) by rvrsh3ll \n- [Get-UserSPNS](https://github.com/nidem/kerberoast) by Tim Medin \n- [PowerUp](https://github.com/PowerShellMafia/PowerSploit/blob/master/Privesc/PowerUp.ps1) by @harmj0y\n\n## Usage\n\nRefer to the help and comments in each script for detailed usage information.\n\n## License\n\nThis project and all individual scripts are under the BSD 3-Clause license\n\n## Links\n\n[threatexpress.com](http://threatexpress.com)\nhttp://threatexpress.com/blogs/2018/hostenum-updates-usage/\nhttp://threatexpress.com/blogs/2017/invoke-hostenum/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreatexpress%2Fred-team-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreatexpress%2Fred-team-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreatexpress%2Fred-team-scripts/lists"}