01 Cyber Security Interview Topics Related Networking

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 5

Networking for Cyber Security

-----------------------------

IP Addressing
IPv4
Classes
IP Range
Private IP
Public IP
Special IP
Loopback IP Address
127.0.0.1
127.x.x.x/8
APIPA
169.254.x.x/16
Backend Service or Process before IP
0.x.x.x/8
Subnetmask
Network Bit
Host Bit
Subnetting
Communication Types
Unicast
Multicast
Broadcast

ICMP
Ping
Traceroute
Protocol Number 1
Echo Message
Request
Reply
Reply Successful

Request Time Out

Destination Host Unreachable

Message Type
8
0
3
Message Code

MAC Address
MAC Address in Detail
MAC and CAM Table

ARP
Regular/ Normal ARP
GARP
Proxy ARP
In ARP (Inverse)
RARP (Reverse)
Collision Domain

Broadcast Domain

OSI
OSI Layer
OSI Reference Model

TCP / IP

TCP
Protocol Number 6

3 Way Handshake
- Syn Packet
- Syn + Ack Packet
- Ack Packet

TCP Header

TCP Flag
syn, ack, fin, psh, urg, rst

UDP
Protocol Number 17
Port Number
Service Name and Use

TCP and UDP


Difference
Some Exmaple or Scenario where we can use TCP or UDP

Protocol, Port Number and Service


ftp 20, 21
ssh 22
telent 23
smtp 25
dns 53
dhcp 67, 68
tftp 69
http 80
pop 93
ntp 123
imap 143
snmp 161
bgp 179
https 443
pop3 110
pop3 secure 995

Other Useful or Famous Port Number


http Proxy 8080
rdp 3389
voip 5060
MySQL 3306
Oracle Database: 1521
PostgreSQL: 5432
MongoDB: 27017

DHCP
DHCP Server Configuration
DORA Process / Message
DHCP Relay-Agent
DHCP Attacks
DHCP Rouge Server
DHCP Starrvation

DNS
DNS Lookup
Domain Resolving Process
DNS Records
A
AAAA
CNAME
PTR
MX
SOA

Domain Level
RLD
.
TLD
CCTLD, Edu, Org, Com,

SLD
Google.com
SD
Drive.Google.com

FQDN Example
FQDN - Fully Qualified Domain Name
S1.drive.google.com
S2.drive.google.com

DNS Zone
Forward Lookup Zone
Reverse Lookup Zone

Telnet

SSH

FTP and TFTP


FTP
TCP 20, 21
Data Travelling
Remote Connection

TFTP
UDP 69
Server
Mostly for Backup, ISO File, OS Images and Firmware
Mostly Locally from 1 Department to Server
NAT / PAT

Access List

IPv6
Unique Local
FCxx
FDxx
Global Unique
2xxx
3xxx
Link Local
FE80
Multicast
FFxx

Communication Types
Unicast
Multicast
Anycast

Prefix Length (Like a Network Bit of IPV4)


Subnet ID (Like a Subnetting)
Interface ID (Like Host Bit of IPv4)

NDP
ns
na
nd
rs
ra

MAC Address Learning by Switch

VLAN
VLAN Detail
VLAN Tag
Frame
Dot1q Header / 802.1q Header
- 32 bit (4 Byte)
16 bit (2 Byte) Trunking Protocol (ISL or Dot1q)
16 bit (2 Byte)
- 3 PCP (Priority Code Point) (PCP Bit)
- 1 DEI (Drop Eligible Indigator) (Drop Bit)
- 12 VLAN ID

----------------------------------------------------------------
|
|
| DH | Frame | Trunk 12 bit | 3 bit | 1 bit | 12 bit | Tailer |
| PCP DEI VLAN ID
|
----------------------------------------------------------------

Switchport Mode
Access
Trunk

STP
Requirement
To prevent Layer 2 Loop

Routing
Static Routing
Default Routing
Dynamic Routing
Routing Protocols

Network Types
According area
LAN/MAN/WAN/CAN/PAN/SOHO

Connectivity
Peer to Peer
Client to Server
Hub to Spoke
Point-to-Point
Broadcast

Header
IPv4
TCP
ICMP
ARP
dot1q
IPv6

Protocol and Port Number with Service


TCP
UDP
ICMP
ARP

Information Gathering or Network Scanning Doubts

You might also like