You are on page 1of 10

SecurityTube

 Linux  Assembly  Expert  


(SLAE64)  

Training:                                            hNp://www.SecurityTube-­‐Training.com    
 
Pentester  Academy:  hNp://www.PentesterAcademy.com    

Vivek  Ramachandran  
SWSE,  SMFE,  SPSE,  SGDE,  SISE,  SLAE32,64  Course  Instructor  
©SecurityTube.net  
Module  1:  64-­‐Bit  ASM  on  Linux  

1.  What  is  Assembly  Language?  

Vivek  Ramachandran  
SWSE,  SMFE,  SPSE,  SGDE,  SISE,  SLAE64,  SLAE32  Course  Instructor  

hNp://SecurityTube-­‐Training.com    

©SecurityTube.net  
What  is  Assembly  Language?  

•  Low-­‐level  programming  language  

•  Communicate  with  microprocessor  

•  Specific  to  the  processor  family    

•  An  almost  one-­‐one  correspondence  with  


machine  code  

©SecurityTube.net  
I  only  speak  binary!  

010101010111110101101010101010101  
111010101101011010101010101011010  
010101010111101000011110101010101  

©SecurityTube.net  
Humans  cannot  speak  binary  

010101010111110101101010101010101  
111010101101011010101010101011010  
010101010111101000011110101010101  

©SecurityTube.net  
Assembly  Language  

Assembly  Language   Machine  Language  

mov  eax,  ebx   Assembler  +  Linker   010110100101  


xor      eax,  eax   111010101010  
add    eax,  0xff   101010101010  
Translator  

©SecurityTube.net  
Correla]on  with  HLLs  

hNp://www.tenouk.com/ModuleW_files/ccompilerlinker001.png    
©SecurityTube.net  
Installing  Nasm,  Build-­‐Essen]al  

©SecurityTube.net  
How  does  64-­‐bit  ASM  look  like?  

hNp://shell-­‐storm.org/shellcode/files/shellcode-­‐78.php    
©SecurityTube.net  
Assembling,  Linking,  Running  ASM  Code  

©SecurityTube.net  

You might also like