Aerosol Posted December 16, 2014 Report Posted December 16, 2014 Table of Contents............................................................................................. 21. Introduction................................................................................................. 51.1 About the Course and Notes ............................................................................51.2 Definitions......................................................................................................51.3 Typical Examples ............................................................................................61.3.1 Hacking ...................................................................................................71.3.2 Hiding Information from Public ..................................................................71.3.3 Cell Phones ............................................................................................ 101.3.4 Computer Applications ............................................................................ 101.4 Requirements............................................................................................... 121.5 Scope .......................................................................................................... 131.6 Ethics .......................................................................................................... 131.7 Miscellaneous Information ............................................................................. 142. Programming Processors ........................................................................... 162.1 Programming Languages............................................................................... 162.2 Processor Arithmetic ..................................................................................... 182.3 Memory Structure......................................................................................... 222.3.1 Variables................................................................................................ 232.3.2 Unicode Strings ...................................................................................... 242.3.3 Pointers ................................................................................................. 243. Windows Anatomy..................................................................................... 263.1 Windows API................................................................................................ 263.2 File System .................................................................................................. 273.3 File Anatomy ................................................................................................ 283.3.1 File Header............................................................................................. 293.3.2 Into PE Format....................................................................................... 313.3.3 The PE Header ....................................................................................... 343.3.4 Section Table ......................................................................................... 433.3.5 Commonly Encountered Sections ............................................................. 513.3.6 PE File Imports....................................................................................... 59Table of Contents 3 3.3.7 PE File Exports ....................................................................................... 624. Basic Concepts of Assembly....................................................................... 674.1 Registers...................................................................................................... 674.2 Flag............................................................................................................. 704.3 Memory ....................................................................................................... 714.4 Stacks.......................................................................................................... 734.5 Interrupts .................................................................................................... 745. Assembly Commands ................................................................................. 765.1 CMP: Compare Two Operands ....................................................................... 765.1.1 Description............................................................................................. 765.1.2 Operation............................................................................................... 765.1.3 Opcode Instruction Description ................................................................ 775.2 J cc: Jump if Condition Is Met........................................................................ 775.2.1 Description............................................................................................. 775.2.2 Operation............................................................................................... 795.2.3 Opcode Instruction Description ................................................................ 795.3 PUSH: Push Word or Doubleword Onto the Stack ............................................ 815.3.1 Description............................................................................................. 815.3.2 Operation............................................................................................... 825.3.3 Opcode Instruction Description ................................................................ 835.4 POP: Pop a Value from the Stack ................................................................... 845.4.1 Description............................................................................................. 845.4.2 Operation............................................................................................... 855.4.3 Opcode Instruction Description ................................................................ 885.5 AND: Logical AND......................................................................................... 885.5.1 Description............................................................................................. 885.5.2 Operation and Example........................................................................... 885.5.3 Opcode Instruction Description ................................................................ 895.6 NOT: One's Complement Negation ................................................................. 905.6.1 Description............................................................................................. 905.6.2 Operation and Example........................................................................... 905.6.3 Opcode Instruction Description ................................................................ 90Table of Contents 4 5.7 OR: Logical Inclusive OR ............................................................................... 915.7.1 Description............................................................................................. 915.7.2 Operation and Example........................................................................... 915.7.3 Opcode Instruction Description ................................................................ 925.8 XOR: Logical Exclusive OR............................................................................. 925.8.1 Description............................................................................................. 925.8.2 Operation and Example........................................................................... 925.8.3 Opcode Instruction Description ................................................................ 935.9 Other instructions ......................................................................................... 945.9.1 CALL: Call Procedure............................................................................... 945.9.2 ADD: Add............................................................................................... 995.9.3 SUB: Subtract......................................................................................... 995.9.4 MUL: Unsigned Multiply........................................................................... 995.9.5 DIV: Unsigned Divide............................................................................ 1005.9.6 MOV: Move .......................................................................................... 1006. SoftIce for Windows ................................................................................ 1036.1 Installing SoftIce ........................................................................................ 1036.2 Configuring SoftIce ..................................................................................... 1056.2.1 Resizing Panels..................................................................................... 1056.2.2 Panels.................................................................................................. 1066.2.3 Other Useful Settings ............................................................................ 1076.2.4 SoftIce Window.................................................................................... 1076.2.5 Symbols............................................................................................... 1086.3 Breakpoints................................................................................................ 1096.3 Useful Functions ......................................................................................... 1126.4 Navigation in SoftIce................................................................................... 1127. Hackman Editor ....................................................................................... 1147.1 String Manipulation..................................................................................... 1147.2 Version Stamp............................................................................................ 1167.3 Date Stamp................................................................................................ 1177.4 Icon Resources........................................................................................... 1187.5 Other Tools................................................................................................ 119Link: here Quote