Malware Flashcards

1
Q

In IA-32 registers, which are generic registers that can be used for any integer, Boolean, logical, or memory operation?

A

EAX, EBX, and EDX

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In IA-32 registers, what is sometimes used as a counter by repetitive instructions that require counting, but is still a generic register?

A

ECX

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In IA-32 registers, what are frequently used as a source and destination pointers in instructions that copy memory?

A

ESI & EDI (SI for Source Index, and DI for Destination Index)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

In IA-32 registers, what points to the stack position right after the return address for the current function?

A

EBP (extended base pointer)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what stores the current position in the stack?

A

ESP (Extended Stack Pointer)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In IA-32 registers, what holds the address of the next line of code to be executed by the program? (so it is always pointing to the next thing to do)

A

EIP (Extended Instruction Pointer)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In IA-32, what are status registers, commonly used to influence jumps in assembly, as they all reflect the current state of the CPU, holds a value representing current state of processor?

A

EFLAGS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What state is the flag (EFLAGS) set to during an execution?

A

Set(1) or Cleared(0), based on result of the last operation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are instructions in assembly based around?

A

Operation code (opcode)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the size range of an opcode?

A

1-8 bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are examples of opcodes?

A

MOV, CMP, AND, OR, XOR, etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What comes after the opcode in assembly commands and is where data is stored?

A

Destination

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What comes after the opcode and where data is stored and reflects where data is coming from?

A

Source

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is an example of a full assembly command?

A

MOV EAX, 0, which will move the value of 0 to the destination of EAX

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the code for an unconditional jump and what does it do?

A

JMP, jumps to destination address no matter what

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What jumps are conditional and based on the status of the Zero flag?

A

JZ, JNZ, JE

17
Q

What jumps are conditional, and based on status of more than one flag that determine if the case is greater than or equal to, or less than or equal to?

A

JLE and JGE

18
Q

What is an is a NOP command?

A

an opcode meaning No-Operation and it simply does nothing. execution simply proceeds to next instruction