Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] Half-Sync Scan (SYN) #8

Open
Tracked by #15
Alfredsson418 opened this issue Nov 12, 2024 · 3 comments
Open
Tracked by #15

[REQUEST] Half-Sync Scan (SYN) #8

Alfredsson418 opened this issue Nov 12, 2024 · 3 comments
Assignees
Labels
feature accepted Tag given to feature request when accepted the request feature request A requested feature ongoing development Tag for ongoing development
Milestone

Comments

@Alfredsson418
Copy link
Owner

Alfredsson418 commented Nov 12, 2024

Is your feature request related to a problem? Please describe.
Be able to have more scanning methods.

Describe the solution you'd like
Using the Half-Sync scanning method where you do not send the ACK package back in a 3 way handshake, this is more "sneaky" than a regular TCP connection

Describe alternatives you've considered
NaN

Additional context
NaN

@Alfredsson418 Alfredsson418 added ongoing development Tag for ongoing development Scan feature accepted Tag given to feature request when accepted the request and removed ongoing development Tag for ongoing development labels Nov 12, 2024
@Alfredsson418 Alfredsson418 mentioned this issue Nov 12, 2024
6 tasks
@Alfredsson418 Alfredsson418 added this to the First Release milestone Dec 9, 2024
@Alfredsson418 Alfredsson418 modified the milestone: First Release Jan 5, 2025
@Alfredsson418 Alfredsson418 changed the title Scan: Half-Sync Scan Half-Sync Scan Jan 5, 2025
@Alfredsson418 Alfredsson418 changed the title Half-Sync Scan [REQUEST] Half-Sync Scan (FIN) Jan 5, 2025
@Alfredsson418 Alfredsson418 added the feature request A requested feature label Jan 6, 2025
@Alfredsson418 Alfredsson418 self-assigned this Jan 12, 2025
@Alfredsson418 Alfredsson418 changed the title [REQUEST] Half-Sync Scan (FIN) [REQUEST] Half-Sync Scan (SYN) Jan 18, 2025
@Alfredsson418
Copy link
Owner Author

For this to work, I need to use raw sockets and the program needs to set up its own IP and TCP header, so I need the source address, so I need to change the network_interface.c file.

@Alfredsson418 Alfredsson418 added the ongoing development Tag for ongoing development label Jan 18, 2025
@Alfredsson418
Copy link
Owner Author

The only problem right now is that the checksum calculation for the TCP header is incorrect.

@Alfredsson418
Copy link
Owner Author

Alfredsson418 commented Jan 24, 2025

Problem as that the pseudoheader did not get the correct src IP address

Image

When I changed how I handle the src interface (in a earlier comment) I forgot to add "_copy_addr()" in "verify_interface()", and because I specified a interface in the parameters, the program never got the src address

I also forgot to check for non IPv4 and IPv6 datatypes in ifaddrs

The SYN code/logic should be out on latest half-sync branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature accepted Tag given to feature request when accepted the request feature request A requested feature ongoing development Tag for ongoing development
Projects
None yet
Development

No branches or pull requests

1 participant