{"id":21145342,"url":"https://github.com/jsa2/legacyauth","last_synced_at":"2025-03-14T13:42:33.802Z","repository":{"id":103264498,"uuid":"454685732","full_name":"jsa2/legacyAuth","owner":"jsa2","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-02T10:08:23.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"public","last_synced_at":"2025-01-21T07:27:16.506Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/jsa2.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":"2022-02-02T07:50:02.000Z","updated_at":"2024-09-04T12:34:09.000Z","dependencies_parsed_at":"2023-10-15T13:06:12.301Z","dependency_job_id":null,"html_url":"https://github.com/jsa2/legacyAuth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsa2%2FlegacyAuth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsa2%2FlegacyAuth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsa2%2FlegacyAuth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsa2%2FlegacyAuth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsa2","download_url":"https://codeload.github.com/jsa2/legacyAuth/tar.gz/refs/heads/public","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243589255,"owners_count":20315467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-11-20T08:39:37.239Z","updated_at":"2025-03-14T13:42:33.773Z","avatar_url":"https://github.com/jsa2.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Azure AD Legacy Auth CLI test client for Azure AD Security Assessments \n\nDetermine if Conditional Access is configured properly. This tool is alternative solution to [MS Test Connectivity](https://testconnectivity.microsoft.com/tests/o365)\n\n\n![img](https://user-images.githubusercontent.com/58001986/152131519-ed7d7a8a-1f3a-47df-a055-010dfebced01.gif)\n\n## License\n\n[READ HERE](https://github.com/jsa2/legacyAuth/blob/public/LICENSE)\n\n---\n \n  ⚠ Only use this tool if you know what you are doing\n\n  ⚠ Always test the tool first in test environments, with non-sensitive data\n\n---\n\n### Endpoints \n\nLegacy SOAP endpoints|detail\n-|-\n✅ [connectMsOnline](src/msoid.js)| simulates connect-msolService CMDLET \u003cbr\u003e **Application** Microsoft Online Syndication Partner Portal \u003cbr\u003e **Application ID** d176f6e7-38e5-40c9-8a78-3998aab820e7\n✅ [connectSPO](src/spo.js)| simulates legacy SPO access\u003cbr\u003e **Application**\tOffice 365 SharePoint Online \u003cbr\u003e **Application ID** 00000003-0000-0ff1-ce00-000000000000\n✅ [connectEWS](src/exo.js)| simulates legacy EWS access \u003cbr\u003e **Client app**\tExchange Web Services\n\n\n### Running the tool\n⚠️ While this tool does not store passwords (passwords are only retained in runtime) the recommendation is not to use privileged credentials. Always use read-only account, that is recommendation for any assessment use scenario\n\n**Install**\n- Use Azure Cloud Shell (BASH), or WSL (Cloud Shell is prefered)\n\n```sh\ncurl -o- https://raw.githubusercontent.com/jsa2/legacyAuth/public/remote.sh | bash\n```\n\n**Running**\n```sh\ncd legacyAuth\nnode main.js --u=admin@M365B322999.onmicrosoft.com --p='DemoPasswordToEmptyTenant!.1'\n```\n  \n\n### Reviewing logs \n\nAuthentication attempts are shown in non-interactive Azure AD logs \n\n![image](https://user-images.githubusercontent.com/58001986/152113551-21da3334-e260-47df-a8e5-3536959b3444.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsa2%2Flegacyauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsa2%2Flegacyauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsa2%2Flegacyauth/lists"}