Windows

WinFiHack : Unlocking Wireless Networks – A DIY Guide To WiFi Brute Forcing On Windows

WinFiHack is a recreational attempt by me to rewrite my previous project Brute-Hacking-Framework’s main wifi hacking script that uses netsh and native Windows scripts to create a wifi bruteforcer.

This is in no way a fast script nor a superior way of doing the same hack but it needs no external libraries and just Python and python scripts.

Installation

The packages are minimal or nearly none. The package install command is:

pip install rich pyfiglet

Thats it.

Features

So listing the features:

  • Overall Features:
    • We can use custom interfaces or non-default interfaces to run the attack.
    • Well-defined way of using netsh and listing and utilizing targets.
    • Upgradeability
  • Code-Wise Features:
    • Interactive menu-driven system with rich.
    • versatility in using interface, targets, and password files.

How It Works

So this is how the bruteforcer works:

  • Provide Interface:
    • The user is required to provide the network interface for the tool to use.
    • By default, the interface is set to Wi-Fi.
  • Search and Set Target:
    • The user must search for and select the target network.
    • During this process, the tool performs the following sub-steps:
      • Disconnects all active network connections for the selected interface.
      • Searches for all available networks within range.
  • Input Password File:
    • The user inputs the path to the password file.
    • The default path for the password file is ./wordlist/default.txt.
  • Run the Attack:
    • With the target set and the password file ready, the tool is now prepared to initiate the attack.
  • Attack Procedure:
    • The attack involves iterating through each password in the provided file.
    • For each password, the following steps are taken:
      • A custom XML configuration for the connection attempt is generated and stored.
      • The tool attempts to connect to the target network using the generated XML and the current password.
      • To verify the success of the connection attempt, the tool performs a “1 packet ping” to Google.
      • If the ping is unsuccessful, the connection attempt is considered failed, and the tool proceeds to the next password in the list.
      • This loop continues until a successful ping response is received, indicating a successful connection attempt.
Tamil S

Tamil has a great interest in the fields of Cyber Security, OSINT, and CTF projects. Currently, he is deeply involved in researching and publishing various security tools with Kali Linux Tutorials, which is quite fascinating.

Recent Posts

Shadow-rs : Harnessing Rust’s Power For Kernel-Level Security Research

shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…

2 weeks ago

ExecutePeFromPngViaLNK – Advanced Execution Of Embedded PE Files via PNG And LNK

Extract and execute a PE embedded within a PNG file using an LNK file. The…

3 weeks ago

Red Team Certification – A Comprehensive Guide To Advancing In Cybersecurity Operations

Embark on the journey of becoming a certified Red Team professional with our definitive guide.…

3 weeks ago

CVE-2024-5836 / CVE-2024-6778 : Chromium Sandbox Escape via Extension Exploits

This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…

4 weeks ago

Rust BOFs – Unlocking New Potentials In Cobalt Strike

This took me like 4 days (+2 days for an update), but I got it…

4 weeks ago

MaLDAPtive – Pioneering LDAP SearchFilter Parsing And Security Framework

MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…

4 weeks ago