hobune Channels Contact About Donate

Reversing WannaCry Part 2 - Diving into the malware with #Ghidra

Back to video page | Download comments jsonl

Comments (archived 2022-07-02 09:04; 124 top, 185 total comments)

Navjot 2020-02-09 19:25:08

This is a content that surely is not expected to go viral on YT, but is a treat to watch for people with some coding knowledge and curious minds, thanks for creating this!

155 likes
Replies (4)
stacksmashing 2020-02-09 19:25:37

Thanks a lot!

11 likes
Navjot 2020-02-09 19:42:15

@stacksmashing welcome, eagerly waiting for next part(s)

2 likes
Mateus Mercer 2020-02-24 22:30:50

The first video has 300k+ views, this one have a lot less (about 70% less). It's funny to see how complex subject videos tends to have this pattern. With 3Blue1Brown playlists this happens a lot.

2 likes
Navjot 2020-02-25 02:47:15

@Mateus Mercer i think ppl just binge watch first part and very few feel intrigued enough to watch second

2 likes
Fede Mancuello 2020-04-05 06:38:19

With this guy's ability it wouldn't surprise me that part 3 ends with the malware creator tied to a chair and asking forgiveness. He's going serious with this. Absolutely awesome.

15 likes
Aliosar22 2020-02-18 17:24:18

Just got the first part recommended. These two videos taught me a lot about how to use Ghidra so keep up the great work.
I also really like the flow diagrams you're drawing as they give a great overview.
You got a new subscriber and I hope you'll upload more regularly now.

22 likes
Masodion 2020-02-12 11:54:50

plot twist: he created the virus and now he's just playing with us

377 likes
Replies (8)
Asari Patlineto 2021-04-13 19:47:41

Plot twist 2: you created the virus, and you are playing with us

11 likes
ayaan 2021-06-11 14:35:55

@Asari Patlineto Plot twist 3: you created the virus, and you are playing with us

3 likes
Aryan Sharma 2021-06-30 07:12:02

@ayaan Plot twist 4: You both created the virus and now you're spamming here

3 likes
Stein 2021-08-04 01:58:18

@Aryan Sharma Plot twist 5: You all created the virus and now you're making me wanna cry with all these confusing comments ba-dum-tss

1 like
FAKE FF 2021-09-20 18:05:26

@Stein plot twist 6 stop playing with virus

1 like
MALWARE KAT 2022-02-10 19:36:26

Plot twist 7 the guy who made it is in prison

0 likes
Mckeane Thomas 2022-03-22 02:39:18

@MALWARE KAT Plot twist 8, he was employed by a security company to analyze malware and now he's doing the video

0 likes
Swattik Nandi 2022-05-26 16:25:35

@Mckeane Thomas Plot twist 9 the whole universe itself is a virus

0 likes
George Eliozov 2020-02-02 20:39:04

Awesome! I remember doing same with IdaPRO in terminal. But back in my time the viruses has much simpler code :)Thanks !

19 likes
Replies (1)
Vladys Maximov 2020-02-07 12:11:52

I dont see very much obfuscation on wannacry lol i remember a keygenme who was a lot more obfuscated and some techniques for frustrate reverse engineering analysis, im using ollydbg, remember some obfuscated strings with large algorithm on Statinko malware.

3 likes
DrunkenKas 2020-02-11 13:49:07

Love it! It's amazing how it's possible to turn compiled code back into regular uncompiled code.

1 like
ywanHK 2020-03-23 11:47:33

Finally some good reverse engineering videos, I understood everything


Waiting for part 3 now

3 likes
Nitrogen 2020-02-10 19:13:31

So glad you showed your research into this! Thank you for your time figuring out this puzzle. :)

4 likes
SonicD007 2020-02-15 15:48:23

Thank you for creating this series, very helpful in learning to RE and everything is explained clearly.

3 likes
Sepehr Mohaghegh 2020-02-02 17:31:51

Part 3 should be very interesting!

8 likes
Altro50 2020-02-02 15:38:45

Hell yeah! Been waiting for this since part 1

58 likes
Mojodojo 2020-02-02 17:06:12

I hope you keep putting out content and that you ll find the time to do videos more frequently. Great Video!

1 like
Cezar Lacatus 2020-02-05 10:47:09

Love your work.Please keep it going

1 like
Rob N. 2020-02-08 12:10:29 (edited 2020-02-08 12:23:29 )

Again: absolutely incredible work on your side.



How great would it be if Ghidra/Cutter/Hopper could have all those repeated tasks automated or at least suggested, either through a pattern matching or an AI which is feed by all the reverse engineers around the world. Candidates are: The OOAnalyzer, function renaming, multiple sequential char arrays, byte cleanup, no-return hinting, struct imports for pointer constructs in decompilation, etc. I would definitely fund such a project!

8 likes
Replies (1)
Wasabiofip 2020-02-10 02:22:51

Fund it with your time - it's open source! ;)

1 like
Easy Money Golfer 2020-02-16 08:54:57

Great video! Very insightful! Post more like this!

1 like
RmFrZQ 2020-02-03 06:45:09

Can you recommend any good books you read personally on the subject? I know it's a vast topic and I have a hard time to go deeper than reversing some entry level crackmes and making patches.

1 like
Kirdow Plays 2020-02-09 21:37:46

You just gained a like, as sub, and a bell notification user. I'm amazed how much you can understand from so few words on each line. Really good work bro :D

0 likes
Oska Ivanovich Smirnov 2020-02-03 17:18:49

After 2 rewind I'm still half-understood. But man this is really good for sleep when listening at night.

19 likes
Replies (1)
idiyer Bill 2021-01-04 00:07:13

😂😂😂🤣🤣😂🤣

0 likes
PierreVEVO Studio 2020-02-09 21:37:33

Can't wait for part 3 :)

1 like
Aleksander Dzierżon 2020-02-10 13:35:42

Imagine to be the creator of WannaCry and watching it

180 likes
Replies (18)
Alex Rémy 2020-02-13 23:59:27

maybe it's you

11 likes
QuickScope1597 2020-02-18 22:21:51

Alex Rémy maybe it’s you

3 likes
Phillip and Alex 2020-02-19 23:07:51

@QuickScope1597 maybe it's you

2 likes
Zwifted 2020-02-20 09:11:43

@Phillip and Alex Maybe it's you

2 likes
thedani4 2020-03-08 19:00:00

Would it make him WannaCry?

10 likes
inc0gnit0 2020-03-12 03:40:01

Maybe it’s you

0 likes
walidhook 2020-03-12 07:00:31

@inc0gnit0 maybe it's you

0 likes
Houyhnhnm 2020-03-14 02:14:01

I created it

1 like
statinskill 2020-04-25 14:38:26

Oh yeah there's a chance this guy eventually comes here and reads this and honestly looking at this convoluted shit show I could have just implemented everything in one monolithic executable nicely and without these weird contortions and then obfuscated the crap out of that.

1 like
Alessandro Celoria 2020-05-05 13:22:04

Nah that would be totally impossible, what are the chances, not gonna happen, they're never gonna see it, full stop, forget about it, move on with your life, nothing to see here

Kind regards,
Totally not the creator of wannacry

0 likes
Tim Second 2020-12-24 12:01:10

you are the impostor!

1 like
TheCharillz23 2020-12-31 10:58:33

@Houyhnhnm outstanding!

0 likes
TheCharillz23 2020-12-31 11:00:18

@Alessandro Celoria was an epic worm.. crippling the world.. until a teen wanted to play.. but outstanding job! But be careful taking credit..

0 likes
walidhook 2021-02-13 18:16:02

@Windows 10 maybe it's you

0 likes
walidhook 2021-02-15 13:41:17

@Windows 10 maybe it's you

0 likes
Adam Gliński 2021-02-19 15:17:31

@walidhook maybe it's you

0 likes
Brody Enli 2021-05-16 15:53:14

@Adam Gliński maybe it's you

0 likes
JurassicHog 2021-09-23 13:59:41

2021, we still did not know

0 likes
Andrei-Ioan 2020-02-08 18:58:27

This video is so interesting. I look forward to the next part. All the best

3 likes
Budhachandra Yumkhaibam 2020-02-03 18:00:37

looking forward to part III

1 like
La Flama Blanca 2020-02-02 16:34:03

You are insane, keep them coming

2 likes
Hacks 2020-02-16 08:57:33

That's really nice and deep
Looking forward for more series of videos ..

2 likes
B Targ 2020-02-05 17:36:50

Can't wait for open source malware!

0 likes
keisari 2020-02-05 15:08:52

Waiting for part 3!

0 likes
Tenzo 2021-09-19 22:07:31

You have to admit, the inventor who made wannacry is an intelligent human being

0 likes
WikiPeoples 2020-07-26 18:23:01

Question: So far in Part 1 and Part 2 I don't think we've actually seen any "exploit" right? Just want to make sure I'm following along correctly. It appears its so far just been a bootstrap / setup process so far using Win32 APIs. All of which you'd need administrator privileges to run right?

0 likes
rob morgan 2020-02-02 21:32:57

Great video! Thanks sharing this!

1 like
Taras Buk. 2020-02-06 11:12:34 (edited 2020-02-06 11:12:49 )

Such a nice video. Liked+subscribed, pls continue doing videos

1 like
Wdestroier 2020-02-09 23:52:14

Waiting for part 3 next week or so

0 likes
Aurelius R 2020-02-12 01:19:08

thank god part 2 came out!!

1 like
Minh Nguyen 2020-02-02 17:49:01

Long have we waited! Glad to have you back :)

2 likes
Another Splinter In your mind 2020-02-03 16:31:40

Good videos bruh, i hope you keep it up

1 like
sinister geek 2020-02-10 07:17:51

Very imformative!! Keep it up!!

0 likes
Theodor Johanson 2020-02-17 15:21:06

Heyo, very new to reverse engineering here, though i saw that some things that for example bitcoin adresses are shown while reverse engineering thanks to your video, can any person that's reverse engineering this just change that and then relaunch it? Or do most "hackers" that still use wannacry just launch it without changing anything? But I'm guessing it's not really active anymore and can't be used thanks to the killswitch?

0 likes
Replies (1)
V 2021-10-07 07:50:04

Ofcourse WannaCry still can be used, what’s cheaper, paying some hacker 350 usd in BTC or paying a company that charges you a couple of grand just to undo all the stuff, ofcourse they won’t tell you a killswitch is active

0 likes
Carl Friedrich Gauss 2020-02-02 19:15:38

At last, I've been looking forward to this!

1 like
Blazed homosapien 2020-02-11 17:40:53

I don't know why this is in my recommendation and didn't understood a single word you said. But I'm sure you're doing a great job at whatever you're doing 👍🏻

5 likes
Xusheng 2020-03-28 03:24:21

Nice work and video!

0 likes
Florian van Dillen 2020-02-02 17:03:02

Brilliant stuff!

3 likes
lethaldamagé 2020-02-02 20:41:48

finally, that's why i subscribed to your channel

13 likes
Royals 2020-02-20 18:51:22

Thanks for these videos

2 likes
nanki poo 2020-10-06 02:12:04 (edited 2020-10-06 02:12:15 )

3:24: installing Pharos for C++ analysis - by using "docker pull seipharos/pharos"

*One-Winged Angel* starts playing...

0 likes
Februalist 2020-02-02 17:13:57

top 10 unexpected sequels

196 likes
Replies (2)
stacksmashing 2020-02-02 17:24:24

Am I before or after Matrix 4 in that list? :D

20 likes
Фыва Ячсм 2020-02-14 14:41:41

@stacksmashing Before Half-Life 3. That's for sure )

7 likes
Ujurak 2020-04-05 05:38:56 (edited 2020-04-05 05:39:48 )

0:39 isn't that check redundant since tasksche.exe was run with the /i argument?

0 likes
Replies (1)
stacksmashing 2020-04-05 17:13:10

No because it re-launches itself without the /i argument :)

0 likes
Iamnotanoob 2020-02-03 14:17:34

finally , I've been waiting for this.

4 likes
poophorn 2020-02-27 06:16:31

PART 3 PLS

0 likes
thecow milk 2020-02-09 12:29:25

WannaCry dude was not from this planet......... Totally a Legend....!!

0 likes
lunatic955 2020-03-18 11:04:01

Hey man can you tell me the part where actual encryption take place

0 likes
itsdinou 2022-04-14 20:14:00

Yesterday I got attacked by .ghas, from the djvu family and I was wondering if it can also be reverse engineered like that?

0 likes
ErixPloit 2021-05-30 08:30:22

Bro this is the best analyses I saw , But please slow down the video little bit so we can follow xD

0 likes
Saeed Mahmoodi 2020-02-03 08:46:23

i hope you never be interested to write a virus
thanks a lot , keep going i enjoy your videos more than netflix <3
i just wrote a printf("hello world"); C app
but couldn't decompile it, cause there was lots of codes there XD

1 like
Clepco Tletah 2020-02-02 16:07:12

almost forgot about this series

0 likes
tuzov 2020-02-02 16:12:41

Glad you're back!

6 likes
SnowCold 2020-02-02 16:25:09

was waiting for this video!!

1 like
DJMAXOfficial 2021-05-03 10:17:06

Wannacry 2.0 is on the way :D

0 likes
Mathys Césaire 2020-02-03 19:23:34

When will be the part.3 !!!

0 likes
H3xad3cimal Dev 2020-02-10 01:36:34

I want to make a reverse engineering tool like Ghidra or a tool to view the assembly code of a program can someone help?

0 likes
ANDROID Hcker 2021-08-26 12:28:22

cool. thanks 👍👍

0 likes
Tymek L 2020-02-05 21:04:38

When Ghidra doesn't work sometimes you should check if you don't have WannaCry installed... (ik bad joke..)

0 likes
shyonae 2020-02-04 19:54:01

dude you are so fucking good at this

0 likes
King Roli 2020-02-19 14:57:43

continue please~1

0 likes
Cezar Lacatus 2020-02-05 13:34:16

Maybe you can show how 2 de-compile some djy drone firmware as education purpose or other advanced stuff.It would be interesting to see... :)

0 likes
Replies (1)
Sizlo Mc Donnerbogen 2020-02-06 15:55:48

He'd be sued in no time

1 like
HDN Share 2020-02-08 06:30:21

Send this video to normal people to scare them 😁

0 likes
¿¿¿¿ ¿¿¿¿¿¿ 2020-02-02 15:45:38

very good!

1 like
Luiz Vaz 2020-02-27 02:19:42

This means that the leaked keys are all equals?

0 likes
Hansy 2020-02-06 19:59:05

Nice, I had nothing to watch until this popped up. See you in part 1.

0 likes
Saeed Mahmoodi 2020-02-03 09:38:19

decompile windows for next project

1 like
Jofx 2020-02-15 06:58:07

The maker of WannaCry should be wannacry now if they watch this

0 likes
lunatic955 2020-03-18 10:41:59

Man comeon.... Part threeeeeeeeeeee😢

0 likes
Songchen Han 2020-02-14 21:18:16

How ? How did you know I want to learn how to analysis malware ? Get off my PC!!

1 like
Dani Hidayat 2020-02-17 16:42:26

man this is insane

0 likes
PM 👉 jiggypass 👈 na IG 2021-10-22 07:08:12

Go to the legit one 🖕 PM he's very good on this.

0 likes
Mihael Panjkrc 2020-02-02 15:58:40

Dude finally!!

16 likes
estherowo 2020-02-11 07:13:21

:) This is cool

0 likes
FaÐingmem¤ry✘ 2021-02-20 23:17:04

In your future videos, don't jump around as much please, and thank you.

0 likes
Pi Pony 2020-02-02 15:37:30

NSA joined the chat

18 likes
Vollex 2020-02-02 16:09:08

Finally!!!

1 like
George Hammond 2020-12-13 10:35:29

what is the main language that Wannacry is written with? is it C or C+ !?

0 likes
Bjørn Breivik 2020-02-12 14:48:35

I hope your next project is going to be nmcrypt.

0 likes
AlaaEddin Elraye 2020-02-12 22:23:39

From your explanation i feel you are the founder of wannacry ,,😂

1 like
Emmett Turner 2021-02-07 14:07:50

"tasksche.exe" is short for TaskScheduler so "task A dot ex uh" just sounds wrong. :)

0 likes
Replies (2)
Cristi Neagu 2021-02-08 01:46:10

He's not saying "task A dot ex uh". He's pronouncing "tasksche" in German, which more or less sounds like "taske".

0 likes
Emmett Turner 2021-02-08 02:11:22

@Cristi Neagu Yeah. IOW, "task-aye dot ex uh"

0 likes
Twobob Club 2021-05-24 01:27:00

<3 enjoyed

0 likes
God Fire 2021-04-10 21:00:33

Why we don't create "wannalaugh.exe"?

0 likes
Stjepan Bodlović 2020-02-02 16:41:02

hallelujah part 2 finaly

1 like
xxMrPHDxx 2020-02-09 09:14:28 (edited 2020-02-09 09:14:50 )

What's in the deep web [dot]onion links from part 1?

0 likes
Replies (2)
stacksmashing 2020-02-09 09:15:17

Will be part of future videos :)

2 likes
xxMrPHDxx 2020-02-09 09:23:01

@stacksmashing Ahhh great!

0 likes
VirusWar 2020-02-10 22:56:10

Good to know reverse engineering only takes around a year.

0 likes
thej swaroop 2020-12-01 07:15:37

What abt those .onion addresses u got in part 1 ??

0 likes
Surya 2020-02-27 20:34:01

Can anyone help me out with installation process of OOAnalyzer please?

0 likes
Replies (2)
stacksmashing 2020-02-28 11:40:58

You will need the JDK and gradle to build it

1 like
Surya 2020-02-28 11:57:51

Thank you @'Ghidra Ninja' . i do have both. Can you post a blog with complete guide to build OOAnalyzer and import it to ghidra, if you don't mind. Btw i am one of huge fan of your works. Thanks for replying❤

0 likes
Andy Brychenko 2020-02-03 06:50:00

Super cool

1 like
سعید محمودی 2020-02-03 09:55:55

brain.exe has stopped working

0 likes
Esat'ın Maceraları 2021-02-18 23:49:02

Renaming simulator 2021

0 likes
Cornea Valentin 2020-04-20 17:34:38

simple have important data on pc ? get and external HDD ( they are cheap ) backup offline your data and just format pc if you get this crap !!

0 likes
lilmayu 2020-02-03 06:42:24

FINALLY

1 like
Elodia HAX 2020-02-15 10:30:02

holy cats, i will need a life time to learn assembly, you will be my best friend if you teach me how to find games functions with IDA 😘💓

0 likes
Jeremois DE 2020-04-25 13:03:00

holy shit i want to learn it but you are highest level and i dont umderstand anything.

0 likes
Franky Vincent 2020-04-08 17:30:37

Mac OS X ! Yay !

1 like
Saeed Mahmoodi 2020-02-03 09:14:34 (edited 2020-02-03 09:16:39 )

do you want to kill wannacry programmers in real life without any weapons ??
just show them this series

1 like
caca catastrophe 2021-02-13 19:17:33

Please increase your bitrates

0 likes
Replies (1)
SullySadface 2021-02-20 08:38:55

Try increasing the video quality and view it on something other than a projector on a wall across the street.

0 likes
Starman 2020-02-19 20:14:28

Bruh makes a follow up video after 10 months and doesnt acknowledge the time gap lol

0 likes
Replies (1)
stacksmashing 2020-02-20 23:49:11

Gotta just roll with it!

0 likes
Bread 2020-02-18 10:56:23

so yeah, part 2 of still not understanding anything
help

0 likes
Jnandeep Dev Sarma 2020-02-02 19:16:23

you r grt

1 like
statinskill 2020-04-25 14:27:52

As far as for this convoluted shit show, it would have been better to code the entire thing cleanly into one monolithic executable and then worry about obfuscation. Kind of begs me to make a better wannacry. The only thing I would add is a message box right in the middle of the decryption process. It will read "This is what happens to people who don't back up. Deep down you and I know you deserve this, at least in part".

0 likes
Begga 2020-02-10 21:26:59

YES!

0 likes
Reinko 2021-05-19 13:44:35

Im not into coding or something like this so i dont know why this is getting recommended to me but in the start he said that WannaCry try to connect to a URL and if it succeed it does nothing, so if a computer is connected to the internet, why is it unable to connect to this URL?

0 likes
Replies (2)
SBAP Kat 2021-06-03 11:41:02

The URL was not Registered, so if you tried to access it nothing would be returned. It acts as a kill switch because someone can register this URL and make it active to stop the spread

0 likes
Reinko 2021-06-03 12:14:33

@SBAP Kat Thanks for the response, now it make sense to me.

0 likes
respected mastermind 2020-02-08 09:18:47

Welcome back! :P

0 likes
eksde eksde 2020-02-08 08:24:11

This vid has 666 likes 0_o

0 likes
Asaf Cohen 2020-02-26 19:04:19

fuck you have great content

0 likes
nakul 2021-01-04 08:24:39

How to get that CERT menubar in ghidra?

0 likes
Replies (3)
stacksmashing 2021-01-04 11:17:40

it’s part of the OOAnalayzer plugin

0 likes
nakul 2021-01-04 14:12:56

@stacksmashing I have spent the whole morning installing that plugin using this repo here https://github.com/cmu-sei/pharos/tree/master/tools/ooanalyzer/ghidra/OOAnalyzerPlugin but nothing works :( Btw your videos are life changing. Please continue to make more ghidra reverse engineering videos. Cheers!!

0 likes
Jordan Ferraris 2021-11-07 21:40:49

@nakul Were you ever able to get it? If not, now there is no actual ghidra tree in the pharos repo, it is now built into a new tool (sorta big combined tool) called Kaiju which has a bunch of Ghidra stuff including the OOanalyzer CERT tab on the menubar

0 likes
Βеʀƙ Ӧzcẫñ 2020-02-02 16:06:38

yeaaaa finally

1 like
amimox 2021-02-05 01:57:28

nerding over 9001

0 likes
Æpeurpleuse 2020-02-04 01:58:38

Soup scoop

0 likes
sinister geek 2020-02-10 07:18:28

what's next????

0 likes
M Mrz 2020-02-09 11:14:54

You have a nice dialekt, where are u from?

0 likes
Replies (2)
stacksmashing 2020-02-09 21:53:35

Germany!

0 likes
M Mrz 2020-02-09 21:59:06

@stacksmashing dachte ich es mir doch! Ich hab es rausgehört!🎉

0 likes
Saeed Mahmoodi 2020-02-03 08:55:15 (edited 2020-02-03 08:57:11 )

never play Dota 2 please!!

1 like
Escaped 2020-02-06 22:56:54

10 months LATER

0 likes
Nano 2020-02-11 12:19:31

It takes almost 1 year!?? damn.

0 likes
Electro Games 2020-02-17 16:15:01

Why did it take so long for part 2..

0 likes
Otto Gunsche 2020-02-13 10:01:50

Just FYI. Ghidra was developed by NSA

0 likes
raivis 2020-02-03 22:47:48

Yeah...

0 likes
Zomble 2020-02-09 16:54:58

Ew you use apple products

0 likes
Raflemakt 2020-02-07 09:57:34

let's hope this won't get used as a malware tutorial

0 likes
Replies (2)
stacksmashing 2020-02-07 09:58:54

There’s no information here that would really help you you, there are far better resources for doing malicious things.

0 likes
Raflemakt 2020-02-07 10:16:44

@stacksmashing I trust you understand this better than me :)

0 likes
m.nageh 2020-02-02 17:45:08

Come on mate do it on the newest active malware nowdays

0 likes
Replies (5)
Aidan Collins 2020-02-02 22:51:38

I'm certain he's very sorry that you're not satisfied with this free educational content.

2 likes
m.nageh 2020-02-03 00:09:14

@Aidan Collins yup sure he is ... wanna cry is quite old ... why not go with the new ones ? What would be the problem if he did so ?

0 likes
Aidan Collins 2020-02-03 00:33:44

@m.nageh I was being sarcastic, why are you complaining about free content? Do you feel as if you are entitled to it? I'll turn your argument back on you, why not go with WannaCry? There is nothing wrong with examining "old" malware, in fact, it's probably even more beneficial for people just getting started, 2+ year old malware is not even old. Point is, Ghidra Ninja is providing free, informative, educational content with regards to reverse engineering, your comment is very rude.

0 likes
m.nageh 2020-02-03 14:10:01

@Aidan Collins i was being sarcastic too .... but no problem maybe my comment was a bit rude but i/we would like to see a vid about a this year or the one before malware.

0 likes
ptim 2020-02-04 17:00:07

nothing really changed in new malware

0 likes
Kano Boom 2020-02-04 21:09:11

This guy uses mac. I wonder if operating system matters...

0 likes
Replies (1)
stacksmashing 2020-02-05 11:17:44

It absolutely doesn't! I've just been using Linux/UNIX based systems for over 10 years, that's why I use a Mac (and Linux in some of the other videos)

1 like