{"id":50736365,"url":"https://github.com/blwhit/connectwise-c2-url-scanner","last_synced_at":"2026-06-10T14:01:10.441Z","repository":{"id":302661948,"uuid":"1013205920","full_name":"blwhit/ConnectWise-C2-URL-Scanner","owner":"blwhit","description":" Extract hidden C2 relay URLs from ConnectWise ScreenConnect executable certificates","archived":false,"fork":false,"pushed_at":"2025-07-03T14:49:50.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-03T15:50:56.645Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blwhit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-07-03T14:17:13.000Z","updated_at":"2025-07-03T14:49:53.000Z","dependencies_parsed_at":"2025-07-03T16:04:24.774Z","dependency_job_id":null,"html_url":"https://github.com/blwhit/ConnectWise-C2-URL-Scanner","commit_stats":null,"previous_names":["blwhit/connectwise-c2-url-scanner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blwhit/ConnectWise-C2-URL-Scanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blwhit%2FConnectWise-C2-URL-Scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blwhit%2FConnectWise-C2-URL-Scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blwhit%2FConnectWise-C2-URL-Scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blwhit%2FConnectWise-C2-URL-Scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blwhit","download_url":"https://codeload.github.com/blwhit/ConnectWise-C2-URL-Scanner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blwhit%2FConnectWise-C2-URL-Scanner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34155422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":"2026-06-10T14:01:09.018Z","updated_at":"2026-06-10T14:01:10.435Z","avatar_url":"https://github.com/blwhit.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ConnectWise-C2-URL-Scanner\n\nA command-line PowerShell tool to extract suspicious relay URLs hidden in ConnectWise ScreenConnect executables.  \nIt scans raw strings from the binary hunting for potential command-and-control (C2) URLs that may be embedded using certificate stuffing techniques.\n\n---\n\n## Behavior\n\n- By default, the script looks for known keywords (e.g., `relay`, `screenconnect`, `instance`, etc.) and screens for `.screenconnect.com` URLs.\n- You can override the keyword list entirely using the `-Strings` parameter to search for **custom patterns**.\n\n---\n\n## Usage\n\n### Step 1 – Set your target executable path\n\n```powershell\n$filepath = \"C:\\Path\\To\\ConnectWise.exe\"\n```\n\n\n### Step 2 – Run the script remotely as a temp file\n\n#### One Liner\n\n```powershell\n$u=\"$env:TEMP\\ConnectWise-C2-URL-Scanner.ps1\"; iwr -UseBasicParsing \"https://raw.githubusercontent.com/blwhit/ConnectWise-C2-URL-Scanner/main/ConnectWise-C2-URL-Scanner.ps1\" -OutFile $u; powershell -ExecutionPolicy Bypass -File $u -FilePath $filepath; rm $u -Force\n\n```\n#### Script\n\n```powershell\n$ConnectWiseC2URLScanner = \"$env:TEMP\\ConnectWise-C2-URL-Scanner.ps1\"\n\nInvoke-WebRequest -UseBasicParsing \"https://raw.githubusercontent.com/blwhit/ConnectWise-C2-URL-Scanner/main/ConnectWise-C2-URL-Scanner.ps1\" -OutFile $ConnectWiseC2URLScanner\n\npowershell -ExecutionPolicy Bypass -File $ConnectWiseC2URLScanner -FilePath $filepath\n\nRemove-Item $ConnectWiseC2URLScanner -Force\n```\n\n---\n\n## Parameters\n\n| Parameter   | Type       | Description                                                                     |\n| ----------- | ---------- | --------------------------------------------------------------------------------|\n| `-FilePath` | `String`   | **(Required)** Path to the `.exe` file to analyze.                              |\n| `-Strings`  | `String[]` | *(Optional)* Define suspicious keywords to hunt with your own array of strings. |\n\n---\n\n### Example: Custom String Match\n\n```powershell\n.\\ConnectWise-C2-URL-Scanner.ps1 -FilePath \"C:\\ConnectWise.exe\" -Strings @(\"screenconnect\", \"instance\", \"relay\")\n```\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblwhit%2Fconnectwise-c2-url-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblwhit%2Fconnectwise-c2-url-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblwhit%2Fconnectwise-c2-url-scanner/lists"}