DHCP

DHCP is a host config application protocol.[^1] A DHCP server sets the network parameters that other devices need to use to communicate.[^1] These include IP addresses, subnet masks, DNS servers, Gateway addresses.[^1] DHCP hides the details of the IP protocol and hardware and setup fro the User.[^1] When a new client connects to the network, it broadcasts a DHCP discover message.[^1] The DHCP server responds with a message that contains an IP address for lease to the client device.[^1] The client accepts the IP address by responding to the server, and the server then acknowledges the response.[^1] Finally the client the TCP/IP properties using the information in the last response by the DHCP server.[^1]

If there is no server answer, then the device guesses an address for itself, beginning with 169.[^1] A DHCP IP address can still be active for a long time.[^2] DHCP usually communicates through UDP.

[[Internet Routers]] – provide DHCP functionality, they do not propagate broadcast packets
[[Abandoned and Expired Infrastructure]] – DHCP serves malware with the new domain IPs
[[SPF]] – used for the SPF rectord
[[DKIM]] – used to provide the public key
[[Red Teaming]] – you may want to make your own custom DHCP server
[[IPFire]] – includes DHCP server
[[Endian Firewall]] – DHCP is built in and can automatically assign IP numbers to network devices

Backlinks

[[Application Layer]]
[[DNS]]
[[IP Addresses]]
Subnet Mask
[[TCP_IP]]
[[UDP]]

Sources

[1] “networking102.” Accessed: Dec. 30, 2024. [Online]. Available: https://ubnetdef.org/slides/fall2017/networking102.pdf
[2] David Bombal, Never access the Dark Web without doing this! (Tor and Telegram demos), (Sep. 22, 2024). Accessed: Jan. 21, 2025. [Online Video]. Available: https://www.youtube.com/watch?v=7wLLcFMmbpg