48730-32548, Cyber Security Week-5
Lab Overview
The learning objective of this lab is to gain first-hand experience on TCP/IP vulnerabilities, as well as
attacks against these vulnerabilities. The vulnerabilities in the TCP/IP protocols represent a special genre
of vulnerabilities in protocol designs and implementations. They provide an invaluable lesson as to why
security should be designed in from the beginning, rather than being added as an afterthought. Moreover,
studying these vulnerabilities help students understand the challenges of cyber security and why many
cyber security measures are needed. Vulnerabilities of the TCP/IP protocols occur at several layers. This
lab is designed to learn them step-by-step.
Lab Environment Setup
To conduct this lab, we require all the three virtual machines: Server, Client and Attacker. The tools being
used for this lab are Wireshark/Tshark, Netwox/Netwag.
Netwox/Netwag
We need tools to send out network packets of different types and with different contents. We can use
Netwag to do that. However, the GUI interface of Netwag makes it difficult for us to automate our process.
Therefore, we strongly suggest that you use its command-line version, the Netwox command, which is
the underlying command invoked by Netwag.
Netwox consists of a suite of tools, each having a specific number. You can run the command as following
(the parameters depend on which tool you are using). For some of the tools, you have to run it with the
root privilege:
➢ netwox <number> [parameters ...]
If you are not sure how to set the parameters, you can look at the manual by issuing "netwox <number> --
help". You can also learn the parameter settings by running Netwag for each command you execute from the
graphic interface, Netwag actually invokes a corresponding Netwox command, and it displays the parameter
settings. Therefore, you can simply copy and paste the displayed command.
Wireshark Tool.
You also need a good network-traffic sniffer tool for this lab. Although Netwox comes with a sniffer, you
will find that another tool called Wireshark is a much better sniffer tool.
Both Netwox and Wireshark can be downloaded. If you are using our pre-built virtual machine, both tools
are already installed. To sniff all the network traffic, both tools need to be run with root privilege.
Tshark Tool.
It is a terminal based network packet analyzer. You also need a good command line network-traffic sniffer
tool for this lab.
48730-32548, Cyber Security Week-5
The lab is based on documents “SEED Labs” provided by Wenliang Du, Syracuse University
Lab Tasks
In this lab, you need to conduct attacks on the TCP/IP protocols. You can use the Netwox or Netwag,
Wireshark, Tshark tools in the attacks. All the attacks are performed on Linux operating systems. However,
you can also conduct the same attack on the other operating system and compare the observations after
lab classes. You are supposed to use all the three Virtual Machines for the experiments.
To simplify the “guess” of TCP sequence numbers and source port numbers, we assume that attacks are
on the same physical network as the victims (Think of where such attacks may happen?). Therefore, you
can use sniffer tools to get that information. The following is the list of attacks that need to be
implemented and studied in this lab.
Before starting the task, disconnect the internet from the Server VM.
Task 1: SYN Flooding Attack
SYN flood is a form of DoS attack in which attackers send many SYN requests to a victim’s TCP port, but
the attackers have no intention to finish the 3-way handshake procedure. Attackers either use spoofed IP
address or do not continue the procedure. Through this attack, attackers can flood the victim’s queue that
is used for half-opened connections, i.e. the connections that has finished SYN, SYN-ACK, but has not yet
got a final ACK back. When this queue is full, the victim cannot take any more connection. Following figure
illustrates the attack.
48730-32548, Cyber Security Week-5
The lab is based on documents “SEED Labs” provided by Wenliang Du, Syracuse University
The size of the queue has a system-wide setting. In Linux, you can check the system queue size setting
using the following command:
➢ sysctl -q net.ipv4.tcp_max_syn_backlog
You can use command netstat -na to check the usage of the queue, i.e., the number of half opened
connection associated with a listening port.
For this task, Netwag Tool 76 will be used to conduct the attack, and tshark tool to capture the packets.
Steps:
1. As SYN flood produces a lot of traffic in the VM due to high speed, Wireshark might
crash. It is recommended to use “tshark” by entering “sudo tshark” on Terminal of the
Client VM.
2. Then go to Attacker VM and start Netwag by entering “sudo netwag” on the Terminal.
3. Select 76: Synflood.
4. Enter the details and click run it. (Screenshot required)
5. Observe the captured packets on Client VM. (Screenshot required)
Questions:
1. Observe the attack and take screenshots of the attack scenario.
2. Comment on your observation.
3. Categorize this attack in terms of severity and how it is linked to the DoS attack
48730-32548, Cyber Security Week-5
The lab is based on documents “SEED Labs” provided by Wenliang Du, Syracuse University
Task 2: ARP cache poisoning
The ARP cache is an important part of the ARP protocol. Once a mapping between a MAC address and an
IP address is resolved as the result of executing the ARP protocol, the mapping will be cached. Therefore,
there is no need to repeat the ARP protocol if the mapping is already in the cache. However, because the
ARP protocol is stateless, the cache can be easily poisoned by maliciously crafted ARP messages. Such an
attack is called the ARP cache poisoning attack.
Normal Scenario:
Attackers may use spoofed ARP messages to trick the victim to accept an invalid MAC-to IP mapping, and
store the mapping in its cache. There can be various types of consequences depending on the motives of
the attackers. For example, attackers can launch a DoS attack against a victim by associating a non-existent
MAC address to the IP address of the victim’s default gateway; attackers can also redirect the traffic to
and from the victim to another machine, etc.
Attack Scenario:
48730-32548, Cyber Security Week-5
The lab is based on documents “SEED Labs” provided by Wenliang Du, Syracuse University
5
For this task, Netwag Tool 80 is required to conduct the attack, and wireshark tool to capture the packets.
HINTS: In this task, you need to demonstrate how the ARP cache poisoning attack work. In Linux we can
use the command arp -a to check the current mapping between IP address and MAC address.
Steps:
1. In Server VM, run “arp -a” on terminal to get the ARP Information (MAC Table).
(Screenshot Required)
2. Open Netwag on Attacker VM by entering “sudo netwag” on the Terminal.
3. Select Tool 80: Periodically Send ARP Replies.
4. Add the fake MAC address and IP address and select the interface. (Screenshot
Required)
5. Click “Run It”.
6. Check the MAC Table on Server VM and look for the change in MAC address for IP
address provided in the Netwag tool 80. (Screenshot required)
Questions:
1. Observe the attack and take screenshots of the attack scenario.
2. Comment on your observation.
3. Briefly describe how you can mitigate this attack.
Task 3: ICMP Redirect Attack
The ICMP redirect message is used by routers to provide the up-to-date routing information to hosts,
which initially have minimal routing information. When a host receives an ICMP redirect message, it will
modify its routing table according to the message.
Because of the lack of validation, if attackers want the victim to set its routing information in a particular
way, they can send spoofed ICMP redirect messages to the victim and trick the victim to modify its routing
table.
For this task, Netwag Tool 86 is required to conduct the attack, and wireshark tool to capture the packets.
HINTS: In this task, you should demonstrate how the ICMP redirect attack works, and describe the
observed consequence. To check the routing information in Linux, you can use the command route
Steps:
1. Open Wireshark on Client VM by entering “sudo wireshark” in the terminal.
2. Select the interface and set “icmp” as filter and click “Apply”.
3. Open a new terminal on Client VM and ping the server. (Screenshot required)
4. Go to Attacker VM, run Netwag using the terminal.
5. Select the interface and “spoofip: IP spoof initialization type”. Input the required IP
address into “gw: new gateway” and “src-ip: source IP address”. (Screenshot Required)
6. Click “Run It”.
7. Go back to Client VM, check the Wireshark output. (Screenshot Required)
48730-32548, Cyber Security Week-5
The lab is based on documents “SEED Labs” provided by Wenliang Du, Syracuse University
Questions:
1. Observe the attack and take screenshots of the attack scenario.
2. Comment on your observation.
3. Briefly describe how you can mitigate this attack.
相关推荐
Anolis龙蜥内核升级实战:从查询到配置的全流程指南
本文提供了一份详尽的Anolis龙蜥操作系统内核升级实战指南。文章从升级的必要性出发,逐步讲解了升级前的系统检查与备份、从官方源获取正确内核包、分步安装与验证、配置默认启动项以及升级后的功能验证与安全回滚方案。旨在帮助运维人员安全、平稳地完成内核升级,以获取性能提升、新硬件支持及重要的安全漏洞修复。
48730-32548, Cyber Security
Lab Tasks2Steps:required)Steps:filter.state.Steps:filter.
用友BIP培训资料-设计采购订单新增API接口开发
14.在子实体的String pkMeas = order_hhrSlave0VOJson.getString("pk_meas");Openapi路径:nccloud/api/pu/order_hhrmanage/order_hhrMaster/addAggOrder_hhrMasterVO。实现接口的开发部署,通过openAPI的test类,实现一条数据的插入。16.进入自己的Idea打开老师发的TestOpenApi并且编译完成后如下。12.编写检测是否字段中是否含有中文的方法。
48730-32548 Cyber Security Week-5SQL
➢➢Steps:Client VM.Steps:Questions:Steps:andQuestions:
Centos7安装Tesseract5.5.0+SpringBoot集成部署(离线版)
Java 中实现 OCR(光学字符识别)功能,可以使用 Tesseract OCR,这是一个开源的 OCR 引擎,支持多种语言,并且可以在 Java 中通过 Tesseract API 进行集成。
利用Matlab实现矩形波导电磁场分布图的绘制
1.利用Matlab实现矩形波导电磁场分布图的绘制;2.学会使用 Matlab 进行数值计算,并绘出相应的图形;通过Matlab 计算并绘出任意时刻金属矩形波导的主模 TE10 模的电磁场分布图。波导尺寸、工作频率及时刻均由外部给定。(1)矩形波导中传输的主模为TE10模。设金属波导尺寸为a*b,TE10模的截止波长为2*a。其电磁场分量可推导表示如下:.......1-1上式中各参量如下:......1-2。
Cyber security
Using TCP/IP 任务1:SYN泛滥攻击 SYN flood是一种DoS攻击的形式,攻击者向受害者的TCP端口发送许多SYN请求,但 攻击者并不打算完成三方握手程序。攻击者要么使用欺骗的IP 地址或不继续该程序。通过这种攻击,攻击者可以淹没受害者的队列,该队列用于半开放的连接。 攻击者可以淹没受害者的队列,该队列用于半开放的连接,即已经完成SYN、SYN-ACK的连接,但还没有 得到一个最终的ACK。当这个队列满了,受害者就不能再接受任何连接。下图 说明了这种攻击。 队列的大小有一个全系统...
OpenClaw Docker 安装问题解决全记录
控制面板无法加载(WebSocket 错误) | 确认 Nginx 配置中的 `Upgrade` 和 `Connection` 头正确 || 网关容器无法启动 | `docker compose logs openclaw-gateway`,检查权限、镜像名 |如需消除,使用 Let's Encrypt |- `<your-token>`:你的 OpenClaw 网关令牌(如 `b0e5ab...`)将 `<nas-ip>` 替换为你的群晖内网 IP(例如 `192.168.1.100`)。
五十三.网络(3)--区块同步getblocks消息
在节点互发了version消息后,就会发送getblocks消息,请求对方的区块以进行同步。
海康DS-7604N-K1/RTB固件包
【摘要】海康DS-7604N-K1/RTB萤石云设备发布V4.30.091版本升级程序(2022.09.19),仅适用于指定型号。升级前需先升级至V3.4.106基础版本,刷机会重置设备为未激活状态,需重新设置admin密码。该机型支持密码/手势登录,无密码时可通过U盘升级。注意事项:升级存在风险,需确认程序适用性;升级过程严禁断电;必须阅读压缩包内的刷机说明。此为定制机型,非必要不建议升级。(150字)
32、生物信息学中的符号、缩写及相关概念解析
本文详细解析了生物信息学中常用的符号、缩写及相关概念,涵盖概率理论、函数表示、模型结构、图与集合、维度参数、神经网络、隐藏马尔可夫模型、双向架构、语法系统、系统发育树、微阵列分析以及核方法与支持向量机等多个领域。通过表格和mermaid流程图的形式,系统梳理了各类符号的定义与应用场景,并介绍了常见缩写的全称与意义。文章旨在帮助研究人员准确理解生物信息学中的基础术语,提升对基因表达分析、序列建模、机器学习等技术的理解与应用能力。
DPU安全组与ACL性能测试:从规则爆炸到线速卸载的实战指南
本文深入剖析DPU安全组与网络ACL的底层卸载架构,通过两个完整实战测试矩阵,量化评估规则复杂度、有状态连接跟踪(Conntrack)及OVS Offload协同对RoCEv2性能的影响。结合真实故障排查案例与工具输出矩阵,揭示大规模云环境中安全组性能跌落的根因,并给出基于规则聚合与硬件表项优化的最优配置指南。
廖雪峰Python教程[完整版]
廖雪峰的python教程整理的,已经排好版了,而且还是完整的,适合小白
网安产教融合思考:如何补齐高校实战能力评价短板
不少网安专业高校都面临这样现实的难题:网安人才培养持续推进,校内已经搭建完整的教学体系,但高校培养方案可能几年修一次,企业的技术栈和攻击手法却按季度在变,学校难落地最新的技术实战教学,学生难证明实战本领,企业一边喊人才紧缺,一边感慨招不到来了就能干的应届生。网安时代,实战为王。备考平台、7天免费直播培训、免费认证考试,期待更多高校加入 CCP 人才共育生态,组织本校学子参与本轮认证,以认证带动教学,以实战对接就业,共同为行业培养 “用得上、干得好” 的实战型网络安全人才。本次报名、培训、考试全程免费,
数学建模模型总结
这是本人在两年内准备参加数学建模竞赛搜集到的模型资料,已经经过了本人的筛选和整理,希望能够对准备参加数学建模竞赛的学弟学妹们提供一些帮助!
汉书HE8,好用的汇编代码编写工具
汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大
AI 芯片片上网络 NoC 深度解析:flit、虚通道与拥塞控制如何决定 GPU/TPU/LPU 的算力利用率
AI芯片算力瓶颈不在FLOPS,而在片上网络(NoC)——数据搬运的能耗与延迟决定MFU上限。物理限制下,长线延迟不随工艺缩小,迫使NoC将全局布线拆为可流水的短链路;能量账显示,一跳传输耗能可达数十次乘加操作。拓扑选择直接影响性能:二维mesh虽布线可行,但均匀流量下每节点可用带宽按1/√N衰减,实测仅达标称值30%。虚通道、双网设计、静态调度(如Groq)等技术旨在突破此瓶颈。从总线到crossbar再到多跳NoC,本质是用延迟换可行性。未来趋势:专用通路(脉动阵列)、晶圆级集成(Cerebras)、跨
Probability and Statistics - 4th edition
Probability and Statistics - 4th edition
台湾行情数据API接入教程
想用程序获取台股行情,很多人第一步会搜“台股资料 API 推荐”,结果发现选择不少:证交所有免费接口,Yahoo Finance 也能查,券商还有自己的 API。真正写代码时才发现,有的数据只到收盘,有的延迟 20 分钟,有的必须先开户。本文先梳理台湾行情数据的几种获取渠道,再用 Python 从零搭一个可以运行的台股数据脚本:查代码清单、取实时报价和盘口、拉历史K线、做复权、用 WebSocket 接收实时推送,最后结合台积电 ADR 和新台币汇率计算跨市场溢价。
【基于 WebSocket 的多用户网页五子棋】—— 数据管理模块
但行好事,莫问前程
Qt网络编程实战指南:从底层Socket到现代异步架构的选型与避坑
本文梳理Qt网络编程的核心模块与演进路线,对比QTcpSocket与QNetworkAccessManager的使用边界,结合HTTP请求与TCP长连接的完整示例,说明信号槽、内存管理与事件循环的配合方式。重点记录连接池设计、证书校验、线程亲和性等实际开发中的关键决策点,帮助读者在C/S或跨平台项目中建立稳定的网络层基座。
25.《Pwn 堆利用实战:House of Lore —— 从自出题 my_lore 到 getshell 全流程》
自出题 my_lore 打穿 House of Lore:UAF 泄露 libc,BSS 伪造 chunk 投毒 smallbin,两次 malloc 把 system 写进函数指针,附 gdb 动态验证全过程
从母钟到子钟:NTP 网络时钟系统架构与软件接口
本文从工程角度简要介绍公共场所的时间同步需求、NTP协议的定位,以及典型LED同步时钟的系统架构与硬件设计,以讯鹏科技4寸与5寸同步时钟为例。
正运动16轴脉冲网络型运动控制卡ECI1G38
16轴脉冲运动控制解决方案
DPVS 报文黑匣子与 Crash 自动拉黑:给转发面装上“飞行记录仪“
谁打挂了我(crash dump)、他之前发了什么(慢路径环)、他还会再来(入口拉黑)。设计上我们始终坚持两条原则:记录与决策分离(黑匣子永远只说不做),以及误伤成本优先于漏放成本(三道闸门全部通过才拉黑,expire 到期自动解封)。性能上,全量快路径摘要 + 入口查表的综合开销低于 1.3%,在 FIP 网关的流量水位下不可感知。飞行记录仪的价值不在于飞机正常飞行的时候,而在于它让每一次事故都变成一次改进。对转发面来说,同样如此。
全球实时竞价 RTB 中 IP 定位数据应用:链路完整性与工程实践
全球实时竞价(RTB)中IP定位数据的应用,核心判断是:IP数据是RTB竞价决策的底层输入之一,但它的价值高度依赖于从IP捕获到OpenRTB序列化整条链路的完整性。大量定位误差并非源于IP库本身不准,而是发生在CDN边缘节点捕获了错误的IP、供应链各环节使用了不同版本的库、或者OpenRTB字段缺失导致买方无法判断数据可信度。对于DSP和SSP的工程团队而言,理解IP定位在RTB中的实际作用边界,比选一个更准的库更重要。
HART转Modbus TCP利用月度维护窗口减少中药产线停机时长
中药制药洁净车间原用HART仪表因仅传输4-20mA信号,诊断信息无法上传,导致GMP审计难、运维频繁进出洁净区。项目采用捷米特JM-TCP-HART协议转换网关,将HART数字信号转为ModbusTCP以太网数据,实现仪表状态、标定记录等信息远程采集与追溯。改造不改动原有控制逻辑,无需停机,保障生产连续性,满足洁净区安全与合规要求,验证了协议转换在存量设备升级中的高效可行性。
亚远景-欧盟 NIS2 与 CRA 双法规生效,车载出口企业网络安全与过程合规建设要点
亚远景结合法规要求与车载行业特性,梳理双法规对整车与零部件出口企业的核心影响,说明如何以 ISO/SAE 21434 为核心、以 ASPICE 为过程底座,搭建满足欧盟要求的网络安全与过程合规体系。
23 网络性能与 QoS:带宽、时延、吞吐计算与保障机制
带宽是上限、不是实际速度;时延由传输、传播、处理、排队四段组成。一道题让你算端到端时延和吞吐,关键是先找到瓶颈在哪一跳。QoS 靠分类、标记、队列、调度四步保障,配一张瓶颈定位+容量规划图,再跟 3 道真题。
Agent 安全实战:间接提示注入的四个攻击面与防御体系
当 Agent 从 "生成内容" 走向 "执行动作",安全边界就从内容合规变成了权限越界。本文拆解间接提示注入在网页抓取、工具返回值、MCP 连接器、长期记忆四个位置的真实攻击路径,对照 Claude、GPT、Gemini 在工具调用权限模型上的设计差异,给出可直接落地的五层防御体系。
572



被折叠的 条评论
为什么被折叠?



