Re:Catalina is checking notarization of unsigned executables
by usmannk on Saturday May 23, 2020 @12:27PM
(#23284235)
There is so much confusion here. The OP and most others are missing one of the biggest points: Look at the packet trace. There is _no data_, not even a hash, being sent. It's a TLS negotiation and then the connection ends. I have to suspect it's a bug...
[ Parent
| on HN ]
Re:Catalina is checking notarization of unsigned executables
by _qulr on Saturday May 23, 2020 @02:21PM
(#23285137)
I'm not sure what you're seeing, but that's not what I'm seeing. When I Wireshark both app notarization and script notarization, I see 2 packets of encrypted Application Data sent to Apple (567 and 101 bytes), and 1 packet of Application Data (varying length) returned from Apple, in each case. What do you see when you trace a regular app notarization check?
Re:Catalina is checking notarization of unsigned executables
by usmannk on Saturday May 23, 2020 @02:29PM
(#23285209)
This is odd, my proxy doesn't seem to show this. I will try to load my root cert into Wireshark and check.
Edit: Checked and double checked: When I run a new shell script, syspolicyd just makes a connection with no application data
Re:Catalina is checking notarization of unsigned executables
by _qulr on Saturday May 23, 2020 @03:28PM
(#23285662)
I'd recommend trying this: Download a notarized Mac app, delete any stapled notarization ticket (.app/Contents/CodeResources), and then trace the launch. What do you see, and does the system let you open the app? Does it say it checked for malware?
Re:Catalina is checking notarization of unsigned executables
by usmannk on Saturday May 23, 2020 @04:18PM
(#23286014)
Ah I see, looks like we're not running quite the same experiment. I suspect that anything including an app bundle ID is going to see some more interesting traffic.
Re:Catalina is checking notarization of unsigned executables
by _qulr on Saturday May 23, 2020 @04:25PM
(#23286085)
Don't suspect, test. ;-)
I'm running both experiments. I've tested and compared script notarization to app notarization.
You're getting apparently unusual results with script notarization. So the natural next step would be to compare against app notarization.
Re:Catalina is checking notarization of unsigned executables
by usmannk on Saturday May 23, 2020 @04:55PM
(#23286350)
Agh, I think it was cert pinning. Looks like the connection is terminated if you're snooping. I see the same results as you now. Thanks!
Re:Catalina is checking notarization of unsigned executables
by takeda on Saturday May 23, 2020 @12:35PM
(#23284309)
In prior article "slow by design", this was reported to Apple and the bug was closed that it works like that by design.
Re:Catalina is checking notarization of unsigned executables
by usmannk on Saturday May 23, 2020 @12:40PM
(#23284345)
I did see the previous article (another comment of mine should be easy to find on its HN post). Do you know how to find the issue that was referenced? There was an ID given but I have no clue what tracker that was on.
Re:Catalina is checking notarization of unsigned executables
by Gaelan on Saturday May 23, 2020 @12:50PM
(#23284431)
It's probably Radar, which is Apple's internal issue tracker, which isn't public (you can see issues you submitted, but nothing else). Sometimes people cross-post issues they submit to http://openradar.appspot.com, so you might be able to find it there.
Re:Catalina is checking notarization of unsigned executables
by takeda on Saturday May 23, 2020 @02:21PM
(#23285134)
The issue is FB7674490 but it is not on the OpenRadar. Looks like OpenRadar is not Apple's services and issues appear there only if author (which has access to the issue in the Apple system) submits them there.
Re:Catalina is checking notarization of unsigned executables
by saagarjha on Saturday May 23, 2020 @04:30PM
(#23286127)
Open Radar is community maintained and fairly poorly at that these days :(
Re:Catalina is checking notarization of unsigned executables
by saagarjha on Saturday May 23, 2020 @04:30PM
(#23286132)
FB numbers come from Feedback Assistant, which are similarly non-public and feed into Radar through a convoluted process.
Re:Catalina is checking notarization of unsigned executables
by KenoFischer on Saturday May 23, 2020 @12:53PM
(#23284458)
That ID was likely for feedbackassistant.apple.com. However, those reports are not public, so you can't see them unless you're the one that reported them though. Knowing the ID is still useful for things like emailing Apple people and complaining about their declining software quality ;).
Re:Catalina is checking notarization of unsigned executables
by takeda on Saturday May 23, 2020 @02:24PM
(#23285171)
Looks like these issues are only visible to originator, so we have to trust the author about it. Perhaps the author could post it on the OpenRadar.
Re:Catalina is checking notarization of unsigned executables
by fierarul on Saturday May 23, 2020 @03:12PM
(#23285544)
Any communication is data! There are tracking pixels that return 404! Why? Because once you've hit their endpoint, it did the job.
The TLS negotiation is enough to send quite enough info.
Re:Catalina is checking notarization of unsigned executables
by 2OEH8eoCRo0 on Saturday May 23, 2020 @12:56PM
(#23284481)
Is the handshake all that is needed to verify? Is the data you're expecting sent during the authentication phase of the handshake?
Re:Catalina is checking notarization of unsigned executables
by the_imp on Saturday May 23, 2020 @01:47PM
(#23284891)
The Objective-C format strings in the URL would imply that the hash is sent as a path parameter.
Re:Catalina is checking notarization of unsigned executables
by usmannk on Saturday May 23, 2020 @01:49PM
(#23284908)
That's a string found in the disassembly of syspolicyd (I've found it as well). However, the actual URL you see in the TCP logs has no path whatsoever.
Re:Catalina is checking notarization of unsigned executables
by cryptonector on Saturday May 23, 2020 @06:59PM
(#23287368)
"no data", just a TLS handshake. Of course information can flow! You could put a hash of the executable in a ClientHello extension, and if the server says "i don't know it to be malware" it can finalize the TLS connection normally.
Re:Catalina is checking notarization of unsigned executables
by userbinator on Saturday May 23, 2020 @10:37PM
(#23288635)
I have a feeling that there is already a system out there which does something like that.