News for hackers. Stuff that matters.
Re:Ask HN: Google Doc email virus? by sudom82 on Wednesday May 03, 2017 @03:52PM (#14259392)
Source code of the worm: https://pastebin.com/raw/EKdKamFq

Edit: How I got this:

Someone on reddit went to their site when it wasn't down, and downloaded the files linked in the page's HTML. I just posted it here.

This isn't the full source code. There was another PHP file visible on their website that unfortunately isn't visible anymore.

Re:Ask HN: Google Doc email virus? by jameslk on Wednesday May 03, 2017 @04:17PM (#14259623)
I like how the code has Javadoc comments, in case other developers need to maintain the worm or use its public API.
Re:Ask HN: Google Doc email virus? by ben_jones on Wednesday May 03, 2017 @05:00PM (#14260039)
That's gotta be a copy-paste job. If someone was actually cheeky enough to comment their malware they would've left jokes, puns, etc.
Re:Ask HN: Google Doc email virus? by jshmrsn on Thursday May 04, 2017 @05:26AM (#14263619)
Indeed, those comments come from a Google Analytics quick start: https://github.com/chriskwan/gmailytics/blob/master/quicksta...
Re:Ask HN: Google Doc email virus? by justusthane on Thursday May 04, 2017 @09:22AM (#14264593)
Copy/pasted from this Stack Overflow answer: http://stackoverflow.com/a/37342136/300887
Re:Ask HN: Google Doc email virus? by ben174 on Wednesday May 03, 2017 @03:57PM (#14259433)
Sending everything to this mailinator address which oddly seems to be empty:

https://www.mailinator.com/inbox2.jsp?public_to=hhhhhhhhhhhh...

Maybe Mailinator has purged the box and is rejecting mail from it. Good on them.

Re:Ask HN: Google Doc email virus? by justusthane on Wednesday May 03, 2017 @05:39PM (#14260393)
Please correct me if I'm wrong, but I don't think anything was being sent to that mailinator address.

From looking at both that source code and emails received by my users, the mailinator address seems to be only in the message header "to" field, which, AFAIK, doesn't do anything other than display in the mail client.

The actual recipient's address is in the envelope recipient field.

I don't understand what the purpose of that mailinator address was.

Re:Ask HN: Google Doc email virus? by evan_ on Wednesday May 03, 2017 @06:44PM (#14260886)
It sends an email to that mailinator address, with all of the contacts BCC'd. mailinator shut it down very quickly but emails definitely went to that address.
Re:Ask HN: Google Doc email virus? by ficklepickle on Wednesday May 03, 2017 @04:04PM (#14259510)
They even used Google analytics! UA-98290545-1
Re:Ask HN: Google Doc email virus? by FreezerburnV on Wednesday May 03, 2017 @03:56PM (#14259430)
Where'd you get this?