[Osaka/Yokohama/Tokushima] Looking for infrastructure/server side engineers!

[Osaka/Yokohama/Tokushima] Looking for infrastructure/server side engineers!

[Deployed by over 500 companies] AWS construction, operation, maintenance, and monitoring services

[Deployed by over 500 companies] AWS construction, operation, maintenance, and monitoring services

[Successor to CentOS] AlmaLinux OS server construction/migration service

[Successor to CentOS] AlmaLinux OS server construction/migration service

[For WordPress only] Cloud server “Web Speed”

[For WordPress only] Cloud server “Web Speed”

[Cheap] Website security automatic diagnosis “Quick Scanner”

[Cheap] Website security automatic diagnosis “Quick Scanner”

[Reservation system development] EDISONE customization development service

[Reservation system development] EDISONE customization development service

[Registration of 100 URLs is 0 yen] Website monitoring service “Appmill”

[Registration of 100 URLs is 0 yen] Website monitoring service “Appmill”

[Compatible with over 200 countries] Global eSIM “Beyond SIM”

[Compatible with over 200 countries] Global eSIM “Beyond SIM”

[If you are traveling, business trip, or stationed in China] Chinese SIM service “Choco SIM”

[If you are traveling, business trip, or stationed in China] Chinese SIM service “Choco SIM”

[Global exclusive service] Beyond's MSP in North America and China

[Global exclusive service] Beyond's MSP in North America and China

[YouTube] Beyond official channel “Biyomaru Channel”

[YouTube] Beyond official channel “Biyomaru Channel”

Merry Christmas。∠(*・m・)v Do you know about Christmas scan?

Hello.
This is Kawa from the System Solutions Department.

The end of the year goes by so quickly.
By 5pm, it's already dark and cold outside, and I want to stay warm under the kotatsu and play Switch at this time of year.

December means Christmas.
Although it's been a while since Santa stopped visiting me,
it's nice to see the cityscape sparkling, isn't it?∠(*・m・)v

As the title says, IT also has something to do with Christmas.Do
you know about ``Christmas (Tree) Scan''?
It's a name for a network attack, and it's so funny that techies has a lot of coined words
(though it's not really funny to actually be attacked),
so I thought I'd write a little bit about this Christmas scan this time. .

What is Christmas Scan?

There are various names for it, such as Christmas scan and Christmas tree attack, but
this comes from the control flag in the packet.

I think attackers usually use stealth scanning as a port scanning method to avoid getting caught

A packet (this time we are talking about TCP) has a 6-bit part called a control flag,
which controls the connection. ACK and SYN are famous.
The following three are used for Christmas scan:

URG (Urgent) - Contains data that needs to be processed urgently (priority)

PSH (Push) - Pass data immediately to the upper level without buffering it

RST (Reset) - Forcibly disconnect the connection

Other than RST, it may be a flag that you are not used to hearing.
Christmas scan is an attack method that tests the target's reaction by setting these three flag bits to 1 and
sending it as the first packet.

Why Christmas?

As mentioned above, this has something to do with the three flags being raised, but it doesn't really make sense to me at all.
Actually, this requires packet capture and visualization using Wireshark, etc., but

the flag part is colorful. In addition, is the flag structure in the right half of the tree?
because it has a conical shape, it looks like the tree is decorated.



don't really see it like this

Why is this an attack?

It's more of a port scan than an attack, so it can more accurately be called "preparation for an attack."
As you know, TCP packets follow a 3-way handshake flow like SYN~ACK~FIN.
However, what if this flow is ignored and out-of-state packets come?

- If the corresponding port is open,

, basically there will be no response
if the port is open This means that by not receiving a response, a third party can easily find out that the port is open

- If the corresponding port is not open
In this case, it is not allowed, so basically an RST packet is returned.
However, the sender will know that it is "closed".

By the way, the Windows specifications seem to respond with RST regardless of whether it is open or closed, so
there is a possibility that the OS will be revealed.
Additionally, the behavior changes depending on the Firewall or UTM, such as whether or not RST is thrown,
so depending on the combination with other attacks, open ports may be revealed.

complete

If you found this article helpful , please give it a like!
10
Loading...
10 votes, average: 1.00 / 110
1,511
X facebook Hatena Bookmark pocket
[2025.6.30 Amazon Linux 2 support ended] Amazon Linux server migration solution

[2025.6.30 Amazon Linux 2 support ended] Amazon Linux server migration solution

[Osaka/Yokohama] Actively recruiting infrastructure engineers and server side engineers!

[Osaka/Yokohama] Actively recruiting infrastructure engineers and server side engineers!

The person who wrote this article

About the author

Kawa Ken


A curious Poke○n who belongs to the System Solution Department.