apple-data 0.1.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/lib/apple_data/boot_args.rb +5 -0
  3. data/lib/apple_data/fdr.rb +30 -0
  4. data/lib/apple_data/ioreg.rb +57 -0
  5. data/lib/apple_data/ipsw.rb +25 -0
  6. data/lib/apple_data/keybag.rb +56 -0
  7. data/lib/apple_data/lockdown.rb +48 -0
  8. data/lib/apple_data/macho.rb +5 -0
  9. data/lib/apple_data/version.rb +5 -0
  10. data/lib/apple_data.rb +8 -0
  11. data/share/4cc.yaml +297 -293
  12. data/share/apns.yaml +367 -364
  13. data/share/backup.yaml +47 -44
  14. data/share/baseband/qualcomm/mav13.yaml +26 -0
  15. data/share/baseband/qualcomm/mav20.yaml +45 -0
  16. data/share/baseband/qualcomm/mav21.yaml +254 -0
  17. data/share/baseband.yaml +290 -1
  18. data/share/bluetooth.yaml +75 -71
  19. data/share/boot_args.yaml +863 -855
  20. data/share/bridgeos.yaml +174 -131
  21. data/share/bundles.yaml +56 -60
  22. data/share/coprocessor.yaml +64 -0
  23. data/share/cores.yaml +72 -47
  24. data/share/debug.yaml +13 -0
  25. data/share/defaults.yaml +5 -0
  26. data/share/dnssd.yaml +171 -166
  27. data/share/entitlements.yaml +10391 -0
  28. data/share/environment_variables.yaml +354 -0
  29. data/share/esim.yaml +7 -0
  30. data/share/fdr.yaml +150 -148
  31. data/share/firmware.yaml +1310 -0
  32. data/share/homekit.yaml +14 -14
  33. data/share/iboot.yaml +143 -0
  34. data/share/icloud.yaml +11 -8
  35. data/share/img4.yaml +454 -453
  36. data/share/ioreg.yaml +5647 -5642
  37. data/share/ipsw.yaml +51505 -1099
  38. data/share/kext.yaml +3491 -1718
  39. data/share/keybags/7000.yaml +44342 -0
  40. data/share/keybags/7001.yaml +19430 -0
  41. data/share/keybags/7002.yaml +292 -0
  42. data/share/keybags/8000.yaml +82065 -0
  43. data/share/keybags/8001.yaml +29655 -0
  44. data/share/keybags/8004.yaml +295 -0
  45. data/share/keybags/8006.yaml +65 -0
  46. data/share/keybags/8010.yaml +23899 -0
  47. data/share/keybags/8011.yaml +4409 -0
  48. data/share/keybags/8015.yaml +23626 -0
  49. data/share/keybags/8020.yaml +4488 -0
  50. data/share/keybags/8027.yaml +43 -0
  51. data/share/keybags/8030.yaml +8687 -0
  52. data/share/keybags/8101.yaml +8595 -0
  53. data/share/keybags/8720.yaml +2026 -0
  54. data/share/keybags/8900.yaml +2344 -0
  55. data/share/keybags/8920.yaml +6761 -0
  56. data/share/keybags/8922.yaml +3141 -0
  57. data/share/keybags/8930.yaml +20583 -0
  58. data/share/keybags/8940.yaml +36319 -0
  59. data/share/keybags/8942.yaml +17343 -0
  60. data/share/keybags/8945.yaml +23360 -0
  61. data/share/keybags/8947.yaml +1384 -0
  62. data/share/keybags/8950.yaml +16258 -0
  63. data/share/keybags/8955.yaml +52163 -0
  64. data/share/keybags/8960.yaml +49499 -0
  65. data/share/keys.yaml +56 -0
  66. data/share/lightning.yaml +26 -23
  67. data/share/lockdownd.yaml +74 -71
  68. data/share/mach_o.yaml +204 -172
  69. data/share/mobile_assets.yaml +113 -127
  70. data/share/mobile_gestalt.yaml +2447 -2444
  71. data/share/nvram.yaml +463 -441
  72. data/share/ota.yaml +4 -1
  73. data/share/pki.yaml +103 -99
  74. data/share/platforms.yaml +35 -31
  75. data/share/pmu.yaml +52 -26
  76. data/share/registers.yaml +1579 -1603
  77. data/share/resources.yaml +202 -198
  78. data/share/sep.yaml +210 -206
  79. data/share/services.yaml +641 -636
  80. data/share/sip.yaml +64 -0
  81. data/share/smc.yaml +7 -0
  82. data/share/syscfg.yaml +4 -1
  83. data/share/tipw_sync.yaml +79103 -0
  84. data/share/vmapple.yaml +35 -0
  85. metadata +80 -15
data/share/ota.yaml CHANGED
@@ -1,5 +1,8 @@
1
1
  ---
2
- stages:
2
+ metadata:
3
+ description:
4
+ credits:
5
+ ota_stages:
3
6
  - fdr_verify_sealed_manifest
4
7
  - update_appletcon
5
8
  - update_veridian
data/share/pki.yaml CHANGED
@@ -1,5 +1,8 @@
1
1
  ---
2
- uaages:
2
+ metadata:
3
+ description:
4
+ credits:
5
+ certificate_names:
3
6
  dcrt: device certificate
4
7
  dcrt-oid: device owner certificate
5
8
  lcrt: local certificate?
@@ -9,105 +12,106 @@ uaages:
9
12
  tcrt: test certificate?
10
13
  ucrt: user certificate (mapps to a single iCloud account)
11
14
  vcrt: virtual certificate?
12
- private_oid_root: 1.2.840.113635
15
+ constants:
16
+ private_oid_root: 1.2.840.113635
13
17
  oids:
14
- - oid: 1.2.840.113635.100.5.3
15
- apple_description: ADC Certificate Policy
16
- - oid: 1.2.840.113635.100.5.4
17
- apple_description: Markers for iPhone OS Device Certificate Policies, used for external sources to trust iPhone OS devices
18
- - oid: 1.2.840.113635.100.5.4.1
19
- apple_description: BBC's Policy
20
- - oid: 1.2.840.113635.100.6.1.1
21
- apple_description: Apple Released Code Signature
22
- - oid: 1.2.840.113635.100.6.1.2
23
- apple_description: Apple World Wide Developer Relations Certificates for Code Signing during development
24
- - oid: 1.2.840.113635.100.6.1.3
25
- apple_description: Apple World Wide Developer Relations Certificates for Code Signing for General Release through the iTMS
26
- - oid: 1.2.840.113635.100.6.1.3.1
27
- apple_description: Apple World Wide Developer Relations Certificates for Code Signing for Test Release through the iTMS
28
- - oid: 1.2.840.113635.100.6.1.4
29
- apple_description: Apple World Wide Developer Relations Certificates for Code Signing GM from developer to Apple
30
- - oid: 1.2.840.113635.100.6.1.15
31
- description:
32
- Contains the boot policy of the machine during certificate issuance
33
- based on boot policy. includes BORD, ronh, lobo, SDOM, lpnh, rpnh
34
- BNCH, CSEC, CHIP, ECID, CPEO, OBJP, EPRO, DPRO, ESEC, DSEC and DGST
35
- found_in:
36
- - ucrt
37
- - dcrt-oid
38
- issuers:
39
- - Basic Attestation User Sub CA2
40
- - FDRDC-UCRT-SUBCA
41
- ous:
42
- - BAA Certification
43
- - ucrt Leaf Certificate
44
- - oid: 1.2.840.113635.100.6.2.1
45
- apple_description: Marker for the WWDR Intermediate Certificate
46
- - oid: 1.2.840.113635.100.6.2.2
47
- apple_description: Marker for the iTunes Store Intermediate Certificate
48
- - oid: 1.2.840.113635.100.6.3.1
49
- apple_description: Apple World Wide Developer Relations Client SSL Certificates for Accessing the Development Apple Push Service
50
- - oid: 1.2.840.113635.100.6.3.2
51
- apple_description: Apple World Wide Developer Relations Client SSL Certificates for Accessing the Production Apple Push Service
52
- - oid: 1.2.840.113635.100.6.4.1
53
- apple_description: Extension Markers for device version string, expects UTF8 to follow in SubjectAltName
54
- - oid: 1.2.840.113635.100.6 4.2
55
- apple_description: Extension Markers for OS version string, expects UTF8 to follow in SubjectAltName
56
- - oid: 1.2.840.113635.100.6.5.1
57
- apple_description: Apple iTunes Store Certificates for Signing Receipts of Purchases from the iTS
58
- - oid: 1.2.840.113635.100.6.5.2
59
- apple_description: Apple iTunes Store Certificates for Signing Requests to Purchase for the iTS
60
- - oid: 1.2.840.113635.100.7.1.1
61
- apple_description: 'Apple FairPlay certificate extended Application Authentication & Authorization: Policy'
62
- - oid: 1.2.840.113635.100.8.4
63
- description: contains 3 integer values in ASN1, the second of which seems to be a 64bit mask of 0xFE000000
64
- is_asn_body: true
65
- is_extension: true
66
- found_in:
67
- - dcrt
68
- - dcrt-oid
69
- issuers:
70
- - Basic Attestation User Sub CA2
71
- ous:
72
- - BAA Certification
73
- - oid: 1.2.840.113635.100.8.5
74
- is_asn_body: true
75
- is_extension: true
76
- found_in:
77
- - dcrt
78
- - dcrt-oid
79
- issuers:
80
- - Basic Attestation User Sub CA2
81
- ous:
82
- - BAA Certification
83
- - oid: 1.2.840.113635.100.8.7
84
- description: ASN1 data for the version of macOS for the issued under (e.g. 12.2)
85
- is_asn_body: true
86
- is_extension: true
87
- found_in:
88
- - dcrt
89
- - dcrt-oid
90
- issuers:
91
- - Basic Attestation User Sub CA2
92
- ous:
93
- - BAA Certification
94
- - oid: 1.2.840.113635.100.10.1
95
- description:
96
- Hardware device identifiers of the machine the certificate is issued to
97
- contains BORD, CHIP, ECID, srnm, udid, seid
98
- found_in:
99
- - ucrt
100
- issuers:
101
- - FDRDC-UCRT-SUBCA
102
- ous:
103
- - ucrt Leaf Certificate
104
- - oid: 1.2.840.113635.100.10.2
105
- found_in:
106
- - ucrt
107
- issuers:
108
- - FDRDC-UCRT-SUBCA
109
- ous:
110
- - ucrt Leaf Certificate
18
+ - oid: 1.2.840.113635.100.5.3
19
+ apple_description: ADC Certificate Policy
20
+ - oid: 1.2.840.113635.100.5.4
21
+ apple_description: Markers for iPhone OS Device Certificate Policies, used for external sources to trust iPhone OS devices
22
+ - oid: 1.2.840.113635.100.5.4.1
23
+ apple_description: BBC's Policy
24
+ - oid: 1.2.840.113635.100.6.1.1
25
+ apple_description: Apple Released Code Signature
26
+ - oid: 1.2.840.113635.100.6.1.2
27
+ apple_description: Apple World Wide Developer Relations Certificates for Code Signing during development
28
+ - oid: 1.2.840.113635.100.6.1.3
29
+ apple_description: Apple World Wide Developer Relations Certificates for Code Signing for General Release through the iTMS
30
+ - oid: 1.2.840.113635.100.6.1.3.1
31
+ apple_description: Apple World Wide Developer Relations Certificates for Code Signing for Test Release through the iTMS
32
+ - oid: 1.2.840.113635.100.6.1.4
33
+ apple_description: Apple World Wide Developer Relations Certificates for Code Signing GM from developer to Apple
34
+ - oid: 1.2.840.113635.100.6.1.15
35
+ description:
36
+ Contains the boot policy of the machine during certificate issuance
37
+ based on boot policy. includes BORD, ronh, lobo, SDOM, lpnh, rpnh
38
+ BNCH, CSEC, CHIP, ECID, CPEO, OBJP, EPRO, DPRO, ESEC, DSEC and DGST
39
+ found_in:
40
+ - ucrt
41
+ - dcrt-oid
42
+ issuers:
43
+ - Basic Attestation User Sub CA2
44
+ - FDRDC-UCRT-SUBCA
45
+ ous:
46
+ - BAA Certification
47
+ - ucrt Leaf Certificate
48
+ - oid: 1.2.840.113635.100.6.2.1
49
+ apple_description: Marker for the WWDR Intermediate Certificate
50
+ - oid: 1.2.840.113635.100.6.2.2
51
+ apple_description: Marker for the iTunes Store Intermediate Certificate
52
+ - oid: 1.2.840.113635.100.6.3.1
53
+ apple_description: Apple World Wide Developer Relations Client SSL Certificates for Accessing the Development Apple Push Service
54
+ - oid: 1.2.840.113635.100.6.3.2
55
+ apple_description: Apple World Wide Developer Relations Client SSL Certificates for Accessing the Production Apple Push Service
56
+ - oid: 1.2.840.113635.100.6.4.1
57
+ apple_description: Extension Markers for device version string, expects UTF8 to follow in SubjectAltName
58
+ - oid: 1.2.840.113635.100.6 4.2
59
+ apple_description: Extension Markers for OS version string, expects UTF8 to follow in SubjectAltName
60
+ - oid: 1.2.840.113635.100.6.5.1
61
+ apple_description: Apple iTunes Store Certificates for Signing Receipts of Purchases from the iTS
62
+ - oid: 1.2.840.113635.100.6.5.2
63
+ apple_description: Apple iTunes Store Certificates for Signing Requests to Purchase for the iTS
64
+ - oid: 1.2.840.113635.100.7.1.1
65
+ apple_description: 'Apple FairPlay certificate extended Application Authentication & Authorization: Policy'
66
+ - oid: 1.2.840.113635.100.8.4
67
+ description: contains 3 integer values in ASN1, the second of which seems to be a 64bit mask of 0xFE000000
68
+ is_asn_body: true
69
+ is_extension: true
70
+ found_in:
71
+ - dcrt
72
+ - dcrt-oid
73
+ issuers:
74
+ - Basic Attestation User Sub CA2
75
+ ous:
76
+ - BAA Certification
77
+ - oid: 1.2.840.113635.100.8.5
78
+ is_asn_body: true
79
+ is_extension: true
80
+ found_in:
81
+ - dcrt
82
+ - dcrt-oid
83
+ issuers:
84
+ - Basic Attestation User Sub CA2
85
+ ous:
86
+ - BAA Certification
87
+ - oid: 1.2.840.113635.100.8.7
88
+ description: ASN1 data for the version of macOS for the issued under (e.g. 12.2)
89
+ is_asn_body: true
90
+ is_extension: true
91
+ found_in:
92
+ - dcrt
93
+ - dcrt-oid
94
+ issuers:
95
+ - Basic Attestation User Sub CA2
96
+ ous:
97
+ - BAA Certification
98
+ - oid: 1.2.840.113635.100.10.1
99
+ description:
100
+ Hardware device identifiers of the machine the certificate is issued to
101
+ contains BORD, CHIP, ECID, srnm, udid, seid
102
+ found_in:
103
+ - ucrt
104
+ issuers:
105
+ - FDRDC-UCRT-SUBCA
106
+ ous:
107
+ - ucrt Leaf Certificate
108
+ - oid: 1.2.840.113635.100.10.2
109
+ found_in:
110
+ - ucrt
111
+ issuers:
112
+ - FDRDC-UCRT-SUBCA
113
+ ous:
114
+ - ucrt Leaf Certificate
111
115
  known_symbols:
112
116
  ekus:
113
117
  - _oidAppleExtendedKeyUsageAppleID
data/share/platforms.yaml CHANGED
@@ -1,32 +1,36 @@
1
1
  ---
2
- iOS:
3
- architectures:
4
- - armv6
5
- - armv7
6
- - arm64
7
- - arm64e
8
- macOS:
9
- archetectures:
10
- - ppc
11
- - ppc64
12
- - x86
13
- - x86_64
14
- - x86_64h
15
- tvOS:
16
- architectures:
17
- - x86
18
- - armv7
19
- - arm64
20
- - arm64e
21
- padOS:
22
- architectures:
23
- - armv7
24
- - arm64
25
- - arm64e
26
- bridgeOS:
27
- architectures:
28
- - arm64
29
- audioOS:
30
- architectures:
31
- - arm64
32
- - arm64e
2
+ metadata:
3
+ description:
4
+ credits:
5
+ platforms:
6
+ iOS:
7
+ architectures:
8
+ - armv6
9
+ - armv7
10
+ - arm64
11
+ - arm64e
12
+ macOS:
13
+ archetectures:
14
+ - ppc
15
+ - ppc64
16
+ - x86
17
+ - x86_64
18
+ - x86_64h
19
+ tvOS:
20
+ architectures:
21
+ - x86
22
+ - armv7
23
+ - arm64
24
+ - arm64e
25
+ padOS:
26
+ architectures:
27
+ - armv7
28
+ - arm64
29
+ - arm64e
30
+ bridgeOS:
31
+ architectures:
32
+ - arm64
33
+ audioOS:
34
+ architectures:
35
+ - arm64
36
+ - arm64e
data/share/pmu.yaml CHANGED
@@ -1,30 +1,56 @@
1
1
  ---
2
+ metadata:
3
+ description:
4
+ credits:
2
5
  pmu_errors:
3
- - name: rst
4
- - name: wdog
5
- description: watchdog timer
6
- - name: timeout,dblclick_timeout
7
- - name: sochot,reset_in_3
8
- - name: sstate,wallet_crash_seq
9
- - name: por
6
+ btn_rst:
7
+ subtypes:
8
+ two_finger_rst:
9
+ btn_seq_reset:
10
+ btn_shdn:
11
+ crash:
12
+ subtypes:
13
+ crash_in:
14
+ dbg_rst:
15
+ description: debug based reset
16
+ subtypes:
17
+ reset_in_2:
18
+ ntc_shdn:
19
+ ot:
20
+ description: over-temprature
21
+ subtypes:
22
+ overtemp:
23
+ otp_crc:
24
+ description: one-type-passcode, cyclic redundancy check
25
+ ov:
26
+ description: over-voltage
27
+ subtypes:
28
+ vddmain_ovlo:
29
+ por:
10
30
  description: power-on reset
11
- - name: otp_crc
12
- - name: uv,vddmain_uvlo_hold
13
- - name: sochot,reset_in_3
14
- - name: ot,overtemp
15
- - name: timeout,watchdog_timeout
16
- - name: uv,vddmain_uvlo
31
+ rst:
32
+ description: reset
33
+ sochot:
34
+ subtypes:
35
+ reset_in_3:
36
+ spmi:
37
+ subtypes:
38
+ spmi_fault:
39
+ sstate:
40
+ subtypes:
41
+ wallet_crash_seq:
42
+ btn_dfu_recover:
43
+ timeout:
44
+ subytpes:
45
+ watchdog_timeout:
46
+ dblclick_timeout:
47
+ uv:
17
48
  description: under-voltage
18
- - name: ov,vddmain_ovlo
19
- description: over-voltage
20
- - name: btn_shdn
21
- - name: sstate,btn_dfu_recover
22
- - name: btn_rst,two_finger_rst
23
- - name: uv,vdd_boost_uvlo
24
- - name: crash,crash_in
25
- - name: btn_rst,btn_seq_reset
26
- - name: spmi,spmi_fault
27
- - name: wdog,reset_in_1
28
- - name: dbg_rst,reset_in_2
29
- - name: ntc_shdn
30
- - name: timeout,dblclick_timeout
49
+ subtypes:
50
+ vddmain_uvlo:
51
+ vddmain_uvlo_hold:
52
+ vdd_boost_uvlo:
53
+ wdog:
54
+ description: watchdog timer
55
+ subtypes:
56
+ reset_in_1: