which is the decimal value of the ACK flag), so the result would be 18.Based on the above calculation, what is the decimal value for XMAS scan?

In TCP communications there are 8 flags; FIN, SYN, RST, PSH, ACK, URG, ECE, CWR. These flags have decimal numbers assigned to them:

FIN = 1

SYN = 2

RST = 4

PSH = 8

ACK = 16

URG = 32

ECE = 64

CWR =128

Example: To calculate SYN/ACK flag decimal value, add 2 (which is the decimal value of the SYN flag) to 16 (which is the decimal value of the ACK flag), so the result would be 18.

Based on the above calculation, what is the decimal value for XMAS scan?

In TCP communications there are 8 flags; FIN, SYN, RST, PSH, ACK, URG, ECE, CWR. These flags have decimal numbers assigned to them:

FIN = 1

SYN = 2

RST = 4

PSH = 8

ACK = 16

URG = 32

ECE = 64

CWR =128

Example: To calculate SYN/ACK flag decimal value, add 2 (which is the decimal value of the SYN flag) to 16 (which is the decimal value of the ACK flag), so the result would be 18.

Based on the above calculation, what is the decimal value for XMAS scan?

A.
23

B.
24

C.
41

D.
64



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Aapchi

Aapchi

XMAS sacn using PSH,URG & FIN Flags so it is 8+32+1=41

Shyamal

Shyamal

For XMAS Scan,
= PSH + URG + FIN
= 8 + 32 + 1
=41
So, Ans. “C”