Better HN
topnewbestaskshowjobs
Log inSign up

hypervis0r

93 karma · joined Jan 28, 2017 (9y ago) · 42 submissions

Submissions

comment 9y ago · link · parent

Not OP, but he is right. I just walked out of work, where I had to reverse the sample. It indeed uses EternalBlue (attacks by enumerating local network IPs with Windows APIs and randomly scanning the internet). Apart from that, it overwrites the MBR with a custom bootloader and schedules a restart ("shutdown /t /r") as SYSTEM in a random amount of time. After rebooting, it fakes a chkdsk and meanwhile, encrypts your files.

It is also true that it uses PsExec to spread.

TL;DR good old Petya ransomware (old as shit) with a copy/pasted EternalBlue-based spreading method. Nothing new.

comment 9y ago · link · parent

I know what DLL injection is. I was challenging the "DLL injection API" expression, because there's no such thing as an API that allows you to arbitrarily inject a DLL into a target process. Put it this way: InjectDllIntoProcessEx() does not exist.

> (one of Windows' stranger features)

It is not a feature by any means. It's hackery and, by the time you've got a handle to the process with PROCESS_CREATE_THREAD (you don't even need PROCESS_VM_WRITE), it's game over. Use ACLs to disallow getting a handle with the necessary permissions if you want to avoid code injection.

This post, however, makes no sense. Running an infected Word document with admin permissions is, like somebody else said on this thread, running 'rm -rf /' as root.

comment 9y ago · link · parent

> DLL injection API

DLL "injection"? What API is that?

34.

IDA series, part 2: debugging a .NET executable(qmemcpy.github.io ↗)

7 points · by hypervis0r · 9y ago · discuss

35.

IDA series, part 1: the Hex-Rays decompiler(qmemcpy.github.io ↗)

4 points · by hypervis0r · 9y ago · discuss

comment 9y ago · link · parent

I installed it literally 2h ago with no problems. Set the OS to Windows Server 2003 32-bit and don't touch anything else. It installed in no time and it works perfectly.

http://i.imgur.com/bBLBWY5.png

I found the Windows Server 2003 thing in their wiki:

https://reactos.org/wiki/VirtualBox

comment 9y ago · link · parent

You might want to read this:

https://blogs.msdn.microsoft.com/oldnewthing/20060130-00/?p=...

38.

Who updates SharedUserData?(qmemcpy.github.io ↗)

2 points · by hypervis0r · 9y ago · discuss

comment 9y ago · link · parent

1) Drivers break because they were poorly written, not because of Microsoft. (I know it because I write drivers)

2) Windows barely ever changes. The lengths through which the MS devs go to preserve compatibility are insane. It's incompetent driver writers who write buggy code who should take responsibility. If you were even minimally familiar with the Windows API, you'd know. And if you aren't, here's a quote from a Windows developer:

"I could probably write for months solely about bad things apps do and what we had to do to get them to work again (often in spite of themselves). Which is why I get particularly furious when people accuse Microsoft of maliciously breaking applications during OS upgrades. If any application failed to run on Windows 95, I took it as a personal failure. I spent many sleepless nights fixing bugs in third-party programs just so they could keep running on Windows 95."

( source: https://blogs.msdn.microsoft.com/oldnewthing/20031015-00/?p=... )

comment 9y ago · link · parent

Profession: reverse engineer

<100 employees organization

Workday:

- wake up (09:30)

- go to work

- try to do something productive, but fail miserably, because I'm still asleep - so I fall back to reading tech blog posts (oldnewthing mostly, I love it) (till 13:00)

- eat something, feel better (13:00-14:00)

- waste half an hour doing random non-work stuff to get in the mood

- 14:30-17:30 -> peak brain activity: here's where the reversing happens

- 17:30 to 19:00 -> read mails, help colleagues, fix minor bugs, or anything that allows me to relax

- 19:00-21:00 -> go home, eat, have a small break, watch some shows

- 21:00 -> gym

- 22:00 -> dinner

- 23:00 -> HN, reddit, etc

- 00:00 -> sleep

I couldn't even begin to imagine arriving at work before 10AM. I have no idea how any of you do it.

comment 9y ago · link · parent

Which leaked (bleed) core (heart) information.
12