SecurityTests

SecurityTests runs tests defined in files. It is sorta apple internal: some tests are for Apple Internal use, some are just normal, everyday tests.

Arguments
The arguments for SecurityTests is unknown, however here are known arguments (taken from here, here, here, here, here, and here):  /AppleInternal/Applications/SecurityTests.app/SecurityTests sc_120_cloudcircle -v -- -i alice /AppleInternal/Applications/SecurityTests.app/SecurityTests sc_120_cloudcircle -v -- -i bob /AppleInternal/Applications/SecurityTests.app/SecurityTests sc_kvstool -v -- --dump /AppleInternal/Applications/SecurityTests.app/SecurityTests sc_kvstool -v -- --clear /AppleInternal/Applications/SecurityTests.app/SecurityTests sc_kvstool -v -- --putcircle /AppleInternal/Applications/SecurityTests.app/SecurityTests sc_kvstool -v -- --direct --dump /AppleInternal/Applications/SecurityTests.app/SecurityTests sc_kvstool -v -- --direct --putcircle /AppleInternal/Applications/SecurityTests.app/SecurityTests sc_102_cfusernotification -v /AppleInternal/Applications/SecurityTests.app/SecurityTests sc_100_devicecircle -v -- -i alice /AppleInternal/Applications/SecurityTests.app/SecurityTests sc_100_devicecircle -v -- -i bob /AppleInternal/Applications/SecurityTests.app/SecurityTests sc_101_accountsync -v -- -i alice /AppleInternal/Applications/SecurityTests.app/SecurityTests sc_101_accountsync -v -- -i bob /AppleInternal/Applications/SecurityTests.app/SecurityTests sc_103_syncupdate -v -- -i alice /AppleInternal/Applications/SecurityTests.app/SecurityTests sc_103_syncupdate -v -- -i bob

File Contents
 ./AppleInternal/Applications/SecurityTests.app: AppleID-certs CodeResources DigiNotar DigiNotar-Entrust DigiNotar-ok DigicertMalaysia Info.plist OTATasking-certs PkgInfo ResourceRules.plist SecurityTests _CodeSignature mobileasset-certs nist-certs

./AppleInternal/Applications/SecurityTests.app/AppleID-certs: Apple Application Integration Certification Authority Cert.crt Apple Production ShareServices-7130767241416543643077536561487847634e4d6f773d3d.crt AppleRootCertificate.crt Invalid-asset_signing.crt iPhoneCACert.crt

./AppleInternal/Applications/SecurityTests.app/DigiNotar: Invalid-CertiID_Enterprise_Certificate_Authority.crt Invalid-DigiNotar_PKIoverheid_CA_Organisatie_-_G2-Cert.crt Invalid-asterisk.google.com.crt Invalid-diginotarpkioverheidcaoverheid.crt Invalid-diginotarpkioverheidcaoverheidenbedrijven-Cert.crt Invalid-muisonline.omnyacc-denhelder.nl-diginotar.cyberca.crt Invalid-webmail.portofamsterdam.nl.crt Invalid-webmail.terneuzen.nl-diginotar-services.crt Invalid-www.maestre.com-diginotal.extended.validation.crt Invalid-www.mobilehostingservices.nl-diginotar-services-1024.crt Ministerie_van_Defensie_Certificatie_Autoriteit.crt Ministerie_van_Defensie_Certificatie_Autoriteit_G2.crt diginotar-public-ca-2025-Cert.crt diginotar-services-1024-entrust-secure-server-Cert.crt diginotar-services-diginotar-root-Cert.crt diginotar.cyberca-gte.global.root-Cert.crt diginotar.extended.validation-diginotar.root.ca-Cert.crt staatdernederlandenorganisatieca-g2-Cert.crt staatdernederlandenoverheidca-Cert.crt

./AppleInternal/Applications/SecurityTests.app/DigiNotar-Entrust: Invalid-CertiID_Enterprise_Certificate_Authority.crt Invalid-DigiNotar_PKIoverheid_CA_Organisatie_-_G2-Cert.crt Invalid-asterisk.google.com.crt Invalid-diginotarpkioverheidcaoverheid.crt Invalid-diginotarpkioverheidcaoverheidenbedrijven-Cert.crt Invalid-muisonline.omnyacc-denhelder.nl-diginotar.cyberca.crt Invalid-webmail.portofamsterdam.nl.crt Invalid-webmail.terneuzen.nl-diginotar-services.crt Invalid-www.maestre.com-diginotal.extended.validation.crt Invalid-www.mobilehostingservices.nl-diginotar-services-1024.crt Ministerie_van_Defensie_Certificatie_Autoriteit.crt Ministerie_van_Defensie_Certificatie_Autoriteit_G2.crt diginotar-public-ca-2025-Cert.crt diginotar-services-1024-entrust-secure-server-Cert.crt diginotar-services-diginotar-root-Cert.crt diginotar.cyberca-gte.global.root-Cert.crt diginotar.extended.validation-diginotar.root.ca-Cert.crt diginotar.root.ca-entrust-secure-server-Cert.crt staatdernederlandenorganisatieca-g2-Cert.crt staatdernederlandenoverheidca-Cert.crt

./AppleInternal/Applications/SecurityTests.app/DigiNotar-ok: DigiNotarCA2007RootCertificate.crt DigiNotar_Root_CA_G2-RootCertificate.crt Expectations.plist Invalid-CertiID_Enterprise_Certificate_Authority.crt Invalid-asterisk.google.com.crt Invalid-muisonline.omnyacc-denhelder.nl-diginotar.cyberca.crt Invalid-webmail.portofamsterdam.nl.crt Invalid-webmail.terneuzen.nl-diginotar-services.crt Invalid-www.maestre.com-diginotal.extended.validation.crt Invalid-www.mobilehostingservices.nl-diginotar-services-1024.crt diginotar-public-ca-2025-Cert.crt diginotar-services-1024-entrust-secure-server-Cert.crt diginotar-services-diginotar-root-Cert.crt diginotar.cyberca-gte.global.root-Cert.crt diginotar.extended.validation-diginotar.root.ca-Cert.crt

./AppleInternal/Applications/SecurityTests.app/DigicertMalaysia: Digisign-Server-ID-Enrich-Entrust-Cert.crt Digisign-Server-ID-Enrich-GTETrust-Cert.crt Invalid-webmail.jaring.my.crt Invalid-www.cybersecurity.my.crt

./AppleInternal/Applications/SecurityTests.app/OTATasking-certs: AppleRootCertificate.crt Invalid-asset_signing.crt iPhoneCACert.crt task_signing.crt

./AppleInternal/Applications/SecurityTests.app/_CodeSignature: CodeResources

./AppleInternal/Applications/SecurityTests.app/mobileasset-certs: AppleRootCertificate.crt Invalid-task_signing.crt asset_signing.crt iPhoneCACert.crt

./AppleInternal/Applications/SecurityTests.app/nist-certs: AllCertificatesNoPoliciesTest2EE.crt AllCertificatesSamePoliciesTest10EE.crt AllCertificatesSamePoliciesTest13EE.crt AllCertificatesanyPolicyTest11EE.crt AnyPolicyTest14EE.crt BadCRLIssuerNameCACert.crt BadCRLSignatureCACert.crt BadSignedCACert.crt BadnotAfterDateCACert.crt BadnotBeforeDateCACert.crt BasicSelfIssuedCRLSigningKeyCACert.crt BasicSelfIssuedNewKeyCACert.crt BasicSelfIssuedNewKeyOldWithNewCACert.crt BasicSelfIssuedOldKeyCACert.crt BasicSelfIssuedOldKeyNewWithOldCACert.crt CPSPointerQualifierTest20EE.crt DSACACert.crt DSAParametersInheritedCACert.crt DifferentPoliciesTest12EE.crt DifferentPoliciesTest3EE.crt DifferentPoliciesTest4EE.crt DifferentPoliciesTest5EE.crt DifferentPoliciesTest7EE.crt DifferentPoliciesTest8EE.crt DifferentPoliciesTest9EE.crt Expectations.plist GeneralizedTimeCRLnextUpdateCACert.crt GoodCACert.crt GoodsubCACert.crt GoodsubCAPanyPolicyMapping1to2CACert.crt InvalidBasicSelfIssuedNewWithOldTest5EE.crt InvalidBasicSelfIssuedOldWithNewTest2EE.crt InvalidCASignatureTest2EE.crt InvalidCAnotAfterDateTest5EE.crt InvalidCAnotBeforeDateTest1EE.crt InvalidDNSnameConstraintsTest31EE.crt InvalidDNSnameConstraintsTest33EE.crt InvalidDNSnameConstraintsTest38EE.crt InvalidDNandRFC822nameConstraintsTest28EE.crt InvalidDNandRFC822nameConstraintsTest29EE.crt InvalidDNnameConstraintsTest10EE.crt InvalidDNnameConstraintsTest12EE.crt InvalidDNnameConstraintsTest13EE.crt InvalidDNnameConstraintsTest15EE.crt InvalidDNnameConstraintsTest16EE.crt InvalidDNnameConstraintsTest17EE.crt InvalidDNnameConstraintsTest20EE.crt InvalidDNnameConstraintsTest2EE.crt InvalidDNnameConstraintsTest3EE.crt InvalidDNnameConstraintsTest7EE.crt InvalidDNnameConstraintsTest8EE.crt InvalidDNnameConstraintsTest9EE.crt InvalidDSASignatureTest6EE.crt InvalidEESignatureTest3EE.crt InvalidEEnotAfterDateTest6EE.crt InvalidEEnotBeforeDateTest2EE.crt InvalidLongSerialNumberTest18EE.crt InvalidMappingFromanyPolicyTest7EE.crt InvalidMappingToanyPolicyTest8EE.crt InvalidMissingbasicConstraintsTest1EE.crt InvalidNameChainingOrderTest2EE.crt InvalidNameChainingTest1EE.crt InvalidNegativeSerialNumberTest15EE.crt InvalidPolicyMappingTest10EE.crt InvalidPolicyMappingTest2EE.crt InvalidPolicyMappingTest4EE.crt InvalidRFC822nameConstraintsTest22EE.crt InvalidRFC822nameConstraintsTest24EE.crt InvalidRFC822nameConstraintsTest26EE.crt InvalidSelfIssuedinhibitAnyPolicyTest10EE.crt InvalidSelfIssuedinhibitAnyPolicyTest8EE.crt InvalidSelfIssuedinhibitPolicyMappingTest10EE.crt InvalidSelfIssuedinhibitPolicyMappingTest11EE.crt InvalidSelfIssuedinhibitPolicyMappingTest8EE.crt InvalidSelfIssuedinhibitPolicyMappingTest9EE.crt InvalidSelfIssuedpathLenConstraintTest16EE.crt InvalidSelfIssuedrequireExplicitPolicyTest7EE.crt InvalidSelfIssuedrequireExplicitPolicyTest8EE.crt InvalidURInameConstraintsTest35EE.crt InvalidURInameConstraintsTest37EE.crt InvalidUnknownCriticalCertificateExtensionTest2EE.crt InvalidcAFalseTest2EE.crt InvalidcAFalseTest3EE.crt InvalidcRLIssuerTest27EE.crt InvalidcRLIssuerTest31EE.crt InvalidcRLIssuerTest32EE.crt InvalidcRLIssuerTest34EE.crt InvalidcRLIssuerTest35EE.crt InvalidinhibitAnyPolicyTest1EE.crt InvalidinhibitAnyPolicyTest4EE.crt InvalidinhibitAnyPolicyTest5EE.crt InvalidinhibitAnyPolicyTest6EE.crt InvalidinhibitPolicyMappingTest1EE.crt InvalidinhibitPolicyMappingTest3EE.crt InvalidinhibitPolicyMappingTest5EE.crt InvalidinhibitPolicyMappingTest6EE.crt InvalidkeyUsageCriticalcRLSignFalseTest4EE.crt InvalidkeyUsageCriticalkeyCertSignFalseTest1EE.crt InvalidkeyUsageNotCriticalcRLSignFalseTest5EE.crt InvalidkeyUsageNotCriticalkeyCertSignFalseTest2EE.crt InvalidonlyContainsAttributeCertsTest14EE.crt InvalidonlyContainsCACertsTest12EE.crt InvalidonlyContainsUserCertsTest11EE.crt InvalidonlySomeReasonsTest15EE.crt InvalidonlySomeReasonsTest16EE.crt InvalidonlySomeReasonsTest17EE.crt InvalidonlySomeReasonsTest20EE.crt InvalidonlySomeReasonsTest21EE.crt InvalidpathLenConstraintTest10EE.crt InvalidpathLenConstraintTest11EE.crt InvalidpathLenConstraintTest12EE.crt InvalidpathLenConstraintTest5EE.crt InvalidpathLenConstraintTest6EE.crt InvalidpathLenConstraintTest9EE.crt Invalidpre2000UTCEEnotAfterDateTest7EE.crt InvalidrequireExplicitPolicyTest3EE.crt InvalidrequireExplicitPolicyTest5EE.crt LongSerialNumberCACert.crt Mapping1to2CACert.crt MappingFromanyPolicyCACert.crt MappingToanyPolicyCACert.crt MissingbasicConstraintsCACert.crt NameOrderingCACert.crt NegativeSerialNumberCACert.crt NoCRLCACert.crt NoPoliciesCACert.crt NoissuingDistributionPointCACert.crt OldCRLnextUpdateCACert.crt OverlappingPoliciesTest6EE.crt P12Mapping1to3CACert.crt P12Mapping1to3subCACert.crt P12Mapping1to3subsubCACert.crt P1Mapping1to234CACert.crt P1Mapping1to234subCACert.crt P1anyPolicyMapping1to2CACert.crt PanyPolicyMapping1to2CACert.crt PoliciesP1234CACert.crt PoliciesP1234subCAP123Cert.crt PoliciesP1234subsubCAP123P12Cert.crt PoliciesP123CACert.crt PoliciesP123subCAP12Cert.crt PoliciesP123subsubCAP12P1Cert.crt PoliciesP123subsubCAP12P2Cert.crt PoliciesP123subsubsubCAP12P2P1Cert.crt PoliciesP12CACert.crt PoliciesP12subCAP1Cert.crt PoliciesP12subsubCAP1P2Cert.crt PoliciesP2subCA2Cert.crt PoliciesP2subCACert.crt PoliciesP3CACert.crt RFC3280MandatoryAttributeTypesCACert.crt RFC3280OptionalAttributeTypesCACert.crt RevokedsubCACert.crt RolloverfromPrintableStringtoUTF8StringCACert.crt SeparateCertificateandCRLKeysCA2CRLSigningCert.crt SeparateCertificateandCRLKeysCA2CertificateSigningCACert.crt SeparateCertificateandCRLKeysCertificateSigningCACert.crt TrustAnchorRootCertificate.crt TwoCRLsCACert.crt UIDCACert.crt UTF8StringCaseInsensitiveMatchCACert.crt UTF8StringEncodedNamesCACert.crt UnknownCRLEntryExtensionCACert.crt UnknownCRLExtensionCACert.crt UserNoticeQualifierTest15EE.crt UserNoticeQualifierTest16EE.crt UserNoticeQualifierTest17EE.crt UserNoticeQualifierTest18EE.crt UserNoticeQualifierTest19EE.crt ValidBasicSelfIssuedNewWithOldTest3EE.crt ValidBasicSelfIssuedNewWithOldTest4EE.crt ValidBasicSelfIssuedOldWithNewTest1EE.crt ValidCertificatePathTest1EE.crt ValidDNSnameConstraintsTest30EE.crt ValidDNSnameConstraintsTest32EE.crt ValidDNandRFC822nameConstraintsTest27EE.crt ValidDNnameConstraintsTest11EE.crt ValidDNnameConstraintsTest14EE.crt ValidDNnameConstraintsTest18EE.crt ValidDNnameConstraintsTest19EE.crt ValidDNnameConstraintsTest1EE.crt ValidDNnameConstraintsTest4EE.crt ValidDNnameConstraintsTest5EE.crt ValidDNnameConstraintsTest6EE.crt ValidDSAParameterInheritanceTest5EE.crt ValidDSASignaturesTest4EE.crt ValidGeneralizedTimenotAfterDateTest8EE.crt ValidGeneralizedTimenotBeforeDateTest4EE.crt ValidLongSerialNumberTest16EE.crt ValidLongSerialNumberTest17EE.crt ValidNameChainingCapitalizationTest5EE.crt ValidNameChainingWhitespaceTest3EE.crt ValidNameChainingWhitespaceTest4EE.crt ValidNameUIDsTest6EE.crt ValidNegativeSerialNumberTest14EE.crt ValidPolicyMappingTest11EE.crt ValidPolicyMappingTest12EE.crt ValidPolicyMappingTest13EE.crt ValidPolicyMappingTest14EE.crt ValidPolicyMappingTest1EE.crt ValidPolicyMappingTest3EE.crt ValidPolicyMappingTest5EE.crt ValidPolicyMappingTest6EE.crt ValidPolicyMappingTest9EE.crt ValidRFC3280MandatoryAttributeTypesTest7EE.crt ValidRFC3280OptionalAttributeTypesTest8EE.crt ValidRFC822nameConstraintsTest21EE.crt ValidRFC822nameConstraintsTest23EE.crt ValidRFC822nameConstraintsTest25EE.crt ValidRolloverfromPrintableStringtoUTF8StringTest10EE.crt ValidSelfIssuedinhibitAnyPolicyTest7EE.crt ValidSelfIssuedinhibitAnyPolicyTest9EE.crt ValidSelfIssuedinhibitPolicyMappingTest7EE.crt ValidSelfIssuedpathLenConstraintTest15EE.crt ValidSelfIssuedpathLenConstraintTest17EE.crt ValidSelfIssuedrequireExplicitPolicyTest6EE.crt ValidURInameConstraintsTest34EE.crt ValidURInameConstraintsTest36EE.crt ValidUTF8StringCaseInsensitiveMatchTest11EE.crt ValidUTF8StringEncodedNamesTest9EE.crt ValidUnknownNotCriticalCertificateExtensionTest1EE.crt ValidbasicConstraintsNotCriticalTest4EE.crt ValidcRLIssuerTest28EE.crt ValidcRLIssuerTest29EE.crt ValidcRLIssuerTest30EE.crt ValidcRLIssuerTest33EE.crt ValidinhibitAnyPolicyTest2EE.crt ValidinhibitPolicyMappingTest2EE.crt ValidinhibitPolicyMappingTest4EE.crt ValidkeyUsageNotCriticalTest3EE.crt ValidonlyContainsCACertsTest13EE.crt ValidonlySomeReasonsTest18EE.crt ValidonlySomeReasonsTest19EE.crt ValidpathLenConstraintTest13EE.crt ValidpathLenConstraintTest14EE.crt ValidpathLenConstraintTest7EE.crt ValidpathLenConstraintTest8EE.crt Validpre2000UTCnotBeforeDateTest3EE.crt ValidrequireExplicitPolicyTest1EE.crt ValidrequireExplicitPolicyTest2EE.crt ValidrequireExplicitPolicyTest4EE.crt WrongCRLCACert.crt anyPolicyCACert.crt basicConstraintsCriticalcAFalseCACert.crt basicConstraintsNotCriticalCACert.crt basicConstraintsNotCriticalcAFalseCACert.crt deltaCRLCA1Cert.crt deltaCRLCA2Cert.crt deltaCRLCA3Cert.crt deltaCRLIndicatorNoBaseCACert.crt distributionPoint1CACert.crt distributionPoint2CACert.crt indirectCRLCA1Cert.crt indirectCRLCA2Cert.crt indirectCRLCA3Cert.crt indirectCRLCA3cRLIssuerCert.crt indirectCRLCA4Cert.crt indirectCRLCA4cRLIssuerCert.crt indirectCRLCA5Cert.crt indirectCRLCA6Cert.crt inhibitAnyPolicy0CACert.crt inhibitAnyPolicy1CACert.crt inhibitAnyPolicy1SelfIssuedCACert.crt inhibitAnyPolicy1SelfIssuedsubCA2Cert.crt inhibitAnyPolicy1subCA1Cert.crt inhibitAnyPolicy1subCA2Cert.crt inhibitAnyPolicy1subCAIAP5Cert.crt inhibitAnyPolicy1subsubCA2Cert.crt inhibitAnyPolicy5CACert.crt inhibitAnyPolicy5subCACert.crt inhibitAnyPolicy5subsubCACert.crt inhibitAnyPolicyTest3EE.crt inhibitPolicyMapping0CACert.crt inhibitPolicyMapping0subCACert.crt inhibitPolicyMapping1P12CACert.crt inhibitPolicyMapping1P12subCACert.crt inhibitPolicyMapping1P12subCAIPM5Cert.crt inhibitPolicyMapping1P12subsubCACert.crt inhibitPolicyMapping1P12subsubCAIPM5Cert.crt inhibitPolicyMapping1P1CACert.crt inhibitPolicyMapping1P1SelfIssuedCACert.crt inhibitPolicyMapping1P1SelfIssuedsubCACert.crt inhibitPolicyMapping1P1subCACert.crt inhibitPolicyMapping1P1subsubCACert.crt inhibitPolicyMapping5CACert.crt inhibitPolicyMapping5subCACert.crt inhibitPolicyMapping5subsubCACert.crt inhibitPolicyMapping5subsubsubCACert.crt keyUsageCriticalcRLSignFalseCACert.crt keyUsageCriticalkeyCertSignFalseCACert.crt keyUsageNotCriticalCACert.crt keyUsageNotCriticalcRLSignFalseCACert.crt keyUsageNotCriticalkeyCertSignFalseCACert.crt nameConstraintsDN1CACert.crt nameConstraintsDN1SelfIssuedCACert.crt nameConstraintsDN1subCA1Cert.crt nameConstraintsDN1subCA2Cert.crt nameConstraintsDN1subCA3Cert.crt nameConstraintsDN2CACert.crt nameConstraintsDN3CACert.crt nameConstraintsDN3subCA1Cert.crt nameConstraintsDN3subCA2Cert.crt nameConstraintsDN4CACert.crt nameConstraintsDN5CACert.crt nameConstraintsDNS1CACert.crt nameConstraintsDNS2CACert.crt nameConstraintsRFC822CA1Cert.crt nameConstraintsRFC822CA2Cert.crt nameConstraintsRFC822CA3Cert.crt nameConstraintsURI1CACert.crt nameConstraintsURI2CACert.crt onlyContainsAttributeCertsCACert.crt onlyContainsCACertsCACert.crt onlyContainsUserCertsCACert.crt onlySomeReasonsCA1Cert.crt onlySomeReasonsCA2Cert.crt onlySomeReasonsCA3Cert.crt onlySomeReasonsCA4Cert.crt pathLenConstraint0CACert.crt pathLenConstraint0SelfIssuedCACert.crt pathLenConstraint0subCA2Cert.crt pathLenConstraint0subCACert.crt pathLenConstraint1CACert.crt pathLenConstraint1SelfIssuedCACert.crt pathLenConstraint1SelfIssuedsubCACert.crt pathLenConstraint1subCACert.crt pathLenConstraint6CACert.crt pathLenConstraint6subCA0Cert.crt pathLenConstraint6subCA1Cert.crt pathLenConstraint6subCA4Cert.crt pathLenConstraint6subsubCA00Cert.crt pathLenConstraint6subsubCA11Cert.crt pathLenConstraint6subsubCA41Cert.crt pathLenConstraint6subsubsubCA11XCert.crt pathLenConstraint6subsubsubCA41XCert.crt pre2000CRLnextUpdateCACert.crt requireExplicitPolicy0CACert.crt requireExplicitPolicy0subCACert.crt requireExplicitPolicy0subsubCACert.crt requireExplicitPolicy0subsubsubCACert.crt requireExplicitPolicy10CACert.crt requireExplicitPolicy10subCACert.crt requireExplicitPolicy10subsubCACert.crt requireExplicitPolicy10subsubsubCACert.crt requireExplicitPolicy2CACert.crt requireExplicitPolicy2SelfIssuedCACert.crt requireExplicitPolicy2SelfIssuedsubCACert.crt requireExplicitPolicy2subCACert.crt requireExplicitPolicy4CACert.crt requireExplicitPolicy4subCACert.crt requireExplicitPolicy4subsubCACert.crt requireExplicitPolicy4subsubsubCACert.crt requireExplicitPolicy5CACert.crt requireExplicitPolicy5subCACert.crt requireExplicitPolicy5subsubCACert.crt requireExplicitPolicy5subsubsubCACert.crt requireExplicitPolicy7CACert.crt requireExplicitPolicy7subCARE2Cert.crt requireExplicitPolicy7subsubCARE2RE4Cert.crt requireExplicitPolicy7subsubsubCARE2RE4Cert.crt