Windows Assembly Language Primer For Hackers Part 3 (Win32 Asm Using Masm32)
Description:
This is Part 3 of the Windows Assembly Language Primer. Please begin here by watching Part 1 if you have not already done so.
In this video, you will be introduced to MASM32 and why it's runtime library is a good choice. We will install and use MASM32 to program 3 examples in this video - Console mode HelloWorld, Windows HelloWorld and a simple program to print user input. These will teach you how to use the MASM32 library effectively.
You can download the programs discussed in this video from here -
HelloMasm32.asm,
HelloWindows.asm and
Reflect.asm
Tags: basics ,
Disclaimer: We are a infosec video aggregator and this video is linked from an external website. The original author may be different from the user re-posting/linking it here. Please do not assume the authors to be same without verifying.
Comments:
Vivek, why did you had to include the windows.inc file before the other included files?
This was the best Hellow World for ASM I've seen. Thank you again so much for these!
"This was the best Hellow World for ASM I've seen. Thank you again so much for these!"
+1
LOVING these videos! I didn't comment on the last series because I thought it was pretty old and that no one checked anymore but I see now I was wrong! PLEASE keep 'em coming, Vivek!!!
These videos go over things rapidly and thoroughly that normally take a third to half a semester to cover in classes like Computer Organization, System Software, and Computer Architecture (I've seen virtual memory and segmentation make people change career paths!). Obviously there's a significant tilt toward doing your own experimentation and research to augment the videos which is also something important to any scientist or engineer.
You probably get this quite often but, keep up the good work!
Thanks Vivek, I just started learning ASM and this is the best instruction yet. Thanks very much for your time. You series on metasploit has also been very valuable to me.
well !!! Going above getting more tougher dose. but still something are not cleared to me regarding header files and various declaration.
It was awesome, thanx for such contribution for making security ideals.
I 'll try in case if i don't , i need your guidance sir.
Thank you Vivek! Awesome. I've watched many many instructional videos and I must say yours are among the very best I've seen - seriously. Very practical yet you stay simple enough, with the right pace, that I'm absorbing the material on the fly w/o having to repeat (yet :).
Thank you for sharing; so very generous of you.
First:
Thanks Vivek for all your stuff!!!
When I watched this video and created the HelloWindows.exe my AntiVirusProgram (AntiVir) came up with an Malware warning.
You can take a look at the screenshot here:
http://imageshack.us/photo/my-images/853/111013securitytubenetvi.png/
I also wondered why you used /defaultlib:kernel32.lib although it's already included in the source.
An if it it neccessary, why no use of /defaultlib:user32.lib ?
I created my HelloWindows.exe with and without /defaultlib:kernel32.lib. It both led to "malware warning" (TR/Inject.aslc)
Couldn't finish without switching AntiVir off.
It would be great, if you had some answers for me :)
Thanks again for all the videos.
Keep on going!
One thing to add:
Does anybody have a clue why in masm32 SDK ver 10 the ml.exe and the link.exe are from the 90s (as u can see in previously posted screenshot)?
Great video. The sound is pretty bad though. Why didn't you use the assembler and linker in the masm32 editor? It is a lot easier to use. Just open qeditor then inside the software /project and build all for anyone who wants to try it. It seems that if we use masm, we don't learn as much assembly because of all the shortcuts, but i could be wrong, as always :). Thank you for these videos!
msgbox example works fine bu the other 2 programs are not displaying any output just a new line. I am on a xp machine
I love the fact that you suggest the homework! I did the same thing with the Linux examples. I would do it over and over until I didn't have to reference anymore. Keep it up Vivek! Your videos are both relaxing and extremely educational. I usually watch them to go to sleep at night too! Thank you.
Patcher, I had to copy kernel32.lib from \masm32\lib to the directory where the code is located before, link again to get the console programs working. Hope it helps :)
Thank you very much!! Very good videos... but the sound is awful...
Thanks a lot for those videos