Welcome to our

Cyber Security News Aggregator

.

Cyber Tzar

provide a

cyber security risk management

platform; including automated penetration tests and risk assesments culminating in a "cyber risk score" out of 1,000, just like a credit score.

How to craft a raw TCP socket without Winsock?

published on 2025-07-23 11:35:18 UTC by /u/ReynardSec
Content:

Mateusz Lewczak explains how the AFD.sys driver works under the hood on Windows 11. In Part 1 [1], he demonstrates how to use WinDbg and the NtCreateFile call to manually craft a raw TCP socket, bypassing the Winsock layer entirely.

Part 2 of the series [2] dives into the bind and connect operations implemented via AFD.sys IOCTLs. Mateusz shows how to intercept and analyze IRP packets, then reconstruct the buffer needed to perform the three‑way TCP handshake by hand in kernel mode.

[1] https://leftarcode.com/posts/afd-reverse-engineering-part1/ [2] https://leftarcode.com/posts/afd-reverse-engineering-part2/

submitted by /u/ReynardSec
[link] [comments]
Article: How to craft a raw TCP socket without Winsock? - published 3 months ago.

https://www.reddit.com/r/netsec/comments/1m76ub2/how_to_craft_a_raw_tcp_socket_without_winsock/   
Published: 2025 07 23 11:35:18
Received: 2025 07 25 13:38:43
Feed: /r/netsec - Information Security News and Discussion
Source: /r/netsec - Information Security News and Discussion
Category: Cyber Security
Topic: Cyber Security
Views: 13

Custom HTML Block

Click to Open Code Editor