Description:
Welcome to the Assembly Language Primer for Windows series! We have already covered a lot of Assembly language basics for the Linux Platform in our
Assembly Language Primer for Hackers. In this video series, we will concentrate on learning Assembly Language for the Windows Platform. However, please note that the previous video series is a prerequisite for this one. We will use a lot of learning in this video series for our Metasploit Megaprimer and the Scenario Based Hacking series.
In Part 1, we will look at the different processor modes - Real, Protected, Virtual 8086, SMM etc., then we will understand the different memory models - Flat and Segmented, and how they apply to Real and Protected mode. We will then look at the key differences between the AT&T and Intel syntax for assembly. Once we have understood all these basics, we will code a "Hello World" program which will run in real mode, using 16 bit assembly and assemble it using the Debug program which ships by default with Windows.
Leave your comments behind and let me know what you think! :)
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:
I get an error (file creation error) trying to run the command "w" using the Windows7 operating system.
Is this releated to Windows7 or do I need to install masm32 before being able to run debug in the Command Prompt?
Where did you try to create the file? I mean location relative to C: Windows Vista and 7 etc. do not allow you to create arbitrary files on certain locations and require high privileges, I am very sure this is what is happening.
I guess that explains it. I tried to create it in "C:". I suppose I will have to create it in a directory within the current users folder.
I just wished there was an easy way to turn off all this extra protection Microsoft Windows is offering. It feels like they want to control everything you are allowed to do on your network and file system.
or invoke masm or the cmd shell you use as administrator, that should allow you to clutter C:, i guess :)
There is an easy way to turn it off (or make adjustments) Crux. Type uac in your start search bar, and "Change User Account Settings" should appear in the results. Though, mine is set at default and I had no problem...
Muito Bom !
Parabéns.
Got Win 7 Professional 64. Debug was discontinued with win vista. Now what to do?
Help is wanted. =)
Thanks for the video's Vivek.
crux,
I am running 7. In the accessories file, there is the command prompt. Click on that. I was able to run debug.
Vivek, truly appreciate the hard work you have done here. Incredible opportunity to learn one of the basic technologies of the modern world. My hats off to you...
This is frustrating! None of what Vivek has done has worked for me. I'm on Windows 7. Whenever I try to type a simple debug command, I get "'debug' is not recognized as an internal or external command, operable program or batch file."
I think there's something wrong with my Path:
C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared
Can somebody who's on Windows 7 check their path and tell me if they have the same thing, or if it's different, tell me in what way. If no answer, I'll go askin other forums.
Hello Vivek , First of all Thanks for your Amazing video tutorials ....
Why don't you start selling DVDs of your stuffs ?!! So that many members including me who doesn't have fast internet connection to watch/download videos can buy the DVDs & watch the offline !!!!
@jbplaya ..... From Windows vista and further DEBUG utility is discontinued ....
So to use it ... the easiest solution is run 98/2000/XP in Virtual Machine in Vmware/VirtualBox/MicrosoftVirtualMachine ..!!
nice tutorial vivek.
very very informative.
hi sir,
can you help me why you move 900 into ax registers
Respected sir,
I can't explain the way i like or love your videos tutorial. You are becoming the inspiration of thought to me, going so much in deeper or simply conveying a message to your all students that "knowledge knows no boundary" ...............
thanx for making an ideal
Simply brilliant!!!!
Sir, you are simply brilliant. very lucid and fluent. looking for more assembly programs on windows/dos. Thanks and keep it up.
Great as always! Thank you!
I love all of the videos. I have really taken my time with the Linux.s series and am not ready to do these! You are a wonderful teacher and are helping us all in creating more security jobs and awareness!!
I mean NOW ready, not NOT ready. :) LOL
first it was very hard and I try it on my hand. I figure it out how it works. thank you!!
wow just finished linux series and starting windows series. again it is too perfect!
I followed all the metasploit primers and right now working on this one :), very great work!, I am an admin at evilzone.org, and we all share the love for this site;).
Keep up the great work,
Thanks :)
Thanks a lot for these videos!!
Debug Diag 1.1 64bit
Windows 7 http://support.microsoft.com/kb/931370
"Why no DEBUG command in windows 7?"
Since DEBUG is a 16-bit tool. I'm sure you know it was going to be ditched at some point. And in fairness to Windows 7, it's not like you could use it running XP or Vista x64 anyhow.
@firebitsbr
Really nice tutorial. I will be going through rest of your videos on securitytube. Thanks a ton!
Hello,
Which debugger (for Windows XP) is recommeded, the Linux series is very interesting because the use of GDB.
Thanks.
I recommend immunity debugger .
Ps:thnk u vivek for all videos
Vivek, thank you for all these videos.
The greatest teacher i've ever had.
I encourage you to continue!