News for hackers. Stuff that matters.
Re:Heroku Security Notification by samcheng on Saturday April 16, 2022 @12:33AM (#31049518)
Does anyone know what to look for in the github audit logs, exactly?
Re:Heroku Security Notification by bongobingo1 on Saturday April 16, 2022 @07:10AM (#31051417)
Tangentially, You can view your oauth linked services here https://github.com/settings/applications
Re:Heroku Security Notification by gnyman on Saturday April 16, 2022 @02:47AM (#31050171)
Last year when I looked into this there was no automated way to get this info; the normal audit log mentioned below does not contain any info about actions from oauth-ed applications afaik.

If you email GitHub support they can pull out detailed logs from oauth app interactions from their internal tools.

I would expect the GH security team to have relevant queries ready by now, maybe even do some proactive queries and start alerting anyone who had suspicious activity. (But this is just how I'd do it I have no special insight if they are doing this or something else).

Re:Heroku Security Notification by nomilk on Saturday April 16, 2022 @01:04AM (#31049651)
Re:Heroku Security Notification by samcheng on Saturday April 16, 2022 @01:29AM (#31049766)
I used here:

https://github.com/organizations/<ORG_NAME>/settings/audit-l...

... but the real question is what would malicious activity look like, exactly?

Re:Heroku Security Notification by yeskia on Saturday April 16, 2022 @02:56AM (#31050213)
I see a heap of "downloaded a zip of repository" but I suspect that's Heroku CI or other CI tool running.
Re:Heroku Security Notification by all-the-lights on Saturday April 16, 2022 @07:34AM (#31051516)
Same. Most belong to 1 member of our team, but a few belong to others on the team. They started happening about 6 months ago (unless logs only go back 6 mo). Would really like to figure out what these are. I asked GH, they said it’s not involved with this breach, and haven’t yet answered my next question (who/what is it?)
Re:Heroku Security Notification by domh on Saturday April 16, 2022 @03:01AM (#31050240)
Yeah I see lots of the same. They seem to correspond with Heroku deploys? Anyone know if that happens when a valid heroku deploy occurs? Do they download a zip?

I've reached out to Heroku support to ask.

Re:Heroku Security Notification by heartbreak on Saturday April 16, 2022 @08:29AM (#31051773)
Normal Heroku usage doesn’t download a zip because it uses git directly, but I’ve seen plenty of CI tools download zips.
Re:Heroku Security Notification by all-the-lights on Saturday April 16, 2022 @09:56AM (#31052347)
Including Heroku CI? We don't use an external CI tool (or really any other integrations except GH), but I do see these download logs.
Re:Heroku Security Notification by heartbreak on Saturday April 16, 2022 @10:16AM (#31052506)
For what it's worth, elsewhere in this comment section someone posted that Github Support says the zip downloads weren't related to this incident. Reading between the lines, the compromised repos were probably accessed using normal git clone actions.
Re:Heroku Security Notification by all-the-lights on Saturday April 16, 2022 @11:18AM (#31052987)
That was me who posted that :) seems unrelated, but still hoping to get that figured out anyway.
Re:Heroku Security Notification by domh on Saturday April 16, 2022 @08:42AM (#31051842)
I thought as much. Maybe it is CircleCI then.
Re:Heroku Security Notification by andrelaszlo on Saturday April 16, 2022 @05:07AM (#31050875)
Please let us know if you get any info from them! :)
Re:Heroku Security Notification by janejeon on Saturday April 16, 2022 @01:50AM (#31049868)
I believe OP was asking what to look out for within the security log, not how to look at the security log.
Re:Heroku Security Notification by captn3m0 on Saturday April 16, 2022 @02:23AM (#31050045)
Don’t think these logs mention the oauth application being used to access at all.