Advertisement
xxsecure

Cybersec Notes and Links(A.I & N10-007)

Feb 28th, 2019
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.58 KB | None | 0 0
  1. [Links]
  2. {Learn Visual Basic}https://learnxinyminutes.com/docs/visualbasic/
  3. {Ideas For Python Programming}https://projecteuler.net/archives & https://exercism.io/tracks/python/exercises
  4. {A.I with Python}http://letzgro.net/blog/creating-ai-using-python/
  5. {List of Different Vulns and how they work}https://www.veracode.com/security/arp-spoofing
  6. {ARP in python}https://0x00sec.org/t/quick-n-dirty-arp-spoofing-in-python/487
  7. |Side Notes for Links|
  8. So the site with the list of vulnerabilities seems very much useful and potentially could be added to Ein(Who has now switched to a completely DIFFERENT token and has yet to be ran 24/7)
  9.  
  10. [N10-007 Notes]
  11.  
  12. {/OSI Models/Layers/}
  13. |It would seem that the OSI model is upside down in terms of how a networking a built(i.e the hardware portions seem to be the last layer and not the first.) I find it odd that somehow some people can memorize this BS considering how much shit (tiny components) go into this sorta thing|
  14.  
  15. {Layer 1: Physical}
  16. Cables/BITS
  17. Physical/Electrical Stage
  18. Conversion btwn Data -> Signal
  19. Includes :
  20. Voltages
  21. Cable Specifications
  22. NIC
  23.  
  24. {Layer 2: Data Link}
  25. Access
  26. Transfer from PT2PT(Point 2 Point)
  27. +MAC address (unique)
  28. Package Bits/Data into Frames
  29. Need to map this point -> point
  30.  
  31. {Layer 3: Network}
  32. Referred to as IP Layer
  33. functional means of transferring data through one or more networks
  34. translate logical addresses to Physical
  35. Performs :
  36. Network Routing Functions
  37. Fragmentation/Re-Assembly
  38. Routers Layer 3
  39.  
  40. {Layer 4: Transport}
  41. Management/Control
  42. Transfer of data
  43. Split Communications into packages
  44. Types :
  45. TCP - Reciept
  46. UDP - No Verification; Mostly used for streaming
  47.  
  48. {Layer 5: Session}
  49. Traffic Control
  50. Controls Connections between Computers
  51. Establish, Manage, And Terminate, Connections
  52. Regulates when computer can send/ how much
  53. Co-ordinates conversation
  54.  
  55. {Layer 6: Presentation}
  56. Translates applications to another form
  57. Independence from differences in Data representation
  58. Formats Data
  59. -Encryption/Decryption
  60. Exception : you cant have a text document sent through the network & then have the Presentation layer transform it into a .docx
  61.  
  62. {Layer 7: Application}
  63. Network Access
  64. Enables Apps to access the net
  65. Identify communication partners
  66. Determine resource available
  67. Sync communications
  68. Includes protocols like :
  69. -SMTP(Simple Mail Transfer Protocol)
  70. -HTTP(Hypertext Transfer Protocol)
  71. -FTP(File Transfer Protocol)
  72. [TCP/IP MODEL OVERVIEW]
  73. A way to remember this is NITA (Never Eat Toxic Apples)
  74. Layer 1-2 : Network Interface
  75. Layer 3 : Internet Layer
  76. Layer 4 : Transport Layer
  77. Layer 5-7 : Application Layer
  78. To Remember The Names of each Layer You can use PDNTSPA (Please Do Not Throw Sausage Pizza Away)
  79. Please -Physical
  80. Do - Datalink
  81. Not - Network
  82. Throw - Transport
  83. Sausage - Session
  84. Pizza - Presentation
  85. Away - Application
  86. I actually like this way of remembering it.
  87.  
  88. [Devices & Protocols in Relation to OSI Model]
  89. {Packet}
  90. -Layer 3 Protocol Delivery Unit
  91. -Segment of Data
  92.  
  93. {Switch}
  94. -Layer 2 -Data Link
  95. -Map to MAC Address
  96.  
  97. {Router}
  98. -Layer 3 - Network
  99. -Sometimes called Layer 3 Switch
  100. -Moves Data across Networks
  101.  
  102. {Multi-Layer Switch}
  103. -Layer 2 /& 3
  104. -Performs at multiple layers
  105.  
  106. {MAC Addresses}
  107. -Layer 2 - Data Link
  108. -Physical Address
  109.  
  110. {IP Address}
  111. -Layer 3 - Network Layer
  112. -Logical Address Mapped to Physical
  113.  
  114. {EUI-64}
  115. -Layer 2 - Data Link
  116. -IPV6 Global Unicast
  117.  
  118. {Frames}
  119. -Layer 2 Protocol Delivery Unit
  120. -Segment of Data W/Begin/End
  121.  
  122. [Devices & Protocols in Relation to OSI Model (part 2)]
  123. Layer 1 - Physical
  124. -Touch, Measure, See
  125. Layer 2 - Data Link
  126. -point2point(p->p) Connectivity
  127. Layer 3 - Network
  128. -IP Addresing/Routing
  129. Layer 4 - Transport
  130. -TCP/UDP
  131. Layer 5 - Session
  132. -Connection Management
  133. Layer 6 - Presentation
  134. -Format Data
  135. Layer 7 - Application
  136. -Application Management
  137.  
  138. [IP Addresses in Relation to OSI Model]
  139. {IP Addresses}
  140. IP Addresses are logically mapped to a Physical Address
  141. {Structure / Binary}
  142. IPV4 are 32-bit Addresses
  143. Divided into 4 octets
  144. Sections in powers of 2
  145. Each octet is between 0 - 255
  146. {Classes}
  147. IP Addresses has "Network"/"Host"
  148. Class for IP Addressing
  149. >Class A
  150. - 1.0.0.0 -> 126.0.0.0
  151. >255.0.0.0
  152. >Class B
  153. - 178.0.0.0 -> 191.255.0.0
  154. >255.255.0.0
  155. >Class C
  156. - 192.0.0.0 -> 223.255.255.0
  157. >255.255.255.0
  158. >Class D
  159. -224.0.0.0 -> 239.0.0.0
  160. [APIPA (part 1)]
  161. -Automatic Private IP Address
  162. -169.254.x.x
  163. -When DHCP(Dynamic Host Configuration Protocol) Is Unavailable
  164. {Public vs Private}
  165. Class A
  166. IP > 10.0.0.0 -> 10.255.255.255
  167. SM > 255.0.0.0(18)
  168.  
  169. https://github.com/zardus/ctf-tools
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement