-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Port MASTG-TEST-0065 to v2: iOS Data Encryption on the Network #3564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…text traffic Co-authored-by: cpholguera <29175115+cpholguera@users.noreply.github.com>
Co-authored-by: cpholguera <29175115+cpholguera@users.noreply.github.com>
|
@copilot please add a test and a demo for connections by low level APIs that don't honor ATS |
Co-authored-by: cpholguera <29175115+cpholguera@users.noreply.github.com>
Added MASTG-TEST-0315 "Uses of Low-Level Networking APIs that Bypass ATS" and MASTG-DEMO-0078 demonstrating Network framework usage without TLS. The test covers detection of |
|
@copilot Now add a second demo for MASTG-TEST-0315 which uses sockets directly |
Co-authored-by: cpholguera <29175115+cpholguera@users.noreply.github.com>
Added MASTG-DEMO-0079 demonstrating BSD sockets ( |
This PR closes #831
Description
Ports iOS v1 test MASTG-TEST-0065 "Testing Data Encryption on the Network" to MASTG v2 format, splitting it into atomic tests per the porting guidelines.
New Tests:
MASTG-TEST-0313: Hardcoded HTTP URLs - static analysis using r2 to detect HTTP URLs in iOS binariesMASTG-TEST-0314: ATS Configurations Allowing Cleartext Traffic - static analysis ofNSAppTransportSecurityexceptions in Info.plistMASTG-TEST-0315: Uses of Low-Level Networking APIs that Bypass ATS - static analysis to detect Network framework, CFNetwork, or BSD sockets that bypass ATS protectionsNew Demos:
MASTG-DEMO-0076: Insecure ATS config withNSAllowsArbitraryLoads=trueMASTG-DEMO-0077: HTTP URL detection in binary (draft, requires MASTestApp rebuild)MASTG-DEMO-0078: Low-level Network framework usage bypassing ATS (draft, requires MASTestApp rebuild)MASTG-DEMO-0079: BSD sockets usage bypassing ATS (draft, requires MASTestApp rebuild)Updates:
MASTG-TEST-0236(platform: network): Added related-tests linking to new iOS tests including MASTG-TEST-0315MASTG-TEST-0065: Deprecated withcovered_bypointing to new v2 testsAll tests reference weakness
MASWE-0050and profiles[L1, L2]. Dynamic analysis is covered by existingMASTG-TEST-0236.[x] I have read the contributing guidelines.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.