CTF思路
点击放大

The Chicken Man Game
======
,~.
,-'__ -,. } ,')
{,-'
,( a ) -.__ ,',')~, ________ _______ _ __ -.__,==' ' ' '} /_ __/ / ___ / ___/ / (_)___/ /_____ ___
<=.) (
( ) /) / / / _ \/ -_) / /__/ _ \/ / __/ '_/ -_) _ \
-'\ , ) /_/_/_//_/\__/ \___/_//_/_/\__/_/\_\\__/_//_/ ~. / / |/ /__ ____ / ___/__ ___ _ ___
| \
\ ._ \ / / /|_/ / _ / _ \ / (_ / _ / ' \/ -_) ._____,' ,' /_/ /_/\_,_/_//_/ \___/\_,_/_/_/_/\__/
\
-. ,'-._ _,-'
77jj'
//_||
__//--'/ '
,--'/
The Chicken Man Wi-Fi hacking game is a WPA/WPA2 cracking game for CTF's and hackerspaces.
The purpose of this game is to have an ultra low-cost microcontroller based Wi-Fi hacking game for beginners. It is designed to be easy to set up, cost less than $50 to play, and requires no deauthing to practice. It has been tested on the D1 mini and NodeMCU.
!A glorious flock
This project was created by Kody Kinzie and Brandon Paiz for the Leadership in Technology club in Pasadena and the Retia team, with much assistance from Stefan "Chicken Man" Kremser.
This game requires three elements to play. We need a device to create a Wi-Fi access point, a device to join that Wi-Fi network to generate handshakes, and a device to try cracking the passwords on.
1) We need a device to create a Wi-Fi access point to hack, called a Chicken. For this, we'll use a ESP8266 based device, like the D1 mini or NodeMCU. We'll also need a breadboard, a 330 ohm resistor, and one green, blue, and red LED.
2) We also need a device to join the Chicken's Wi-Fi network to generate handshakes for us to crack and keep track of the score. This is called the Chicken Man. The setup for a Chicken Man is identical as for a Chicken, but includes a wire connecting pin D7 to ground. This converts a Chicken into a Chicken Man.
3) Finally, we need a device to play the game on! You can use any computer running Kali Linux, including the Raspberry Pi. You will need the Aircrack-ng suite, and a wireless network adapter that supports monitor mode. Want to do it the cheapest and easiest way? This is our setup:
* ANY computer with the Google Chrome browser and Secure Shell extension.
* 1 Raspberry Pi running Kali Linux with SSH enabled
On your computer, connect to the Raspberry Pi in the browser via SSH. You can follow this guide if you need help:
!Playing the game
After connecting between 1-5 Chickens and at least one Chicken Man, you will see the Chickens appear as WPA2 encrypted Wi-Fi networks that start with “Chicken”.
Your goal is to access the web interface on each Chicken, and set it to your team’s color.
Your team gets points for every second a Chicken is set to your team color.
To join the network, you have to find the password. We will be using WPA2 handshake cracking to get the password.
Here is a video walkthrough of playing the game using a Raspberry Pi:
To win the game, you need to have the most points at the end of our 45 minute match.
Your team gets points by cracking the password to a Chicken network and logging in. Once you log in, you can go to 192.168.4.1 in a browser menu to see the Chicken’s menu
!Who will be the chicken man?
To play, open Wireshark or Airodump-ng and search for the channel the game piece has created an access point on using a wireless network adapter that supports monitor mode.
Begin capturing Wi-Fi traffic from the access point, apply filters to show when 4-way handshake is captured from the Chicken Man joining the Chicken.
Save the captured handshake as a .CAP file, run Aircrack-ng or another cracking program against a password list to brute-force the password to the Chicken.
Try accessing the Wi-Fi access point of the Chicken with the cracked password. If it works, scan the network to find the IP address of the Chicken's webserver (192.168.4.1 by default)
Open the Chicken's webserver in a browser, and (if you are the red team) click the "Red Team" button to turn the LED of the game piece to your team's color.
List network adapters - ifconfig
Put adapter in monitor mode (changes wlan0 to wlan0mon) - airmon-ng start wlan0
Watch traffic on all channels (MUST BE IN MONITOR MODE FIRST) - airodump-ng wlan0mon
Capture handshake on a channel - airodump-ng -w capturefile -c [channel number] wlan0mon
Crack the handshake - aircrack-ng -w [password list] [capture file].cap
Each Chicken can be set to easy, medium or hard.
When you set your team’s color on a Chicken, it creates a new Wi-Fi network with a harder password
Harder difficulty Chickens ha passwords, and your team gets more points for hacking them.
After 45 minutes, count up the score and see which team wins
Set up the game:
1) Download the .ZIP file or run "git clone in a terminal window
2) Unzip the folder and copy the ChickenDay folder to your Raspberry Pi
3) Copy the ChickenManGame folder to the Arduino folder on your computer
4) Install the SimpleCLI library by downloading the ZIP from unzipping it, and dropping the folder in your Arduino library folder
5) Open the ChickenManGame.INO file in Arduino
6) If you haven't used an esp8266 before, Click on the "Arduino" drop-down menu, then select "Preferences" and paste " into the Additional Boards Manager URLs field and Click "OK" to continue.
7) Click on "Tools," then hover over the "Board" section to see the list of supported boards. At the top, click "Boards Manager" to open the window that will allow us to add more boards. When the Boards Manager window opens, type "esp8266" into the search bar. Select "esp8266" by ESP8266 Community, and install it to add support for the D1 Mini to your Arduino IDE.
8) Go to the Sketch menu, click Inlcude Library, and go to Manage Libraries. Install the Adafruit NeoPixel library.
9) Select the "WeMos D1 R2 & mini" board (or NodeMCU if you're using that) and set the IwIP to "1.4 Higher Bandwidth"
10) Press the green arrow to upload the sketch to your esp8266.
Open the serial monitor and set the baud rate to 115200 to watch for errors and confirm the game is working!
!Who will be the chicken man?
1) Plug the positive pin of a red LED to pin D1, and the negative to a 330 ohm resistor. Connect the other end of the resistor to ground.
2) Connect a green LED to pin D2, and a blue LED to pin D3, each with a resistor connecting the negative pin to ground.
* If you're feeling brave, you can connect all three LED's to the same resistor, which is connected to ground.
* If you hate your LED's, connect them directly to ground with no resistor. They will burn out in glory.
3) Plug a wire connecting pin D7 to ground to change a Chicken into a Chicken Man.
!Who will be the chicken man?
1) Download the "Kali Linux RPi0w Nexmon" image from:
2) Insert a micro SD card with at least 8 GB (16 recommended) and use Etcher to flash the image to the disk
3) Plug the micro SD card into your Pi and connect it to a router
4) Connect your computer to the router or ethernet and scan for the Pi's IP address
5) Connect to the Pi via a terminal window or in a browser with the Secure Shell Google Chrome extension
6) Download the ChickenDay folder from this repo, and put it on your Raspberry Pi
!Who will be the chicken man?
开发语言:C++
Star 数:179
该项目属于CTF思路方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕A Wi-Fi hacking game for CTF's and hackerspaces to teach cracking WPA/WAP2 - Who will be the Chicken Man?展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | ChickenManGame - A Wi-Fi hacking game for CTF's and hackerspaces to |
| 所属分类 | CTF思路 |
| 发布作者 | admin |
| 发布时间 | 2026-10-05 23:47:52 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 274 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |